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]

[PATCH] Fix digest_init vector handling (PRs middle-end/19164, c/17297)


Hi!

PR middle-end/19164 ICEs because digest_init handles assumes there is a
CONSTRUCTOR while there is actually a NOP_EXPR <INTEGER_CST> (or there
can be VECTOR_CST etc.).

PR c/17297 fails because although the constructor is TREE_CONSTANT,
it contains TREE_CONSTANT RDIV_EXPRs (division by 0), but everything
in the compiler expects VECTOR_CST to only contain *_CSTs.

Ok to commit if testing succeeds, both to HEAD and 3.4?

	Jakub

Attachment: PR17297-HEAD
Description: Text document

Attachment: PR17297-3.4
Description: Text document


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