Skip to content
Snippets Groups Projects
Commit 3dc9eaa6 authored by Adam Nemet's avatar Adam Nemet Committed by Adam Nemet
Browse files

cgraphbuild.c (build_cgraph_edges, [...]): Don't call initialize_inline_failed.

	* cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Don't
	call initialize_inline_failed.
	(initialize_inline_failed): Move it from here ...
	* cgraph.c (initialize_inline_failed): ... to here.
	(cgraph_create_edge): Call initialize_inline_failed rather than
	setting inline_failed directly.

testsuite/
	* gcc.dg/winline-10.c: New test.

From-SVN: r145215
parent 7fb0ee07
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