diff options
author | John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | 2006-01-19 23:45:49 +0000 |
---|---|---|
committer | John David Anglin <danglin@gcc.gnu.org> | 2006-01-19 23:45:49 +0000 |
commit | 1dc80d7a9d4ddb924a2c80b149c65fdacd22c317 (patch) | |
tree | 41bceccf1c543976de10fc85a4cf66a7ae34ac07 /gcc/c-decl.c | |
parent | 2e1600563396be18ee75e09d00fabe7f52982f3b (diff) | |
download | gcc-1dc80d7a9d4ddb924a2c80b149c65fdacd22c317.zip gcc-1dc80d7a9d4ddb924a2c80b149c65fdacd22c317.tar.gz gcc-1dc80d7a9d4ddb924a2c80b149c65fdacd22c317.tar.bz2 |
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
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r-- | gcc/c-decl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c index d3bf142..db906b4 100644 --- a/gcc/c-decl.c +++ b/gcc/c-decl.c @@ -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) |