On Tue, Feb 16, 2016 at 09:39:10AM -0800, H.J. Lu wrote: > Index: gcc/testsuite/gcc.dg/pr69801.c > > =================================================================== > > *** gcc/testsuite/gcc.dg/pr69801.c (revision 0) > > --- gcc/testsuite/gcc.dg/pr69801.c (working copy) > > *************** > > *** 0 **** > > --- 1,7 ---- > > + /* { dg-do compile } */ > > + > > + struct { > > + char c[1]; > > + } b, c; > > + int d, e; > > + void fn1() { e ? (d ? b : c).c : (d ? b : c).c; } > > I got > > output is: > /export/gnu/import/git/gcc-test-ia32corei7/src-trunk/gcc/testsuite/gcc.dg/pr69801.c: > In function 'fn1':^M > /export/gnu/import/git/gcc-test-ia32corei7/src-trunk/gcc/testsuite/gcc.dg/pr69801.c:7:32: > error: non-lvalue array in conditional expression^M > > FAIL: gcc.dg/pr69801.c (test for excess errors)
Should be already fixed: https://gcc.gnu.org/ml/gcc-patches/2016-02/msg01084.html Marek