[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-11-10 Thread ebotcazou at gcc dot gnu dot org


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



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-11-10 Thread ebotcazou at gcc dot gnu dot org


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



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-11-09 Thread ebotcazou at gcc dot gnu dot org


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



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-11-01 Thread ebotcazou at gcc dot gnu dot org


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



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-10-30 Thread mmitchel at gcc dot gnu dot org


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



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-10-30 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P2  |P3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22127



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-10-30 Thread pinskia at gcc dot gnu dot org


-- 

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



[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread pinskia at physics dot uc dot edu

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


[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread ebotcazou at gcc dot gnu dot org

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


[Bug middle-end/22127] [3.4/4.0/4.1 Regression] register window not preserved after getcontext call

2005-06-20 Thread pinskia at gcc dot gnu dot org

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