[LLVMbugs] [Bug 4061] clang breaks strict-aliasing rules according to g++4.4

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Sep 1 21:32:46 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=4061


Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |




--- Comment #7 from Duncan Sands <baldrick at free.fr>  2009-09-01 23:32:45 ---
Reopening because gcc-4.4 still reports a gazillion issues.  Here are the
first two:

clang/lib/Basic/../../include/clang/Basic/SourceLocation.h: In member function
‘bool clang::SourceManager::isBeforeInTranslationUnit(clang::SourceLocation,
clang::SourceLocation) const’:
clang/lib/Basic/../../include/clang/Basic/SourceLocation.h:43: warning:
dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
/usr/include/c++/4.4/bits/stl_tree.h:175: note: initialized from here
...
clang/lib/Parse/../../include/clang/Parse/DeclSpec.h: In member function
‘clang::CXXScopeSpec&
clang::DeclaratorChunk::MemberPointerTypeInfo::Scope()’:
clang/lib/Parse/../../include/clang/Parse/DeclSpec.h:637: warning:
dereferencing type-punned pointer will break strict-aliasing rules


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list