This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Nov 2004 22:35:52 -0000
- Subject: [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
- References: <20041120220614.18583.lu_zero@gentoo.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-20 22:35 -------
Confirmed.
The problem is:
<nop_expr 0x40f6aac8
type <vector_type 0x40ddbd24 __vector signed short
type <integer_type 0x40dcc89c HI
size <integer_cst 0x40dc9280 constant 16>
unit size <integer_cst 0x40dc9360 constant 2>
align 16 symtab 0 alias set -1 precision 16 min <integer_cst 0x40dc9680 -32768> max
<integer_cst 0x40dc96a0 32767>
pointer_to_this <pointer_type 0x40ddb15c>>
V8HI
size <integer_cst 0x40dc97a0 constant 128>
unit size <integer_cst 0x40dc99c0 constant 16>
align 128 symtab 0 alias set -1>
constant
arg 0 <vector_cst 0x40f419c0
type <vector_type 0x40f68570 __vector signed short type <integer_type 0x40dcc89c>
readonly V8HI size <integer_cst 0x40dc97a0 128> unit size <integer_cst 0x40dc99c0 16>
align 128 symtab 0 alias set -1
pointer_to_this <pointer_type 0x40f6889c>>
constant
elt0: <integer_cst 0x40ddde40 constant 4095>
elt1: <integer_cst 0x40dddea0 constant 5681>
elt2: <integer_cst 0x40dddf00 constant 5351>
elt3: <integer_cst 0x40dddf60 constant 4816>
elt4: <integer_cst 0x40dddfc0 constant 4095>
elt5: <integer_cst 0x40f6b020 constant 4816>
elt6: <integer_cst 0x40f6b080 constant 5351>
elt7: <integer_cst 0x40f6b0e0 constant 5681>>>
Note the NOP_EXPR and how the vector types are located at different memory location.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |janis at gcc dot gnu dot org
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-11-20 22:35:51
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583