re PR c++/10180 (gcc fails to warn about non-inlined function)
authorMark Mitchell <mark@codesourcery.com>
Tue, 29 Apr 2003 03:24:27 +0000 (03:24 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 29 Apr 2003 03:24:27 +0000 (03:24 +0000)
commita833faa5999c552d5e87b36691732e7f338c5ce1
tree37410dac5d69f16d8ad0eb350980071c1f87900a
parent3e1be8c1b1da6e8a423260c65cdaaec64fa37ea7
re PR c++/10180 (gcc fails to warn about non-inlined function)

PR c++/10180
* tree-inline.c (expand_call_inline): Call push_srcloc when
encountering EXPR_WITH_FILE_LOCATION.  Honor warn_inline.

PR c++/10180
* g++.dg/warn/Winline-1.C: New test.

From-SVN: r66202
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/warn/Winline-1.C [new file with mode: 0644]
gcc/tree-inline.c