aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmacro.c
diff options
context:
space:
mode:
authorJoseph Myers <jsm@polyomino.org.uk>2004-01-20 01:38:27 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2004-01-20 01:38:27 +0000
commit53cd18ec8efe794064208e4a5f0ae20c2e2ea0b8 (patch)
treedffc7ec646ed782d1cf4c5f053cb52946bc4ee1c /gcc/cppmacro.c
parent87d11ccc820b7795c7919c5b2ca6a2001a6c044c (diff)
downloadgcc-53cd18ec8efe794064208e4a5f0ae20c2e2ea0b8.zip
gcc-53cd18ec8efe794064208e4a5f0ae20c2e2ea0b8.tar.gz
gcc-53cd18ec8efe794064208e4a5f0ae20c2e2ea0b8.tar.bz2
c-decl.c (c_init_decl_processing): Set pedantic_lvalues to true unconditionally.
* c-decl.c (c_init_decl_processing): Set pedantic_lvalues to true unconditionally. * c-typeck.c (unary_complex_lvalue, pedantic_lvalue_warning): Remove. (build_unary_op, build_modify_expr): Don't handle extended lvalues. (build_component_ref, build_conditional_expr): Call non_lvalue instead of pedantic_non_lvalue. (build_c_cast): Don't condition use of non_lvalue on pedantic. * fold-const.c (fold): Don't check pedantic directly for COMPOUND_EXPR. Ensure that results for COMPOUND_EXPR are passed to pedantic_non_lvalue. * doc/extend.texi: Remove documentation of extended lvalues. testsuite: * gcc.c-torture/compile/981022-1.c: Remove. * gcc.dg/array-5.c: Remove XFAIL. * gcc.dg/sequence-pt-1.c: Remove test using extended lvalues. * gcc.dg/cast-lvalue-1.c, gcc.dg/compound-lvalue-1.c, gcc.dg/cond-lvalue-1.c: Update. * gcc.dg/cast-lvalue-2.c: New test. From-SVN: r76192
Diffstat (limited to 'gcc/cppmacro.c')
0 files changed, 0 insertions, 0 deletions