]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR fortran/34536 (Make support of 2.0**-3*5 tighter: Print warning by default)
authorDaniel Franke <franke.daniel@gmail.com>
Sun, 23 Dec 2007 17:34:45 +0000 (12:34 -0500)
committerDaniel Franke <dfranke@gcc.gnu.org>
Sun, 23 Dec 2007 17:34:45 +0000 (12:34 -0500)
commit57c65fb59c62beb1cbe6db6be2e42c0a9a077915
tree57a9a5c60ea2fc02c8e7f025201bd38f9eda5124
parent1584031f69250f7c4479b5d64e724fdd0f120422
re PR fortran/34536 (Make support of 2.0**-3*5 tighter: Print warning by default)

gcc/fortran:
2007-12-23  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/34536
* matchexp.c (match_ext_mult_operand): Print warning for unary
operators following arithmetic ones by default.
(match_ext_add_operand): Likewise.

gcc/testsuite:
2007-12-23  Daniel Franke  <franke.daniel@gmail.com>

PR fortran/34536
* gfortran.dg/integer_exponentiation_2.f90: Fixed testcase.
* gfortran.dg/real_const_3.f90: Likewise.
* gfortran.dg/unary_operator.f90: New test.

From-SVN: r131149
gcc/fortran/ChangeLog
gcc/fortran/matchexp.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/integer_exponentiation_2.f90
gcc/testsuite/gfortran.dg/real_const_3.f90
gcc/testsuite/gfortran.dg/unary_operator.f90 [new file with mode: 0644]