public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340
@ 2014-02-07 16:17 doko at gcc dot gnu.org
2014-02-14 23:35 ` [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] " reichelt at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: doko at gcc dot gnu.org @ 2014-02-07 16:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60108
Bug ID: 60108
Summary: ICE in use_thunk, at cp/method.c:340
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: doko at gcc dot gnu.org
seen with trunk and current 4.7 and 4.8 branches.
$ g++ -std=c++0x -c sample.cpp
sample.cpp:5:3: internal compiler error: in use_thunk, at cp/method.c:340
~B() = default;
^
Please submit a full bug report,
with preprocessed source if appropriate.
template <class> struct A {
virtual ~A();
};
template <class... Ts> struct B : A<Ts>... {
~B() = default;
};
struct C : B<int, char> {
C() {}
};
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] ICE in use_thunk, at cp/method.c:340
2014-02-07 16:17 [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340 doko at gcc dot gnu.org
@ 2014-02-14 23:35 ` reichelt at gcc dot gnu.org
2014-02-21 21:58 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: reichelt at gcc dot gnu.org @ 2014-02-14 23:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60108
Volker Reichelt <reichelt at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Known to work| |4.4.0, 4.5.0, 4.6.0
Keywords| |ice-on-valid-code
Last reconfirmed| |2014-02-14
CC| |reichelt at gcc dot gnu.org
Ever confirmed|0 |1
Summary|ICE in use_thunk, at |[4.7/4.8/4.9 Regression]
|cp/method.c:340 |[C++11] ICE in use_thunk,
| |at cp/method.c:340
Target Milestone|--- |4.7.4
Known to fail| |4.7.0
--- Comment #1 from Volker Reichelt <reichelt at gcc dot gnu.org> ---
Confirmed. ICEs since GCC 4.7.0.
Here's a testcase without variadic templates:
============================================
template<int> struct A
{
virtual ~A();
};
template<typename> struct B : A<0>, A<1>
{
~B() = default;
};
struct C : B<bool>
{
C() {}
};
============================================
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] ICE in use_thunk, at cp/method.c:340
2014-02-07 16:17 [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340 doko at gcc dot gnu.org
2014-02-14 23:35 ` [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] " reichelt at gcc dot gnu.org
@ 2014-02-21 21:58 ` jason at gcc dot gnu.org
2014-02-21 22:15 ` jason at gcc dot gnu.org
2014-02-22 5:02 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-21 21:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60108
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 21 21:57:49 2014
New Revision: 208030
URL: http://gcc.gnu.org/viewcvs?rev=208030&root=gcc&view=rev
Log:
PR c++/60108
* semantics.c (expand_or_defer_fn_1): Check DECL_DEFAULTED_FN.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted48.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/semantics.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] ICE in use_thunk, at cp/method.c:340
2014-02-07 16:17 [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340 doko at gcc dot gnu.org
2014-02-14 23:35 ` [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] " reichelt at gcc dot gnu.org
2014-02-21 21:58 ` jason at gcc dot gnu.org
@ 2014-02-21 22:15 ` jason at gcc dot gnu.org
2014-02-22 5:02 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-21 22:15 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60108
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Fri Feb 21 22:15:07 2014
New Revision: 208032
URL: http://gcc.gnu.org/viewcvs?rev=208032&root=gcc&view=rev
Log:
PR c++/60108
* semantics.c (expand_or_defer_fn_1): Check DECL_DEFAULTED_FN.
Added:
branches/gcc-4_8-branch/gcc/testsuite/g++.dg/cpp0x/defaulted48.C
Modified:
branches/gcc-4_8-branch/gcc/cp/ChangeLog
branches/gcc-4_8-branch/gcc/cp/semantics.c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] ICE in use_thunk, at cp/method.c:340
2014-02-07 16:17 [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340 doko at gcc dot gnu.org
` (2 preceding siblings ...)
2014-02-21 22:15 ` jason at gcc dot gnu.org
@ 2014-02-22 5:02 ` jason at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: jason at gcc dot gnu.org @ 2014-02-22 5:02 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60108
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
Target Milestone|4.7.4 |4.8.3
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed for 4.8.3/4.9. Not backporting C++11 fixes to 4.7.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-02-22 5:02 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 16:17 [Bug c++/60108] New: ICE in use_thunk, at cp/method.c:340 doko at gcc dot gnu.org
2014-02-14 23:35 ` [Bug c++/60108] [4.7/4.8/4.9 Regression] [C++11] " reichelt at gcc dot gnu.org
2014-02-21 21:58 ` jason at gcc dot gnu.org
2014-02-21 22:15 ` jason at gcc dot gnu.org
2014-02-22 5:02 ` 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).