public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/38640] New: ICE with decltype of template value parameter @ 2008-12-26 22:55 reichelt at gcc dot gnu dot org 2008-12-27 1:40 ` [Bug c++/38640] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org ` (5 more replies) 0 siblings, 6 replies; 7+ messages in thread From: reichelt at gcc dot gnu dot org @ 2008-12-26 22:55 UTC (permalink / raw) To: gcc-bugs The following valid code snippet triggers an ICE since GCC 4.3.0 (when __decltype was introduced): ================================================ template<int N> void foo(__decltype(N)); ================================================ bug.cc:1: internal compiler error: in finish_decltype_type, at cp/semantics.c:4645 -- Summary: ICE with decltype of template value parameter Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, monitored Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: reichelt at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/38640] [4.3/4.4 Regression] ICE with decltype of template value parameter 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org @ 2008-12-27 1:40 ` pinskia at gcc dot gnu dot org 2008-12-29 22:56 ` rguenth at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: pinskia at gcc dot gnu dot org @ 2008-12-27 1:40 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 01:38 ------- This is a regression as we went from rejecting this code to ICEing on it. Confirmed. -- pinskia at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail| |4.3.0 4.4.0 Last reconfirmed|0000-00-00 00:00:00 |2008-12-27 01:38:01 date| | Summary|ICE with decltype of |[4.3/4.4 Regression] ICE |template value parameter |with decltype of template | |value parameter Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/38640] [4.3/4.4 Regression] ICE with decltype of template value parameter 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org 2008-12-27 1:40 ` [Bug c++/38640] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org @ 2008-12-29 22:56 ` rguenth at gcc dot gnu dot org 2008-12-30 23:54 ` jakub at gcc dot gnu dot org ` (3 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-12-29 22:56 UTC (permalink / raw) To: gcc-bugs -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/38640] [4.3/4.4 Regression] ICE with decltype of template value parameter 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org 2008-12-27 1:40 ` [Bug c++/38640] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org 2008-12-29 22:56 ` rguenth at gcc dot gnu dot org @ 2008-12-30 23:54 ` jakub at gcc dot gnu dot org 2008-12-30 23:58 ` [Bug c++/38640] [4.3 " jakub at gcc dot gnu dot org ` (2 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu dot org @ 2008-12-30 23:54 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from jakub at gcc dot gnu dot org 2008-12-30 23:53 ------- Subject: Bug 38640 Author: jakub Date: Tue Dec 30 23:52:06 2008 New Revision: 142973 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142973 Log: PR c++/38640 * semantics.c (finish_decltype_type): Handle TEMPLATE_PARM_INDEX. * g++.dg/cpp0x/decltype15.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/decltype15.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/semantics.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/38640] [4.3 Regression] ICE with decltype of template value parameter 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org ` (2 preceding siblings ...) 2008-12-30 23:54 ` jakub at gcc dot gnu dot org @ 2008-12-30 23:58 ` jakub at gcc dot gnu dot org 2009-01-24 10:28 ` rguenth at gcc dot gnu dot org 2009-07-10 12:20 ` rguenth at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu dot org @ 2008-12-30 23:58 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from jakub at gcc dot gnu dot org 2008-12-30 23:55 ------- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org | Status|NEW |ASSIGNED Known to fail|4.3.0 4.4.0 |4.3.0 Known to work| |4.4.0 Last reconfirmed|2008-12-27 01:38:01 |2008-12-30 23:55:57 date| | Summary|[4.3/4.4 Regression] ICE |[4.3 Regression] ICE with |with decltype of template |decltype of template value |value parameter |parameter http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/38640] [4.3 Regression] ICE with decltype of template value parameter 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org ` (3 preceding siblings ...) 2008-12-30 23:58 ` [Bug c++/38640] [4.3 " jakub at gcc dot gnu dot org @ 2009-01-24 10:28 ` rguenth at gcc dot gnu dot org 2009-07-10 12:20 ` rguenth at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu dot org @ 2009-01-24 10:28 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from rguenth at gcc dot gnu dot org 2009-01-24 10:21 ------- GCC 4.3.3 is being released, adjusting target milestone. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.3.3 |4.3.4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/38640] [4.3 Regression] ICE with decltype of template value parameter 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org ` (4 preceding siblings ...) 2009-01-24 10:28 ` rguenth at gcc dot gnu dot org @ 2009-07-10 12:20 ` rguenth at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: rguenth at gcc dot gnu dot org @ 2009-07-10 12:20 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from rguenth at gcc dot gnu dot org 2009-07-10 12:19 ------- C++0x, not fixing on the 4.3 branch. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Known to fail|4.3.0 |4.3.0 4.3.4 Resolution| |FIXED Target Milestone|4.3.4 |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38640 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-07-10 12:20 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-12-26 22:55 [Bug c++/38640] New: ICE with decltype of template value parameter reichelt at gcc dot gnu dot org 2008-12-27 1:40 ` [Bug c++/38640] [4.3/4.4 Regression] " pinskia at gcc dot gnu dot org 2008-12-29 22:56 ` rguenth at gcc dot gnu dot org 2008-12-30 23:54 ` jakub at gcc dot gnu dot org 2008-12-30 23:58 ` [Bug c++/38640] [4.3 " jakub at gcc dot gnu dot org 2009-01-24 10:28 ` rguenth at gcc dot gnu dot org 2009-07-10 12:20 ` rguenth at gcc dot gnu dot 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).