Skip to content
Snippets Groups Projects
Commit 9ee309d4 authored by Olivier Hainque's avatar Olivier Hainque Committed by Olivier Hainque
Browse files

trans.c (gnat_to_gnu): In range check processing...

	ada/
	* gcc-interface/trans.c (gnat_to_gnu) <case N_Slice>: In range
	check processing, remove unintended TREE_TYPE walk on index type
	to get to base type.

	testsuite/
	* gnat.dg/slice_enum.adb: New test.

From-SVN: r144774
parent 07c97076
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