On 08/27/2015 10:48 AM, Alan Lawrence wrote:
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...
The comment just caught my eye as I didn't see any target bits in the
test. A quick search for MOVE_RATIO in the testsuite popped up sra-12.
Jeff