Skip to content
Snippets Groups Projects
Commit 415d4636 authored by Mark Mitchell's avatar Mark Mitchell
Browse files

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
parent 7b6d72fc
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment