This is the mail archive of the gcc-bugs@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]
Other format: [Raw text]

[Bug lto/62239] New: [5 Regression] ICE: in execute_todo, at passes.c:1795 with LTO


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62239

            Bug ID: 62239
           Summary: [5 Regression] ICE: in execute_todo, at passes.c:1795
                    with LTO
           Product: gcc
           Version: 5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
          Assignee: unassigned at gcc dot gnu.org
          Reporter: d.g.gorbachev at gmail dot com

cat > foo.c
char *foo(unsigned n)
{
  char *s = __builtin_calloc(1, n);
  return __builtin___strcat_chk(s, " ", __builtin_object_size(s, 0));
}
^D
$ gcc -O -flto -shared foo.c
foo.c: In function 'foo':
foo.c:1:7: internal compiler error: in execute_todo, at passes.c:1795
 char *foo(unsigned n)
       ^
0x84e3f13 execute_todo
        ../../gcc-5/gcc/passes.c:1795
Please submit a full bug report,
[...]


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