This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/38705] [4.4 Regression] ICE: canonical types differ for identical types const int and const AlpsNodeIndex_t



------- Comment #5 from jakub at gcc dot gnu dot org  2009-01-03 00:56 -------
Subject: Bug 38705

Author: jakub
Date: Sat Jan  3 00:54:40 2009
New Revision: 143029

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=143029
Log:
        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.

Added:
    trunk/gcc/testsuite/g++.dg/torture/pr38705.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/builtins.c
    trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38705


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]