Red Hat Bugzilla – Bug 25091
gcc-2.96-71 and -70 internal error (reg-stack.c/change_stack)
Last modified: 2007-03-26 23:39:51 EDT
When compiling fdlibm (from the Mozilla tree) with
I get an internal compiler error:
cc -Wall -O2 -finstrument-functions -c -o e_acos.o e_acos.c
e_acos.c: In function `__ieee754_acos':
e_acos.c:37: Internal compiler error in change_stack, at reg-stack.c:2214
both work fine.
dbaron reports that it happens with -70 as well.
I'll attach a minimized test case.
Created attachment 8390 [details]
test case: stripped-down version of e_acos.c
This is probably dup of #21002, -finstrument-functions does not play
well with reg-stack and I haven't had time yet to debug this
(I consider it low priority though since -finstrument-functions is
a rarely used switch).
I would get crashes in gcc with that flag in a lot of our C++ test cases, too.
No profiler for us! :)
*** This bug has been marked as a duplicate of 21002 ***