This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/49464] [4.6/4.7 Regression] FAIL: g++.dg/ext/altivec-17.C (test for errors, line 15)


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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2011.06.20 11:00:17
            Summary|[4.7 Regression] FAIL:      |[4.6/4.7 Regression] FAIL:
                   |g++.dg/ext/altivec-17.C     |g++.dg/ext/altivec-17.C
                   |(test for errors, line 15)  |(test for errors, line 15)
     Ever Confirmed|0                           |1

--- Comment #2 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-06-20 11:00:17 UTC ---
What would be the "best fix" between the two?

--- /opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/ext/altivec-17.C    2010-07-08
10:41:46.000000000 +0200
+++ /opt/gcc/work/gcc/testsuite/g++.dg/ext/altivec-17.C    2011-06-20
12:46:32.000000000 +0200
@@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_ty

 void Foo (bool_simd_type const &a)
 {
-  simd_type const &v = a; // { dg-error "'const simd_type&' from expression of
type 'const bool_simd_type'" }
+  simd_type const &v = a; // { dg-error "'const simd_type& {aka \[^\n\r\}\]*}'
from expression of type 'const bool_simd_type {aka \[^\n\r\}\]*}'" }
 }

or

--- /opt/gcc/_gcc_clean/gcc/testsuite/g++.dg/ext/altivec-17.C    2010-07-08
10:41:46.000000000 +0200
+++ /Users/dominiq/Desktop/altivec-17.C    2011-06-20 12:01:18.000000000 +0200
@@ -12,5 +12,5 @@ typedef vector__ bool__ int bool_simd_ty

 void Foo (bool_simd_type const &a)
 {
-  simd_type const &v = a; // { dg-error "'const simd_type&' from expression of
type 'const bool_simd_type'" }
+  simd_type const &v = a; // { dg-error "'const simd_type& {aka const
__vector\\\(4\\\) unsigned int&}' from expression of type 'const bool_simd_type
{aka const __vector\\\(4\\\) __bool int}'" }
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]