The newly added test gcc.dg/torture/pr21817-1.c fails on hppa2.0w-hpux with:

pr21817-1.c:12: warning: alignment (16) for value exceeds maximum alignment for
global common data.  Using 8

This is a target-specific warning.  There seems to be nothing about this test
requiring it to be in gcc.dg (and the test does not seem to have been included
in the patch posted - patches should always be posted as the exact patch tested
and proposed to be committed including all testcases in their proposed
locations), so it would better belong in gcc.c-torture/compile, which would fix
this problem by having the warning no longer cause a test failure.

FAIL: gcc.dg/torture/pr21817-1.c  -O0  (test for excess errors)
FAIL: gcc.dg/torture/pr21817-1.c  -O1  (test for excess errors)
FAIL: gcc.dg/torture/pr21817-1.c  -O2  (test for excess errors)
FAIL: gcc.dg/torture/pr21817-1.c  -O3 -fomit-frame-pointer  (test for excess 
errors)
FAIL: gcc.dg/torture/pr21817-1.c  -O3 -fomit-frame-pointer -funroll-loops  (test
for excess errors)
FAIL: gcc.dg/torture/pr21817-1.c  -O3 -fomit-frame-pointer -funroll-all-loops
-finline-functions  (test for excess errors)
FAIL: gcc.dg/torture/pr21817-1.c  -O3 -g  (test for excess errors)
FAIL: gcc.dg/torture/pr21817-1.c  -Os  (test for excess errors)

-- 
           Summary: gcc.dg/torture/pr21817-1.c fails on hppa2.0w-hpux
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jsm28 at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: hppa2.0w-*-hpux11.*


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

Reply via email to