This is the mail archive of the gcc-patches@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]

Re: [PATCH] Disallow VECTOR_CSTs with missing elements


Richard Guenther wrote:

> I can add code to the verifier though (though the assert in the
> only code that makes a VECTOR_CST node looks good enough
> to me).  So yes, a NULL_TREE TREE_VECTOR_CST_ELTS isn't
> valid.

FWIW, I agree.  A VECTOR_CST should always have elements.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713


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