* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
@ 2004-11-20 22:08 ` pinskia at gcc dot gnu dot org
2004-11-20 22:09 ` lu_zero at gentoo dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-20 22:08 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|c |target
Keywords| |rejects-valid
Summary|error on valid code: const |[3.4 Regression] error on
|__attribute__((altivec(vecto|valid code: const
|r__))) doesn't work in |__attribute__((altivec(vecto
|arrays |r__))) doesn't work in
| |arrays
Target Milestone|--- |3.4.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
2004-11-20 22:08 ` [Bug target/18583] [3.4 Regression] " pinskia at gcc dot gnu dot org
@ 2004-11-20 22:09 ` lu_zero at gentoo dot org
2004-11-20 22:10 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: lu_zero at gentoo dot org @ 2004-11-20 22:09 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From lu_zero at gentoo dot org 2004-11-20 22:09 -------
Created an attachment (id=7573)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7573&action=view)
testcase
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
2004-11-20 22:08 ` [Bug target/18583] [3.4 Regression] " pinskia at gcc dot gnu dot org
2004-11-20 22:09 ` lu_zero at gentoo dot org
@ 2004-11-20 22:10 ` pinskia at gcc dot gnu dot org
2004-11-20 22:35 ` pinskia at gcc dot gnu dot org
` (5 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-20 22:10 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Known to fail| |3.4.3
Known to work| |4.0.0 3.4.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
` (2 preceding siblings ...)
2004-11-20 22:10 ` pinskia at gcc dot gnu dot org
@ 2004-11-20 22:35 ` pinskia at gcc dot gnu dot org
2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
` (4 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-20 22:35 UTC (permalink / raw)
To: gcc-bugs
------- 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
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
` (3 preceding siblings ...)
2004-11-20 22:35 ` pinskia at gcc dot gnu dot org
@ 2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
2005-06-09 21:46 ` aldyh at gcc dot gnu dot org
` (3 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-05-19 17:50 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4.4 |3.4.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
` (4 preceding siblings ...)
2005-05-19 17:50 ` mmitchel at gcc dot gnu dot org
@ 2005-06-09 21:46 ` aldyh at gcc dot gnu dot org
2005-06-09 22:02 ` aldyh at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-06-09 21:46 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aldyh at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
` (5 preceding siblings ...)
2005-06-09 21:46 ` aldyh at gcc dot gnu dot org
@ 2005-06-09 22:02 ` aldyh at gcc dot gnu dot org
2005-09-02 20:51 ` janis at gcc dot gnu dot org
2005-09-13 18:18 ` janis at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: aldyh at gcc dot gnu dot org @ 2005-06-09 22:02 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|aldyh at gcc dot gnu dot org|unassigned at gcc dot gnu
| |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
` (6 preceding siblings ...)
2005-06-09 22:02 ` aldyh at gcc dot gnu dot org
@ 2005-09-02 20:51 ` janis at gcc dot gnu dot org
2005-09-13 18:18 ` janis at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-09-02 20:51 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From janis at gcc dot gnu dot org 2005-09-02 20:51 -------
A regression hunt shows that I broke this on the 3.4 branch with
http://gcc.gnu.org/ml/gcc-cvs/2004-08/msg01183.html
I submitted a fix to mainline a few months later to fix the problem; I'll
backport that to the 3.4 branch next week.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |janis at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-02-19 14:08:30 |2005-09-02 20:51:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug target/18583] [3.4 Regression] error on valid code: const __attribute__((altivec(vector__))) doesn't work in arrays
2004-11-20 22:06 [Bug c/18583] New: " lu_zero at gentoo dot org
` (7 preceding siblings ...)
2005-09-02 20:51 ` janis at gcc dot gnu dot org
@ 2005-09-13 18:18 ` janis at gcc dot gnu dot org
8 siblings, 0 replies; 12+ messages in thread
From: janis at gcc dot gnu dot org @ 2005-09-13 18:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From janis at gcc dot gnu dot org 2005-09-13 18:17 -------
I'm still looking at this. My earlier comment about having fixed it on
mainline was wrong; I thought it was a problem in altivec.h, but it's in
the compiler itself and this problem never showed up on mainline.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18583
^ permalink raw reply [flat|nested] 12+ messages in thread