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 RFA: Invalid C++ enum conversions in initializers and returns


>>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:

Ian> gcc/java/ChangeLog:
Ian> 2009-04-25  Ian Lance Taylor  <iant@google.com>

Ian> 	* builtins.c (java_builtins): Add casts to enum type.
Ian> 	* verify-impl.c (check_class_constant): Add cast to enum type.
Ian> 	(check_constant, check_wide_constant): Likewise.

This is ok.

Tom


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