re PR testsuite/25171 (FAIL: gfortran.dg/mixed_io_1.f90)

PR testsuite/25171
	* c-decl.c (check_bitfield_type_and_width): Don't issue pedwarn "type
	of bit-field" when in system header.

From-SVN: r109990
This commit is contained in:
John David Anglin 2006-01-19 23:45:49 +00:00 committed by John David Anglin
parent 2e16005633
commit 1dc80d7a9d
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2006-01-19 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
PR testsuite/25171
* c-decl.c (check_bitfield_type_and_width): Don't issue pedwarn "type
of bit-field" when in system header.
2006-01-19 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_prepare_shift): Add code to deal with

View file

@ -3784,6 +3784,7 @@ check_bitfield_type_and_width (tree *type, tree *width, const char *orig_name)
type_mv = TYPE_MAIN_VARIANT (*type);
if (pedantic
&& !in_system_header
&& type_mv != integer_type_node
&& type_mv != unsigned_type_node
&& type_mv != boolean_type_node)