[Bug c/68193] _Generic -Woverflow false alarm

mpolacek at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Dec 2 17:10:00 GMT 2015


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

--- Comment #5 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
Yes, so this would be somehow tied to c_inhibit_evaluation_warnings as in we
warn for
  0 ? foo () : 2;
if foo() wasn't declared but not for the div-by-zero here:
  0 ? 1 / 0 : 2;


More information about the Gcc-bugs mailing list