Patchwork New testcase for -flto -g

login
register
mail settings
Submitter Richard Guenther
Date Dec. 13, 2011, 12:38 p.m.
Message ID <alpine.LNX.2.00.1112131337390.4527@zhemvz.fhfr.qr>
Download mbox | patch
Permalink /patch/131067/
State New
Headers show

Comments

Richard Guenther - Dec. 13, 2011, 12:38 p.m.
Committed.

Richard.

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

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

Patch

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;
+}