Gcc 4.3 revision 132310 gives bogus error when compiling binutils on Linux/ia32:
[EMAIL PROTECTED] gas]$ /usr/gcc-4.3/bin/gcc -O2 x.i -S -Wall x.c: In function operand_type_match: x.c:1025: warning: likely type-punning may break strict-aliasing rules: object *{unknown} of main type unsigned int is referenced at or around x.c:1025 and may be aliased to object {unknown} of main type unsigned char:1 which is referenced at or around x.c:1025. .... This error is very sensitive to gcc revision as well as the input. If I remove a blank line in the source, I won't see the error. It is also OK if I compile it on Linux/Intel64 with -m32. -- Summary: [4.3 Regression] gcc 4.3 failed to compile binutils Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: hjl dot tools at gmail dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35200