This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] New testcase for -flto -g
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 13 Dec 2011 13:38:02 +0100 (CET)
- Subject: [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;
+}