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]

Re: optimization/8613: -O3 optimisation of ++ generates wrong code


http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=8613


confirmed on redhat 8.0


Also it seem tied up with i686 architecture.

Since on redhat 8.0 gcc 3.2:

g++ -O2 test1.cpp

works:

and on mandrak9.0 gcc 3.2

g++ -O2 -march=i386 test1.cpp

also works.


Mark


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