[Bug c++/35240] ICE with new in template parameter

2009-04-01 Thread hjl at gcc dot gnu dot org


--- Comment #4 from hjl at gcc dot gnu dot org  2009-04-01 15:56 ---
Subject: Bug 35240

Author: hjl
Date: Wed Apr  1 15:56:29 2009
New Revision: 145408

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145408
Log:
2009-04-01  H.J. Lu  hongjiu...@intel.com

PR c++/35240
* g++.dg/template/pr35240.C: New.

Added:
trunk/gcc/testsuite/g++.dg/template/pr35240.C
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35240



[Bug c++/35240] ICE with new in template parameter

2009-04-01 Thread hjl at gcc dot gnu dot org


--- Comment #5 from hjl at gcc dot gnu dot org  2009-04-01 15:59 ---
Subject: Bug 35240

Author: hjl
Date: Wed Apr  1 15:59:09 2009
New Revision: 145409

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=145409
Log:
2009-04-01  H.J. Lu  hongjiu...@intel.com

Backport from mainline:
2009-04-01  H.J. Lu  hongjiu...@intel.com

PR c++/35240
* g++.dg/template/pr35240.C: New.

Added:
branches/gcc-4_4-branch/gcc/testsuite/g++.dg/template/pr35240.C
  - copied unchanged from r145408,
trunk/gcc/testsuite/g++.dg/template/pr35240.C
Modified:
branches/gcc-4_4-branch/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35240



[Bug c++/35240] ICE with new in template parameter

2009-04-01 Thread hjl dot tools at gmail dot com


--- Comment #6 from hjl dot tools at gmail dot com  2009-04-01 16:00 ---
Fixed.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
  Known to work||4.4.0 4.5.0
 Resolution||FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35240



[Bug c++/35240] ICE with new in template parameter

2009-03-28 Thread reichelt at gcc dot gnu dot org


--- Comment #2 from reichelt at gcc dot gnu dot org  2009-03-28 20:49 
---
Fixed on the trunk between 2009-03-15 and 2009-03-20, most likely by Jason's
patch

2009-03-17  Jason Merrill  ja...@redhat.com

* decl.c (grokfndecl): Set DECL_CONTEXT on parms.
(duplicate_decls): Adjust DECL_CONTEXT of newdecl's parms.
* pt.c (check_explicit_specialization): Likewise.
(tsubst_copy) [PARM_DECL]: Return a dummy parm if we don't have a
local specialization.
* tree.c (cp_tree_equal) [PARM_DECL]: Check type and index, not name.
* decl2.c (parm_index): New fn.
* semantics.c (finish_decltype_type): Don't use describable_type.
* mangle.c (write_expression): Likewise.  Mangle ALIGNOF_EXPR.
Give a sorry for unsupported codes rather than crash.  Mangle
conversions with other than 1 operand.  New mangling for PARM_DECL.
* operators.def (ALIGNOF_EXPR): Mangle as az.


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35240



[Bug c++/35240] ICE with new in template parameter

2009-03-28 Thread hjl dot tools at gmail dot com


--- Comment #3 from hjl dot tools at gmail dot com  2009-03-28 23:25 ---
It shouldn't be closed without a testcase.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35240



[Bug c++/35240] ICE with new in template parameter

2008-02-17 Thread rguenth at gcc dot gnu dot org


--- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-17 23:02 ---
Confirmed.  Since gcc 3.4 this is no longer an ice-after-error.  Before 3.4
we sorried on the mangling.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-02-17 23:02:50
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35240