Skip to content
Snippets Groups Projects
Commit f1acad4e authored by Jason Merrill's avatar Jason Merrill
Browse files

PR c++/93238 - short right-shift with enum.

My earlier patch to reintroduce short_shift failed to adjust for the C++
front end use of const_op1 rather than op1.

	* typeck.c (cp_build_binary_op): Use folded op1 for short_shift.
parent 33742a0a
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