This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug lto/62239] New: [5 Regression] ICE: in execute_todo, at passes.c:1795 with LTO
- From: "d.g.gorbachev at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 23 Aug 2014 14:09:30 +0000
- Subject: [Bug lto/62239] New: [5 Regression] ICE: in execute_todo, at passes.c:1795 with LTO
- Auto-submitted: auto-generated
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,
[...]