[Bug middle-end/87623] bytes swapped in register when comparing cause fail when compiled with -O1 or higher
ebotcazou at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Oct 17 17:55:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87623
--- Comment #7 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
Author: ebotcazou
Date: Wed Oct 17 17:54:26 2018
New Revision: 265245
URL: https://gcc.gnu.org/viewcvs?rev=265245&root=gcc&view=rev
Log:
PR middle-end/87623
* fold-const.c (fold_truth_andor_1): If the right side is not constant,
bail out if both sides do not have the same storage order.
Added:
branches/gcc-6-branch/gcc/testsuite/gcc.c-torture/execute/pr87623.c
- copied unchanged from r265242,
trunk/gcc/testsuite/gcc.c-torture/execute/pr87623.c
Modified:
branches/gcc-6-branch/gcc/ChangeLog
branches/gcc-6-branch/gcc/fold-const.c
branches/gcc-6-branch/gcc/testsuite/ChangeLog
More information about the Gcc-bugs
mailing list