Skip to content
Snippets Groups Projects
Commit 767c0982 authored by Andrew Pinski's avatar Andrew Pinski
Browse files

Fix middle-end/102395: reg_class having only NO_REGS and ALL_REGS.

So this is a simple fix is to just add to the assert that
sclass and dclass are both greater than or equal to NO_REGS.
NO_REGS is documented as the first register class so it should
have the value of 0.

gcc/ChangeLog:

	* lra-constraints.c (check_and_process_move): Assert
	that dclass and sclass are greater than or equal to NO_REGS.
parent cf74e7b5
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