Skip to content
Snippets Groups Projects
Commit f8b55962 authored by Richard Biener's avatar Richard Biener Committed by Richard Biener
Browse files

middle-end/118174 - bogus TER of tailcall

The following avoids applying TER to direct internal functions that
are tailcall since the involved expansion code path doesn't honor
TER constraints.

	PR middle-end/118174
	* tree-outof-ssa.cc (ssa_is_replaceable_p): Exclude tailcalls.

	* gcc.dg/torture/pr118174.c: New testcase.
parent f8cd181e
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