]> gcc.gnu.org Git - gcc.git/commit
re PR c++/28337 (ICE with string literals in templates)
authorMark Mitchell <mark@codesourcery.com>
Wed, 19 Jul 2006 17:32:38 +0000 (17:32 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Wed, 19 Jul 2006 17:32:38 +0000 (17:32 +0000)
commit0225a19df7763f213bc16792b91d9cfdd153a5e4
tree4584149f3fdaade2611956fa7358104e3f3b9c88
parentcf0d6f2e579da809726f3178b29a3e4e32a83ca4
re PR c++/28337 (ICE with string literals in templates)

PR c++/28337
* typeck.c (build_binary_op): Short-circuit pointer arithmetic in
templates.
PR c++/28337
* g++.dg/template/string1.C: New test.

From-SVN: r115597
gcc/cp/ChangeLog
gcc/cp/typeck.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/string1.C [new file with mode: 0644]
This page took 0.054114 seconds and 5 git commands to generate.