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]

[committed] Fix PR middle-end/24820 ICE in integer_valued_real_p


There was a missing break in integer_valued_real_p for
the REAL_CST case so we ICEd on real constants which had
overflowed.

Committed as obvious to the mainline and the 4.0 branch
after a bootstrap/test on x86_64-pc-linux-gnu.

Thanks,
Andrew Pinski

ChangeLog:

	* builtins.c (integer_valued_real_p): Add break in
	REAL_CST having TREE_OVERFLOW set.


testsuite/ChangeLog:
	* testsuite/gcc.dg/pr24820.c: New test.

Attachment: fixPR24820.diff.txt
Description: ASCII text


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