public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
@ 2014-02-17 13:07 vanyacpp at gmail dot com
2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: vanyacpp at gmail dot com @ 2014-02-17 13:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Bug ID: 60241
Summary: internal compiler error: in finish_member_declaration,
at cp/semantics.c:2617
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: vanyacpp at gmail dot com
I've got internal compiler error on the following code:
template <typename T>
struct x
{
template <typename U>
struct y
{
typedef T result2;
};
typedef y<int> zy;
};
template<>
template<class T>
struct x<int>::y
{
typedef double result2;
};
int main()
{
x<int>::zy::result2 xxx;
x<int>::y<int>::result2 xxx2;
}
6.cpp: In instantiation of 'struct x<int>::y<int>':
6.cpp:23:19: required from here
6.cpp:16:1: internal compiler error: in finish_member_declaration, at
cp/semantics.c:2617
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.7/4.8/4.9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
@ 2014-02-17 13:25 ` rguenth at gcc dot gnu.org
2014-02-17 15:37 ` jakub at gcc dot gnu.org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-02-17 13:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid,
| |ice-on-invalid-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-02-17
Target Milestone|--- |4.7.4
Summary|internal compiler error: in |[4.7/4.8/4.9 Regression]
|finish_member_declaration, |internal compiler error: in
|at cp/semantics.c:2617 |finish_member_declaration,
| |at cp/semantics.c:2617
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Confirmed. Probably invalid as 4.3 errors:
t.C:15: error: specialization ‘x<int>::y<U>’ after instantiation
‘x<int>::y<int>’
>From gcc-bugs-return-443936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Mon Feb 17 13:44:03 2014
Return-Path: <gcc-bugs-return-443936-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 12718 invoked by alias); 17 Feb 2014 13:44:03 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 12132 invoked by uid 48); 17 Feb 2014 13:43:58 -0000
From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/60133] [4.8/4.9 Regression] wrong multiarch name on aarch64-linux-gnu
Date: Mon, 17 Feb 2014 13:44:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: regression
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: rearnsha at gcc dot gnu.org
X-Bugzilla-Status: UNCONFIRMED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.8.3
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: cc
Message-ID: <bug-60133-4-ty8dXhCoep@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-60133-4@http.gcc.gnu.org/bugzilla/>
References: <bug-60133-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-02/txt/msg01693.txt.bz2
Content-length: 746
http://gcc.gnu.org/bugzilla/show_bug.cgi?id`133
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu.org,
| |dj at redhat dot com,
| |iant at google dot com,
| |neroden at gcc dot gnu.org,
| |Ralf.Wildenhues at gmx dot de
--- Comment #1 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Looping in the various build infrastructure maintainers.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.7/4.8/4.9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
@ 2014-02-17 15:37 ` jakub at gcc dot gnu.org
2014-02-21 18:52 ` jason at gcc dot gnu.org
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2014-02-17 15:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Likely caused by r149188 (r149186 works, r149196 fails).
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.7/4.8/4.9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2014-02-17 15:37 ` jakub at gcc dot gnu.org
@ 2014-02-21 18:52 ` jason at gcc dot gnu.org
2014-02-21 21:41 ` jason at gcc dot gnu.org
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-21 18:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|accepts-invalid, |ice-on-valid-code
|ice-on-invalid-code |
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
And it's valid code.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.7/4.8/4.9 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
` (2 preceding siblings ...)
2014-02-21 18:52 ` jason at gcc dot gnu.org
@ 2014-02-21 21:41 ` jason at gcc dot gnu.org
2014-02-22 5:03 ` [Bug c++/60241] [4.7/4.8 " jason at gcc dot gnu.org
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-21 21:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 21 21:41:16 2014
New Revision: 208024
URL: http://gcc.gnu.org/viewcvs?rev=208024&root=gcc&view=rev
Log:
PR c++/60241
* pt.c (lookup_template_class_1): Update DECL_TEMPLATE_INSTANTIATIONS
of the partial instantiation, not the most general template.
(maybe_process_partial_specialization): Reassign everything on
that list.
Added:
trunk/gcc/testsuite/g++.dg/template/memclass5.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.7/4.8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
` (3 preceding siblings ...)
2014-02-21 21:41 ` jason at gcc dot gnu.org
@ 2014-02-22 5:03 ` jason at gcc dot gnu.org
2014-06-12 13:45 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-22 5:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.7/4.8/4.9 Regression] |[4.7/4.8 Regression]
|internal compiler error: in |internal compiler error: in
|finish_member_declaration, |finish_member_declaration,
|at cp/semantics.c:2617 |at cp/semantics.c:2617
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 4.9 so far.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.7/4.8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
` (4 preceding siblings ...)
2014-02-22 5:03 ` [Bug c++/60241] [4.7/4.8 " jason at gcc dot gnu.org
@ 2014-06-12 13:45 ` rguenth at gcc dot gnu.org
2014-08-01 18:34 ` [Bug c++/60241] [4.8 " jason at gcc dot gnu.org
2014-08-01 18:35 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-06-12 13:45 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.7.4 |4.8.4
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
The 4.7 branch is being closed, moving target milestone to 4.8.4.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
` (5 preceding siblings ...)
2014-06-12 13:45 ` rguenth at gcc dot gnu.org
@ 2014-08-01 18:34 ` jason at gcc dot gnu.org
2014-08-01 18:35 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2014-08-01 18:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
--- Comment #7 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Aug 1 18:33:41 2014
New Revision: 213500
URL: https://gcc.gnu.org/viewcvs?rev=213500&root=gcc&view=rev
Log:
PR c++/60241
* pt.c (lookup_template_class_1): Update DECL_TEMPLATE_INSTANTIATIONS
of the partial instantiation, not the most general template.
(maybe_process_partial_specialization): Reassign everything on
that list.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/memclass5.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/pt.c
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/60241] [4.8 Regression] internal compiler error: in finish_member_declaration, at cp/semantics.c:2617
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
` (6 preceding siblings ...)
2014-08-01 18:34 ` [Bug c++/60241] [4.8 " jason at gcc dot gnu.org
@ 2014-08-01 18:35 ` jason at gcc dot gnu.org
7 siblings, 0 replies; 9+ messages in thread
From: jason at gcc dot gnu.org @ 2014-08-01 18:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60241
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #8 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2014-08-01 18:35 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-17 13:07 [Bug c++/60241] New: internal compiler error: in finish_member_declaration, at cp/semantics.c:2617 vanyacpp at gmail dot com
2014-02-17 13:25 ` [Bug c++/60241] [4.7/4.8/4.9 Regression] " rguenth at gcc dot gnu.org
2014-02-17 15:37 ` jakub at gcc dot gnu.org
2014-02-21 18:52 ` jason at gcc dot gnu.org
2014-02-21 21:41 ` jason at gcc dot gnu.org
2014-02-22 5:03 ` [Bug c++/60241] [4.7/4.8 " jason at gcc dot gnu.org
2014-06-12 13:45 ` rguenth at gcc dot gnu.org
2014-08-01 18:34 ` [Bug c++/60241] [4.8 " jason at gcc dot gnu.org
2014-08-01 18:35 ` jason at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).