[Bug c/103531] Propose compiler warning when ceil/ceilf used on integral value

2021-12-02 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103531 --- Comment #4 from Eyal Rozenberg --- (In reply to Eric Gallager from comment #3) > -Wtraditional-conversion catches this: Well... you're technically right, but: 1. That is a much wider warning. If someone were to turn this on they would get

[Bug c/103531] Propose compiler warning when ceil/ceilf used on integral value

2021-12-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103531 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/103531] Propose compiler warning when ceil/ceilf used on integral value

2021-12-02 Thread eyalroz1 at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103531 Eyal Rozenberg changed: What|Removed |Added Summary|Prpose compiler warning |Propose compiler warning