This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/46458] Volatile status ignored for "(j > j)" during fold_comparison of fold-const.c
- From: "burnus at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Nov 2010 23:34:42 +0000
- Subject: [Bug middle-end/46458] Volatile status ignored for "(j > j)" during fold_comparison of fold-const.c
- Auto-submitted: auto-generated
- References: <bug-46458-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46458
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
--- Comment #3 from Tobias Burnus <burnus at gcc dot gnu.org> 2010-11-12 23:30:00 UTC ---
Answer from #gcc: Yes, for decl the front end needs to set TREE_SIDE_EFFECTS in
addition to TREE_THIS_VOLATILE.
Close as duplicate of the original issue.
*** This bug has been marked as a duplicate of bug 45742 ***