OSDN Git Service

* emit-rtl.c (add_insn_before): Fix comment typo.
authorsteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Jan 2005 16:15:23 +0000 (16:15 +0000)
committersteven <steven@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 1 Jan 2005 16:15:23 +0000 (16:15 +0000)
commitba821eb102fc1a654c0542fcba73898340a9a02d
treec6d40e9cbaa9fa337df7a271539a709395f1c913
parentc9dee80527335101164c3b5fee96b84cd7d938a2
* emit-rtl.c (add_insn_before): Fix comment typo.

PR middle-end/17544
* c-decl.c (finish_function): If compiling C99, annotate the
compiler generated return with the current file name and line 0.
* tree-cfg.c (remove_useless_stmts_warn_notreached): Only warn if
the source line is greater than 0.
(remove_bb): Likewise.

cp/
PR middle-end/17544
* decl.c (finish_function): Fix comment.  Annotate the compiler
generated return with the current file name and line 0.

testsuite/
* gcc.dg/20041231-1.C: New test.
* g++.dg/warn/Wunreachable-code-1.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92784 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/c-decl.c
gcc/cp/ChangeLog
gcc/cp/decl.c
gcc/emit-rtl.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Wunreachable-code-1.C [new file with mode: 0644]
gcc/testsuite/gcc.dg/20041231-1.c [new file with mode: 0644]
gcc/tree-cfg.c