This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/14798] [3.4/3.5 Regression] [unit-at-a-time?] In case of SH target with -O2 option #pragma interrupt doesn't get resetted.


------- Additional Comments From wilson at specifixinc dot com  2004-06-01 08:19 -------
Subject: Re:  [3.4/3.5 Regression] [unit-at-a-time?] In
 case of SH target with -O2 option #pragma interrupt doesn't get resetted.

aoliva at gcc dot gnu dot org wrote:
> ------- Additional Comments From aoliva at gcc dot gnu dot org  2004-06-01 04:19 -------
> Given the comment above the variable pragma_interrupt in sh.c, I assume the
> behavior expected by Anil is the correct and intended behavior.  Although the
> patch correctly implements this, I'd prefer to clear the variable only after
> successfully adding the interrupt_handler attribute, right before returning. 
> Patch approved with that change.

That just trades one set of problems for another set of problems.

Please see my review of the patch
     http://gcc.gnu.org/ml/gcc-patches/2004-04/msg01891.html


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]