[Bug target/88408] New: [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64 LE

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug target/88408] New: [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64 LE

msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

            Bug ID: 88408
           Summary: [9 regression] r266868 breaks
                    gcc.target/powerpc/undef-bool-2.c on powerpc64 LE
           Product: gcc
           Version: 9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: seurer at gcc dot gnu.org
  Target Milestone: ---

spawn -ignore SIGHUP /home/seurer/gcc/build/gcc-test2/gcc/xgcc
-B/home/seurer/gcc/build/gcc-test2/gcc/
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c
-fno-diagnostics-show-caret -fno-diagnostics-show-line-numbers
-fdiagnostics-color=never -O2 -std=c11 -DNO_WARN_X86_INTRINSICS -mvsx -S -o
undef-bool-2.s
In file included from
/home/seurer/gcc/build/gcc-test2/gcc/include/xmmintrin.h:79,
                 from
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c:10:
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h: In function
'_mm_packs_pu16':
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:19: error: 'vector'
undeclared (first use in this function); did you mean 'vec_or'?
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:19: note: each
undeclared identifier is reported only once for each function it appears in
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:25: error: expected
')' before 'unsigned'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:41: error: expected
')' before 'vm1'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:25: error: expected
')' before 'vector'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:3: error: can't
convert a vector of type '__vector signed short' {aka 'const __vector(8) short
int'} to type 'int' which has different size
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c: At
top level:
/home/seurer/gcc/gcc-test2/gcc/testsuite/gcc.target/powerpc/undef-bool-2.c:12:1:
error: unknown type name 'bool'
compiler exited with status 1
PASS: gcc.target/powerpc/undef-bool-2.c  (test for errors, line 12)
FAIL: gcc.target/powerpc/undef-bool-2.c (test for excess errors)
Excess errors:
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:19: error: 'vector'
undeclared (first use in this function); did you mean 'vec_or'?
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:25: error: expected
')' before 'unsigned'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:231:41: error: expected
')' before 'vm1'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:25: error: expected
')' before 'vector'
/home/seurer/gcc/build/gcc-test2/gcc/include/mmintrin.h:233:3: error: can't
convert a vector of type '__vector signed short' {aka 'const __vector(8) short
int'} to type 'int' which has different size
Reply | Threaded
Open this post in threaded view
|

[Bug target/88408] [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64 LE

msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

seurer at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|powerpc64-unknown-linux-gnu |powerpc64*-unknown-linux-gn
                   |                            |u
              Build|powerpc64le-unknown-linux-g |powerpc64*-unknown-linux-gn
                   |nu                          |u

--- Comment #1 from seurer at gcc dot gnu.org ---
Also fails on BE after further testing.
Reply | Threaded
Open this post in threaded view
|

[Bug target/88408] [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64

msebor at gcc dot gnu.org
In reply to this post by msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

--- Comment #2 from pc at gcc dot gnu.org ---
Author: pc
Date: Fri Dec  7 16:32:34 2018
New Revision: 266895

URL: https://gcc.gnu.org/viewcvs?rev=266895&root=gcc&view=rev
Log:
[rs6000] mmintrin.h: fix use of "vector"

A recent patch inadvertently added the use of "vector" to mmintrin.h
when all such uses should be "__vector".

[gcc]

2018-12-07  Paul A. Clarke  <[hidden email]>

        PR target/88408
        * config/rs6000/mmintrin.h (_mm_packs_pu16): Correctly use "__vector".

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/rs6000/mmintrin.h
Reply | Threaded
Open this post in threaded view
|

[Bug target/88408] [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64

msebor at gcc dot gnu.org
In reply to this post by msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2018-12-07
                 CC|                            |pc at gcc dot gnu.org
           Assignee|unassigned at gcc dot gnu.org      |pc at gcc dot gnu.org
     Ever confirmed|0                           |1
Reply | Threaded
Open this post in threaded view
|

[Bug target/88408] [9 regression] r266868 breaks gcc.target/powerpc/undef-bool-2.c on powerpc64

msebor at gcc dot gnu.org
In reply to this post by msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88408

pc at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from pc at gcc dot gnu.org ---
Fix checked in, per comment #2