aboutsummaryrefslogtreecommitdiff
path: root/move-if-change
diff options
context:
space:
mode:
authorJoseph Myers <jsm28@cam.ac.uk>2001-12-17 01:18:41 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2001-12-17 01:18:41 +0000
commit8d37a5c0db11afb1c4b6d578ad46d1dfb1213118 (patch)
treeb0c444fe54bd3f1b332cc67c0727beaa08189268 /move-if-change
parentcf6ede82ac9bf9fdd08be25e806e131ac9a8f47e (diff)
downloadgcc-8d37a5c0db11afb1c4b6d578ad46d1dfb1213118.zip
gcc-8d37a5c0db11afb1c4b6d578ad46d1dfb1213118.tar.gz
gcc-8d37a5c0db11afb1c4b6d578ad46d1dfb1213118.tar.bz2
re PR c/5105 (compound literal patch broken with inlining)
* c-common.def (COMPOUND_LITERAL_EXPR): Contain a DECL_STMT, not a DECL directly. * c-common.h (COMPOUND_LITERAL_EXPR_DECL_STMT): New. (COMPOUND_LITERAL_EXPR_DECL): Adjust definition. * c-decl.c (build_compound_literal): Put the decl inside a DECL_STMT. * doc/c-tree.texi (COMPOUND_LITERAL_EXPR): Update documentation. Fixes PR c/5105. testsuite: * gcc.c-torture/compile/20011217-1.c: New test. From-SVN: r48085
Diffstat (limited to 'move-if-change')
0 files changed, 0 insertions, 0 deletions