public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack.
[not found] <bug-38674-4@http.gcc.gnu.org/bugzilla/>
@ 2015-02-19 11:34 ` cbaylis at gcc dot gnu.org
0 siblings, 0 replies; 4+ messages in thread
From: cbaylis at gcc dot gnu.org @ 2015-02-19 11:34 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38674
cbaylis at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |cbaylis at gcc dot gnu.org
Resolution|--- |DUPLICATE
--- Comment #3 from cbaylis at gcc dot gnu.org ---
This appears to have been fixed by r161920
2010-07-07 Bernd Schmidt <bernds@codesourcery.com>
PR rtl-optimization/44404
* auto-inc-dec.c (find_inc): Avoid calling count_occurrences if
possible, use reg_overlap_mentioned_p instead.
*** This bug has been marked as a duplicate of bug 44404 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack.
2008-12-30 16:14 [Bug regression/38674] New: optimization bug gilles dot chanteperdrix at xenomai dot org
2009-01-05 15:21 ` [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack gilles dot chanteperdrix at xenomai dot org
2009-03-16 23:38 ` rearnsha at gcc dot gnu dot org
@ 2009-03-16 23:39 ` rearnsha at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2009-03-16 23:39 UTC (permalink / raw)
To: gcc-bugs
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Priority|P3 |P2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38674
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack.
2008-12-30 16:14 [Bug regression/38674] New: optimization bug gilles dot chanteperdrix at xenomai dot org
2009-01-05 15:21 ` [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack gilles dot chanteperdrix at xenomai dot org
@ 2009-03-16 23:38 ` rearnsha at gcc dot gnu dot org
2009-03-16 23:39 ` rearnsha at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: rearnsha at gcc dot gnu dot org @ 2009-03-16 23:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from rearnsha at gcc dot gnu dot org 2009-03-16 23:38 -------
Confirmed. We need a way to represent an early-clobber between a register and
a memory-address with side-effects.
--
rearnsha at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rearnsha at gcc dot gnu dot
| |org, ramana dot r at gmail
| |dot com
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-03-16 23:38:45
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38674
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack.
2008-12-30 16:14 [Bug regression/38674] New: optimization bug gilles dot chanteperdrix at xenomai dot org
@ 2009-01-05 15:21 ` gilles dot chanteperdrix at xenomai dot org
2009-03-16 23:38 ` rearnsha at gcc dot gnu dot org
2009-03-16 23:39 ` rearnsha at gcc dot gnu dot org
2 siblings, 0 replies; 4+ messages in thread
From: gilles dot chanteperdrix at xenomai dot org @ 2009-01-05 15:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from gilles dot chanteperdrix at xenomai dot org 2009-01-05 15:21 -------
The following, even simpler test case:
unsigned long long f(unsigned long long ull)
{
register unsigned long long *__r0 __asm__ ("r0") = &ull;
__asm__ __volatile__ ("" : "+r" (__r0));
return * __r0;
}
gives the same warning, and the following assembly code:
00000000 <f>:
0: e24dd008 sub sp, sp, #8 ; 0x8
4: e28d0008 add r0, sp, #8 ; 0x8
8: e16000f8 strd r0, [r0, #-8]!
c: e8900003 ldm r0, {r0, r1}
10: e28dd008 add sp, sp, #8 ; 0x8
14: e12fff1e bx lr
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38674
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-02-19 11:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-38674-4@http.gcc.gnu.org/bugzilla/>
2015-02-19 11:34 ` [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack cbaylis at gcc dot gnu.org
2008-12-30 16:14 [Bug regression/38674] New: optimization bug gilles dot chanteperdrix at xenomai dot org
2009-01-05 15:21 ` [Bug middle-end/38674] When storing in a register the address of a value contained in the same register, gcc 4.3.2 on ARM clobbers the register before saving its content on the stack gilles dot chanteperdrix at xenomai dot org
2009-03-16 23:38 ` rearnsha at gcc dot gnu dot org
2009-03-16 23:39 ` rearnsha 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).