public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/15623] New: nop insertion does not look see restrict pointers
@ 2004-05-24 13:57 pinskia at gcc dot gnu dot org
2004-05-26 15:16 ` [Bug target/15623] " amodra at bigpond dot net dot au
2004-08-25 1:53 ` pinskia at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-05-24 13:57 UTC (permalink / raw)
To: gcc-bugs
Compile with -O2 -mcpu=power4 and see that both functions are the same but the second one should
not have nops as we know that they are located at different places in memory as their declared as
restrict:
int zero_restrict_pointers(int *p, int *q)
{
*p = 0;
return *q;
}
int two_restrict_pointers(int *restrict p, int *restrict q)
{
*p = 0;
return *q;
}
--
Summary: nop insertion does not look see restrict pointers
Product: gcc
Version: 3.5.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P2
Component: target
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
GCC target triplet: powerpc-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15623
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/15623] nop insertion does not look see restrict pointers
2004-05-24 13:57 [Bug target/15623] New: nop insertion does not look see restrict pointers pinskia at gcc dot gnu dot org
@ 2004-05-26 15:16 ` amodra at bigpond dot net dot au
2004-08-25 1:53 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-05-26 15:16 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From amodra at bigpond dot net dot au 2004-05-26 10:47 -------
two_restrict_pointers doesn't have the nops on the hammer branch
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2004-05-26 10:47:52
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15623
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/15623] nop insertion does not look see restrict pointers
2004-05-24 13:57 [Bug target/15623] New: nop insertion does not look see restrict pointers pinskia at gcc dot gnu dot org
2004-05-26 15:16 ` [Bug target/15623] " amodra at bigpond dot net dot au
@ 2004-08-25 1:53 ` pinskia at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-25 1:53 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-08-25 01:53 -------
That is because minsert-sched-nops is not the hammer branch at all.
--
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed|2004-05-26 10:47:52 |2004-08-25 01:53:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15623
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-08-25 1:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-24 13:57 [Bug target/15623] New: nop insertion does not look see restrict pointers pinskia at gcc dot gnu dot org
2004-05-26 15:16 ` [Bug target/15623] " amodra at bigpond dot net dot au
2004-08-25 1:53 ` 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).