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



--- Comment #4 from gretay at gcc dot gnu.org 2013-04-29 16:58:34 UTC ---

Created attachment 29974

  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=29974

testcase



The attached test case fails for arm-none-eabi on trunk, caused by r198096 (the

fix for PR56982). It seems related to this PR because the control flow edge

after testing the return value of malloc disappears and it is sensitive to the

setjmp() call placement.



Compile with:

/work/apr-builds/r198096/install/bin/arm-none-eabi-gcc -O1 -mcpu=cortex-a15

pr57067.c -o bad.elf

The test case should print PASS, but it prints FAIL.

Reply via email to