public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop
@ 2003-09-09 16:08 schwab at suse dot de
2003-09-09 16:09 ` [Bug optimization/12223] " schwab at suse dot de
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: schwab at suse dot de @ 2003-09-09 16:08 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
Summary: [3.3 regression] [IA64] Compiler generates infinite loop
Product: gcc
Version: 3.3.2
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: schwab at suse dot de
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: ia64-suse-linux
The compiler generates an infinite loop from this part of the testcase:
for (size_t i = 0; i < siblings.size(); ++i) {
std::vector <Node> new_siblings;
if (! fetch(siblings[i], new_siblings)) {
array[begin + siblings[i].code].base =
val ? (ArrayType)(-val[siblings[i].left]-1) : (ArrayType)(-siblings
[i].left-1);
.L925:
.mfb
ld8 r14 = [r15] // <variable>.val
nop.f 0
nop.b 0
;;
.mib
cmp.eq p6, p7 = 0, r14
nop.i 0
(p7) br.cond.dptk .L925
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3 regression] [IA64] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
@ 2003-09-09 16:09 ` schwab at suse dot de
2003-09-10 11:48 ` [Bug optimization/12223] [3.3 regression] " schwab at suse dot de
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2003-09-09 16:09 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
------- Additional Comments From schwab at suse dot de 2003-09-09 16:09 -------
Created an attachment (id=4726)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4726&action=view)
Testcase
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
2003-09-09 16:09 ` [Bug optimization/12223] " schwab at suse dot de
@ 2003-09-10 11:48 ` schwab at suse dot de
2003-09-10 18:24 ` [Bug optimization/12223] [3.3.2 " schwab at suse dot de
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2003-09-10 11:48 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|ia64-suse-linux |*-suse-linux
Summary|[3.3 regression] [IA64] |[3.3 regression] Compiler
|Compiler generates infinite |generates infinite loop
|loop |
Target Milestone|--- |3.3.3
------- Additional Comments From schwab at suse dot de 2003-09-10 11:48 -------
The bug happens also at least on i386 and s390, so I presume it is target
independent.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
2003-09-09 16:09 ` [Bug optimization/12223] " schwab at suse dot de
2003-09-10 11:48 ` [Bug optimization/12223] [3.3 regression] " schwab at suse dot de
@ 2003-09-10 18:24 ` schwab at suse dot de
2003-09-10 18:52 ` schwab at suse dot de
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2003-09-10 18:24 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[3.3 regression] Compiler |[3.3.2 regression] Compiler
|generates infinite loop |generates infinite loop
Target Milestone|3.3.3 |3.3.2
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (2 preceding siblings ...)
2003-09-10 18:24 ` [Bug optimization/12223] [3.3.2 " schwab at suse dot de
@ 2003-09-10 18:52 ` schwab at suse dot de
2003-09-13 23:59 ` rakdver at gcc dot gnu dot org
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2003-09-10 18:52 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
------- Additional Comments From schwab at suse dot de 2003-09-10 18:52 -------
Created an attachment (id=4737)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4737&action=view)
Reduced testcase
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (3 preceding siblings ...)
2003-09-10 18:52 ` schwab at suse dot de
@ 2003-09-13 23:59 ` rakdver at gcc dot gnu dot org
2003-09-14 18:41 ` schwab at suse dot de
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: rakdver at gcc dot gnu dot org @ 2003-09-13 23:59 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
rakdver at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-09-13 22:16:11
date| |
------- Additional Comments From rakdver at gcc dot gnu dot org 2003-09-13 22:16 -------
http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00853.html
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (4 preceding siblings ...)
2003-09-13 23:59 ` rakdver at gcc dot gnu dot org
@ 2003-09-14 18:41 ` schwab at suse dot de
2003-09-15 14:04 ` matz at suse dot de
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: schwab at suse dot de @ 2003-09-14 18:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
schwab at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |debian-gcc at lists dot
| |debian dot org
------- Additional Comments From schwab at suse dot de 2003-09-14 17:38 -------
*** Bug 12278 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (5 preceding siblings ...)
2003-09-14 18:41 ` schwab at suse dot de
@ 2003-09-15 14:04 ` matz at suse dot de
2003-09-19 9:52 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: matz at suse dot de @ 2003-09-15 14:04 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
matz at suse dot de changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at redhat dot com
------- Additional Comments From matz at suse dot de 2003-09-15 08:52 -------
This bug (or better an instance of this bug which leads to miscompilation
of OpenOffice) was introduced by:
2003-09-07 Jason Merrill <jason@redhat.com>
PR c++/12181
* typeck.c (build_modify_expr): Don't always stabilize the lhs and
rhs. Do stabilize the lhs of a MODIFY_EXPR used on the lhs.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (6 preceding siblings ...)
2003-09-15 14:04 ` matz at suse dot de
@ 2003-09-19 9:52 ` ebotcazou at gcc dot gnu dot org
2003-09-19 21:59 ` neroden at gcc dot gnu dot org
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-19 9:52 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|jason at redhat dot com |
AssignedTo|unassigned at gcc dot gnu |jason at redhat dot com
|dot org |
Status|NEW |ASSIGNED
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2003-09-19 06:43 -------
Authors of patches that caused a regression must be assigned, not simply CCed.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (7 preceding siblings ...)
2003-09-19 9:52 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-19 21:59 ` neroden at gcc dot gnu dot org
2003-09-19 22:49 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-09-19 21:59 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
neroden at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
GCC target triplet|*-suse-linux |*-*-linux*
------- Additional Comments From neroden at gcc dot gnu dot org 2003-09-19 21:21 -------
Breaks QT and OpenOffice, apparently. This is really critical, though I'm not comfortable changing the priority ATM.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (8 preceding siblings ...)
2003-09-19 21:59 ` neroden at gcc dot gnu dot org
@ 2003-09-19 22:49 ` pinskia at gcc dot gnu dot org
2003-10-04 9:06 ` jakub at redhat dot com
2003-10-05 19:54 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-19 22:49 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
GCC target triplet|*-*-linux* |
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (9 preceding siblings ...)
2003-09-19 22:49 ` pinskia at gcc dot gnu dot org
@ 2003-10-04 9:06 ` jakub at redhat dot com
2003-10-05 19:54 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: jakub at redhat dot com @ 2003-10-04 9:06 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
------- Additional Comments From jakub at redhat dot com 2003-10-04 09:06 -------
This is most likely fixed by http://gcc.gnu.org/ml/gcc-patches/2003-10/msg00065.html
At least, the testcase I had distilled from QT works and the smallest testcase
in this PR doesn't create an endless loop anymore.
^ permalink raw reply [flat|nested] 13+ messages in thread
* [Bug optimization/12223] [3.3.2 regression] Compiler generates infinite loop
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
` (10 preceding siblings ...)
2003-10-04 9:06 ` jakub at redhat dot com
@ 2003-10-05 19:54 ` mmitchel at gcc dot gnu dot org
11 siblings, 0 replies; 13+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2003-10-05 19:54 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12223
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
------- Additional Comments From mmitchel at gcc dot gnu dot org 2003-10-05 19:54 -------
Fixed in GCC 3.3.2.
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2003-10-05 19:54 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-09 16:08 [Bug optimization/12223] New: [3.3 regression] [IA64] Compiler generates infinite loop schwab at suse dot de
2003-09-09 16:09 ` [Bug optimization/12223] " schwab at suse dot de
2003-09-10 11:48 ` [Bug optimization/12223] [3.3 regression] " schwab at suse dot de
2003-09-10 18:24 ` [Bug optimization/12223] [3.3.2 " schwab at suse dot de
2003-09-10 18:52 ` schwab at suse dot de
2003-09-13 23:59 ` rakdver at gcc dot gnu dot org
2003-09-14 18:41 ` schwab at suse dot de
2003-09-15 14:04 ` matz at suse dot de
2003-09-19 9:52 ` ebotcazou at gcc dot gnu dot org
2003-09-19 21:59 ` neroden at gcc dot gnu dot org
2003-09-19 22:49 ` pinskia at gcc dot gnu dot org
2003-10-04 9:06 ` jakub at redhat dot com
2003-10-05 19:54 ` mmitchel 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).