aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2005-03-20 15:23:50 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2005-03-20 15:23:50 +0000
commitf6d1c3a69b64edc2ff6d10d8ec89456552a5f3a8 (patch)
tree4b6f9cfd528a8733782d0ef9c585656d6f4190ce /gcc/c-parser.c
parente498b9f1a0460c20a42d6835470de35d858379da (diff)
downloadgcc-f6d1c3a69b64edc2ff6d10d8ec89456552a5f3a8.zip
gcc-f6d1c3a69b64edc2ff6d10d8ec89456552a5f3a8.tar.gz
gcc-f6d1c3a69b64edc2ff6d10d8ec89456552a5f3a8.tar.bz2
c-common.c (handle_aligned_attribute, [...]): Do not strip NOPS from INTEGER_CSTs.
* c-common.c (handle_aligned_attribute, check_function_sentinel, get_nonnull_operand, handle_sentinel_attribute, check_function_arguments_recurse): Do not strip NOPS from INTEGER_CSTs. * c-decl.c (check_bitfield_type_and_width, build_enumerator): Likewise. * c-format.c (get_constant): Likewise. * c-parser.c (c_parser_postfix_expression): Likewise. * c-typeck.c (set_init_index): Likewise. (convert_arguments): Don't check for NOP_EXPR containing integer constant. From-SVN: r96760
Diffstat (limited to 'gcc/c-parser.c')
-rw-r--r--gcc/c-parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gcc/c-parser.c b/gcc/c-parser.c
index fa62475..99b6e09 100644
--- a/gcc/c-parser.c
+++ b/gcc/c-parser.c
@@ -5019,7 +5019,6 @@ c_parser_postfix_expression (c_parser *parser)
tree c;
c = fold (e1.value);
- STRIP_NOPS (c);
if (TREE_CODE (c) != INTEGER_CST)
error ("first argument to %<__builtin_choose_expr%> not"
" a constant");