[Bug debug/17659] New: ICE in gen_subprogram_die

jakub at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Sep 24 16:47:00 GMT 2004


// { dg-do compile }

int
foo (char *x)
{
  return x != 0;
}

extern int bar (void);

int baz (void)
{
  extern int foo (char *);
  return bar ();
}

ICEs in g++ with -g at any optimization level.  C compiler handles this fine,
likewise G++ 3.4.2.

-- 
           Summary: ICE in gen_subprogram_die
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: debug
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jakub at gcc dot gnu dot org
                CC: arjanv at redhat dot com,gcc-bugs at gcc dot gnu dot org
GCC target triplet: x86_64-redhat-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17659



More information about the Gcc-bugs mailing list