https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68259
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- Author: ebotcazou Date: Mon Nov 9 22:40:44 2015 New Revision: 230056 URL: https://gcc.gnu.org/viewcvs?rev=230056&root=gcc&view=rev Log: PR middle-end/68259 * tree.h (reverse_storage_order_for_component_p) <COMPONENT_REF>: Check that the type of the first operand is an aggregate type. Added: trunk/gcc/testsuite/g++.dg/ubsan/pr68259.C Modified: trunk/gcc/ChangeLog trunk/gcc/testsuite/ChangeLog trunk/gcc/tree.h