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]

[testcase] dwarf2out ICE


Hi!

The following testcase ICEs in add_abstract_origin. I believe dwarf2out is
confused by the same function beeing first extern inline and then defined as
non-inline function, the ICE is when looking up die for f2.
Can I check the testcase in?
Can you please have a look at it eventually?
Thanks.

2001-02-07  Jakub Jelinek  <jakub@redhat.com>

	* testsuite/gcc.dg/20010207-1.c: New test.

--- gcc/testsuite/gcc.dg/20010207-1.c.jj	Wed Feb  7 17:36:27 2001
+++ gcc/testsuite/gcc.dg/20010207-1.c	Wed Feb  7 17:39:01 2001
@@ -0,0 +1,6 @@
+/* { dg-do compile { target i?86-*-* } } */
+/* { dg-options "-O3 -gdwarf-2" } */
+
+extern inline int f1 (void) {return f2();}
+int f3 (void) {return f1();}
+int f1 (void) {return 0;}

	Jakub

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