[Bug middle-end/38406] New: [4.4 Regression] Revision 142437 caused gcc.dg/Wstrict-aliasing-converted-assigned.c

hjl dot tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Dec 4 17:45:00 GMT 2008


On Linux/x86-64, revision 142437 gave

Executing on host: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc
-B/export/gnu/import/svn/gcc-test/bld/gcc/
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c
  -O2 -Wstrict-aliasing -fstrict-aliasing -S  -m32 -o
Wstrict-aliasing-converted-assigned.s    (timeout = 300)
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c:
In function 'foo':^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c:8:
warning: dereferencing type-punned pointer will break strict-aliasing rules^M
output is:
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c:
In function 'foo':^M
/export/gnu/import/svn/gcc-test/src-trunk/gcc/testsuite/gcc.dg/Wstrict-aliasing-converted-assigned.c:8:
warning: dereferencing type-punned pointer will break strict-aliasing rules^M

PASS: gcc.dg/Wstrict-aliasing-converted-assigned.c  (test for warnings, line 8)
FAIL: gcc.dg/Wstrict-aliasing-converted-assigned.c  (test for warnings, line 8)
FAIL: gcc.dg/Wstrict-aliasing-converted-assigned.c  (test for warnings, line 8)
PASS: gcc.dg/Wstrict-aliasing-converted-assigned.c (test for excess errors)


-- 
           Summary: [4.4 Regression] Revision 142437 caused gcc.dg/Wstrict-
                    aliasing-converted-assigned.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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



More information about the Gcc-bugs mailing list