http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45894
--- Comment #9 from Jakub Jelinek <jakub at gcc dot gnu.org> 2010-11-11 20:41:36 UTC --- Author: jakub Date: Thu Nov 11 20:41:34 2010 New Revision: 166621 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=166621 Log: Backport from mainline 2010-11-09 Jakub Jelinek <ja...@redhat.com> PR c++/45894 * tree.c (lvalue_p_1): Don't crash if ref has NULL type. * g++.dg/warn/Wsequence-point-2.C: New test. Added: branches/gcc-4_5-branch/gcc/testsuite/g++.dg/warn/Wsequence-point-2.C Modified: branches/gcc-4_5-branch/gcc/cp/ChangeLog branches/gcc-4_5-branch/gcc/cp/tree.c branches/gcc-4_5-branch/gcc/testsuite/ChangeLog