re PR c++/11530 ([unit-at-a-time] inline static function not emitted with -O3)
authorMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 29 Jul 2003 01:57:47 +0000 (01:57 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Tue, 29 Jul 2003 01:57:47 +0000 (01:57 +0000)
commit415d46362678d5b5ab71a96cec3363ad01870df5
treed294364dbe757f8114ce5fb8aa4219d5820584d1
parent7b6d72fcfbd0aa2bb05d81afcdcf5e4c6027b2e8
re PR c++/11530 ([unit-at-a-time] inline static function not emitted with -O3)

PR c++/11530
* parser.c (cp_parser_postfix_expression): Do not call mark_used.
* semantics.c (finish_id_expression): Call mark_used for all
declarations.

PR c++/11530
* g++.dg/opt/call1.C: New test.

From-SVN: r69911
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/cp/semantics.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/opt/call1.C [new file with mode: 0644]