Skip to content
Snippets Groups Projects
Commit 493aa551 authored by Jakub Jelinek's avatar Jakub Jelinek Committed by Jakub Jelinek
Browse files

re PR c++/38705 (ICE: canonical types differ for identical types const int and...

re PR c++/38705 (ICE: canonical types differ for identical types const int and const AlpsNodeIndex_t)

	PR c++/38705
	* builtins.c (fold_builtin_memory_op): Give up if either operand
	is volatile.  Set srctype or desttype to non-qualified version
	of the other type.

	* g++.dg/torture/pr38705.C: New test.

From-SVN: r143029
parent 5f26a230
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