PR c++/17412
commita1080ab2d44eb7cb0dac6b2d6a54ecbc632a0646
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Sep 2004 19:48:58 +0000 (11 19:48 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 11 Sep 2004 19:48:58 +0000 (11 19:48 +0000)
treebb1962bfc50766eb7a19c562763e5c166da579bc
parenta0f68376397a4e73894da71deef9ab085269da45
PR c++/17412
* fold-const.c (fold): Do not try to fold the operand of a
CLEANUP_POINT_EXPR if that operand does itself not have any
operands.
testsuite/
* g++.dg/parse/break-in-for.C: New test.

PR middle-end/17417
* langhooks.c (lhd_decl_printable_name): Make sure that this
function is called with is a decl node that has an identifier.
* tree-pretty-print.c (dump_function_name): New function to
wrap PRINT_FUNCTION_NAME and dump_decl_name.
(print_call_name): Use it.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87363 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/fold-const.c
gcc/langhooks.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/parse/break-in-for.C [new file with mode: 0644]
gcc/tree-pretty-print.c