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 fortran/45318] Do more parenthesis simplification with -fno-protect-parens


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.


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