This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/50865] Invalid code generation for INT64_MIN % 1 on x86_64
- From: "jsm28 at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Oct 2011 16:00:13 +0000
- Subject: [Bug tree-optimization/50865] Invalid code generation for INT64_MIN % 1 on x86_64
- Auto-submitted: auto-generated
- References: <bug-50865-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50865
Joseph S. Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-10-25
Component|c |tree-optimization
Ever Confirmed|0 |1
--- Comment #6 from Joseph S. Myers <jsm28 at gcc dot gnu.org> 2011-10-25 16:00:13 UTC ---
/* X % -Y is the same as X % Y. */
(fold-const.c:fold_binary_loc) would probably be what's wrong here.