[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-08-27 Thread mmitchel at gcc dot gnu dot org
--- Comment #11 from mmitchel at gcc dot gnu dot org 2006-08-27 18:00 --- Fixed in 4.1.2. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-08-27 Thread mmitchel at gcc dot gnu dot org
--- Comment #10 from mmitchel at gcc dot gnu dot org 2006-08-27 18:00 --- Subject: Bug 28058 Author: mmitchel Date: Sun Aug 27 17:59:55 2006 New Revision: 116492 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116492 Log: PR c++/28058 * pt.c (register_specializat

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-08-27 Thread mmitchel at gcc dot gnu dot org
--- Comment #9 from mmitchel at gcc dot gnu dot org 2006-08-27 17:45 --- Subject: Bug 28058 Author: mmitchel Date: Sun Aug 27 17:45:25 2006 New Revision: 116491 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=116491 Log: PR c++/28058 * pt.c (register_specializati

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-08-26 Thread mmitchel at gcc dot gnu dot org
--- Comment #8 from mmitchel at gcc dot gnu dot org 2006-08-26 16:53 --- We do have code to notice use-before-specialization errors. For example: template void f(); void g() { f(); } template <> void f() {} results in an error. However, the code to initialize static var

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-08-26 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |mark at codesourcery dot com |dot org

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-08-14 Thread janis at gcc dot gnu dot org
--- Comment #7 from janis at gcc dot gnu dot org 2006-08-14 16:16 --- Regression hunts on powerpc-linux showed that the original testcase with -O3 and the testcase in comment #5 with -O0 both start getting segfaults with the following patch: http://gcc.gnu.org/viewcvs?view=rev&rev=9

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-07-21 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2006-07-21 20:36 --- cgraph_analyze_function is reentrant for non-unit-at-a-time support. However with unit-at-a-time, the analysis happens only after unit has been finalized and at that time frontend is not supposed to come up with new

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-07-16 Thread mmitchel at gcc dot gnu dot org
-- mmitchel at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28058

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-07-12 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2006-07-12 16:39 --- Here's a testcase that crashes even at -O0 since GCC 4.1.0: === template struct A { A() {} }; A<0> a; template<> A<0>::A() {} === As Wolfgang already mentione

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-06-24 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-06-24 23:53 --- *** Bug 28159 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-06-16 Thread bangerth at dealii dot org
--- Comment #3 from bangerth at dealii dot org 2006-06-16 22:55 --- The code is invalid, however: explicit specializations must be declared before they are first used. In the snippet, B::B is used in foo() before the specialization is declared. The ICE consequently also goes away if a de

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-06-16 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2006-06-16 22:51 --- Confirmed. -- bangerth at dealii dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug c++/28058] [4.1/4.2 regression] ICE in inline_forbidden_p

2006-06-16 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|tree-optimization |c++ Target Milestone|--- |4.1.2 http://gc