public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/11837] New: Stack frame gets corrupted
@ 2003-08-06 18:39 mail at andreas-s dot net
2003-08-06 18:41 ` [Bug optimization/11837] " mail at andreas-s dot net
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: mail at andreas-s dot net @ 2003-08-06 18:39 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11837
Summary: Stack frame gets corrupted
Product: gcc
Version: 3.3.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: mail at andreas-s dot net
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: avr
The following program runs fine when compiled with -O1 or -O2, but with
-Os the function iRealFT() corrupts the stack frame (R29):
http://andreas-s.net/gccbug.tar.gz
Contains (preprocessed) sources, Makefile and elf objects which reproduce the
problem. You can see in the simulator (tried it with simulavr and AVR-Studio 3)
that the return from iRealFT() doesn't work. Sorry that I couldn't provide an
inline example.
gcc 3.3.1 20030720
binutils 2.14 20030727
(PS: why is the Os-compiled binary larger than the O2 and O1 ones?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/11837] Stack frame gets corrupted
2003-08-06 18:39 [Bug optimization/11837] New: Stack frame gets corrupted mail at andreas-s dot net
@ 2003-08-06 18:41 ` mail at andreas-s dot net
2003-08-06 19:42 ` pinskia at physics dot uc dot edu
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: mail at andreas-s dot net @ 2003-08-06 18:41 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11837
------- Additional Comments From mail at andreas-s dot net 2003-08-06 18:41 -------
Created an attachment (id=4572)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4572&action=view)
demonstrates the bug
didn't know it was possible to attach files
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/11837] Stack frame gets corrupted
2003-08-06 18:39 [Bug optimization/11837] New: Stack frame gets corrupted mail at andreas-s dot net
2003-08-06 18:41 ` [Bug optimization/11837] " mail at andreas-s dot net
@ 2003-08-06 19:42 ` pinskia at physics dot uc dot edu
2003-08-24 19:51 ` neroden at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 19:42 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11837
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
------- Additional Comments From pinskia at physics dot uc dot edu 2003-08-06 19:42 -------
Could you try a 3.4 snapshot as there has been some fixes to gcc with respect to avr.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/11837] Stack frame gets corrupted
2003-08-06 18:39 [Bug optimization/11837] New: Stack frame gets corrupted mail at andreas-s dot net
2003-08-06 18:41 ` [Bug optimization/11837] " mail at andreas-s dot net
2003-08-06 19:42 ` pinskia at physics dot uc dot edu
@ 2003-08-24 19:51 ` neroden at gcc dot gnu dot org
2003-10-24 23:12 ` dhazeghi at yahoo dot com
2003-11-02 23:12 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: neroden at gcc dot gnu dot org @ 2003-08-24 19:51 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11837
neroden at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |---
------- Additional Comments From neroden at gcc dot gnu dot org 2003-08-24 19:51 -------
AVR is neither a primary nor secondary evaluation platform. This is not clearly a regression, and we don't even know if it occurs in 3.4, so
retargeting. Still waiting for feedback about whether this occurs in 3.4.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/11837] Stack frame gets corrupted
2003-08-06 18:39 [Bug optimization/11837] New: Stack frame gets corrupted mail at andreas-s dot net
` (2 preceding siblings ...)
2003-08-24 19:51 ` neroden at gcc dot gnu dot org
@ 2003-10-24 23:12 ` dhazeghi at yahoo dot com
2003-11-02 23:12 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-10-24 23:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11837
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |denisc at overta dot ru
Keywords| |wrong-code
------- Additional Comments From dhazeghi at yahoo dot com 2003-10-24 23:10 -------
Denis, as avr maintainer, I was wondering if you've seen this problem before, or have some
suggestion about it? Thanks.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug optimization/11837] Stack frame gets corrupted
2003-08-06 18:39 [Bug optimization/11837] New: Stack frame gets corrupted mail at andreas-s dot net
` (3 preceding siblings ...)
2003-10-24 23:12 ` dhazeghi at yahoo dot com
@ 2003-11-02 23:12 ` pinskia at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-02 23:12 UTC (permalink / raw)
To: gcc-bugs
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11837
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |INVALID
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-11-02 23:12 -------
No feedback in 3 months (T-4 days).
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-11-02 23:12 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-06 18:39 [Bug optimization/11837] New: Stack frame gets corrupted mail at andreas-s dot net
2003-08-06 18:41 ` [Bug optimization/11837] " mail at andreas-s dot net
2003-08-06 19:42 ` pinskia at physics dot uc dot edu
2003-08-24 19:51 ` neroden at gcc dot gnu dot org
2003-10-24 23:12 ` dhazeghi at yahoo dot com
2003-11-02 23:12 ` 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).