https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772

            Bug ID: 78772
           Summary: -fstrict-aliasing should turn on Wstrict-aliasing
                    automaticly
           Product: gcc
           Version: 6.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
          Assignee: unassigned at gcc dot gnu.org
          Reporter: ma.jiang at zte dot com.cn
  Target Milestone: ---

Hi all,
  "-fstrict-aliasing" which is turned on at O2 level, May create wrong codes.
But, GCC does not give a warning for it by default. IMO, we should  turn on
Wstrict-aliasing  when strict-aliasing is enabled.

Reply via email to