public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/35605] New: Label references are not updated after edge insertion
@ 2008-03-16 7:41 ubizjak at gmail dot com
2008-03-16 10:58 ` [Bug rtl-optimization/35605] " rguenth at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: ubizjak at gmail dot com @ 2008-03-16 7:41 UTC (permalink / raw)
To: gcc-bugs
This problem can be seen by compiling testsuite/gfortran.dg/g77/ndrm2.f. The
label reference (after x87 stack compensation edge is inserted) is updated only
in final jump insn, but other references to the same label are left untouched.
We enter stack pass with:
(insn:TI 19 20 18 4 dnrm2.f:33 (set (reg/v/f:SI 1 dx [orig:73 next.2 ] [73])
(label_ref:SI 53)) 47 {*movsi_1} (expr_list:REG_EQUAL (label_ref:SI 53)
(insn_list:REG_LABEL_OPERAND 53 (nil))))
...
(insn 23 137 17 4 dnrm2.f:40 (set (reg:CCZ 17 flags)
(compare:CCZ (reg/v/f:SI 1 dx [orig:73 next.2 ] [73])
(label_ref:SI 53))) 5 {*cmpsi_1_insn} (insn_list:REG_LABEL_OPERAND
53 (nil)))
...
(jump_insn 24 245 355 4 dnrm2.f:40 (set (pc)
(if_then_else (eq (reg:CCZ 17 flags)
(const_int 0
--
Summary: Label references are not updated after edge insertion
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: rtl-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ubizjak at gmail dot com
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35605
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug rtl-optimization/35605] Label references are not updated after edge insertion
2008-03-16 7:41 [Bug rtl-optimization/35605] New: Label references are not updated after edge insertion ubizjak at gmail dot com
@ 2008-03-16 10:58 ` rguenth at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-03-16 10:58 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2008-03-16 10:57 -------
*** This bug has been marked as a duplicate of 35604 ***
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35605
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-03-16 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-03-16 7:41 [Bug rtl-optimization/35605] New: Label references are not updated after edge insertion ubizjak at gmail dot com
2008-03-16 10:58 ` [Bug rtl-optimization/35605] " rguenth 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).