summaryrefslogtreecommitdiff
path: root/gcc/c-parser.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-20 15:23:50 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2005-03-20 15:23:50 +0000
commit67409385de6e36bd5b6bd23d81adbf06b3cd12ad (patch)
tree4b6f9cfd528a8733782d0ef9c585656d6f4190ce /gcc/c-parser.c
parent7169af5411c7f5266e69d0d175ea51203860a713 (diff)
downloadgcc-67409385de6e36bd5b6bd23d81adbf06b3cd12ad.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96760 138bc75d-0d04-0410-961f-82ee72b054a4
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 fa62475e943..99b6e090492 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");