[Bug other/40623] New: variable seems to be optimised out incorrectly

galtgendo at o2 dot pl gcc-bugzilla@gcc.gnu.org
Thu Jul 2 17:53:00 GMT 2009


I'm in doubt about exact compiler info,
cause I want to report a bug from Gentoo bugzilla,
where reporter was using 4.3.2, but I could reproduce it
with 4.4.0.
We're both on x86.
It's http://bugs.gentoo.org/show_bug.cgi?id=276146.

A rather simple code fragment gets miscompiled,
but after making a few changes, that arithmetically are no-ops,
it can be compiled correctly.


-- 
           Summary: variable seems to be optimised out incorrectly
           Product: gcc
           Version: 4.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: galtgendo at o2 dot pl


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



More information about the Gcc-bugs mailing list