c.opt
19.5 KB
-
c.opt: C++ frontend supports -Wdiv-by-zero. · 1104b28b
2006-02-07 Dirk Mueller <dmueller@suse.com> * c.opt: C++ frontend supports -Wdiv-by-zero. * c-opts.c (c_common_handle_option): Remove dead case. * typeck.c (build_binary_op): Annotate div-by-zero warnings to make -Wno-div-by-zero have an effect. g++.dg/warn/Wdiv-by-zero.C: New test. g++.dg/warn/Wno-div-by-zero.C: New. From-SVN: r110712
Dirk Mueller committed