The test g++.dg/ext/altivec-17.C fails:

FAIL: g++.dg/ext/altivec-17.C  (test for errors, line 15)
FAIL: g++.dg/ext/altivec-17.C (test for excess errors)

(see for instance http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01113.html
).
This is due to a recent change in the error message that has not be updated in
this test
which now gives

/opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/ext/altivec-17.C: In function 'void
Foo(const __bool int __vector[4]&)':
/opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/ext/altivec-17.C:15:24: error: invalid
initialization of reference of type 'const unsigned int __vector[4]&' from
expression of type 'const __bool int __vector[4]'

instead of the expected message

/opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/ext/altivec-17.C: In function 'void
Foo(const unsigned int __vector__&)':
/opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/ext/altivec-17.C:15: error: invalid
initialization of reference of type 'const unsigned int __vector__&' from
expression of type 'const unsigned int __vector__'

This could trivially fixed by replacing

  simd_type const &v = a; // { dg-error "'const unsigned int __vector__&' from
expression of type 'const __bool int __vector__'" }

with

  simd_type const &v = a; // { dg-error "'const unsigned int __vector[4]&' from
expression of type 'const __bool int __vector[4]'" }

or any other suitable regexp.


-- 
           Summary: [4.5 Regression] FAIL: g++.dg/ext/altivec-17.C
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dominiq at lps dot ens dot fr
 GCC build triplet: powerpc*-*-*
  GCC host triplet: powerpc*-*-*
GCC target triplet: powerpc*-*-*


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

Reply via email to