public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c/3954: simple returns are broken when the return value is in a pseudo
@ 2002-03-24 18:16 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-03-24 18:16 UTC (permalink / raw)
  To: dave.anglin, gcc-bugs, gcc-prs, mark, nobody

Synopsis: simple returns are broken when the return value is in a pseudo

State-Changed-From-To: open->feedback
State-Changed-By: rth
State-Changed-When: Sun Mar 24 18:16:36 2002
State-Changed-Why:
    Should be fixed for 3.1, since all returns now use pseudos.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3954


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: c/3954: simple returns are broken when the return value is in a pseudo
@ 2002-06-18 15:26 danglin
  0 siblings, 0 replies; 3+ messages in thread
From: danglin @ 2002-06-18 15:26 UTC (permalink / raw)
  To: danglin, dave.anglin, gcc-bugs, gcc-prs, mark, nobody

Synopsis: simple returns are broken when the return value is in a pseudo

Responsible-Changed-From-To: unassigned->danglin
Responsible-Changed-By: danglin
Responsible-Changed-When: Tue Jun 18 14:44:53 2002
Responsible-Changed-Why:
    Mine.
State-Changed-From-To: feedback->closed
State-Changed-By: danglin
State-Changed-When: Tue Jun 18 14:44:53 2002
State-Changed-Why:
    See <http://gcc.gnu.org/ml/gcc-patches/2001-08/msg00507.html>.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=3954


^ permalink raw reply	[flat|nested] 3+ messages in thread

* c/3954: simple returns are broken when the return value is in a pseudo
@ 2001-08-06 21:56 dave.anglin
  0 siblings, 0 replies; 3+ messages in thread
From: dave.anglin @ 2001-08-06 21:56 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mark

>Number:         3954
>Category:       c
>Synopsis:       simple returns are broken when the return value is in a pseudo
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 06 21:56:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Dave Anglin
>Release:        gcc-3.0
>Organization:
>Environment:
vax-dec-ultrix4.3
>Description:
This was first noticed with g++ but potentially affect C as well.  It only affects ports that don't use an epilogue for function returns.

Incorrect code will be generated for the following test program when compiled with g++:

char *
srealloc (char *p, char *q, int i)
{
  if (i == 0)
    return p;
  else
    return q;
}
>How-To-Repeat:

>Fix:
A patch to fix the above problem is presently being tested.
If testing is successful, I will submit it later today for
review.
>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-06-18 21:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-24 18:16 c/3954: simple returns are broken when the return value is in a pseudo rth
  -- strict thread matches above, loose matches on Subject: below --
2002-06-18 15:26 danglin
2001-08-06 21:56 dave.anglin

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).