public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/17951] New: Dominance info is incorrect for entry and exit blocks
@ 2004-10-12 17:48 dberlin at gcc dot gnu dot org
2004-10-12 17:53 ` [Bug tree-optimization/17951] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: dberlin at gcc dot gnu dot org @ 2004-10-12 17:48 UTC (permalink / raw)
To: gcc-bugs
The dominance info is incorrect for entry and exit blocks.
According to dominated_by_p, nothing dominates the exit block (which is wrong),
and nothing post-dominates the entry block (which is also wrong).
A simple example:
(gdb) p dominated_by_p (CDI_POST_DOMINATORS, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR)
$4 = 0 '\0'
(gdb) p dominated_by_p (CDI_DOMINATORS, EXIT_BLOCK_PTR, ENTRY_BLOCK_PTR)
$5 = 0 '\0'
Both of these should return true.
Zdenek said he thought he knew why this was.
--
Summary: Dominance info is incorrect for entry and exit blocks
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dberlin at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17951
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug tree-optimization/17951] Dominance info is incorrect for entry and exit blocks
2004-10-12 17:48 [Bug tree-optimization/17951] New: Dominance info is incorrect for entry and exit blocks dberlin at gcc dot gnu dot org
@ 2004-10-12 17:53 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-12 17:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-10-12 17:53 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-10-12 17:53:16
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17951
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-12 17:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-12 17:48 [Bug tree-optimization/17951] New: Dominance info is incorrect for entry and exit blocks dberlin at gcc dot gnu dot org
2004-10-12 17:53 ` [Bug tree-optimization/17951] " 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).