------- Comment #40 from eweddington at cso dot atmel dot com 2007-08-29 18:06 ------- (In reply to comment #39) > Created an attachment (id=14131) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14131&action=view) [edit] > another test case > > This test case only has problems when gcc is invoked with the -ftree-pre flag > which is part of -O2 by default. >
This is not a good test case as "float *a" is being used uninitialized. Please provide a better test case. FWIW, this test case works for me on: 4.2.1 -O[0123s] 4.3.0 20070824 snapshot -O[0123s] 4.1.2 (WinAVR 20070525) -O[0123s] Please provide which version of GCC, and which target that you are using to make it fail, including how GCC is configured. I would also suggest opening up a new bug report for this until it is determined that this is the same bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18251