[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#472867: gcc-4.3: gcc regression in optimization (4.2 -> 4.3)



Arthur Loiret a écrit :
severity 472867 normal
thanks


On Wed, Mar 26, 2008 at 11:38:53PM +0100, Cyprien LAPLACE wrote:
Severity: grave
Justification: renders package unusable

Not that much.
that was breaking one of mine (arm tlb flushing loop)... but I recog it should be rare.

gcc-4.3 forgets some checks in -O2 and -O3, tested on x86_64 and arm
(cross-compiler) targets.

Can you please report this upstream ? See http://gcc.gnu.org/bugzilla/
I'll need to test it on bare and fresh gnu compiler, which I don't have right now. I'll compile one.

the following is an exemple code with disassembled generated code by
gcc for 4.2 and 4.3 versions:

It is easier to run gcc with -S (compile but don't assemble) than compile and
then disassemble the binary.
yes :-)

Regards,
Cyprien



Reply to: