[gcc-in-cxx] Fix fold-const.c for C++

Ian Lance Taylor iant@google.com
Tue Feb 3 15:56:00 GMT 2009


I committed this patch to the gcc-in-cxx branch to fix compiling
fold-const.c with C++.  Just more enum issues.

Ian


2009-02-03  Ian Lance Taylor  <iant@google.com>

	* fold-const.c (fold_undefer_overflow_warnings): Add cast to enum
	type.
	(combine_comparisons): Change compcode to int.  Add cast.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 1313 bytes
Desc: Fix fold-const.c for C++
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090203/4acd2ffe/attachment.bin>


More information about the Gcc-patches mailing list