This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[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.
- From: "aoliva at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2004 05:55:45 -0000
- Subject: [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.
- References: <20040331111136.14798.anilp1@kpitcummins.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From aoliva at gcc dot gnu dot org 2004-06-02 05:55 -------
Jim,
The points you bring up are good ones, and they do deserve bug reports. But
this patch does fix the problem originally reported, and it is correct in itself.
Sure enough, other uses of this variable might be broken, but I don't see any
breakage. Attribute handling is all done at parse time, and so is pragma
handling. If this changes, we may have to rework this all, but it works as is
AFAICT. Am I missing anything?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14798