public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/23384] New: Clobber list should be flow sensitive
@ 2005-08-14 6:17 pinskia at gcc dot gnu dot org
2005-08-31 16:04 ` [Bug tree-optimization/23384] " pinskia at gcc dot gnu dot org
0 siblings, 1 reply; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-14 6:17 UTC (permalink / raw)
To: gcc-bugs
Take the following code:
struct f
{
int i;
int j;
};
void g(void);
void i(struct f*);
int kk(void)
{
struct f a;
int j;
a.i = 1;
a.j =2 ;
g();
j = a.i;
i(&a);
return j;
}
---
j should be changed to 1 as the address of a is not escape until after the call to i so g should not get a
call clobbered for the SFT's of a.
--
Summary: Clobber list should be flow sensitive
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P2
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/23384] Clobber list should be flow sensitive
2005-08-14 6:17 [Bug tree-optimization/23384] New: Clobber list should be flow sensitive pinskia at gcc dot gnu dot org
@ 2005-08-31 16:04 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-31 16:04 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-31 16:03 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-08-31 16:03:31
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/23384] Clobber list should be flow sensitive
[not found] <bug-23384-4@http.gcc.gnu.org/bugzilla/>
@ 2014-01-05 23:14 ` pinskia at gcc dot gnu.org
0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2014-01-05 23:14 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |patrick at parcs dot ath.cx
--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 59690 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/23384] Clobber list should be flow sensitive
[not found] <bug-23384-6528@http.gcc.gnu.org/bugzilla/>
2006-02-22 23:04 ` pinskia at gcc dot gnu dot org
@ 2007-05-22 0:38 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-22 0:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from pinskia at gcc dot gnu dot org 2007-05-22 01:38 -------
PR 18412 is not really a flow sensitive issue, it is just may_alias getting
confused by pointer addition which will be fixed with the merge of the pointer
plus branch.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO|18412 |
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug tree-optimization/23384] Clobber list should be flow sensitive
[not found] <bug-23384-6528@http.gcc.gnu.org/bugzilla/>
@ 2006-02-22 23:04 ` pinskia at gcc dot gnu dot org
2007-05-22 0:38 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-22 23:04 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2006-02-22 23:04 -------
*** Bug 26429 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu dot
| |org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23384
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2014-01-05 23:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-14 6:17 [Bug tree-optimization/23384] New: Clobber list should be flow sensitive pinskia at gcc dot gnu dot org
2005-08-31 16:04 ` [Bug tree-optimization/23384] " pinskia at gcc dot gnu dot org
[not found] <bug-23384-6528@http.gcc.gnu.org/bugzilla/>
2006-02-22 23:04 ` pinskia at gcc dot gnu dot org
2007-05-22 0:38 ` pinskia at gcc dot gnu dot org
[not found] <bug-23384-4@http.gcc.gnu.org/bugzilla/>
2014-01-05 23:14 ` pinskia at gcc dot gnu.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).