Skip to content
Snippets Groups Projects
Commit 43057533 authored by Yannick Moy's avatar Yannick Moy Committed by Marc Poulhiès
Browse files

ada: Crash in GNATprove due to wrong detection of inlining

When a function is called in a predicate, it was not properly detected
as not always inlined in GNATprove mode, which led to crashes later during
analysis. Fixed now.

gcc/ada/

	* sem_res.adb (Resolve_Call): Always call Cannot_Inline so that
	subprogram called is marked as not always inlined.
parent 3ad67df2
No related branches found
No related tags found
No related merge requests found
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