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

           Summary: Incorrect store removal when compiling with
                    -fstrict-aliasing
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: vego...@chromium.org


Created attachment 21958
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=21958
testcase

When attached test case is compiled with -O1 -fstrict-aliasing GCC removes
store to the GlobalObject::ctx_ field. 

GCC seems to be confused by BitCast<T**> in the Handle<T>::operator* but I see
no aliasing violation there.

Reply via email to