------- Comment #5 from r dot emrich at de dot tecosim dot com 2009-03-09 15:07 ------- (In reply to comment #4) > Sorry, pex_run & co aren't the reason for this issue. By further debugging I > found that for bigger functions using alloca with variable sizes wrong code is > generated for optimizations bigger then -O0. > By this reason the driver gcc.c in execute is broken. The interesting issue > about this is, when trying to make a smaller testcase out of it, code is > produced correct. >
I can confirm this. Building the compiler with CFLAGS="-O0" results in a working driver. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39356