[PATCH] Fix c54a13b

Roger Sayle roger@eyesopen.com
Wed Oct 13 06:03:00 GMT 2004


On Tue, 12 Oct 2004, Andrew Pinski wrote:
> 	* stmt.c (add_case_node): Make sure that we have integer
> 	constant before calling tree_int_cst_compare.

This is OK for mainline.  Sorry for the inconvenience to the Ada
folks.  This code was based upon c-common.c's check_case_bounds
which obviously doesn't have to worry about Ada's non-constant
type bounds.

Roger
--



More information about the Gcc-patches mailing list