aboutsummaryrefslogtreecommitdiff
path: root/gcc/c/c-decl.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@gcc.gnu.org>2014-10-14 16:53:29 -0400
committerDJ Delorie <dj@gcc.gnu.org>2014-10-14 16:53:29 -0400
commit9edc6e4cf97d207b3c0e12096cc1e733d36a81e1 (patch)
tree86a7ed83411ac670ac0ff149d0c718c8bca646b2 /gcc/c/c-decl.c
parente1217ac7f26aca7f383229eea72dc895007cb8a8 (diff)
downloadgcc-9edc6e4cf97d207b3c0e12096cc1e733d36a81e1.zip
gcc-9edc6e4cf97d207b3c0e12096cc1e733d36a81e1.tar.gz
gcc-9edc6e4cf97d207b3c0e12096cc1e733d36a81e1.tar.bz2
More missed bits from the big __intN patch
From-SVN: r216222
Diffstat (limited to 'gcc/c/c-decl.c')
-rw-r--r--gcc/c/c-decl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gcc/c/c-decl.c b/gcc/c/c-decl.c
index 2900c71..d994114 100644
--- a/gcc/c/c-decl.c
+++ b/gcc/c/c-decl.c
@@ -9711,10 +9711,7 @@ declspecs_add_type (location_t loc, struct c_declspecs *specs,
case RID_INT_N_2:
case RID_INT_N_3:
specs->int_n_idx = i - RID_INT_N_0;
- if (!in_system_header_at (input_location)
- /* As a special exception, allow a type that's used
- for __SIZE_TYPE__. */
- && int_n_data[specs->int_n_idx].bitsize != POINTER_SIZE)
+ if (!in_system_header_at (input_location))
pedwarn (loc, OPT_Wpedantic,
"ISO C does not support %<__int%d%> types",
int_n_data[specs->int_n_idx].bitsize);