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 middle-end/34856] [4.2/4.3 Regression] ICE with some constant vectors



------- 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


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