This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/45318] Do more parenthesis simplification with -fno-protect-parens
- 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: Sat, 20 Jul 2013 19:56:15 +0000
- Subject: [Bug fortran/45318] Do more parenthesis simplification with -fno-protect-parens
- Auto-submitted: auto-generated
- References: <bug-45318-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45318
Tobias Burnus <burnus at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |WORKSFORME
--- Comment #6 from Tobias Burnus <burnus at gcc dot gnu.org> ---
(In reply to Thomas Koenig from comment #5)
> Any specific examples?
I looked now through the code (for INTRINSIC_PARENTHESES) and glanced at some
of the related PRs. I failed to find a case where one could do something in the
FE - and the ME already handles it. (An example would be "(a+5)-7" - however,
the ME essentially ignores all code involving nonconstants; the only exception
is dependency tracing and there such a case is also unlikely.)
In summary, while there could be in principle a case, which should be handled,
in practice, there does not seem to be one.
Thus: Close as WORKSFORME.