gcc bug (2.9-ia64-000216-final)
Quoted 1 line · Steve Tynor
Can someone verify that this bug is fixed in the latest toolchain?
Works for me. A quick glance at the code makes me think that building with -fno-optimize-sibling-calls will work around it for now.
Bill
Bill Nottingham wrote:
| Steve Tynor ([email protected]) said: | > Can someone verify that this bug is fixed in the latest toolchain? | | Works for me. A quick glance at the code makes me think that building | with -fno-optimize-sibling-calls will work around it for now.
FWIW: in 2.9-ia64-000216-final, that flag apparently does not yet exist:
impromptu:~/tmp/ia64bug> gcc -O2 -fno-optimize-sibling-calls ia64bug.c
cc1: Unrecognised option `-fno-optimize-sibling-calls' impromptu:~/tmp/ia64bug> ./a.out
in main 9fffffffffffe960: 11 12
Segmentation fault (core dumped)
impromptu:~/tmp/ia64bug>
Steve