public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:09 ` pinskia at gcc dot gnu dot org
2005-10-30 23:17 ` pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:09 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:09 ` [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call pinskia at gcc dot gnu dot org
@ 2005-10-30 23:17 ` pinskia at gcc dot gnu dot org
2005-10-31 3:49 ` mmitchel at gcc dot gnu dot org
` (5 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 23:17 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:09 ` [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call pinskia at gcc dot gnu dot org
2005-10-30 23:17 ` pinskia at gcc dot gnu dot org
@ 2005-10-31 3:49 ` mmitchel at gcc dot gnu dot org
2005-11-01 22:15 ` ebotcazou at gcc dot gnu dot org
` (4 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2005-10-31 3:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from mmitchel at gcc dot gnu dot org 2005-10-31 03:49 -------
Regardless of *where* getcontext() should be recognized, it's clear that the
compiler should be aware that it has special behavior.
This is a wrong-code regression on a primary platform with no non-default
options in use; upgraded to P1.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2005-10-31 3:49 ` mmitchel at gcc dot gnu dot org
@ 2005-11-01 22:15 ` ebotcazou at gcc dot gnu dot org
2005-11-09 12:08 ` ebotcazou at gcc dot gnu dot org
` (3 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-01 22:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from ebotcazou at gcc dot gnu dot org 2005-11-01 22:15 -------
> Regardless of *where* getcontext() should be recognized, it's clear that the
> compiler should be aware that it has special behavior.
All right, I'll try to do something along these lines.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|ebotcazou at gcc dot gnu dot|
|org |
AssignedTo|unassigned at gcc dot gnu |ebotcazou at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
Last reconfirmed|2005-06-20 17:31:07 |2005-11-01 22:15:04
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2005-11-01 22:15 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-09 12:08 ` ebotcazou at gcc dot gnu dot org
2005-11-10 16:59 ` ebotcazou at gcc dot gnu dot org
` (2 subsequent siblings)
7 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-09 12:08 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from ebotcazou at gcc dot gnu dot org 2005-11-09 12:08 -------
*** Bug 21957 has been marked as a duplicate of this bug. ***
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2005-11-09 12:08 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-10 16:59 ` ebotcazou at gcc dot gnu dot org
2005-11-10 17:00 ` ebotcazou at gcc dot gnu dot org
2005-11-10 17:05 ` [Bug middle-end/22127] [3.4 " ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-10 16:59 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from ebotcazou at gcc dot gnu dot org 2005-11-10 16:58 -------
Subject: Bug 22127
Author: ebotcazou
Date: Thu Nov 10 16:58:56 2005
New Revision: 106739
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106739
Log:
PR middle-end/22127
* calls.c (special_function_p): Set ECF_RETURNS_TWICE for getcontext.
Added:
trunk/gcc/testsuite/gcc.dg/sparc-getcontext-1.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/calls.c
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2005-11-10 16:59 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-10 17:00 ` ebotcazou at gcc dot gnu dot org
2005-11-10 17:05 ` [Bug middle-end/22127] [3.4 " ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-10 17:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from ebotcazou at gcc dot gnu dot org 2005-11-10 17:00 -------
Subject: Bug 22127
Author: ebotcazou
Date: Thu Nov 10 17:00:41 2005
New Revision: 106740
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=106740
Log:
PR middle-end/22127
* calls.c (special_function_p): Set ECF_RETURNS_TWICE for getcontext.
Added:
branches/gcc-4_0-branch/gcc/testsuite/gcc.dg/sparc-getcontext-1.c
Modified:
branches/gcc-4_0-branch/gcc/ChangeLog
branches/gcc-4_0-branch/gcc/calls.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4 Regression] register window not preserved after getcontext call
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2005-11-10 17:00 ` ebotcazou at gcc dot gnu dot org
@ 2005-11-10 17:05 ` ebotcazou at gcc dot gnu dot org
7 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-11-10 17:05 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from ebotcazou at gcc dot gnu dot org 2005-11-10 17:05 -------
See http://gcc.gnu.org/ml/gcc-patches/2005-11/msg00663.html.
Fixed in 4.0.3 and up.
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Summary|[3.4/4.0/4.1 Regression] |[3.4 Regression] register
|register window not |window not preserved after
|preserved after getcontext |getcontext call
|call |
Target Milestone|4.1.0 |4.0.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
2005-06-20 16:34 [Bug c/22127] New: SPARC register window is " akr at m17n dot org
2005-06-20 17:37 ` [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window " pinskia at gcc dot gnu dot org
2005-06-20 17:46 ` ebotcazou at gcc dot gnu dot org
@ 2005-06-20 17:48 ` pinskia at physics dot uc dot edu
2 siblings, 0 replies; 11+ messages in thread
From: pinskia at physics dot uc dot edu @ 2005-06-20 17:48 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at physics dot uc dot edu 2005-06-20 17:48 -------
Subject: Re: [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
On Jun 20, 2005, at 1:46 PM, ebotcazou at gcc dot gnu dot org wrote:
>
> ------- Additional Comments From ebotcazou at gcc dot gnu dot org
> 2005-06-20 17:46 -------
>> This is not a front-end bug.
>
> I disagree, the front-end should automatically recognize the function.
But the place where setjmp is recognized is not in the front-end.
-- Pinski
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
2005-06-20 16:34 [Bug c/22127] New: SPARC register window is " akr at m17n dot org
2005-06-20 17:37 ` [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window " pinskia at gcc dot gnu dot org
@ 2005-06-20 17:46 ` ebotcazou at gcc dot gnu dot org
2005-06-20 17:48 ` pinskia at physics dot uc dot edu
2 siblings, 0 replies; 11+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-06-20 17:46 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From ebotcazou at gcc dot gnu dot org 2005-06-20 17:46 -------
> This is not a front-end bug.
I disagree, the front-end should automatically recognize the function.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call
2005-06-20 16:34 [Bug c/22127] New: SPARC register window is " akr at m17n dot org
@ 2005-06-20 17:37 ` pinskia at gcc dot gnu dot org
2005-06-20 17:46 ` ebotcazou at gcc dot gnu dot org
2005-06-20 17:48 ` pinskia at physics dot uc dot edu
2 siblings, 0 replies; 11+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-06-20 17:37 UTC (permalink / raw)
To: gcc-bugs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-20 17:36 -------
This is not a front-end bug. But I still think it accidentally worked in 2.95.3 or any compiler really
because why do we have to treat function special.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|c |middle-end
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2005-11-10 17:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-22127-2489@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:09 ` [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call pinskia at gcc dot gnu dot org
2005-10-30 23:17 ` pinskia at gcc dot gnu dot org
2005-10-31 3:49 ` mmitchel at gcc dot gnu dot org
2005-11-01 22:15 ` ebotcazou at gcc dot gnu dot org
2005-11-09 12:08 ` ebotcazou at gcc dot gnu dot org
2005-11-10 16:59 ` ebotcazou at gcc dot gnu dot org
2005-11-10 17:00 ` ebotcazou at gcc dot gnu dot org
2005-11-10 17:05 ` [Bug middle-end/22127] [3.4 " ebotcazou at gcc dot gnu dot org
2005-06-20 16:34 [Bug c/22127] New: SPARC register window is " akr at m17n dot org
2005-06-20 17:37 ` [Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window " pinskia at gcc dot gnu dot org
2005-06-20 17:46 ` ebotcazou at gcc dot gnu dot org
2005-06-20 17:48 ` pinskia at physics dot uc dot edu
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).