[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-09-08 Thread erik dot moller at cycos dot com
--- Comment #6 from erik dot moller at cycos dot com 2008-09-08 10:54 --- bug is still in 4.3.2 -- erik dot moller at cycos dot com changed: What|Removed |Added

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-18 Thread erik dot moller at cycos dot com
--- Comment #3 from erik dot moller at cycos dot com 2008-08-18 16:20 --- Created an attachment (id=16084) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16084action=view) main() for the testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37096

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-18 Thread erik dot moller at cycos dot com
--- Comment #4 from erik dot moller at cycos dot com 2008-08-18 16:20 --- Created an attachment (id=16085) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16085action=view) the test case it's as minimal I could get it... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37096

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-18 Thread erik dot moller at cycos dot com
--- Comment #5 from erik dot moller at cycos dot com 2008-08-18 16:22 --- the printf(shouldn't happen: %d\n, pAR[0]) happens when debug flags -O2 or -O3 and -msse2 are set. the printf(nz: %d\n, nZ); seems to do something awful... void fun(short *pAR) { const short tmp =

[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-08-16 22:43 --- Might be related to PR 37101. Does -O2 -ftree-vectorize fail too? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added