public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120
@ 2005-05-02 9:09 jakub at gcc dot gnu dot org
2005-05-02 10:38 ` [Bug rtl-optimization/21330] " jakub at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-02 9:09 UTC (permalink / raw)
To: gcc-bugs
extern int baz (int);
int bar (void *);
void foo (void *w, char *x, bool y, bool z)
{
char c = bar (w);
int i = 0;
while (1)
{
x[i++] = c;
c = bar (w);
if (y && c == '\'')
break;
if (z && c == '\"')
break;
if (!y && !z && !baz (c))
break;
}
x[i]=0;
}
causes ICE in compare_and_jump_seq on powerpc-linux, with both -O3 -m32 and
-O3 -m64.
--
Summary: ICE in compare_and_jump_seq, at loop-unswitch.c:120
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: rtl-optimization
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=21330
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/21330] ICE in compare_and_jump_seq, at loop-unswitch.c:120
2005-05-02 9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
@ 2005-05-02 10:38 ` jakub at gcc dot gnu dot org
2005-05-02 12:09 ` [Bug rtl-optimization/21330] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu dot org @ 2005-05-02 10:38 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From jakub at gcc dot gnu dot org 2005-05-02 10:38 -------
Created an attachment (id=8792)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8792&action=view)
Patch I'm about to test.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org
|dot org |
Status|UNCONFIRMED |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21330
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/21330] [4.0/4.1 Regression] ICE in compare_and_jump_seq, at loop-unswitch.c:120
2005-05-02 9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
2005-05-02 10:38 ` [Bug rtl-optimization/21330] " jakub at gcc dot gnu dot org
@ 2005-05-02 12:09 ` pinskia at gcc dot gnu dot org
2005-05-03 13:10 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-02 12:09 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
GCC target triplet|powerpc-linux |powerpc-*-*
Keywords| |ice-on-valid-code
Summary|ICE in compare_and_jump_seq,|[4.0/4.1 Regression] ICE in
|at loop-unswitch.c:120 |compare_and_jump_seq, at
| |loop-unswitch.c:120
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21330
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/21330] [4.0/4.1 Regression] ICE in compare_and_jump_seq, at loop-unswitch.c:120
2005-05-02 9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
2005-05-02 10:38 ` [Bug rtl-optimization/21330] " jakub at gcc dot gnu dot org
2005-05-02 12:09 ` [Bug rtl-optimization/21330] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
@ 2005-05-03 13:10 ` cvs-commit at gcc dot gnu dot org
2005-05-06 10:53 ` [Bug rtl-optimization/21330] [4.0 " cvs-commit at gcc dot gnu dot org
2005-05-06 13:46 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-03 13:10 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-03 13:10 -------
Subject: Bug 21330
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: jakub@gcc.gnu.org 2005-05-03 13:09:54
Modified files:
gcc : ChangeLog loop-unswitch.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20050502-1.c
Log message:
PR rtl-optimization/21330
* loop-unswitch.c (may_unswitch_on): Set *cinsn only when
returning non-NULL.
(unswitch_single_loop): Clear cinsn when retrying.
* gcc.c-torture/execute/20050502-1.c: New test.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8573&r2=2.8574
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-unswitch.c.diff?cvsroot=gcc&r1=1.29&r2=1.30
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gcc&r1=1.5434&r2=1.5435
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050502-1.c.diff?cvsroot=gcc&r1=NONE&r2=1.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21330
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/21330] [4.0 Regression] ICE in compare_and_jump_seq, at loop-unswitch.c:120
2005-05-02 9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-05-03 13:10 ` cvs-commit at gcc dot gnu dot org
@ 2005-05-06 10:53 ` cvs-commit at gcc dot gnu dot org
2005-05-06 13:46 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-05-06 10:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-05-06 10:53 -------
Subject: Bug 21330
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: jakub@gcc.gnu.org 2005-05-06 10:52:39
Modified files:
gcc : ChangeLog loop-unswitch.c
gcc/testsuite : ChangeLog
Added files:
gcc/testsuite/gcc.c-torture/execute: 20050502-1.c
Log message:
PR rtl-optimization/21330
* loop-unswitch.c (may_unswitch_on): Set *cinsn only when
returning non-NULL.
(unswitch_single_loop): Clear cinsn when retrying.
* gcc.c-torture/execute/20050502-1.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.223&r2=2.7592.2.224
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/loop-unswitch.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.25&r2=1.25.12.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.163&r2=1.5084.2.164
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gcc.c-torture/execute/20050502-1.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=NONE&r2=1.1.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21330
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug rtl-optimization/21330] [4.0 Regression] ICE in compare_and_jump_seq, at loop-unswitch.c:120
2005-05-02 9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-05-06 10:53 ` [Bug rtl-optimization/21330] [4.0 " cvs-commit at gcc dot gnu dot org
@ 2005-05-06 13:46 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-05-06 13:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-05-06 13:46 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21330
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-05-06 13:46 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-02 9:09 [Bug rtl-optimization/21330] New: ICE in compare_and_jump_seq, at loop-unswitch.c:120 jakub at gcc dot gnu dot org
2005-05-02 10:38 ` [Bug rtl-optimization/21330] " jakub at gcc dot gnu dot org
2005-05-02 12:09 ` [Bug rtl-optimization/21330] [4.0/4.1 Regression] " pinskia at gcc dot gnu dot org
2005-05-03 13:10 ` cvs-commit at gcc dot gnu dot org
2005-05-06 10:53 ` [Bug rtl-optimization/21330] [4.0 " cvs-commit at gcc dot gnu dot org
2005-05-06 13:46 ` 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).