diff options
author | Jakub Jelinek <jakub@redhat.com> | 2011-01-21 22:34:25 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2011-01-21 22:34:25 +0100 |
commit | 95cc031fd89f7e05a2653ec098105e29817ed6ea (patch) | |
tree | 31842ab7308fede4f5d7a2642f1c261de4853b35 /libgo/go/net/dnsname_test.go | |
parent | abba182313a491dae23985a480944282c6a566a8 (diff) | |
download | gcc-95cc031fd89f7e05a2653ec098105e29817ed6ea.zip gcc-95cc031fd89f7e05a2653ec098105e29817ed6ea.tar.gz gcc-95cc031fd89f7e05a2653ec098105e29817ed6ea.tar.bz2 |
re PR c++/47388 (ICE: in begin_for_stmt, at cp/semantics.c:863 with -fno-for-scope and for(;;) inside a template)
PR c++/47388
* semantics.c (begin_for_stmt): If -fno-for-scope, don't
assume init must be NULL if scope is NULL.
(begin_range_for_stmt): Likewise.
* g++.dg/cpp0x/range-for10.C: New test.
* g++.dg/template/for1.C: New test.
From-SVN: r169105
Diffstat (limited to 'libgo/go/net/dnsname_test.go')
0 files changed, 0 insertions, 0 deletions