public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/37967] New: [4.4 regression] ICE with function returning auto @ 2008-10-30 20:51 reichelt at gcc dot gnu dot org 2008-10-30 20:51 ` [Bug c++/37967] " reichelt 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-10-30 20:51 UTC (permalink / raw) To: gcc-bugs The following code snippet triggers an ICE on mainline: ============================== auto foo(); ============================== bug.cc:1: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] The bug appeared with the patches for the new 'auto' semantics. -- Summary: [4.4 regression] ICE with function returning auto Product: gcc Version: 4.4.0 Status: UNCONFIRMED Keywords: ice-on-invalid-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=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37967] [4.4 regression] ICE with function returning auto 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org @ 2008-10-30 20:51 ` reichelt at gcc dot gnu dot org 2008-10-30 21:03 ` rguenth at gcc dot gnu dot org ` (4 subsequent siblings) 5 siblings, 0 replies; 7+ messages in thread From: reichelt at gcc dot gnu dot org @ 2008-10-30 20:51 UTC (permalink / raw) To: gcc-bugs -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37967] [4.4 regression] ICE with function returning auto 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org 2008-10-30 20:51 ` [Bug c++/37967] " reichelt at gcc dot gnu dot org @ 2008-10-30 21:03 ` rguenth at gcc dot gnu dot org 2008-10-31 21:30 ` 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-10-30 21:03 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-10-30 21:00 ------- Confirmed. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to work| |4.3.2 Priority|P3 |P2 Last reconfirmed|0000-00-00 00:00:00 |2008-10-30 21:00:56 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37967] [4.4 regression] ICE with function returning auto 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org 2008-10-30 20:51 ` [Bug c++/37967] " reichelt at gcc dot gnu dot org 2008-10-30 21:03 ` rguenth at gcc dot gnu dot org @ 2008-10-31 21:30 ` jakub at gcc dot gnu dot org 2008-10-31 21:36 ` 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-10-31 21:30 UTC (permalink / raw) To: gcc-bugs -- 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 Last reconfirmed|2008-10-30 21:00:56 |2008-10-31 21:28:37 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37967] [4.4 regression] ICE with function returning auto 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org ` (2 preceding siblings ...) 2008-10-31 21:30 ` jakub at gcc dot gnu dot org @ 2008-10-31 21:36 ` jakub at gcc dot gnu dot org 2008-10-31 21:39 ` jakub at gcc dot gnu dot org 2008-11-03 7:43 ` reichelt at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu dot org @ 2008-10-31 21:36 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from jakub at gcc dot gnu dot org 2008-10-31 21:35 ------- Subject: Bug 37967 Author: jakub Date: Fri Oct 31 21:33:47 2008 New Revision: 141502 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=141502 Log: PR c++/37967 * decl.c (grokdeclarator): Diagnose auto function decl without late return type and late return type function decl where type is not auto. * g++.dg/cpp0x/auto8.C: New test. Added: trunk/gcc/testsuite/g++.dg/cpp0x/auto8.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/decl.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37967] [4.4 regression] ICE with function returning auto 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org ` (3 preceding siblings ...) 2008-10-31 21:36 ` jakub at gcc dot gnu dot org @ 2008-10-31 21:39 ` jakub at gcc dot gnu dot org 2008-11-03 7:43 ` reichelt at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: jakub at gcc dot gnu dot org @ 2008-10-31 21:39 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from jakub at gcc dot gnu dot org 2008-10-31 21:37 ------- Fixed. -- jakub at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c++/37967] [4.4 regression] ICE with function returning auto 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org ` (4 preceding siblings ...) 2008-10-31 21:39 ` jakub at gcc dot gnu dot org @ 2008-11-03 7:43 ` reichelt at gcc dot gnu dot org 5 siblings, 0 replies; 7+ messages in thread From: reichelt at gcc dot gnu dot org @ 2008-11-03 7:43 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from reichelt at gcc dot gnu dot org 2008-11-03 07:41 ------- *** Bug 37964 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37967 ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2008-11-03 7:43 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-10-30 20:51 [Bug c++/37967] New: [4.4 regression] ICE with function returning auto reichelt at gcc dot gnu dot org 2008-10-30 20:51 ` [Bug c++/37967] " reichelt at gcc dot gnu dot org 2008-10-30 21:03 ` rguenth at gcc dot gnu dot org 2008-10-31 21:30 ` jakub at gcc dot gnu dot org 2008-10-31 21:36 ` jakub at gcc dot gnu dot org 2008-10-31 21:39 ` jakub at gcc dot gnu dot org 2008-11-03 7:43 ` reichelt 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).