public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
2003-06-23 14:55 [Bug target/11292] New: [3.4 Regression] -fnew-ra causes sibcalling to go wrong pinskia at physics dot uc dot edu
@ 2003-06-23 14:55 ` pinskia at physics dot uc dot edu
2003-07-05 19:48 ` dhazeghi at yahoo dot com
` (2 subsequent siblings)
3 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-23 14:55 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=11292
------- Additional Comments From pinskia at physics dot uc dot edu 2003-06-23 14:46 -------
I sent the wrong example (here is the right one where it does not sib call in main):
char * mystrcpy(char *dest, char *source)
{
int len = strlen(source);
return memmove(dest, source, len+1);
}
int main()
{
char temp[10];
char *t1="AA";
mystrcpy(temp, t1);
return 0;
}
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] New: [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
@ 2003-06-23 14:55 pinskia at physics dot uc dot edu
2003-06-23 14:55 ` [Bug target/11292] " pinskia at physics dot uc dot edu
` (3 more replies)
0 siblings, 4 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-06-23 14:55 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=11292
Summary: [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
Product: gcc
Version: 3.4
Status: UNCONFIRMED
Keywords: wrong-code
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pinskia at physics dot uc dot edu
CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-apple-darwin6.6
compile the following with -fnew-ra -foptimize-sibling-calls -O and see that it seg faults:
char * mystrcpy(char *dest, char *source)
{
int len = strlen(source);
return memmove(dest, source, len+1);
}
void main()
{
char temp[10];
char *t1="AA";
mystrcpy(temp, t1);
}
Without -fnew-ra it does not seg fault.
This regression was introduced some time between 3.4 (20030602) and today.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
2003-06-23 14:55 [Bug target/11292] New: [3.4 Regression] -fnew-ra causes sibcalling to go wrong pinskia at physics dot uc dot edu
2003-06-23 14:55 ` [Bug target/11292] " pinskia at physics dot uc dot edu
@ 2003-07-05 19:48 ` dhazeghi at yahoo dot com
2003-07-15 14:03 ` pinskia at physics dot uc dot edu
2003-07-29 14:29 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 11+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-07-05 19:48 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=11292
dhazeghi at yahoo dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Keywords|wrong-code |ice-on-valid-code
Last reconfirmed|0000-00-00 00:00:00 |2003-07-05 19:48:27
date| |
------- Additional Comments From dhazeghi at yahoo dot com 2003-07-05 19:48 -------
Confirmed. As of 20030705, neither testcase even compiles:
foo.c: In function `mystrcpy':
foo.c:5: error: Abnormal edges for no purpose in bb 0
foo.c:5: internal compiler error: verify_flow_info failed
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
2003-06-23 14:55 [Bug target/11292] New: [3.4 Regression] -fnew-ra causes sibcalling to go wrong pinskia at physics dot uc dot edu
2003-06-23 14:55 ` [Bug target/11292] " pinskia at physics dot uc dot edu
2003-07-05 19:48 ` dhazeghi at yahoo dot com
@ 2003-07-15 14:03 ` pinskia at physics dot uc dot edu
2003-07-29 14:29 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-15 14:03 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=11292
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|ice-on-valid-code |wrong-code
------- Additional Comments From pinskia at physics dot uc dot edu 2003-07-15 14:03 -------
It no longer ICEs one the mainline (20030714) but gcc still produces wrong code.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
2003-06-23 14:55 [Bug target/11292] New: [3.4 Regression] -fnew-ra causes sibcalling to go wrong pinskia at physics dot uc dot edu
` (2 preceding siblings ...)
2003-07-15 14:03 ` pinskia at physics dot uc dot edu
@ 2003-07-29 14:29 ` pinskia at physics dot uc dot edu
3 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-29 14:29 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=11292
pinskia at physics dot uc dot edu changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |critical
Priority|P2 |P1
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
` (4 preceding siblings ...)
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 21:25 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|3.4 |3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11292
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
` (3 preceding siblings ...)
2003-09-14 21:09 ` pinskia at gcc dot gnu dot org
@ 2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-11-30 20:51 UTC (permalink / raw)
To: gcc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
OtherBugsDependingO| |13246
nThis| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11292
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
` (2 preceding siblings ...)
2003-09-08 6:10 ` pinskia at gcc dot gnu dot org
@ 2003-09-14 21:09 ` pinskia at gcc dot gnu dot org
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
2003-11-30 21:25 ` pinskia at gcc dot gnu dot org
5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-14 21:09 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=11292
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
BugsThisDependsOn| |11162
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-14 20:25 -------
Most likely related to bug 11162.
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
2003-08-24 4:06 ` dje at gcc dot gnu dot org
2003-09-04 10:19 ` steven at gcc dot gnu dot org
@ 2003-09-08 6:10 ` pinskia at gcc dot gnu dot org
2003-09-14 21:09 ` pinskia at gcc dot gnu dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-09-08 6:10 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=11292
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-09-08 06:10 -------
Most likely not (If it is then there is something wrong because it is the prologue/epologue
that is removed in this case).
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
2003-08-24 4:06 ` dje at gcc dot gnu dot org
@ 2003-09-04 10:19 ` steven at gcc dot gnu dot org
2003-09-08 6:10 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: steven at gcc dot gnu dot org @ 2003-09-04 10:19 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=11292
------- Additional Comments From steven at gcc dot gnu dot org 2003-09-04 10:19 -------
Any chance this might be related to 11969?
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug target/11292] [3.4 Regression] -fnew-ra causes sibcalling to go wrong.
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
@ 2003-08-24 4:06 ` dje at gcc dot gnu dot org
2003-09-04 10:19 ` steven at gcc dot gnu dot org
` (4 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: dje at gcc dot gnu dot org @ 2003-08-24 4:06 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=11292
dje at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |matz at suse dot de
|dot org |
Status|NEW |ASSIGNED
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-11-30 21:25 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-23 14:55 [Bug target/11292] New: [3.4 Regression] -fnew-ra causes sibcalling to go wrong pinskia at physics dot uc dot edu
2003-06-23 14:55 ` [Bug target/11292] " pinskia at physics dot uc dot edu
2003-07-05 19:48 ` dhazeghi at yahoo dot com
2003-07-15 14:03 ` pinskia at physics dot uc dot edu
2003-07-29 14:29 ` pinskia at physics dot uc dot edu
[not found] <20030623144544.11292.pinskia@gcc.gnu.org>
2003-08-24 4:06 ` dje at gcc dot gnu dot org
2003-09-04 10:19 ` steven at gcc dot gnu dot org
2003-09-08 6:10 ` pinskia at gcc dot gnu dot org
2003-09-14 21:09 ` pinskia at gcc dot gnu dot org
2003-11-30 20:51 ` pinskia at gcc dot gnu dot org
2003-11-30 21:25 ` 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).