Jeff Law wrote:

diff --git a/gcc/testsuite/gcc.dg/tree-ssa/sra-15.c 
b/gcc/testsuite/gcc.dg/tree-ssa/sra-15.c
new file mode 100644
index 0000000..e251058
--- /dev/null
+++ b/gcc/testsuite/gcc.dg/tree-ssa/sra-15.c
@@ -0,0 +1,38 @@
+/* Verify that SRA total scalarization works on records containing arrays.  */
+/* Test skipped for targets with small (often default) MOVE_RATIO.  */
?!? I don't see anything that skips this test for any targets. Presumably this was copied from sra-12.c. I suspect this comment should just be removed.

You are right, thank you. Copied from sra-12.c, was I that obvious? ;). Indeed I notice that the same trick (of passing --param sra-max-scalarization-size-Ospeed=32) enables sra-12.c to pass on avr-unknown-linux-gnu and sh-unknown-linux-gnu, too; I haven't managed to build a compiler for nds32 yet...

--Alan

Reply via email to