[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-19 Thread jakub at gcc dot gnu dot org
--- Comment #17 from jakub at gcc dot gnu dot org 2008-02-19 17:50 --- instantiate_type_decl calls tsubst on chain > nonlocal VOID file pr34950.C line 7 col 42 align 1 context and as TYPE_DECL isn't TEMPLATE_DECL, it doesn't bump processing_template_decl around the tsu

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-19 Thread rguenth at gcc dot gnu dot org
--- Comment #16 from rguenth at gcc dot gnu dot org 2008-02-19 10:28 --- It's way down #1 0x004f94ac in dependent_type_p (type=0x2aea625cd180) at /space/rguenther/src/svn/trunk/gcc/cp/pt.c:15553 #2 0x0043e9fe in make_typename_type (context=0x2aea625cd180, nam

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-18 Thread mark at codesourcery dot com
--- Comment #15 from mark at codesourcery dot com 2008-02-19 06:15 --- Subject: Re: [4.2/4.3 Regression] ICE in svn boost math toolkit rguenth at gcc dot gnu dot org wrote: > --- Comment #14 from rguenth at gcc dot gnu dot org 2008-02-12 23:19 > --- > It looks like simply del

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34950 --- You ar

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-12 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2008-02-12 23:19 --- It looks like simply deleting from dependent_type_p: /* If there are no template parameters in scope, then there can't be any dependent types. */ if (!processing_template_decl) { /* If we are n

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-12 Thread rguenth at gcc dot gnu dot org
--- Comment #13 from rguenth at gcc dot gnu dot org 2008-02-12 23:13 --- Ok, so based on comment #12 this is ice-on-valid-code, and that testcase "works" for me with 4.0 and 4.1 which produce: g++-4.1 -S t.ii t.ii: In instantiation of ‘A’: t.ii:12: instantiated from ‘S’ t.ii:19: in

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-12 Thread bangerth at dealii dot org
--- Comment #12 from bangerth at dealii dot org 2008-02-12 08:17 --- The following variant of the testcase in comment #8 is definitely valid but produces an ICE: - template struct policy { typedef int unnecessary; }; template struct A { typedef

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-06 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-02-06 20:52 --- Before we make this anything but P3 I'd like to know whether this is ice-on-valid or ice-on-invalid (at least the original testcase never built without errors for me). -- rguenth at gcc dot gnu dot org changed:

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-01 Thread jsm28 at gcc dot gnu dot org
--- Comment #10 from jsm28 at gcc dot gnu dot org 2008-02-01 16:55 --- 4.2.3 is being released now, changing milestones of open bugs to 4.2.4. -- jsm28 at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-01-25 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2008-01-25 21:30 --- It's unclear if this is valid or not and the testcase should be able to be reduced further. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-01-25 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2008-01-25 09:50 --- EDG accepts this one where we still ICE the same: struct default_policy {}; template struct policy { typedef int precision_type; }; template struct precision { typedef Real type; typedef typename Polic

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-01-24 Thread inform at tiker dot net
--- Comment #7 from inform at tiker dot net 2008-01-24 21:03 --- In the original ice.cpp, there is a declaration of cyl_bessel_j of two template arguments. So there are two different issues: 1. gcc ICEs on Richard's reduced code 2. it doesn't find the two-argument version of cyl_bessel_

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-01-24 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-01-24 19:04 --- This code is invalid as you don't have a third template argument for cyl_bessel_j. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-01-24 Thread ismail at pardus dot org dot tr
-- ismail at pardus dot org dot tr changed: What|Removed |Added CC||ismail at pardus dot org dot |

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-01-24 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2008-01-24 15:52 --- Reduced (invalid?) testcase: template struct precision { typedef typename Policy::precision_type precision_type; }; template struct bessel_traits { typedef T1 result_type; typedef typename precision::t