This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] New testcase for -flto -g


Committed.

Richard.

2011-12-13  Richard Guenther  <rguenther@suse.de>

	* gcc.dg/lto/20111213-1_0.c: New testcase.

Index: gcc/testsuite/gcc.dg/lto/20111213-1_0.c
===================================================================
--- gcc/testsuite/gcc.dg/lto/20111213-1_0.c	(revision 0)
+++ gcc/testsuite/gcc.dg/lto/20111213-1_0.c	(revision 0)
@@ -0,0 +1,8 @@
+/* { dg-lto-do link } */
+/* { dg-lto-options { { -flto -g } } } */
+/* { dg-extra-ld-options {-r -nostdlib} } */
+
+void gfc_be_parse_file (void)
+{
+  typedef enum builtin_type builtin_type;
+}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]