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

            Bug ID: 67892
           Summary: Wrong code at -O1 and above
           Product: gcc
           Version: 5.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: translation
          Assignee: unassigned at gcc dot gnu.org
          Reporter: sikkins at hotmail dot com
  Target Milestone: ---

Created attachment 36461
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=36461&action=edit
test case

gcc-5 emits wrong code for the attached test case when called with option -O1
and above. However, adding option -fno-tree-dominator-opts fixes the issue.

gcc versions tested: 5.1.0 and 5.2.0
Targets: x86_64-linux-gnu / x86_64-w64-mingw32

Reply via email to