This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/82170] gcc optimizes int range-checking poorly on x86-64
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Sep 2017 06:25:20 +0000
- Subject: [Bug target/82170] gcc optimizes int range-checking poorly on x86-64
- Auto-submitted: auto-generated
- References: <bug-82170-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82170
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> ---
Note that n==(int)n (gcc documents that this must work) may work with more gcc
versions and is more readable.