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


On Sat, 25 Apr 2009, Ian Lance Taylor wrote:

> The first patch is the relatively small change to the C frontend to warn
> about the new cases.  Testing revealed that I had failed to set the
> original type correctly for the comma operator.  I also had to add a new
> test for the case of initializing a structure with a bitfield of enum
> type, as the enum type has been lost when convert_for_assignment is
> called.  This patch also includes test cases.  This patch requires
> approval from the C frontend maintainres.

These changes are OK.

-- 
Joseph S. Myers
joseph@codesourcery.com


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