This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/80692] _Decimal64 -0 != 0 unless optimization is turned off
- From: "segher at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 16 May 2017 23:08:00 +0000
- Subject: [Bug c/80692] _Decimal64 -0 != 0 unless optimization is turned off
- Auto-submitted: auto-generated
- References: <bug-80692-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80692
Segher Boessenkool <segher at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-05-16
CC| |segher at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Segher Boessenkool <segher at gcc dot gnu.org> ---
Confirmed. The problem happens during ccp1 already:
===
Substituting values and folding statements
Folding statement: if (d64_1 != 0)
gimple_simplified to if (1 != 0)
which is likely CONSTANT
Folding predicate 1 != 0 to 1
Folded into: if (1 != 0)
===