[Bug c/19318] New: [4.0 regression] ICE in aggregate_value_p

schwab at suse dot de gcc-bugzilla@gcc.gnu.org
Fri Jan 7 22:18:00 GMT 2005


$ cat inline.c 
void 
_dl_relocate_object () 
{ 
  auto void __attribute__((always_inline)) elf_machine_rela (); 
  elf_machine_rela (); 
} 
$ ./cc1 inline.c 
 _dl_relocate_object 
 
inline.c: In function ‘elf_machine_rela’: 
inline.c:6: internal compiler error: Segmentation fault 
 
#0  0x10227e68 in aggregate_value_p (exp=0x0, fntype=0x40101438) 
    at function.c:1845 
#1  0x1022aae0 in allocate_struct_function (fndecl=0x40101438) 
    at function.c:3922 
#2  0x1009c82c in gimplify_function_tree (fndecl=0x40101438) at 
gimplify.c:4467 
#3  0x1005fc8c in c_genericize (fndecl=0x40101438) at c-gimplify.c:136 
#4  0x1005fd08 in c_genericize (fndecl=0x401011e0) at c-gimplify.c:147 
#5  0x10010aec in finish_function () at c-decl.c:6385 
#6  0x10005510 in yyparse () at c-parse.y:401 
#7  0x10006834 in c_parse_file () at c-parse.y:2936 
#8  0x10052ac4 in c_common_parse_file (set_yydebug=<value optimized out>) 
    at c-opts.c:1092 
#9  0x103432fc in toplev_main (argc=<value optimized out>,  
    argv=<value optimized out>) at toplev.c:996 
#10 0x10069824 in main (argc=<value optimized out>, argv=<value optimized 
out>) 
    at main.c:35

-- 
           Summary: [4.0 regression] ICE in aggregate_value_p
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Keywords: ice-on-invalid-code
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: schwab at suse dot de
                CC: gcc-bugs at gcc dot gnu dot org


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



More information about the Gcc-bugs mailing list