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 c/69504] XMM register variable ICE with vector extensions


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69504

Marek Polacek <mpolacek at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mpolacek at gcc dot gnu.org

--- Comment #2 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
gcc34 / 44 / 45: 
v.c: In function `main':
v.c:8: error: subscripted value is neither array nor pointer

gcc4.6+ ICE.

g++ 4.6 and 4.7 give
v.c: In function âint main()â:
v.c:8:50: error: invalid types âu8x16_t {aka __vector(16) unsigned char}[int]â
for array subscript

And g++ 4.8 and newer ICE.

So looks like a regression and it seems we want to do what the FEs were
aleready doing in the past.

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