https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62254
--- Comment #19 from Nick Clifton <nickc at gcc dot gnu.org> --- (In reply to Julien Margetts from comment #17) > The following test case still fails with the patch applied (originally bug > 70362) > > arm-none-eabi-gcc -march=armv3m -c -o c_compat_x_tst.o > gcc/testsuite/gcc.dg/compat/scalar-by-value-4_x.c I cannot reproduce this failure. Ie when I compile this test case everything works, at -O0 all the way up to -O3. This is with today's mainline sources, which has *both* of the patches from this PR applied. These sources no longer contain this assertion: gcc_assert (REG_P (operands[0])); although they do contain: gcc_assert (REG_P (outval) || SUBREG_P (outval)); If the problem really does exist, could someone tell me what outval looks like when the assertion is triggered ? Cheers Nick