Commit 1dc80d7a by John David Anglin Committed by John David Anglin

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
parent 2e160056
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> 2006-01-19 DJ Delorie <dj@redhat.com>
* config/m32c/m32c.c (m32c_prepare_shift): Add code to deal with * config/m32c/m32c.c (m32c_prepare_shift): Add code to deal with
......
...@@ -3784,6 +3784,7 @@ check_bitfield_type_and_width (tree *type, tree *width, const char *orig_name) ...@@ -3784,6 +3784,7 @@ check_bitfield_type_and_width (tree *type, tree *width, const char *orig_name)
type_mv = TYPE_MAIN_VARIANT (*type); type_mv = TYPE_MAIN_VARIANT (*type);
if (pedantic if (pedantic
&& !in_system_header
&& type_mv != integer_type_node && type_mv != integer_type_node
&& type_mv != unsigned_type_node && type_mv != unsigned_type_node
&& type_mv != boolean_type_node) && type_mv != boolean_type_node)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment