public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/23797] New: ICE (on invalid) @ 2005-09-09 14:40 sylvain dot pion at sophia dot inria dot fr 2005-09-09 14:42 ` [Bug c++/23797] " sylvain dot pion at sophia dot inria dot fr ` (7 more replies) 0 siblings, 8 replies; 9+ messages in thread From: sylvain dot pion at sophia dot inria dot fr @ 2005-09-09 14:40 UTC (permalink / raw) To: gcc-bugs The attached preprocessed file compiled with g++ produces the ICE : include/CGAL/_test_circles_constructions.h: In function 'void _test_circle_construct(CK2)': include/CGAL/_test_circles_constructions.h:294: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions. ---------------- I have not found the time to simplify/shorten it, but I believe that there is an invalid use of "typename" in the program. Removing this typename makes the compiler happy. -- Summary: ICE (on invalid) Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: sylvain dot pion at sophia dot inria dot fr CC: gcc-bugs at gcc dot gnu dot org,sylvain dot pion at sophia dot inria dot fr GCC host triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] ICE (on invalid) 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr @ 2005-09-09 14:42 ` sylvain dot pion at sophia dot inria dot fr 2005-09-09 16:25 ` pinskia at gcc dot gnu dot org ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: sylvain dot pion at sophia dot inria dot fr @ 2005-09-09 14:42 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From sylvain dot pion at sophia dot inria dot fr 2005-09-09 14:41 ------- Created an attachment (id=9702) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9702&action=view) gzipped .ii c++ file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] ICE (on invalid) 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr 2005-09-09 14:42 ` [Bug c++/23797] " sylvain dot pion at sophia dot inria dot fr @ 2005-09-09 16:25 ` pinskia at gcc dot gnu dot org 2005-09-09 16:33 ` [Bug c++/23797] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-09 16:25 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-09 16:24 ------- reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE (on invalid) 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr 2005-09-09 14:42 ` [Bug c++/23797] " sylvain dot pion at sophia dot inria dot fr 2005-09-09 16:25 ` pinskia at gcc dot gnu dot org @ 2005-09-09 16:33 ` pinskia at gcc dot gnu dot org 2005-09-09 23:10 ` pinskia at gcc dot gnu dot org ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-09 16:33 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Keywords| |ice-on-invalid-code Known to fail| |3.4.0 4.0.0 4.1.0 Known to work| |3.3.3 Summary|ICE (on invalid) |[3.4/4.0/4.1 Regression] ICE | |(on invalid) Target Milestone|--- |4.0.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE (on invalid) 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr ` (2 preceding siblings ...) 2005-09-09 16:33 ` [Bug c++/23797] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org @ 2005-09-09 23:10 ` pinskia at gcc dot gnu dot org 2005-09-11 15:58 ` [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template reichelt at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-09 23:10 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-09 23:10 ------- It took me a while to reduce this but finally: struct CK { typedef int RT; }; void f(void) { 2 / typename CK::RT(2); } -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2005-09-09 23:10:06 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr ` (3 preceding siblings ...) 2005-09-09 23:10 ` pinskia at gcc dot gnu dot org @ 2005-09-11 15:58 ` reichelt at gcc dot gnu dot org 2005-09-12 20:43 ` pinskia at gcc dot gnu dot org ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2005-09-11 15:58 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From reichelt at gcc dot gnu dot org 2005-09-11 15:58 ------- Even shorter testcase: ================================ struct A { typedef int X; }; int i = typename A::X(); ================================ -- What |Removed |Added ---------------------------------------------------------------------------- CC| |reichelt at gcc dot gnu dot | |org Keywords| |monitored Summary|[3.4/4.0/4.1 Regression] ICE|[3.4/4.0/4.1 Regression] ICE |(on invalid) |on typename outside template http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr ` (4 preceding siblings ...) 2005-09-11 15:58 ` [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template reichelt at gcc dot gnu dot org @ 2005-09-12 20:43 ` pinskia at gcc dot gnu dot org 2005-09-16 18:08 ` janis at gcc dot gnu dot org 2005-09-27 16:08 ` mmitchel at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: pinskia at gcc dot gnu dot org @ 2005-09-12 20:43 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-12 20:43 ------- : Search converges between 2004-03-01-trunk (#446) and 2004-04-01-trunk (#447). : Search converges between 2004-03-15-3.4 (#3) and 2004-04-01-3.4 (#4). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr ` (5 preceding siblings ...) 2005-09-12 20:43 ` pinskia at gcc dot gnu dot org @ 2005-09-16 18:08 ` janis at gcc dot gnu dot org 2005-09-27 16:08 ` mmitchel at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: janis at gcc dot gnu dot org @ 2005-09-16 18:08 UTC (permalink / raw) To: gcc-bugs ------- Additional Comments From janis at gcc dot gnu dot org 2005-09-16 18:08 ------- The ICE begins on mainline with this patch from giovannibajo: http://gcc.gnu.org/ml/gcc-cvs/2004-03/msg00874.html -- What |Removed |Added ---------------------------------------------------------------------------- CC| |giovannibajo at gcc dot gnu | |dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr ` (6 preceding siblings ...) 2005-09-16 18:08 ` janis at gcc dot gnu dot org @ 2005-09-27 16:08 ` mmitchel at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2005-09-27 16:08 UTC (permalink / raw) To: gcc-bugs -- What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.0.2 |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23797 ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2005-09-27 16:08 UTC | newest] Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2005-09-09 14:40 [Bug c++/23797] New: ICE (on invalid) sylvain dot pion at sophia dot inria dot fr 2005-09-09 14:42 ` [Bug c++/23797] " sylvain dot pion at sophia dot inria dot fr 2005-09-09 16:25 ` pinskia at gcc dot gnu dot org 2005-09-09 16:33 ` [Bug c++/23797] [3.4/4.0/4.1 Regression] " pinskia at gcc dot gnu dot org 2005-09-09 23:10 ` pinskia at gcc dot gnu dot org 2005-09-11 15:58 ` [Bug c++/23797] [3.4/4.0/4.1 Regression] ICE on typename outside template reichelt at gcc dot gnu dot org 2005-09-12 20:43 ` pinskia at gcc dot gnu dot org 2005-09-16 18:08 ` janis at gcc dot gnu dot org 2005-09-27 16:08 ` mmitchel 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).