https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
Marek Polacek changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
--- Comment #6 from Marek Polacek ---
Author: mpolacek
Date: Wed Jan 7 08:21:50 2015
New Revision: 219279
URL: https://gcc.gnu.org/viewcvs?rev=219279&root=gcc&view=rev
Log:
PR c/64440
* c-common.c (c_fully_fold_internal): Warn for divis
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
Marek Polacek changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
Marek Polacek changed:
What|Removed |Added
CC||mpolacek at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
Manuel López-Ibáñez changed:
What|Removed |Added
CC||manu at gcc dot gnu.org
--- Commen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
--- Comment #2 from Chengnian Sun ---
(In reply to Andrew Pinski from comment #1)
> In C, const int is not a constant expression and -Wdiv-by-zero only warns
> about integer constant expressions.
Thanks for your reply. It seems GCC sometimes do
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64440
--- Comment #1 from Andrew Pinski ---
In C, const int is not a constant expression and -Wdiv-by-zero only warns about
integer constant expressions.