Commit e9b49000 by Tobias Burnus

options.c (set_Wall): Don't set for -Wcompare-reals.

2012-08-27  Tobias Burnus  <burnus@net-b.de>

        * options.c (set_Wall): Don't set for -Wcompare-reals.
        * invoke.texi (-Wall, -Wcompare-reals): -Wall no longer
        implies -Wcompare-reals.

2012-08-27  Tobias Burnus  <burnus@net-b.de>

        * gfortran.dg/bessel_5.f90: Remove -Wno-compare-reals
        from dg-options as -Wall no longer implies it.

From-SVN: r190707
parent 12a3e30e
2012-08-27 Tobias Burnus <burnus@net-b.de>
* options.c (set_Wall): Don't set for -Wcompare-reals.
* invoke.texi (-Wall, -Wcompare-reals): -Wall no longer
implies -Wcompare-reals.
2012-08-24 Simon Baldwin <simonb@google.com>
* lang.opt (-cpp=): Mark flag NoDWARFRecord.
......
......@@ -727,7 +727,7 @@ warnings.
Enables commonly used warning options pertaining to usage that
we recommend avoiding and that we believe are easy to avoid.
This currently includes @option{-Waliasing}, @option{-Wampersand},
@option{-Wconversion}, @option{-Wcompare-reals}, @option{-Wsurprising},
@option{-Wconversion}, @option{-Wsurprising},
@option{-Wintrinsics-std}, @option{-Wno-tabs}, @option{-Wintrinsic-shadow},
@option{-Wline-truncation}, @option{-Wtarget-lifetime},
@option{-Wreal-q-constant} and @option{-Wunused}.
......@@ -939,7 +939,6 @@ allocatable variable; this includes scalars and derived types.
@item -Wcompare-reals
@opindex @code{Wcompare-reals}
Warn when comparing real or complex types for equality or inequality.
Enabled by @option{-Wall}.
@item -Wtarget-lifetime
@opindex @code{Wtargt-lifetime}
......
......@@ -475,7 +475,6 @@ set_Wall (int setting)
gfc_option.warn_character_truncation = setting;
gfc_option.warn_real_q_constant = setting;
gfc_option.warn_unused_dummy_argument = setting;
gfc_option.warn_compare_reals = setting;
gfc_option.warn_target_lifetime = setting;
warn_return_type = setting;
......
2012-08-27 Tobias Burnus <burnus@net-b.de>
* gfortran.dg/bessel_5.f90: Remove -Wno-compare-reals
from dg-options as -Wall no longer implies it.
2012-08-26 Richard Sandiford <rdsandiford@googlemail.com>
* lib/scanasm.exp (scan-assembler-times_required_options): New proc.
......@@ -153,8 +158,8 @@
2012-08-19 Thomas König <tkoenig@gcc.gnu.org>
PR fortran/54298
* gfortran.dg/real_compare_1.f90: New test case.
* gfortran.dg/bessel_5.f90 Add -Wno-compare-reals to options.
* gfortran.dg/real_compare_1.f90: New test case.
* gfortran.dg/bessel_5.f90: Add -Wno-compare-reals to options.
2012-08-18 Jan Hubicka <jh@suse.cz>
......
! { dg-do run }
! { dg-options "-Wall -fno-range-check -Wno-compare-reals" }
! { dg-options "-Wall -fno-range-check" }
!
! PR fortran/36158 - Transformational BESSEL_JN/YN
! PR fortran/33197 - F2008 math functions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment