public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r
@ 2004-12-14 13:38 schwab at suse dot de
2004-12-14 13:38 ` [Bug tree-optimization/18984] " schwab at suse dot de
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: schwab at suse dot de @ 2004-12-14 13:38 UTC (permalink / raw)
To: gcc-bugs
$ cat str.ii
struct Str
{
Str(const char *chars);
Str& operator=(const char *chars);
virtual operator char*() const;
};
Str _localName(Str fullname)
{
return (char*)fullname;
}
$ gcc str.ii
str.ii: In function ‘Str _localName(Str)’:
str.ii:7: internal compiler error: in check_pointer_types_r, at
gimplify.c:4198
--
Summary: [4.0 regression] ICE in check_pointer_types_r
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug tree-optimization/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
@ 2004-12-14 13:38 ` schwab at suse dot de
2004-12-14 13:42 ` [Bug c++/18984] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: schwab at suse dot de @ 2004-12-14 13:38 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.0.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
2004-12-14 13:38 ` [Bug tree-optimization/18984] " schwab at suse dot de
@ 2004-12-14 13:42 ` pinskia at gcc dot gnu dot org
2004-12-14 15:06 ` 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 @ 2004-12-14 13:42 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-14 13:42 -------
: Search converges between 2004-11-15-161002-trunk (#637) and 2004-11-16-014001-trunk
(#638).
Confirmed, this is ICE is there because the front-end does not follow the rules all the time.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|tree-optimization |c++
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-12-14 13:42:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
2004-12-14 13:38 ` [Bug tree-optimization/18984] " schwab at suse dot de
2004-12-14 13:42 ` [Bug c++/18984] " pinskia at gcc dot gnu dot org
@ 2004-12-14 15:06 ` pinskia at gcc dot gnu dot org
2004-12-14 15:39 ` 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 @ 2004-12-14 15:06 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-14 15:06 -------
This is caused by my patch:
* cp-gimplify.c: Include pointer-set.h
(cp_genericize_r): Use pointer_sets instead of a hashtable.
Also instert the new statement for CLEANUP_STMT.
(cp_genericize): Use pointer_sets instead of a hashtable.
* Make-lang.in (cp-gimplify.o): Depend on pointer-set.h.
hmm.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
` (2 preceding siblings ...)
2004-12-14 15:06 ` pinskia at gcc dot gnu dot org
@ 2004-12-14 15:39 ` pinskia at gcc dot gnu dot org
2004-12-15 22:29 ` pinskia 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 @ 2004-12-14 15:39 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-14 15:39 -------
Patch here: <http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01035.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |pinskia at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
` (3 preceding siblings ...)
2004-12-14 15:39 ` pinskia at gcc dot gnu dot org
@ 2004-12-15 22:29 ` pinskia at gcc dot gnu dot org
2004-12-17 12:32 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-15 22:29 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-15 22:29 -------
*** Bug 19023 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |sss at d0mino03 dot fnal dot
| |gov
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
` (4 preceding siblings ...)
2004-12-15 22:29 ` pinskia at gcc dot gnu dot org
@ 2004-12-17 12:32 ` pinskia at gcc dot gnu dot org
2004-12-21 21:18 ` pinskia at gcc dot gnu dot org
2004-12-21 21:20 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-17 12:32 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-17 12:32 -------
*** Bug 19053 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |benko at sztaki dot hu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
` (5 preceding siblings ...)
2004-12-17 12:32 ` pinskia at gcc dot gnu dot org
@ 2004-12-21 21:18 ` pinskia at gcc dot gnu dot org
2004-12-21 21:20 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-21 21:18 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-12-21 21:18 -------
Fixed:
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/18984
* pointer-set.c (pointer_set_contains): Add back.
* pointer-set.h (pointer_set_contains): Add back.
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/18984
* cp-gimplify.c (cp_genericize_r): Don't insert first but instead
check to see if contains the pointer. Insert the statement before
returning.
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/18984
* g++.dg/eh/ctor3.C: New test.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/18984] [4.0 regression] ICE in check_pointer_types_r
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
` (6 preceding siblings ...)
2004-12-21 21:18 ` pinskia at gcc dot gnu dot org
@ 2004-12-21 21:20 ` cvs-commit at gcc dot gnu dot org
7 siblings, 0 replies; 9+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-12-21 21:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-12-21 21:20 -------
Subject: Bug 18984
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: pinskia@gcc.gnu.org 2004-12-21 21:20:08
Modified files:
gcc : ChangeLog pointer-set.c pointer-set.h
gcc/cp : ChangeLog cp-gimplify.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/eh: ctor3.C
Log message:
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/18984
* pointer-set.c (pointer_set_contains): Add back.
* pointer-set.h (pointer_set_contains): Add back.
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR c++/18984
* cp-gimplify.c (cp_genericize_r): Don't insert first but instead
check to see if contains the pointer. Insert the statement before
returning.
2004-12-21 Andrew Pinski <pinskia@physics.uc.edu>
PR C++/18984
* g++.dg/eh/ctor3.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.6915&r2=2.6916
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/pointer-set.c.diff?cvsroot=gcc&r1=2.6&r2=2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/pointer-set.h.diff?cvsroot=gcc&r1=2.2&r2=2.3
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4547&r2=1.4548
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/cp-gimplify.c.diff?cvsroot=gcc&r1=1.15&r2=1.16
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/eh/ctor3.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.4795&r2=1.4796
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18984
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2004-12-21 21:20 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-14 13:38 [Bug tree-optimization/18984] New: [4.0 regression] ICE in check_pointer_types_r schwab at suse dot de
2004-12-14 13:38 ` [Bug tree-optimization/18984] " schwab at suse dot de
2004-12-14 13:42 ` [Bug c++/18984] " pinskia at gcc dot gnu dot org
2004-12-14 15:06 ` pinskia at gcc dot gnu dot org
2004-12-14 15:39 ` pinskia at gcc dot gnu dot org
2004-12-15 22:29 ` pinskia at gcc dot gnu dot org
2004-12-17 12:32 ` pinskia at gcc dot gnu dot org
2004-12-21 21:18 ` pinskia at gcc dot gnu dot org
2004-12-21 21:20 ` cvs-commit 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).