This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/78546] [6/7 Regression] wrong code at -O2 and above
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 28 Nov 2016 09:02:12 +0000
- Subject: [Bug target/78546] [6/7 Regression] wrong code at -O2 and above
- Auto-submitted: auto-generated
- References: <bug-78546-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78546
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
But e.g.
typedef unsigned __int128 u128;
u128 b;
int
main ()
{
u128 x = ((u128) ~0x7fffffffffffffff) - b;
u128 y = 1 - x;
if (y != 0x8000000000000001)
__builtin_abort();
return 0;
}
is miscompiled already before that, bisecting again.