! { dg-do run }!! PR 41629: [OOP] gimplification error on valid code!! Contributed by Janus Weil <janus@gcc.gnu.org>type t1integer::compend type type(t1),target::aclass(t1)::xpointer::x! This is valida%comp=3x=>aprint*,x%compif(x%comp/=3)call abort()end