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

tree-optimization/117254 - ICE with access diangostics

The diagnostics code fails to handle non-constant domain max.

	PR tree-optimization/117254
	* gimple-ssa-warn-access.cc (maybe_warn_nonstring_arg):
	Check the array domain max is constant before using it.

	* gcc.dg/pr117254.c: New testcase.
parent a6b26e5e
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