This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/34856] [4.2/4.3 Regression] ICE with some constant vectors
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Jan 2008 11:29:39 -0000
- Subject: [Bug middle-end/34856] [4.2/4.3 Regression] ICE with some constant vectors
- References: <bug-34856-6528@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #14 from ebotcazou at gcc dot gnu dot org 2008-01-24 11:29 -------
This is invalid in the first place:
(const_vector:V4SI [
(const:SI (plus:SI (symbol_ref:SI ("g") [flags 0x40] <var_decl 0x556e70b0
g>)
(const_int 32 [0x20])))
(const_int 0 [0x0])
(const_int 0 [0x0])
(const_int 0 [0x0])
CONST_VECTOR can only contain CONST_INTs or CONST_DOUBLEs (and CONST_FIXED ?).
ix86_expand_vector_init (as well as rs6000_expand_vector_init) should be fixed
to avoid generating them.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|ebotcazou at gcc dot gnu dot|unassigned at gcc dot gnu
|org |dot org
Status|ASSIGNED |NEW
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34856