OSDN Git Service

gcc/fortran:
authordfranke <dfranke@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Dec 2007 17:34:45 +0000 (17:34 +0000)
committerdfranke <dfranke@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 23 Dec 2007 17:34:45 +0000 (17:34 +0000)
commit5c6d2374f58e4e2944643b231a90a85c19b296aa
tree57a9a5c60ea2fc02c8e7f025201bd38f9eda5124
parent9e45fd59d36fe23a7a18fdb1f0d5cf8a16e60660
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131149 138bc75d-0d04-0410-961f-82ee72b054a4
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]