[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.
wilson at specifixinc dot com
gcc-bugzilla@gcc.gnu.org
Tue Jun 1 08:19:00 GMT 2004
------- 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
More information about the Gcc-bugs
mailing list