public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/21492] New: ICE in try_crossjump_to_edge
@ 2005-05-10 15:08 jakub at gcc dot gnu dot org
2005-05-10 16:52 ` [Bug middle-end/21492] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-10 15:08 UTC (permalink / raw)
To: gcc-bugs
// { dg-do compile }
// { dg-options "-Os -fPIC" }
extern char *bar (const char *, const char *);
extern char *baz (char *, const char *);
extern unsigned int fn (const char *);
static const struct C { int i; } k = { 0};
struct S
{
S (const C &x, unsigned int *y) : a (x), b (y) {}
const C &a;
unsigned int *b;
};
struct A
{
~A ();
void helper (const S &);
};
struct B : private A
{
B (const S &x)
{
helper (x);
}
};
char *
foo (char *x, const char *y)
{
unsigned int a;
B b (S (k, &a));
char *c = x;
if (bar (y, "foo"))
{
baz (c, "foo");
c += fn ("foo");
}
else if (bar (y, "bar"))
{
baz (c, "bar");
c += fn ("bar");
}
return x;
}
causes ICE on powerpc-linux (32-bit).
--
Summary: ICE in try_crossjump_to_edge
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: jakub at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/21492] [4.0/4.1 Regression] ICE in try_crossjump_to_edge
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
@ 2005-05-10 16:52 ` pinskia at gcc dot gnu dot org
2005-05-10 17:37 ` jakub at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-10 16:52 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-10 16:52 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC target triplet|powerpc-linux |powerpc-linux, powerpc-
| |darwin
Keywords| |ice-on-valid-code
Known to fail| |4.0.0 4.1.0
Known to work| |3.3.3
Last reconfirmed|0000-00-00 00:00:00 |2005-05-10 16:52:20
date| |
Summary|ICE in try_crossjump_to_edge|[4.0/4.1 Regression] ICE in
| |try_crossjump_to_edge
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/21492] [4.0/4.1 Regression] ICE in try_crossjump_to_edge
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
2005-05-10 16:52 ` [Bug middle-end/21492] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-05-10 17:37 ` jakub at gcc dot gnu dot org
2005-05-11 11:20 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-10 17:37 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|NEW |ASSIGNED
Last reconfirmed|2005-05-10 16:52:20 |2005-05-10 17:37:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/21492] [4.0/4.1 Regression] ICE in try_crossjump_to_edge
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
2005-05-10 16:52 ` [Bug middle-end/21492] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-10 17:37 ` jakub at gcc dot gnu dot org
@ 2005-05-11 11:20 ` pinskia at gcc dot gnu dot org
2005-05-17 6:48 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-11 11:20 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-11 11:20 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2005-05/msg00972.html>.
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |05/msg00972.html
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/21492] [4.0/4.1 Regression] ICE in try_crossjump_to_edge
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-11 11:20 ` pinskia at gcc dot gnu dot org
@ 2005-05-17 6:48 ` cvs-commit at gcc dot gnu dot org
2005-05-25 21:43 ` cvs-commit at gcc dot gnu dot org
2005-05-25 22:28 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-17 6:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-17 06:48 -------
Subject: Bug 21492
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jakub@gcc.gnu.org 2005-05-17 06:48:19
Modified files:
gcc : ChangeLog cfgcleanup.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/opt: crossjump1.C
Log message:
PR middle-end/21492
* cfgcleanup.c (try_crossjump_to_edge): update_forwarder_flag for
src2 if src2 has been split.
* g++.dg/opt/crossjump1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8812&r2=2.8813
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgcleanup.c.diff?cvsroot=gcc&r1=1.144&r2=1.145
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5480&r2=1.5481
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/crossjump1.C.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/21492] [4.0/4.1 Regression] ICE in try_crossjump_to_edge
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-17 6:48 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-25 21:43 ` cvs-commit at gcc dot gnu dot org
2005-05-25 22:28 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-25 21:43 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-25 21:16 -------
Subject: Bug 21492
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: jakub@gcc.gnu.org 2005-05-25 21:15:56
Modified files:
gcc : ChangeLog cfgcleanup.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/g++.dg/opt: crossjump1.C
Log message:
PR middle-end/21492
* cfgcleanup.c (try_crossjump_to_edge): update_forwarder_flag for
src2 if src2 has been split.
* g++.dg/opt/crossjump1.C: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.261&r2=2.7592.2.262
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cfgcleanup.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.141&r2=1.141.2.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.5084.2.197&r2=1.5084.2.198
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/g++.dg/opt/crossjump1.C.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.4.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug middle-end/21492] [4.0/4.1 Regression] ICE in try_crossjump_to_edge
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-05-25 21:43 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-25 22:28 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-25 22:28 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-25 22:21 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21492
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2005-05-25 22:21 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-10 15:08 [Bug middle-end/21492] New: ICE in try_crossjump_to_edge jakub at gcc dot gnu dot org
2005-05-10 16:52 ` [Bug middle-end/21492] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-10 17:37 ` jakub at gcc dot gnu dot org
2005-05-11 11:20 ` pinskia at gcc dot gnu dot org
2005-05-17 6:48 ` cvs-commit at gcc dot gnu dot org
2005-05-25 21:43 ` cvs-commit at gcc dot gnu dot org
2005-05-25 22:28 ` pinskia 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).