[C PATCH] Don't pedwarn for C99/C11 enum bit-fields (PR c/57773)

Joseph S. Myers joseph@codesourcery.com
Mon Jan 6 16:45:00 GMT 2014


On Mon, 6 Jan 2014, Marek Polacek wrote:

> 2014-01-06  Marek Polacek  <polacek@redhat.com>
> 
> 	PR c/57773
> 	* doc/implement-c.texi: Mention that other integer types are
> 	permitted as bit-field types in strictly conforming mode.
> c/
> 	* c-decl.c (check_bitfield_type_and_width): Warn for implementation
> 	defined bit-field types only in ISO C.
> testsuite/
> 	* gcc.dg/pr57773.c: New test.

OK.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list