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++/28337] [4.0/4.1/4.2 regression] ICE with string literals in templates



------- Comment #1 from mmitchel at gcc dot gnu dot org  2006-07-19 17:31 -------
Subject: Bug 28337

Author: mmitchel
Date: Wed Jul 19 17:31:51 2006
New Revision: 115596

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115596
Log:
        PR c++/28337
        * typeck.c (build_binary_op): Short-circuit pointer arithmetic in
        templates.
        PR c++/28337
        * g++.dg/template/string1.C: New test.

Added:
    branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/string1.C
Modified:
    branches/gcc-4_1-branch/gcc/cp/ChangeLog
    branches/gcc-4_1-branch/gcc/cp/typeck.c
    branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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


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