https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7651

--- Comment #37 from Heiko Eißfeldt <heiko at hexco dot de> ---
Additional warnings issued with -Wextra but which are undocumented (AFAICS).

gcc manual:
c/c-typeck.cc line 15052
                warning_at (location, OPT_Wextra,
                            "ordered comparison of pointer with null pointer");

cp/call.cc line 14335
      warning (OPT_Wextra, "a temporary bound to %qD only persists "
               "until the constructor exits", decl);

expmed.cc line 672
      warning (OPT_Wextra, "write of %wu-bit data outside the bound of "
               "destination object, data truncated into %wu-bit",
               bitsize, unit - bitnum);

target avr gcc manual 3.20.6 -Wextra:
config/avr/avr.cc line 16405
          warning (OPT_Wextra, "rounding to %d bits has no effect for "
                   "fixed-point value with %d fractional bits",
                   rbit, GET_MODE_FBIT (mode));

gfortran manual:
fortran/expr.cc line 4892
        gfc_warning (OPT_Wextra, "Assignment to contiguous pointer from "
                                 "non-contiguous target at %L",
&rvalue->where);

These should become new issues, right?

Reply via email to