optimization_options in i386.c has

  /* For -O2 and beyond, turn on -fzee for x86_64 target. */
  if (level > 1 && TARGET_64BIT)
    flag_zee = 1; 

But TARGET_64BIT is set/clear later in override_options. As
the result, flag_zee may be set incorrectly for -m32/-m64.


-- 
           Summary: -fzee is mishandled
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to