]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/38705 (ICE: canonical types differ for identical types const int and const...
authorJakub Jelinek <jakub@redhat.com>
Sat, 3 Jan 2009 00:54:40 +0000 (01:54 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Sat, 3 Jan 2009 00:54:40 +0000 (01:54 +0100)
commit493aa551b29a64091d07e3a0736b5cd3b84e94a4
tree9c32c8623b462e75703ad770a137a1eaeba5e765
parent5f26a23027acae2712001616c4b13c76cf316cd5
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
gcc/ChangeLog
gcc/builtins.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/torture/pr38705.C [new file with mode: 0644]