https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87623
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Wed Oct 17 17:52:10 2018 New Revision: 265243 URL: https://gcc.gnu.org/viewcvs?rev=265243&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-8-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-8-branch/gcc/ChangeLog branches/gcc-8-branch/gcc/fold-const.c branches/gcc-8-branch/gcc/testsuite/ChangeLog