This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/43794] miscompile semantically equivalent C source files using -O2



------- Comment #1 from wuwei08 at iscas dot ac dot cn  2010-04-19 08:09 -------
Created an attachment (id=20415)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20415&action=view)
source files to trigger this bug

Source files to trigger this bug.it is a tar file,include
MTest-1.c,MTest-1.i,MTest-7.c,and MTest-7.i.
command steps:
tar xf bug43794.tar
gcc-4.5 -O2 MTest-1.c -o  mt1
./mt1 # generate MTest-1.out
gcc-4.5 -O2 MTest-7.c -o  mt7
./mt7 # generate MTest-7.out
diff MTest-1.out MTest-7.out


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]