public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal @ 2011-02-26 11:36 jakub at gcc dot gnu.org 2011-02-26 11:44 ` [Bug c++/47904] " jakub at gcc dot gnu.org ` (6 more replies) 0 siblings, 7 replies; 8+ messages in thread From: jakub at gcc dot gnu.org @ 2011-02-26 11:36 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 Summary: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned@gcc.gnu.org ReportedBy: jakub@gcc.gnu.org CC: jason@gcc.gnu.org The following testcase ICEs starting with: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=149223 - PR40619 fix, both in C++98 and -std=c++0x modes: template <bool> struct S { }; template <class T> class U { T t; int foo () const { S <sizeof (t) == 1> s; return 1; } int bar () const { S <sizeof (t) == 1> s; return 1; } }; ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org @ 2011-02-26 11:44 ` jakub at gcc dot gnu.org 2011-02-27 8:37 ` jason at gcc dot gnu.org ` (5 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: jakub at gcc dot gnu.org @ 2011-02-26 11:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 Jakub Jelinek <jakub at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.4.5 Target Milestone|--- |4.6.0 Known to fail| |4.5.2, 4.6.0 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org 2011-02-26 11:44 ` [Bug c++/47904] " jakub at gcc dot gnu.org @ 2011-02-27 8:37 ` jason at gcc dot gnu.org 2011-02-27 16:01 ` [Bug c++/47904] [4.5 " rguenth at gcc dot gnu.org ` (4 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: jason at gcc dot gnu.org @ 2011-02-27 8:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 --- Comment #1 from Jason Merrill <jason at gcc dot gnu.org> 2011-02-27 08:13:32 UTC --- Author: jason Date: Sun Feb 27 08:13:28 2011 New Revision: 170533 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170533 Log: PR c++/47904 * tree.c (cp_tree_equal): Compare DECL_PARM_LEVEL. * pt.c (iterative_hash_template_arg): And hash it. Added: trunk/gcc/testsuite/g++.dg/template/this-targ1.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/pt.c trunk/gcc/cp/tree.c trunk/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org 2011-02-26 11:44 ` [Bug c++/47904] " jakub at gcc dot gnu.org 2011-02-27 8:37 ` jason at gcc dot gnu.org @ 2011-02-27 16:01 ` rguenth at gcc dot gnu.org 2011-02-27 16:18 ` rguenth at gcc dot gnu.org ` (3 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-02-27 16:01 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.02.27 15:14:21 Known to work| |4.6.0 Summary|[4.5/4.6 Regression] ICE |[4.5 Regression] ICE with |with DECL_PARM_INDEX (this) |DECL_PARM_INDEX (this) in |in cp_tree_equal |cp_tree_equal Ever Confirmed|0 |1 Known to fail|4.6.0 | --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-02-27 15:14:21 UTC --- Fixed on trunk sofar. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org ` (2 preceding siblings ...) 2011-02-27 16:01 ` [Bug c++/47904] [4.5 " rguenth at gcc dot gnu.org @ 2011-02-27 16:18 ` rguenth at gcc dot gnu.org 2011-02-27 17:12 ` jason at gcc dot gnu.org ` (2 subsequent siblings) 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-02-27 16:18 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.6.0 |4.5.3 ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org ` (3 preceding siblings ...) 2011-02-27 16:18 ` rguenth at gcc dot gnu.org @ 2011-02-27 17:12 ` jason at gcc dot gnu.org 2011-02-27 19:12 ` jason at gcc dot gnu.org 2011-02-27 19:37 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: jason at gcc dot gnu.org @ 2011-02-27 17:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 --- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> 2011-02-27 17:11:22 UTC --- Author: jason Date: Sun Feb 27 17:11:19 2011 New Revision: 170544 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=170544 Log: PR c++/47904 * tree.c (cp_tree_equal) [PARM_DECL]: Don't crash on DECL_ARTIFICIAL parms. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/template/this-targ1.C Modified: branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/tree.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org ` (4 preceding siblings ...) 2011-02-27 17:12 ` jason at gcc dot gnu.org @ 2011-02-27 19:12 ` jason at gcc dot gnu.org 2011-02-27 19:37 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: jason at gcc dot gnu.org @ 2011-02-27 19:12 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 Jason Merrill <jason at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED Target Milestone|4.5.3 |4.6.0 --- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-02-27 17:11:52 UTC --- Fixed in 4.5 as well. ^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug c++/47904] [4.5 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org ` (5 preceding siblings ...) 2011-02-27 19:12 ` jason at gcc dot gnu.org @ 2011-02-27 19:37 ` rguenth at gcc dot gnu.org 6 siblings, 0 replies; 8+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-02-27 19:37 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47904 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|4.6.0 |4.5.3 ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-02-27 19:31 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-02-26 11:36 [Bug c++/47904] New: [4.5/4.6 Regression] ICE with DECL_PARM_INDEX (this) in cp_tree_equal jakub at gcc dot gnu.org 2011-02-26 11:44 ` [Bug c++/47904] " jakub at gcc dot gnu.org 2011-02-27 8:37 ` jason at gcc dot gnu.org 2011-02-27 16:01 ` [Bug c++/47904] [4.5 " rguenth at gcc dot gnu.org 2011-02-27 16:18 ` rguenth at gcc dot gnu.org 2011-02-27 17:12 ` jason at gcc dot gnu.org 2011-02-27 19:12 ` jason at gcc dot gnu.org 2011-02-27 19:37 ` rguenth at gcc dot gnu.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).