Commit 6491eb15 by Janis Johnson Committed by Janis Johnson

nothrow1.C: Use cleanup-tree-dump.

	* g++.dg/opt/nothrow1.C: Use cleanup-tree-dump.
	g++.dg/tree-ssa/empty-1.C, g++.dg/tree-ssa/nothrow-1.C,
	g++.dg/tree-ssa/pointer-reference-alias.C,
	g++.dg/tree-ssa/pr15791-3.C, g++.dg/tree-ssa/pr15791-4.C,
	g++.dg/tree-ssa/pr15791-5.C, g++.dg/tree-ssa/ssa-cast-1.C
	g++.dg/tree-ssa/ssa-sra-1.C, g++.dg/tree-ssa/ssa-sra-2.C: Ditto
	g++.dg/vect/pr19951.cc: Ditto.
	* gcc.dg/builtins-43.c, gcc.dg/builtins-44.c, gcc.dg/builtins-45.c,
	gcc.dg/builtins-47.c: Ditto.
	* gcc.dg/pr15784-1.c, gcc.dg/pr15784-2.c, gcc.dg/pr15784-3.c,
	gcc.dg/pr20115-1.c: Ditto.
	* gcc.dg/tree-ssa/20030530-2.c,
	gcc.dg/tree-ssa/20030611-1.c, gcc.dg/tree-ssa/20030703-1.c,
	gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
	gcc.dg/tree-ssa/20030709-1.c, gcc.dg/tree-ssa/20030709-2.c,
	gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
	gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030711-2.c,
	gcc.dg/tree-ssa/20030711-3.c, gcc.dg/tree-ssa/20030714-1.c,
	gcc.dg/tree-ssa/20030714-2.c, gcc.dg/tree-ssa/20030728-1.c,
	gcc.dg/tree-ssa/20030729-1.c, gcc.dg/tree-ssa/20030730-1.c,
	gcc.dg/tree-ssa/20030730-2.c, gcc.dg/tree-ssa/20030731-1.c,
	gcc.dg/tree-ssa/20030731-2.c, gcc.dg/tree-ssa/20030807-1.c,
	gcc.dg/tree-ssa/20030807-10.c, gcc.dg/tree-ssa/20030807-11.c,
	gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-3.c,
	gcc.dg/tree-ssa/20030807-5.c, gcc.dg/tree-ssa/20030807-6.c,
	gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030807-8.c,
	gcc.dg/tree-ssa/20030807-9.c, gcc.dg/tree-ssa/20030808-1.c,
	gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
	gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
	gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
	gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
	gcc.dg/tree-ssa/20030824-1.c,
	gcc.dg/tree-ssa/20030824-2.c, gcc.dg/tree-ssa/20030825-1.c,
	gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-1.c,
	gcc.dg/tree-ssa/20030917-3.c, gcc.dg/tree-ssa/20030922-1.c,
	gcc.dg/tree-ssa/20030922-2.c, gcc.dg/tree-ssa/20031015-1.c,
	gcc.dg/tree-ssa/20031021-1.c, gcc.dg/tree-ssa/20031022-1.c,
	gcc.dg/tree-ssa/20031106-1.c, gcc.dg/tree-ssa/20031106-2.c,
	gcc.dg/tree-ssa/20031106-3.c, gcc.dg/tree-ssa/20031106-4.c,
	gcc.dg/tree-ssa/20031106-5.c, gcc.dg/tree-ssa/20031106-6.c,
	gcc.dg/tree-ssa/20031216-1.c, gcc.dg/tree-ssa/20040204-1.c,
	gcc.dg/tree-ssa/20040210-1.c, gcc.dg/tree-ssa/20040211-1.c,
	gcc.dg/tree-ssa/20040216-1.c, gcc.dg/tree-ssa/20040305-1.c,
	gcc.dg/tree-ssa/20040430-1.c, gcc.dg/tree-ssa/20040513-1.c,
	gcc.dg/tree-ssa/20040513-2.c, gcc.dg/tree-ssa/20040514-1.c,
	gcc.dg/tree-ssa/20040514-2.c, gcc.dg/tree-ssa/20040517-1.c,
	gcc.dg/tree-ssa/20040518-1.c, gcc.dg/tree-ssa/20040518-2.c,
	gcc.dg/tree-ssa/20040615-1.c, gcc.dg/tree-ssa/20040624-1.c,
	gcc.dg/tree-ssa/20040703-1.c, gcc.dg/tree-ssa/20040721-1.c,
	gcc.dg/tree-ssa/20040729-1.c, gcc.dg/tree-ssa/20040911-1.c,
	gcc.dg/tree-ssa/20041002-1.c, gcc.dg/tree-ssa/20041122-1.c,
	gcc.dg/tree-ssa/20050128-1.c, gcc.dg/tree-ssa/20050215-1.c,
	gcc.dg/tree-ssa/asm-1.c, gcc.dg/tree-ssa/asm-2.c,
	gcc.dg/tree-ssa/asm-3.c, gcc.dg/tree-ssa/cfgcleanup-1.c,
	gcc.dg/tree-ssa/complex-1.c, gcc.dg/tree-ssa/complex-2.c,
	gcc.dg/tree-ssa/copy-headers.c, gcc.dg/tree-ssa/ifc-20040816-1.c,
	gcc.dg/tree-ssa/ifc-20040816-2.c, gcc.dg/tree-ssa/inline_asm-1.c,
	gcc.dg/tree-ssa/inline_asm-2.c, gcc.dg/tree-ssa/loop-1.c,
	gcc.dg/tree-ssa/loop-2.c, gcc.dg/tree-ssa/loop-3.c,
	gcc.dg/tree-ssa/loop-4.c, gcc.dg/tree-ssa/loop-5.c,
	gcc.dg/tree-ssa/loop-6.c, gcc.dg/tree-ssa/loop-7.c,
	gcc.dg/tree-ssa/ltrans-1.c, gcc.dg/tree-ssa/ltrans-2.c,
	gcc.dg/tree-ssa/ltrans-3.c, gcc.dg/tree-ssa/ltrans-4.c,
	gcc.dg/tree-ssa/ltrans-5.c, gcc.dg/tree-ssa/pr15349.c,
	gcc.dg/tree-ssa/pr15791-3.c, gcc.dg/tree-ssa/pr15791-4.c,
	gcc.dg/tree-ssa/pr15791-5.c, gcc.dg/tree-ssa/pr16721.c,
	gcc.dg/tree-ssa/pr19633.c, gcc.dg/tree-ssa/sra-1.c,
	gcc.dg/tree-ssa/sra-2.c, gcc.dg/tree-ssa/sra-3.c,
	gcc.dg/tree-ssa/ssa-ccp-1.c, gcc.dg/tree-ssa/ssa-ccp-10.c,
	gcc.dg/tree-ssa/ssa-ccp-11.c, gcc.dg/tree-ssa/ssa-ccp-2.c,
	gcc.dg/tree-ssa/ssa-ccp-3.c, gcc.dg/tree-ssa/ssa-ccp-7.c,
	gcc.dg/tree-ssa/ssa-ccp-9.c, gcc.dg/tree-ssa/ssa-dce-1.c,
	gcc.dg/tree-ssa/ssa-dce-2.c, gcc.dg/tree-ssa/ssa-dce-3.c,
	gcc.dg/tree-ssa/ssa-dom-ccp-1.c, gcc.dg/tree-ssa/ssa-dom-cse-1.c,
	gcc.dg/tree-ssa/ssa-dom-thread-1.c, gcc.dg/tree-ssa/ssa-pre-1.c,
	gcc.dg/tree-ssa/ssa-pre-2.c, gcc.dg/tree-ssa/ssa-pre-3.c,
	gcc.dg/tree-ssa/ssa-pre-4.c, gcc.dg/tree-ssa/ssa-pre-5.c,
	gcc.dg/tree-ssa/ssa-pre-6.c, gcc.dg/tree-ssa/ssa-sink-1.c,
	gcc.dg/tree-ssa/ssa-sink-2.c, gcc.dg/tree-ssa/ssa-sink-3.c,
	gcc.dg/tree-ssa/ssa-sink-4.c, gcc.dg/tree-ssa/tailcall-1.c,
	gcc.dg/tree-ssa/tailcall-2.c, gcc.dg/tree-ssa/tailrecursion-1.c,
	gcc.dg/tree-ssa/tailrecursion-2.c, gcc.dg/tree-ssa/tailrecursion-3.c,
	gcc.dg/tree-ssa/tailrecursion-4.c, gcc.dg/tree-ssa/tailrecursion-5.c,
	gcc.dg/tree-ssa/useless-1.c: Ditto.
	gcc.dg/vect/pr16105.c, gcc.dg/vect/pr18308.c, gcc.dg/vect/pr18400.c,
	gcc.dg/vect/pr18425.c, gcc.dg/vect/pr18536.c, gcc.dg/vect/vect-1.c,
	gcc.dg/vect/vect-10.c, gcc.dg/vect/vect-11.c, gcc.dg/vect/vect-12.c,
	gcc.dg/vect/vect-13.c, gcc.dg/vect/vect-14.c, gcc.dg/vect/vect-15.c,
	gcc.dg/vect/vect-16.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c,
	gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-2.c, gcc.dg/vect/vect-20.c,
	gcc.dg/vect/vect-21.c, gcc.dg/vect/vect-22.c, gcc.dg/vect/vect-23.c,
	gcc.dg/vect/vect-24.c, gcc.dg/vect/vect-25.c, gcc.dg/vect/vect-26.c,
	gcc.dg/vect/vect-27.c, gcc.dg/vect/vect-28.c, gcc.dg/vect/vect-29.c,
	gcc.dg/vect/vect-3.c, gcc.dg/vect/vect-30.c, gcc.dg/vect/vect-31.c,
	gcc.dg/vect/vect-32.c, gcc.dg/vect/vect-33.c, gcc.dg/vect/vect-34.c,
	gcc.dg/vect/vect-35.c, gcc.dg/vect/vect-36.c, gcc.dg/vect/vect-37.c,
	gcc.dg/vect/vect-38.c, gcc.dg/vect/vect-4.c, gcc.dg/vect/vect-40.c,
	gcc.dg/vect/vect-41.c, gcc.dg/vect/vect-42.c, gcc.dg/vect/vect-43.c,
	gcc.dg/vect/vect-44.c, gcc.dg/vect/vect-45.c, gcc.dg/vect/vect-46.c,
	gcc.dg/vect/vect-47.c, gcc.dg/vect/vect-48.c, gcc.dg/vect/vect-49.c,
	gcc.dg/vect/vect-5.c, gcc.dg/vect/vect-50.c, gcc.dg/vect/vect-51.c,
	gcc.dg/vect/vect-52.c, gcc.dg/vect/vect-53.c, gcc.dg/vect/vect-54.c,
	gcc.dg/vect/vect-55.c, gcc.dg/vect/vect-56.c, gcc.dg/vect/vect-57.c,
	gcc.dg/vect/vect-58.c, gcc.dg/vect/vect-59.c, gcc.dg/vect/vect-6.c,
	gcc.dg/vect/vect-60.c, gcc.dg/vect/vect-61.c, gcc.dg/vect/vect-62.c,
	gcc.dg/vect/vect-63.c, gcc.dg/vect/vect-64.c, gcc.dg/vect/vect-65.c,
	gcc.dg/vect/vect-66.c, gcc.dg/vect/vect-67.c, gcc.dg/vect/vect-68.c,
	gcc.dg/vect/vect-69.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-70.c,
	gcc.dg/vect/vect-71.c, gcc.dg/vect/vect-72.c, gcc.dg/vect/vect-73.c,
	gcc.dg/vect/vect-74.c, gcc.dg/vect/vect-75.c, gcc.dg/vect/vect-76.c,
	gcc.dg/vect/vect-77.c, gcc.dg/vect/vect-78.c, gcc.dg/vect/vect-79.c,
	gcc.dg/vect/vect-8.c, gcc.dg/vect/vect-80.c, gcc.dg/vect/vect-82.c,
	gcc.dg/vect/vect-82_64.c, gcc.dg/vect/vect-83.c,
	gcc.dg/vect/vect-83_64.c, gcc.dg/vect/vect-85.c,
	gcc.dg/vect/vect-86.c, gcc.dg/vect/vect-87.c, gcc.dg/vect/vect-88.c,
	gcc.dg/vect/vect-89.c, gcc.dg/vect/vect-9.c, gcc.dg/vect/vect-96.c,
	gcc.dg/vect/vect-97.c, gcc.dg/vect/vect-98.c, gcc.dg/vect/vect-all.c,
	gcc.dg/vect/vect-none.c: Ditto.
	* treelang/compile/extrafunc.tree, treelang/compile/extravar.tree,
	treelang/compile/unsigned.tree: Ditto.

From-SVN: r97342
parent 515e6cd0
2005-03-31 Janis Johnson <janis187@us.ibm.com> 2005-03-31 Janis Johnson <janis187@us.ibm.com>
* g++.dg/opt/nothrow1.C: Use cleanup-tree-dump.
g++.dg/tree-ssa/empty-1.C, g++.dg/tree-ssa/nothrow-1.C,
g++.dg/tree-ssa/pointer-reference-alias.C,
g++.dg/tree-ssa/pr15791-3.C, g++.dg/tree-ssa/pr15791-4.C,
g++.dg/tree-ssa/pr15791-5.C, g++.dg/tree-ssa/ssa-cast-1.C
g++.dg/tree-ssa/ssa-sra-1.C, g++.dg/tree-ssa/ssa-sra-2.C: Ditto
g++.dg/vect/pr19951.cc: Ditto.
* gcc.dg/builtins-43.c, gcc.dg/builtins-44.c, gcc.dg/builtins-45.c,
gcc.dg/builtins-47.c: Ditto.
* gcc.dg/pr15784-1.c, gcc.dg/pr15784-2.c, gcc.dg/pr15784-3.c,
gcc.dg/pr20115-1.c: Ditto.
* gcc.dg/tree-ssa/20030530-2.c,
gcc.dg/tree-ssa/20030611-1.c, gcc.dg/tree-ssa/20030703-1.c,
gcc.dg/tree-ssa/20030703-2.c, gcc.dg/tree-ssa/20030708-1.c,
gcc.dg/tree-ssa/20030709-1.c, gcc.dg/tree-ssa/20030709-2.c,
gcc.dg/tree-ssa/20030709-3.c, gcc.dg/tree-ssa/20030710-1.c,
gcc.dg/tree-ssa/20030711-1.c, gcc.dg/tree-ssa/20030711-2.c,
gcc.dg/tree-ssa/20030711-3.c, gcc.dg/tree-ssa/20030714-1.c,
gcc.dg/tree-ssa/20030714-2.c, gcc.dg/tree-ssa/20030728-1.c,
gcc.dg/tree-ssa/20030729-1.c, gcc.dg/tree-ssa/20030730-1.c,
gcc.dg/tree-ssa/20030730-2.c, gcc.dg/tree-ssa/20030731-1.c,
gcc.dg/tree-ssa/20030731-2.c, gcc.dg/tree-ssa/20030807-1.c,
gcc.dg/tree-ssa/20030807-10.c, gcc.dg/tree-ssa/20030807-11.c,
gcc.dg/tree-ssa/20030807-2.c, gcc.dg/tree-ssa/20030807-3.c,
gcc.dg/tree-ssa/20030807-5.c, gcc.dg/tree-ssa/20030807-6.c,
gcc.dg/tree-ssa/20030807-7.c, gcc.dg/tree-ssa/20030807-8.c,
gcc.dg/tree-ssa/20030807-9.c, gcc.dg/tree-ssa/20030808-1.c,
gcc.dg/tree-ssa/20030814-1.c, gcc.dg/tree-ssa/20030814-2.c,
gcc.dg/tree-ssa/20030814-3.c, gcc.dg/tree-ssa/20030814-4.c,
gcc.dg/tree-ssa/20030814-5.c, gcc.dg/tree-ssa/20030814-6.c,
gcc.dg/tree-ssa/20030814-7.c, gcc.dg/tree-ssa/20030815-1.c,
gcc.dg/tree-ssa/20030824-1.c,
gcc.dg/tree-ssa/20030824-2.c, gcc.dg/tree-ssa/20030825-1.c,
gcc.dg/tree-ssa/20030907-1.c, gcc.dg/tree-ssa/20030917-1.c,
gcc.dg/tree-ssa/20030917-3.c, gcc.dg/tree-ssa/20030922-1.c,
gcc.dg/tree-ssa/20030922-2.c, gcc.dg/tree-ssa/20031015-1.c,
gcc.dg/tree-ssa/20031021-1.c, gcc.dg/tree-ssa/20031022-1.c,
gcc.dg/tree-ssa/20031106-1.c, gcc.dg/tree-ssa/20031106-2.c,
gcc.dg/tree-ssa/20031106-3.c, gcc.dg/tree-ssa/20031106-4.c,
gcc.dg/tree-ssa/20031106-5.c, gcc.dg/tree-ssa/20031106-6.c,
gcc.dg/tree-ssa/20031216-1.c, gcc.dg/tree-ssa/20040204-1.c,
gcc.dg/tree-ssa/20040210-1.c, gcc.dg/tree-ssa/20040211-1.c,
gcc.dg/tree-ssa/20040216-1.c, gcc.dg/tree-ssa/20040305-1.c,
gcc.dg/tree-ssa/20040430-1.c, gcc.dg/tree-ssa/20040513-1.c,
gcc.dg/tree-ssa/20040513-2.c, gcc.dg/tree-ssa/20040514-1.c,
gcc.dg/tree-ssa/20040514-2.c, gcc.dg/tree-ssa/20040517-1.c,
gcc.dg/tree-ssa/20040518-1.c, gcc.dg/tree-ssa/20040518-2.c,
gcc.dg/tree-ssa/20040615-1.c, gcc.dg/tree-ssa/20040624-1.c,
gcc.dg/tree-ssa/20040703-1.c, gcc.dg/tree-ssa/20040721-1.c,
gcc.dg/tree-ssa/20040729-1.c, gcc.dg/tree-ssa/20040911-1.c,
gcc.dg/tree-ssa/20041002-1.c, gcc.dg/tree-ssa/20041122-1.c,
gcc.dg/tree-ssa/20050128-1.c, gcc.dg/tree-ssa/20050215-1.c,
gcc.dg/tree-ssa/asm-1.c, gcc.dg/tree-ssa/asm-2.c,
gcc.dg/tree-ssa/asm-3.c, gcc.dg/tree-ssa/cfgcleanup-1.c,
gcc.dg/tree-ssa/complex-1.c, gcc.dg/tree-ssa/complex-2.c,
gcc.dg/tree-ssa/copy-headers.c, gcc.dg/tree-ssa/ifc-20040816-1.c,
gcc.dg/tree-ssa/ifc-20040816-2.c, gcc.dg/tree-ssa/inline_asm-1.c,
gcc.dg/tree-ssa/inline_asm-2.c, gcc.dg/tree-ssa/loop-1.c,
gcc.dg/tree-ssa/loop-2.c, gcc.dg/tree-ssa/loop-3.c,
gcc.dg/tree-ssa/loop-4.c, gcc.dg/tree-ssa/loop-5.c,
gcc.dg/tree-ssa/loop-6.c, gcc.dg/tree-ssa/loop-7.c,
gcc.dg/tree-ssa/ltrans-1.c, gcc.dg/tree-ssa/ltrans-2.c,
gcc.dg/tree-ssa/ltrans-3.c, gcc.dg/tree-ssa/ltrans-4.c,
gcc.dg/tree-ssa/ltrans-5.c, gcc.dg/tree-ssa/pr15349.c,
gcc.dg/tree-ssa/pr15791-3.c, gcc.dg/tree-ssa/pr15791-4.c,
gcc.dg/tree-ssa/pr15791-5.c, gcc.dg/tree-ssa/pr16721.c,
gcc.dg/tree-ssa/pr19633.c, gcc.dg/tree-ssa/sra-1.c,
gcc.dg/tree-ssa/sra-2.c, gcc.dg/tree-ssa/sra-3.c,
gcc.dg/tree-ssa/ssa-ccp-1.c, gcc.dg/tree-ssa/ssa-ccp-10.c,
gcc.dg/tree-ssa/ssa-ccp-11.c, gcc.dg/tree-ssa/ssa-ccp-2.c,
gcc.dg/tree-ssa/ssa-ccp-3.c, gcc.dg/tree-ssa/ssa-ccp-7.c,
gcc.dg/tree-ssa/ssa-ccp-9.c, gcc.dg/tree-ssa/ssa-dce-1.c,
gcc.dg/tree-ssa/ssa-dce-2.c, gcc.dg/tree-ssa/ssa-dce-3.c,
gcc.dg/tree-ssa/ssa-dom-ccp-1.c, gcc.dg/tree-ssa/ssa-dom-cse-1.c,
gcc.dg/tree-ssa/ssa-dom-thread-1.c, gcc.dg/tree-ssa/ssa-pre-1.c,
gcc.dg/tree-ssa/ssa-pre-2.c, gcc.dg/tree-ssa/ssa-pre-3.c,
gcc.dg/tree-ssa/ssa-pre-4.c, gcc.dg/tree-ssa/ssa-pre-5.c,
gcc.dg/tree-ssa/ssa-pre-6.c, gcc.dg/tree-ssa/ssa-sink-1.c,
gcc.dg/tree-ssa/ssa-sink-2.c, gcc.dg/tree-ssa/ssa-sink-3.c,
gcc.dg/tree-ssa/ssa-sink-4.c, gcc.dg/tree-ssa/tailcall-1.c,
gcc.dg/tree-ssa/tailcall-2.c, gcc.dg/tree-ssa/tailrecursion-1.c,
gcc.dg/tree-ssa/tailrecursion-2.c, gcc.dg/tree-ssa/tailrecursion-3.c,
gcc.dg/tree-ssa/tailrecursion-4.c, gcc.dg/tree-ssa/tailrecursion-5.c,
gcc.dg/tree-ssa/useless-1.c: Ditto.
gcc.dg/vect/pr16105.c, gcc.dg/vect/pr18308.c, gcc.dg/vect/pr18400.c,
gcc.dg/vect/pr18425.c, gcc.dg/vect/pr18536.c, gcc.dg/vect/vect-1.c,
gcc.dg/vect/vect-10.c, gcc.dg/vect/vect-11.c, gcc.dg/vect/vect-12.c,
gcc.dg/vect/vect-13.c, gcc.dg/vect/vect-14.c, gcc.dg/vect/vect-15.c,
gcc.dg/vect/vect-16.c, gcc.dg/vect/vect-17.c, gcc.dg/vect/vect-18.c,
gcc.dg/vect/vect-19.c, gcc.dg/vect/vect-2.c, gcc.dg/vect/vect-20.c,
gcc.dg/vect/vect-21.c, gcc.dg/vect/vect-22.c, gcc.dg/vect/vect-23.c,
gcc.dg/vect/vect-24.c, gcc.dg/vect/vect-25.c, gcc.dg/vect/vect-26.c,
gcc.dg/vect/vect-27.c, gcc.dg/vect/vect-28.c, gcc.dg/vect/vect-29.c,
gcc.dg/vect/vect-3.c, gcc.dg/vect/vect-30.c, gcc.dg/vect/vect-31.c,
gcc.dg/vect/vect-32.c, gcc.dg/vect/vect-33.c, gcc.dg/vect/vect-34.c,
gcc.dg/vect/vect-35.c, gcc.dg/vect/vect-36.c, gcc.dg/vect/vect-37.c,
gcc.dg/vect/vect-38.c, gcc.dg/vect/vect-4.c, gcc.dg/vect/vect-40.c,
gcc.dg/vect/vect-41.c, gcc.dg/vect/vect-42.c, gcc.dg/vect/vect-43.c,
gcc.dg/vect/vect-44.c, gcc.dg/vect/vect-45.c, gcc.dg/vect/vect-46.c,
gcc.dg/vect/vect-47.c, gcc.dg/vect/vect-48.c, gcc.dg/vect/vect-49.c,
gcc.dg/vect/vect-5.c, gcc.dg/vect/vect-50.c, gcc.dg/vect/vect-51.c,
gcc.dg/vect/vect-52.c, gcc.dg/vect/vect-53.c, gcc.dg/vect/vect-54.c,
gcc.dg/vect/vect-55.c, gcc.dg/vect/vect-56.c, gcc.dg/vect/vect-57.c,
gcc.dg/vect/vect-58.c, gcc.dg/vect/vect-59.c, gcc.dg/vect/vect-6.c,
gcc.dg/vect/vect-60.c, gcc.dg/vect/vect-61.c, gcc.dg/vect/vect-62.c,
gcc.dg/vect/vect-63.c, gcc.dg/vect/vect-64.c, gcc.dg/vect/vect-65.c,
gcc.dg/vect/vect-66.c, gcc.dg/vect/vect-67.c, gcc.dg/vect/vect-68.c,
gcc.dg/vect/vect-69.c, gcc.dg/vect/vect-7.c, gcc.dg/vect/vect-70.c,
gcc.dg/vect/vect-71.c, gcc.dg/vect/vect-72.c, gcc.dg/vect/vect-73.c,
gcc.dg/vect/vect-74.c, gcc.dg/vect/vect-75.c, gcc.dg/vect/vect-76.c,
gcc.dg/vect/vect-77.c, gcc.dg/vect/vect-78.c, gcc.dg/vect/vect-79.c,
gcc.dg/vect/vect-8.c, gcc.dg/vect/vect-80.c, gcc.dg/vect/vect-82.c,
gcc.dg/vect/vect-82_64.c, gcc.dg/vect/vect-83.c,
gcc.dg/vect/vect-83_64.c, gcc.dg/vect/vect-85.c,
gcc.dg/vect/vect-86.c, gcc.dg/vect/vect-87.c, gcc.dg/vect/vect-88.c,
gcc.dg/vect/vect-89.c, gcc.dg/vect/vect-9.c, gcc.dg/vect/vect-96.c,
gcc.dg/vect/vect-97.c, gcc.dg/vect/vect-98.c, gcc.dg/vect/vect-all.c,
gcc.dg/vect/vect-none.c: Ditto.
* treelang/compile/extrafunc.tree, treelang/compile/extravar.tree,
treelang/compile/unsigned.tree: Ditto.
* gcc.dg/altivec-16.c: Use cleanup-saved-temps. * gcc.dg/altivec-16.c: Use cleanup-saved-temps.
* gcc.dg/cpp/direct2s.c: Ditto. * gcc.dg/cpp/direct2s.c: Ditto.
* gcc.dg/cpp/paste4.c: Ditto. * gcc.dg/cpp/paste4.c: Ditto.
......
...@@ -22,3 +22,4 @@ int main() ...@@ -22,3 +22,4 @@ int main()
// The catch block should be optimized away. // The catch block should be optimized away.
// { dg-final { scan-tree-dump-times "-42" 0 "optimized" } } // { dg-final { scan-tree-dump-times "-42" 0 "optimized" } }
// { dg-final { cleanup-tree-dump "optimized" } }
...@@ -11,3 +11,4 @@ S bar (const S &a) ...@@ -11,3 +11,4 @@ S bar (const S &a)
/* Test whether memcpy call has been optimized out. */ /* Test whether memcpy call has been optimized out. */
/* { dg-final { scan-tree-dump-times "memcpy" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "memcpy" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -17,3 +17,4 @@ void q() ...@@ -17,3 +17,4 @@ void q()
} }
/* We shouldnotice nothrow attribute. */ /* We shouldnotice nothrow attribute. */
/* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */ /* { dg-final { scan-tree-dump-times "exception" 0 "cfg"} } */
/* { dg-final { cleanup-tree-dump "cfg" } } */
...@@ -9,5 +9,5 @@ int f(int *a) ...@@ -9,5 +9,5 @@ int f(int *a)
} }
/* There should be only one dereferencing of a. */ /* There should be only one dereferencing of a. */
/* { dg-final { scan-tree-dump-times "\\*a" 1 "vars"} } */ /* { dg-final { scan-tree-dump-times "\\*a" 1 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -10,4 +10,4 @@ int f(int i, unsigned j) ...@@ -10,4 +10,4 @@ int f(int i, unsigned j)
} }
/* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */ /* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -10,4 +10,4 @@ int f(int i, int j) ...@@ -10,4 +10,4 @@ int f(int i, int j)
} }
/* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */ /* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -10,4 +10,4 @@ int foo(int i, int j) ...@@ -10,4 +10,4 @@ int foo(int i, int j)
} }
/* { dg-final { scan-tree-dump-times "i == j" 1 "gimple" } } */ /* { dg-final { scan-tree-dump-times "i == j" 1 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -9,4 +9,4 @@ int &f(int *a) ...@@ -9,4 +9,4 @@ int &f(int *a)
/* There should be no cast as pointer and references are /* There should be no cast as pointer and references are
considered the same type. */ considered the same type. */
/* { dg-final { scan-tree-dump-times "\\(int &\\)" 0 "vars"} } */ /* { dg-final { scan-tree-dump-times "\\(int &\\)" 0 "vars"} } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -58,3 +58,4 @@ void temp() ...@@ -58,3 +58,4 @@ void temp()
/* We should have removed the casts from pointers to references and caused SRA to happen. */ /* We should have removed the casts from pointers to references and caused SRA to happen. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -49,3 +49,4 @@ void test() ...@@ -49,3 +49,4 @@ void test()
/* We should have removed the casts from pointers to references and caused SRA to happen. */ /* We should have removed the casts from pointers to references and caused SRA to happen. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "vars"} } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -15,3 +15,5 @@ void bar() ...@@ -15,3 +15,5 @@ void bar()
for (;;) for (;;)
foo(); foo();
} }
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -47,7 +47,8 @@ main () ...@@ -47,7 +47,8 @@ main ()
/* Check that all instances of __builtin_isnan were folded. */ /* Check that all instances of __builtin_isnan were folded. */
/* { dg-final { scan-tree-dump-times "isnan" 0 "generic" } } */ /* { dg-final { scan-tree-dump-times "isnan" 0 "generic" } } */
/* { dg-final { cleanup-tree-dump "generic" } } */
/* Check that all instances of link_error were subject to DCE. */ /* Check that all instances of link_error were subject to DCE. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -52,4 +52,4 @@ main () ...@@ -52,4 +52,4 @@ main ()
/* Check that all instances of link_error were subject to DCE. */ /* Check that all instances of link_error were subject to DCE. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -44,4 +44,4 @@ main () ...@@ -44,4 +44,4 @@ main ()
/* Check that all instances of link_error were subject to DCE. */ /* Check that all instances of link_error were subject to DCE. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -17,4 +17,4 @@ int main () ...@@ -17,4 +17,4 @@ int main ()
/* { dg-final { scan-tree-dump-times "sqrt" 0 "gimple" } } */ /* { dg-final { scan-tree-dump-times "sqrt" 0 "gimple" } } */
/* { dg-final { scan-tree-dump-times "pow" 0 "gimple" } } */ /* { dg-final { scan-tree-dump-times "pow" 0 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -40,3 +40,4 @@ int i (float x) { ...@@ -40,3 +40,4 @@ int i (float x) {
return fabs(x) == -0.0; return fabs(x) == -0.0;
} }
/* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "generic" } } */ /* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "generic" } } */
/* { dg-final { cleanup-tree-dump "generic" } } */
...@@ -9,3 +9,4 @@ int a (float x) { ...@@ -9,3 +9,4 @@ int a (float x) {
} }
/* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "generic" } } */ /* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "generic" } } */
/* { dg-final { cleanup-tree-dump "generic" } } */
...@@ -9,3 +9,4 @@ int a (float x) { ...@@ -9,3 +9,4 @@ int a (float x) {
} }
/* { dg-final { scan-tree-dump-times "ABS_EXPR" 1 "generic" } } */ /* { dg-final { scan-tree-dump-times "ABS_EXPR" 1 "generic" } } */
/* { dg-final { cleanup-tree-dump "generic" } } */
...@@ -12,3 +12,4 @@ int bar() ...@@ -12,3 +12,4 @@ int bar()
/* Check that we only have one call to foo. */ /* Check that we only have one call to foo. */
/* { dg-final { scan-tree-dump-times "foo" 1 "dom1" } } */ /* { dg-final { scan-tree-dump-times "foo" 1 "dom1" } } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -23,4 +23,5 @@ rs6000_emit_prologue (int i, rs6000_stack_t *info) ...@@ -23,4 +23,5 @@ rs6000_emit_prologue (int i, rs6000_stack_t *info)
commutative operands correctly. */ commutative operands correctly. */
/* { dg-final { scan-tree-dump-times "\\+" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "\\+" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -11,3 +11,4 @@ shit(int a) ...@@ -11,3 +11,4 @@ shit(int a)
/* There should be precisely one call to square. If there is more than one, /* There should be precisely one call to square. If there is more than one,
then the dominator optimizations failed to remove the redundant call. */ then the dominator optimizations failed to remove the redundant call. */
/* { dg-final { scan-tree-dump-times "square" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "square" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -19,3 +19,4 @@ foo(int index) ...@@ -19,3 +19,4 @@ foo(int index)
/* There should be exactly one IF conditional. */ /* There should be exactly one IF conditional. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -41,3 +41,4 @@ get_alias_set (t) ...@@ -41,3 +41,4 @@ get_alias_set (t)
if() to disappear. */ if() to disappear. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -40,4 +40,4 @@ nonlocal_mentioned_p (x) ...@@ -40,4 +40,4 @@ nonlocal_mentioned_p (x)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -13,3 +13,4 @@ foo () ...@@ -13,3 +13,4 @@ foo ()
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -51,3 +51,4 @@ get_alias_set (t) ...@@ -51,3 +51,4 @@ get_alias_set (t)
collapse down to a simple return 0 without any conditionals). */ collapse down to a simple return 0 without any conditionals). */
/* { dg-final { scan-tree-dump-times "if " 1 "cddce"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "cddce"} } */
/* { dg-final { cleanup-tree-dump "cddce" } } */
...@@ -44,3 +44,5 @@ record_component_aliases (type) ...@@ -44,3 +44,5 @@ record_component_aliases (type)
/* There should be one IF conditional. */ /* There should be one IF conditional. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -52,3 +52,4 @@ record_component_aliases (type) ...@@ -52,3 +52,4 @@ record_component_aliases (type)
/* There should be two loads of vec.length. */ /* There should be two loads of vec.length. */
/* { dg-final { scan-tree-dump-times "vec.length" 2 "dom3"} } */ /* { dg-final { scan-tree-dump-times "vec.length" 2 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -52,3 +52,4 @@ record_component_aliases (type) ...@@ -52,3 +52,4 @@ record_component_aliases (type)
/* There should be four loads of vec.length. */ /* There should be four loads of vec.length. */
/* { dg-final { scan-tree-dump-times "vec.length" 4 "dom3"} } */ /* { dg-final { scan-tree-dump-times "vec.length" 4 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -65,3 +65,5 @@ get_alias_set (t,z) ...@@ -65,3 +65,5 @@ get_alias_set (t,z)
/* There should be one load of alias. */ /* There should be one load of alias. */
/* { dg-final { scan-tree-dump-times "->alias" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "->alias" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -57,3 +57,5 @@ get_alias_set (t) ...@@ -57,3 +57,5 @@ get_alias_set (t)
/* There should be one load of alias. */ /* There should be one load of alias. */
/* { dg-final { scan-tree-dump-times "->alias" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "->alias" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -41,3 +41,5 @@ find_base_value (src) ...@@ -41,3 +41,5 @@ find_base_value (src)
/* There should be three loads of ->code. */ /* There should be three loads of ->code. */
/* { dg-final { scan-tree-dump-times "->code" 3 "dom3"} } */ /* { dg-final { scan-tree-dump-times "->code" 3 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -36,4 +36,4 @@ get_alias_set (t) ...@@ -36,4 +36,4 @@ get_alias_set (t)
properly. */ properly. */
/* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -44,4 +44,4 @@ objects_must_conflict_p (t1, t2) ...@@ -44,4 +44,4 @@ objects_must_conflict_p (t1, t2)
/* There should be two assignments of variables to the value zero. */ /* There should be two assignments of variables to the value zero. */
/* { dg-final { scan-tree-dump-times " = 0" 2 "optimized"} } */ /* { dg-final { scan-tree-dump-times " = 0" 2 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -50,3 +50,5 @@ readonly_fields_p (type) ...@@ -50,3 +50,5 @@ readonly_fields_p (type)
/* There should be one load of ->common.code. We currently fail this /* There should be one load of ->common.code. We currently fail this
because we load from ->common.code using different types. */ because we load from ->common.code using different types. */
/* { dg-final { scan-tree-dump-times "common\.code" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "common\.code" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -21,4 +21,4 @@ foo (int attr_kind, unsigned long offset) ...@@ -21,4 +21,4 @@ foo (int attr_kind, unsigned long offset)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -21,3 +21,4 @@ foo (int attr_kind, unsigned long offset) ...@@ -21,3 +21,4 @@ foo (int attr_kind, unsigned long offset)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -64,3 +64,4 @@ store_expr (exp, target, want_value) ...@@ -64,3 +64,4 @@ store_expr (exp, target, want_value)
immediately dominates the comparison in question. We need something immediately dominates the comparison in question. We need something
stronger. */ stronger. */
/* { dg-final { scan-tree-dump-times "target.*!= 0" 0 "dom3" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "target.*!= 0" 0 "dom3" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -14,3 +14,4 @@ bar (int i, int partial, int args_addr) ...@@ -14,3 +14,4 @@ bar (int i, int partial, int args_addr)
/* There should be only one IF conditional since the first does nothing /* There should be only one IF conditional since the first does nothing
useful. */ useful. */
/* { dg-final { scan-tree-dump-times "if " 1 "ccp"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -42,5 +42,4 @@ bar (rtx r) ...@@ -42,5 +42,4 @@ bar (rtx r)
which combines the result of those two tests into a new test which combines the result of those two tests into a new test
must always be true and it is optimized appropriately. */ must always be true and it is optimized appropriately. */
/* { dg-final { scan-tree-dump-times "if " 2 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 2 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -23,3 +23,4 @@ subreg_highpart_offset (outermode, innermode) ...@@ -23,3 +23,4 @@ subreg_highpart_offset (outermode, innermode)
/* There should be one right shift by 2 places. */ /* There should be one right shift by 2 places. */
/* { dg-final { scan-tree-dump-times " >> 2" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times " >> 2" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -18,3 +18,4 @@ foo (reg) ...@@ -18,3 +18,4 @@ foo (reg)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -25,3 +25,4 @@ foo(int n) ...@@ -25,3 +25,4 @@ foo(int n)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -24,4 +24,4 @@ cpp_parse_escape (pstr, limit, wide) ...@@ -24,4 +24,4 @@ cpp_parse_escape (pstr, limit, wide)
/* There should be precisely three IF statements. If there is /* There should be precisely three IF statements. If there is
more than two, then the dominator optimizations failed. */ more than two, then the dominator optimizations failed. */
/* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 3 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -35,3 +35,5 @@ foo () ...@@ -35,3 +35,5 @@ foo ()
/* There should be two IF statements. One for 'current_sym_addr->code == 42'. /* There should be two IF statements. One for 'current_sym_addr->code == 42'.
The other one for '(EXPR)->unchanging'. */ The other one for '(EXPR)->unchanging'. */
/* { dg-final { scan-tree-dump-times "if " 2 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 2 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -40,5 +40,4 @@ foo4 (distance, i, j) ...@@ -40,5 +40,4 @@ foo4 (distance, i, j)
/* There should be no ABS_EXPR. */ /* There should be no ABS_EXPR. */
/* { dg-final { scan-tree-dump-times "ABS_EXPR " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "ABS_EXPR " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -35,3 +35,4 @@ simplify_condition (cond_p) ...@@ -35,3 +35,4 @@ simplify_condition (cond_p)
/* There should be exactly one IF conditional. TBAA is not able to /* There should be exactly one IF conditional. TBAA is not able to
determine that 'decl' and 'cond' can't alias. */ determine that 'decl' and 'cond' can't alias. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -50,3 +50,4 @@ output_location_lists (die) ...@@ -50,3 +50,4 @@ output_location_lists (die)
/* There should be exactly one IF conditional, in output_location_lists. */ /* There should be exactly one IF conditional, in output_location_lists. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -17,3 +17,4 @@ ooof () ...@@ -17,3 +17,4 @@ ooof ()
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -38,3 +38,4 @@ delete_dead_jumptables () ...@@ -38,3 +38,4 @@ delete_dead_jumptables ()
/* There should be no IF statements. */ /* There should be no IF statements. */
/* { dg-final { scan-tree-dump-times "if " 0 "cddce"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "cddce"} } */
/* { dg-final { cleanup-tree-dump "cddce" } } */
...@@ -18,4 +18,4 @@ com(int *blah) ...@@ -18,4 +18,4 @@ com(int *blah)
more than one, then the dominator optimizations failed. */ more than one, then the dominator optimizations failed. */
/* { dg-final { scan-tree-dump-times "\\*blah" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "\\*blah" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -19,4 +19,4 @@ foo (int value) ...@@ -19,4 +19,4 @@ foo (int value)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -20,4 +20,4 @@ foo (int value) ...@@ -20,4 +20,4 @@ foo (int value)
/* There should be one IF conditional. */ /* There should be one IF conditional. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -35,7 +35,9 @@ blah (decl, set) ...@@ -35,7 +35,9 @@ blah (decl, set)
/* There should be precisely one reference to pointer_alias_set. If there is /* There should be precisely one reference to pointer_alias_set. If there is
more than one, then the dominator optimizations failed. */ more than one, then the dominator optimizations failed. */
/* { dg-final { scan-tree-dump-times "pointer_alias_set" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "pointer_alias_set" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
/* The assignment set = -1 in the ELSE clause of the last IF /* The assignment set = -1 in the ELSE clause of the last IF
statement should be removed by the final cleanup phase. */ statement should be removed by the final cleanup phase. */
/* { dg-final { scan-tree-dump-times "set = -1" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "set = -1" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -35,7 +35,9 @@ blah (decl, set) ...@@ -35,7 +35,9 @@ blah (decl, set)
/* There should be precisely one reference to pointer_alias_set. If there is /* There should be precisely one reference to pointer_alias_set. If there is
more than one, then the dominator optimizations failed. */ more than one, then the dominator optimizations failed. */
/* { dg-final { scan-tree-dump-times "pointer_alias_set" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "pointer_alias_set" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
/* The assignment set = -1 in the ELSE clause of the last IF /* The assignment set = -1 in the ELSE clause of the last IF
statement should be removed by the final cleanup phase. */ statement should be removed by the final cleanup phase. */
/* { dg-final { scan-tree-dump-times "set = -1" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "set = -1" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -42,3 +42,4 @@ foo (t, set) ...@@ -42,3 +42,4 @@ foo (t, set)
/* ??? Will fail until we properly distinguish member stores. At /* ??? Will fail until we properly distinguish member stores. At
present the write to type.alias_set kills the previous load. */ present the write to type.alias_set kills the previous load. */
/* { dg-final { scan-tree-dump-times "common.code" 1 "dom3" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "common.code" 1 "dom3" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -39,3 +39,4 @@ mark_constant_function (void) ...@@ -39,3 +39,4 @@ mark_constant_function (void)
This if we find current_function_decl used as an argument, then This if we find current_function_decl used as an argument, then
we have failed. */ we have failed. */
/* { dg-final { scan-tree-dump-times "\\(current_function_decl\\)" 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "\\(current_function_decl\\)" 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -39,5 +39,4 @@ blah (unsigned int regno) ...@@ -39,5 +39,4 @@ blah (unsigned int regno)
eliminate some useless typecasting. The first type cast is needed eliminate some useless typecasting. The first type cast is needed
to convert the unsigned int regno parameter into a struct rtx_def **. */ to convert the unsigned int regno parameter into a struct rtx_def **. */
/* { dg-final { scan-tree-dump-times "\\(struct rtx_def \\* \\*\\)" 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "\\(struct rtx_def \\* \\*\\)" 1 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -20,3 +20,4 @@ int foo (int x, int y) ...@@ -20,3 +20,4 @@ int foo (int x, int y)
/* The addition should be optimized into 'y+x'. */ /* The addition should be optimized into 'y+x'. */
/* { dg-final { scan-tree-dump-times "\[xy\] \\+ \[xy]" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "\[xy\] \\+ \[xy]" 1 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -20,3 +20,4 @@ int foo (int x, int y) ...@@ -20,3 +20,4 @@ int foo (int x, int y)
/* This function should be optimized into 'return y+x'. */ /* This function should be optimized into 'return y+x'. */
/* { dg-final { scan-tree-dump-times "return \[xy\] \\+ \[xy\]" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "return \[xy\] \\+ \[xy\]" 1 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -26,3 +26,4 @@ xxx:; ...@@ -26,3 +26,4 @@ xxx:;
/* Bla should not be optimized away. */ /* Bla should not be optimized away. */
/* { dg-final { scan-tree-dump-times "bla" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "bla" 1 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -27,3 +27,4 @@ int main() ...@@ -27,3 +27,4 @@ int main()
/* The abort() call clearly is unreachable. */ /* The abort() call clearly is unreachable. */
/* { dg-final { scan-tree-dump-times "abort" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "abort" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -16,5 +16,4 @@ findbestextension (int blah, int blah2) ...@@ -16,5 +16,4 @@ findbestextension (int blah, int blah2)
/* The argument to "foo" should be a variable, not a constant. */ /* The argument to "foo" should be a variable, not a constant. */
/* { dg-final { scan-tree-dump-times "foo .defval" 1 "ccp"} } */ /* { dg-final { scan-tree-dump-times "foo .defval" 1 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -21,5 +21,4 @@ main () ...@@ -21,5 +21,4 @@ main ()
/* The argument to "printf" should be a constant, not a variable. */ /* The argument to "printf" should be a constant, not a variable. */
/* { dg-final { scan-tree-dump-times "printf.*, 0" 1 "ccp"} } */ /* { dg-final { scan-tree-dump-times "printf.*, 0" 1 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -31,3 +31,4 @@ voidify_wrapper_expr (tree wrapper) ...@@ -31,3 +31,4 @@ voidify_wrapper_expr (tree wrapper)
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -20,3 +20,4 @@ rgn_rank (rtx insn1, rtx insn2) ...@@ -20,3 +20,4 @@ rgn_rank (rtx insn1, rtx insn2)
/* There should be two IF conditionals. */ /* There should be two IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 2 "dom1" } } */ /* { dg-final { scan-tree-dump-times "if " 2 "dom1" } } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -14,3 +14,4 @@ main(void) ...@@ -14,3 +14,4 @@ main(void)
} }
/* { dg-final { scan-tree-dump-times "V_MAY_DEF" 2 "alias1" } } */ /* { dg-final { scan-tree-dump-times "V_MAY_DEF" 2 "alias1" } } */
/* { dg-final { cleanup-tree-dump "alias1" } } */
...@@ -18,3 +18,4 @@ int main() ...@@ -18,3 +18,4 @@ int main()
/* We should only store to a.i, not load from it. */ /* We should only store to a.i, not load from it. */
/* { dg-final { scan-tree-dump-times "a.i" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "a.i" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -25,3 +25,4 @@ blah (int arf) ...@@ -25,3 +25,4 @@ blah (int arf)
/* There should be one load from entry_exit_blocks[1].pred. */ /* There should be one load from entry_exit_blocks[1].pred. */
/* { dg-final { scan-tree-dump-times "entry_exit_blocks.1..pred" 1 "dom1"} } */ /* { dg-final { scan-tree-dump-times "entry_exit_blocks.1..pred" 1 "dom1"} } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -18,3 +18,4 @@ void foo (int testarray[]) ...@@ -18,3 +18,4 @@ void foo (int testarray[])
/* There should be no link_error calls. */ /* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -25,3 +25,5 @@ void foo (struct s* teststruct) ...@@ -25,3 +25,5 @@ void foo (struct s* teststruct)
/* There should be no link_error calls. */ /* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -19,3 +19,4 @@ void foo (int testarray[]) ...@@ -19,3 +19,4 @@ void foo (int testarray[])
/* There should be no link_error calls. */ /* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -27,3 +27,4 @@ void foo (struct s* r) ...@@ -27,3 +27,4 @@ void foo (struct s* r)
/* There should be no link_error calls. */ /* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -26,3 +26,4 @@ void foo2 (struct s* r, struct s* p) ...@@ -26,3 +26,4 @@ void foo2 (struct s* r, struct s* p)
/* There should be no link_error calls. */ /* There should be no link_error calls. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -26,3 +26,4 @@ struct s foo (struct s r) ...@@ -26,3 +26,4 @@ struct s foo (struct s r)
/* There should be no references to any of "temp_struct*" /* There should be no references to any of "temp_struct*"
temporaries. */ temporaries. */
/* { dg-final { scan-tree-dump-times "temp_struct" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "temp_struct" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -17,3 +17,4 @@ foo (int b) ...@@ -17,3 +17,4 @@ foo (int b)
/* The comparison should be eliminated, there should be no reference /* The comparison should be eliminated, there should be no reference
to link_error. */ to link_error. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -34,3 +34,4 @@ void test55 (int x, int y) ...@@ -34,3 +34,4 @@ void test55 (int x, int y)
by teaching dom to look through && and register all components by teaching dom to look through && and register all components
as true. */ as true. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail { ! powerpc*-*-* } } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail { ! powerpc*-*-* } } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -30,3 +30,4 @@ main(){ ...@@ -30,3 +30,4 @@ main(){
/* Should have no more than two ifs left after straightening. */ /* Should have no more than two ifs left after straightening. */
/* { dg-final { scan-tree-dump-times "if " 2 "phiopt1"} } */ /* { dg-final { scan-tree-dump-times "if " 2 "phiopt1"} } */
/* { dg-final { cleanup-tree-dump "phiopt1" } } */
...@@ -38,3 +38,4 @@ com (rtx insn, int blah) ...@@ -38,3 +38,4 @@ com (rtx insn, int blah)
/* Cddce cannot remove possibly infinite loops and there is no way how to /* Cddce cannot remove possibly infinite loops and there is no way how to
determine whether the loop in can_move_up ends. */ determine whether the loop in can_move_up ends. */
/* { dg-final { scan-tree-dump "if " "cddce"} } */ /* { dg-final { scan-tree-dump "if " "cddce"} } */
/* { dg-final { cleanup-tree-dump "cddce" } } */
...@@ -15,4 +15,4 @@ foo(int *z, int *y, int xx) ...@@ -15,4 +15,4 @@ foo(int *z, int *y, int xx)
/* We should convert two COND_EXPRs into straightline code. */ /* We should convert two COND_EXPRs into straightline code. */
/* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1"} } */ /* { dg-final { scan-tree-dump-times "Deleted dead store" 2 "dse1"} } */
/* { dg-final { cleanup-tree-dump "dse1" } } */
...@@ -24,7 +24,9 @@ void foo(int edx, int eax) ...@@ -24,7 +24,9 @@ void foo(int edx, int eax)
/* Verify that we did a forward propagation. */ /* Verify that we did a forward propagation. */
/* { dg-final { scan-tree-dump-times "Replaced" 1 "forwprop1"} } */ /* { dg-final { scan-tree-dump-times "Replaced" 1 "forwprop1"} } */
/* { dg-final { cleanup-tree-dump "forwprop1" } } */
/* After cddce we should have two IF statements remaining as the other /* After cddce we should have two IF statements remaining as the other
two tests can be threaded. */ two tests can be threaded. */
/* { dg-final { scan-tree-dump-times "if " 2 "cddce"} } */ /* { dg-final { scan-tree-dump-times "if " 2 "cddce"} } */
/* { dg-final { cleanup-tree-dump "cddce" } } */
...@@ -23,3 +23,4 @@ int main() ...@@ -23,3 +23,4 @@ int main()
} }
/* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -14,5 +14,4 @@ foo (unsigned int a) ...@@ -14,5 +14,4 @@ foo (unsigned int a)
/* There should be no casts to a _Bool since we can use the temporary /* There should be no casts to a _Bool since we can use the temporary
holding (a>>5)&1 directly. */ holding (a>>5)&1 directly. */
/* { dg-final { scan-tree-dump-times "\\(_Bool\\)" 0 "forwprop1"} } */ /* { dg-final { scan-tree-dump-times "\\(_Bool\\)" 0 "forwprop1"} } */
/* { dg-final { cleanup-tree-dump "forwprop1" } } */
...@@ -22,3 +22,4 @@ int t(int i) ...@@ -22,3 +22,4 @@ int t(int i)
/* There should be no link_error calls, if there is any, the /* There should be no link_error calls, if there is any, the
optimization has failed */ optimization has failed */
/* { dg-final { scan-tree-dump-times "link_error" 0 "dom2"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "dom2"} } */
/* { dg-final { cleanup-tree-dump "dom2" } } */
...@@ -16,3 +16,4 @@ end: ...@@ -16,3 +16,4 @@ end:
/* Should have no ifs left after straightening. */ /* Should have no ifs left after straightening. */
/* { dg-final { scan-tree-dump-times "if " 0 "phiopt1"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "phiopt1"} } */
/* { dg-final { cleanup-tree-dump "phiopt1" } } */
...@@ -15,3 +15,4 @@ foo2 (distance, i, j) ...@@ -15,3 +15,4 @@ foo2 (distance, i, j)
/* { dg-final { scan-tree-dump-times "ABS_EXPR " 1 "dom3"} } */ /* { dg-final { scan-tree-dump-times "ABS_EXPR " 1 "dom3"} } */
/* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dom3"} } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -18,3 +18,4 @@ void bar (void) ...@@ -18,3 +18,4 @@ void bar (void)
does not alias any other pointer. does not alias any other pointer.
Hence, we must have a VDEF for a before and after the call to foo(). */ Hence, we must have a VDEF for a before and after the call to foo(). */
/* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "alias1"} } */ /* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "alias1"} } */
/* { dg-final { cleanup-tree-dump "alias1" } } */
...@@ -10,3 +10,4 @@ int f(int a, int b) ...@@ -10,3 +10,4 @@ int f(int a, int b)
/* Should have no ifs left after straightening. */ /* Should have no ifs left after straightening. */
/* { dg-final { scan-tree-dump-times "if " 0 "phiopt1"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "phiopt1"} } */
/* { dg-final { cleanup-tree-dump "phiopt1" } } */
...@@ -14,3 +14,4 @@ int t( int i) ...@@ -14,3 +14,4 @@ int t( int i)
/* We should convert one COND_EXPRs into straightline code with ABS. */ /* We should convert one COND_EXPRs into straightline code with ABS. */
/* { dg-final { scan-tree-dump-times "straightline" 1 "phiopt1"} } */ /* { dg-final { scan-tree-dump-times "straightline" 1 "phiopt1"} } */
/* { dg-final { scan-tree-dump-times "ABS_EXPR" 1 "phiopt1"} } */ /* { dg-final { scan-tree-dump-times "ABS_EXPR" 1 "phiopt1"} } */
/* { dg-final { cleanup-tree-dump "phiopt1" } } */
...@@ -14,3 +14,4 @@ foo (unsigned int a, unsigned int b) ...@@ -14,3 +14,4 @@ foo (unsigned int a, unsigned int b)
} }
/* { dg-final { scan-tree-dump-times "bar2" 0 "dom1" } } */ /* { dg-final { scan-tree-dump-times "bar2" 0 "dom1" } } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -18,4 +18,4 @@ foo (unsigned int a, unsigned int b) ...@@ -18,4 +18,4 @@ foo (unsigned int a, unsigned int b)
conditional. */ conditional. */
/* { dg-final { scan-tree-dump-times "if " 1 "dom1" } } */ /* { dg-final { scan-tree-dump-times "if " 1 "dom1" } } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -10,3 +10,4 @@ float foo(float x) ...@@ -10,3 +10,4 @@ float foo(float x)
/* We should *not* fold the arithmetic. */ /* We should *not* fold the arithmetic. */
/* { dg-final { scan-tree-dump-times "0\\.0" 0 "dom2"} } */ /* { dg-final { scan-tree-dump-times "0\\.0" 0 "dom2"} } */
/* { dg-final { cleanup-tree-dump "dom2" } } */
...@@ -25,3 +25,4 @@ main () ...@@ -25,3 +25,4 @@ main ()
/* There should be no G on the RHS of an assignment. */ /* There should be no G on the RHS of an assignment. */
/* { dg-final { scan-tree-dump-times "= G;" 0 "ccp"} } */ /* { dg-final { scan-tree-dump-times "= G;" 0 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -16,3 +16,4 @@ foo () ...@@ -16,3 +16,4 @@ foo ()
operands. But 'p' itself is not volatile and taking the address of operands. But 'p' itself is not volatile and taking the address of
a volatile does not constitute a volatile operand. */ a volatile does not constitute a volatile operand. */
/* { dg-final { scan-tree-dump-times "&x" 0 "dce3"} } */ /* { dg-final { scan-tree-dump-times "&x" 0 "dce3"} } */
/* { dg-final { cleanup-tree-dump "dce3" } } */
...@@ -19,3 +19,4 @@ int foo (int i) ...@@ -19,3 +19,4 @@ int foo (int i)
} }
/* { dg-final { scan-tree-dump-not "VUSE <c" "alias1" } } */ /* { dg-final { scan-tree-dump-not "VUSE <c" "alias1" } } */
/* { dg-final { cleanup-tree-dump "alias1" } } */
...@@ -21,3 +21,4 @@ bar (int i) ...@@ -21,3 +21,4 @@ bar (int i)
} }
/* { dg-final { scan-tree-dump-times "if" 0 "ssa" } } */ /* { dg-final { scan-tree-dump-times "if" 0 "ssa" } } */
/* { dg-final { cleanup-tree-dump "ssa" } } */
...@@ -35,5 +35,4 @@ find_unreachable_blocks (int frobit) ...@@ -35,5 +35,4 @@ find_unreachable_blocks (int frobit)
modify e or e->dest. The net result is that we only need one modify e or e->dest. The net result is that we only need one
load of e->dest. */ load of e->dest. */
/* { dg-final { scan-tree-dump-times "->dest" 1 "dom3" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "->dest" 1 "dom3" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "dom3" } } */
...@@ -11,3 +11,4 @@ foo (int align) ...@@ -11,3 +11,4 @@ foo (int align)
/* We should have optimized away the mod operator before we genericized /* We should have optimized away the mod operator before we genericized
the code. */ the code. */
/* { dg-final { scan-tree-dump-times "%" 0 "generic"} } */ /* { dg-final { scan-tree-dump-times "%" 0 "generic"} } */
/* { dg-final { cleanup-tree-dump "generic" } } */
...@@ -11,3 +11,4 @@ int foo (void) ...@@ -11,3 +11,4 @@ int foo (void)
/* Make sure the optimizers don't introduce overflow where one /* Make sure the optimizers don't introduce overflow where one
did not exist in the original. */ did not exist in the original. */
/* { dg-final { scan-tree-dump-times "-0+4" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "-0+4" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -14,3 +14,4 @@ void f() ...@@ -14,3 +14,4 @@ void f()
/* { dg-final { scan-tree-dump-times "42" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "42" 1 "optimized" } } */
/* { dg-final { scan-tree-dump-times "63" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "63" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -14,3 +14,4 @@ void baz(void) ...@@ -14,3 +14,4 @@ void baz(void)
} }
/* { dg-final { scan-tree-dump-times "asm\[^\\r\\n\]*xyzzy" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "asm\[^\\r\\n\]*xyzzy" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -28,3 +28,5 @@ void test(void) ...@@ -28,3 +28,5 @@ void test(void)
/* In particular, hardreg should *not* appear in the call to bar. */ /* In particular, hardreg should *not* appear in the call to bar. */
/* { dg-final { scan-tree-dump-times "bar \[(\]t\[)\]" 1 "optimized" } } */ /* { dg-final { scan-tree-dump-times "bar \[(\]t\[)\]" 1 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -16,3 +16,4 @@ cleanup (int a, int b) ...@@ -16,3 +16,4 @@ cleanup (int a, int b)
} }
/* Dce should get rid of the initializers and cfgcleanup should elliminate ifs */ /* Dce should get rid of the initializers and cfgcleanup should elliminate ifs */
/* { dg-final { scan-tree-dump-times "if " 0 "dce1"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dce1"} } */
/* { dg-final { cleanup-tree-dump "dce1" } } */
...@@ -10,3 +10,4 @@ C foo(C x, float y) ...@@ -10,3 +10,4 @@ C foo(C x, float y)
} }
/* { dg-final { scan-tree-dump-times "__mul" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "__mul" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -10,3 +10,4 @@ C foo(C x, float y) ...@@ -10,3 +10,4 @@ C foo(C x, float y)
} }
/* { dg-final { scan-tree-dump-times "__div" 0 "optimized" } } */ /* { dg-final { scan-tree-dump-times "__div" 0 "optimized" } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -13,3 +13,4 @@ void bla (void) ...@@ -13,3 +13,4 @@ void bla (void)
/* There should be a header duplicated. */ /* There should be a header duplicated. */
/* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch"} } */ /* { dg-final { scan-tree-dump-times "Duplicating header" 1 "ch"} } */
/* { dg-final { cleanup-tree-dump "ch" } } */
...@@ -34,3 +34,4 @@ int main1 () ...@@ -34,3 +34,4 @@ int main1 ()
/* { dg-final { scan-tree-dump-times "Applying if-conversion" 1 "ifcvt" } } */ /* { dg-final { scan-tree-dump-times "Applying if-conversion" 1 "ifcvt" } } */
/* { dg-final { cleanup-tree-dump "ifcvt" } } */
...@@ -33,4 +33,4 @@ void foo(const int * __restrict__ zr_in, ...@@ -33,4 +33,4 @@ void foo(const int * __restrict__ zr_in,
/* { dg-final { scan-tree-dump-times "Applying if-conversion" 1 "ifcvt" } } */ /* { dg-final { scan-tree-dump-times "Applying if-conversion" 1 "ifcvt" } } */
/* { dg-final { cleanup-tree-dump "ifcvt" } } */
...@@ -13,6 +13,8 @@ char f(char *a) ...@@ -13,6 +13,8 @@ char f(char *a)
/* test_function should be called twice as the inline-asm changes memory. */ /* test_function should be called twice as the inline-asm changes memory. */
/* { dg-final { scan-tree-dump-times "test_function" 2 "optimized"} } */ /* { dg-final { scan-tree-dump-times "test_function" 2 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
/* There should a V_MAY_DEF for the inline-asm. */ /* There should a V_MAY_DEF for the inline-asm. */
/* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "alias1"} } */ /* { dg-final { scan-tree-dump-times "V_MAY_DEF" 1 "alias1"} } */
/* { dg-final { cleanup-tree-dump "alias1" } } */
...@@ -15,3 +15,4 @@ void f(char *a) ...@@ -15,3 +15,4 @@ void f(char *a)
/* There should a V_MAY_DEF for the inline-asm and one for the link_error. */ /* There should a V_MAY_DEF for the inline-asm and one for the link_error. */
/* { dg-final { scan-tree-dump-times "V_MAY_DEF" 2 "alias1"} } */ /* { dg-final { scan-tree-dump-times "V_MAY_DEF" 2 "alias1"} } */
/* { dg-final { cleanup-tree-dump "alias1" } } */
...@@ -22,8 +22,11 @@ void xxx(void) ...@@ -22,8 +22,11 @@ void xxx(void)
/* We should be able to find out that the loop iterates four times and unroll it completely. */ /* We should be able to find out that the loop iterates four times and unroll it completely. */
/* { dg-final { scan-tree-dump-times "Added canonical iv to loop 1, 4 iterations" 1 "ivcanon"} } */ /* { dg-final { scan-tree-dump-times "Added canonical iv to loop 1, 4 iterations" 1 "ivcanon"} } */
/* { dg-final { cleanup-tree-dump "ivcanon" } } */
/* { dg-final { scan-tree-dump-times "Unrolled loop 1 completely" 1 "cunroll"} } */ /* { dg-final { scan-tree-dump-times "Unrolled loop 1 completely" 1 "cunroll"} } */
/* { dg-final { cleanup-tree-dump "cunroll" } } */
/* { dg-final { scan-tree-dump-times "foo" 5 "vars"} } */ /* { dg-final { scan-tree-dump-times "foo" 5 "vars"} } */
/* { dg-final { cleanup-tree-dump "vars" } } */
/* Because hppa and ia64 targets include an external declaration for foo as /* Because hppa and ia64 targets include an external declaration for foo as
well as the calls we need to look for something more specific then just well as the calls we need to look for something more specific then just
......
...@@ -35,3 +35,5 @@ void xxx(void) ...@@ -35,3 +35,5 @@ void xxx(void)
/* { dg-final { scan-tree-dump-times "1700" 1 "vars" } } */ /* { dg-final { scan-tree-dump-times "1700" 1 "vars" } } */
/* { dg-final { scan-tree-dump-times "iter" 0 "vars" } } */ /* { dg-final { scan-tree-dump-times "iter" 0 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -25,3 +25,5 @@ void xxx(void) ...@@ -25,3 +25,5 @@ void xxx(void)
/* And original induction variable should be preserved. */ /* And original induction variable should be preserved. */
/* { dg-final { scan-tree-dump-times "int iter" 1 "vars" } } */ /* { dg-final { scan-tree-dump-times "int iter" 1 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -39,3 +39,5 @@ void xxx(void) ...@@ -39,3 +39,5 @@ void xxx(void)
/* And the original induction variable should be eliminated. */ /* And the original induction variable should be eliminated. */
/* { dg-final { scan-tree-dump-times "iter" 0 "vars" } } */ /* { dg-final { scan-tree-dump-times "iter" 0 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -24,3 +24,5 @@ void xxx(void) ...@@ -24,3 +24,5 @@ void xxx(void)
/* And the use of jter should be replaced by iter + 2 */ /* And the use of jter should be replaced by iter + 2 */
/* { dg-final { scan-tree-dump-times " \\+ 2" 1 "vars" } } */ /* { dg-final { scan-tree-dump-times " \\+ 2" 1 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -20,7 +20,9 @@ void xxx(void) ...@@ -20,7 +20,9 @@ void xxx(void)
/* Loop should be unswitched. */ /* Loop should be unswitched. */
/* { dg-final { scan-tree-dump-times "Unswitching loop" 1 "unswitch" } } */ /* { dg-final { scan-tree-dump-times "Unswitching loop" 1 "unswitch" } } */
/* { dg-final { cleanup-tree-dump "unswitch" } } */
/* In effect there should be exactly three conditional jumps in the final program. */ /* In effect there should be exactly three conditional jumps in the final program. */
/* { dg-final { scan-tree-dump-times "else" 3 "vars" } } */ /* { dg-final { scan-tree-dump-times "else" 3 "vars" } } */
/* { dg-final { cleanup-tree-dump "vars" } } */
...@@ -32,3 +32,4 @@ int xxx (void) ...@@ -32,3 +32,4 @@ int xxx (void)
with k = 0 may be invalid. */ with k = 0 may be invalid. */
/* { dg-final { scan-tree-dump-times "Moving statement" 2 "lim" } } */ /* { dg-final { scan-tree-dump-times "Moving statement" 2 "lim" } } */
/* { dg-final { cleanup-tree-dump "lim" } } */
...@@ -20,3 +20,4 @@ int foo(int N, int *res) ...@@ -20,3 +20,4 @@ int foo(int N, int *res)
/* { dg-final { scan-tree-dump-times "converted loop nest to perfect /* { dg-final { scan-tree-dump-times "converted loop nest to perfect
loop nest" 1 "ltrans"} } */ loop nest" 1 "ltrans"} } */
/* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */ /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */
/* { dg-final { cleanup-tree-dump "ltrans" } } */
...@@ -22,3 +22,4 @@ int foo(int N, int *res) ...@@ -22,3 +22,4 @@ int foo(int N, int *res)
} }
/* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} { /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} {
xfail *-*-*} } */ xfail *-*-*} } */
/* { dg-final { cleanup-tree-dump "ltrans" } } */
...@@ -17,3 +17,4 @@ int foo(int N, int *res) ...@@ -17,3 +17,4 @@ int foo(int N, int *res)
} }
/* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */ /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */
/* { dg-final { cleanup-tree-dump "ltrans" } } */
...@@ -16,3 +16,4 @@ int foo(int N, int *res) ...@@ -16,3 +16,4 @@ int foo(int N, int *res)
} }
/* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */ /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */
/* { dg-final { cleanup-tree-dump "ltrans" } } */
...@@ -16,3 +16,4 @@ int main(void) ...@@ -16,3 +16,4 @@ int main(void)
/* { dg-final { scan-tree-dump-times "Linear expression: constant: 1 invariants: denominator: 1" 1 "ltrans" } } */ /* { dg-final { scan-tree-dump-times "Linear expression: constant: 1 invariants: denominator: 1" 1 "ltrans" } } */
/* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */ /* { dg-final { scan-tree-dump-times "transformed loop" 1 "ltrans"} } */
/* { dg-final { cleanup-tree-dump "ltrans" } } */
...@@ -23,3 +23,4 @@ foo (int a, int b) ...@@ -23,3 +23,4 @@ foo (int a, int b)
} }
/* { dg-final { scan-tree-dump-times "PHI" 1 "mergephi"} } */ /* { dg-final { scan-tree-dump-times "PHI" 1 "mergephi"} } */
/* { dg-final { cleanup-tree-dump "mergephi" } } */
...@@ -10,4 +10,4 @@ int f(int i, unsigned j) ...@@ -10,4 +10,4 @@ int f(int i, unsigned j)
} }
/* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */ /* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -10,4 +10,4 @@ int f(int i, int j) ...@@ -10,4 +10,4 @@ int f(int i, int j)
} }
/* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */ /* { dg-final { scan-tree-dump-times "i == j" 0 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -10,4 +10,4 @@ int foo(int i, int j) ...@@ -10,4 +10,4 @@ int foo(int i, int j)
} }
/* { dg-final { scan-tree-dump-times "i == j" 1 "gimple" } } */ /* { dg-final { scan-tree-dump-times "i == j" 1 "gimple" } } */
/* { dg-final { cleanup-tree-dump "gimple" } } */
...@@ -13,3 +13,4 @@ int test() ...@@ -13,3 +13,4 @@ int test()
/* The load from p->addr should not disappear. */ /* The load from p->addr should not disappear. */
/* { dg-final { scan-tree-dump-times "\->addr" 1 "optimized"} } */ /* { dg-final { scan-tree-dump-times "\->addr" 1 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -23,3 +23,4 @@ foo (int a, struct T b) ...@@ -23,3 +23,4 @@ foo (int a, struct T b)
/* Make sure that .GLOBAL_VAR is not created when there are no /* Make sure that .GLOBAL_VAR is not created when there are no
clobbering calls. */ clobbering calls. */
/* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } */ /* { dg-final { scan-tree-dump-times "GLOBAL_VAR" 0 "ssa"} } */
/* { dg-final { cleanup-tree-dump "ssa" } } */
...@@ -70,3 +70,4 @@ copystruct111111 (teststruct param) ...@@ -70,3 +70,4 @@ copystruct111111 (teststruct param)
/* There should be no referenc to link_error. */ /* There should be no referenc to link_error. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -23,3 +23,4 @@ copystruct11 (teststruct *param) ...@@ -23,3 +23,4 @@ copystruct11 (teststruct *param)
/* There should be no reference to link_error. */ /* There should be no reference to link_error. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -25,3 +25,4 @@ copystruct1 (void) ...@@ -25,3 +25,4 @@ copystruct1 (void)
/* There should be no reference to link_error. */ /* There should be no reference to link_error. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -72,3 +72,4 @@ void test11111 (int p, int q, int r) ...@@ -72,3 +72,4 @@ void test11111 (int p, int q, int r)
/* There should be not link_error calls, if there is any the /* There should be not link_error calls, if there is any the
optimization has failed */ optimization has failed */
/* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -31,3 +31,4 @@ middle: ...@@ -31,3 +31,4 @@ middle:
/* There should be no calls to strlen. */ /* There should be no calls to strlen. */
/* { dg-final { scan-tree-dump-times "strlen" 0 "fab"} } */ /* { dg-final { scan-tree-dump-times "strlen" 0 "fab"} } */
/* { dg-final { cleanup-tree-dump "fab" } } */
...@@ -39,3 +39,4 @@ int test1111 (int param) ...@@ -39,3 +39,4 @@ int test1111 (int param)
/* All ifs should be eliminated. */ /* All ifs should be eliminated. */
/* { dg-final { scan-tree-dump-times "if" 0 "optimized" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "if" 0 "optimized" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -169,3 +169,4 @@ int test99999 (void) ...@@ -169,3 +169,4 @@ int test99999 (void)
/* There should be not link_error calls, if there is any the /* There should be not link_error calls, if there is any the
optimization has failed */ optimization has failed */
/* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -132,3 +132,4 @@ int* test666 (int * __restrict__ rp1, int * __restrict__ rp2, int *p1) ...@@ -132,3 +132,4 @@ int* test666 (int * __restrict__ rp1, int * __restrict__ rp2, int *p1)
/* ??? While we indeed don't handle some of these, a couple of the /* ??? While we indeed don't handle some of these, a couple of the
restrict tests are incorrect. */ restrict tests are incorrect. */
/* { dg-final { scan-tree-dump-times "link_error" 0 "ccp" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "ccp" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -24,4 +24,4 @@ int test7 (int a) ...@@ -24,4 +24,4 @@ int test7 (int a)
/* There should be not link_error calls, if there is any the /* There should be not link_error calls, if there is any the
optimization has failed */ optimization has failed */
/* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -52,3 +52,4 @@ test99999 (int *arr, int j) ...@@ -52,3 +52,4 @@ test99999 (int *arr, int j)
/* There should be no link_error calls, if there is any, the /* There should be no link_error calls, if there is any, the
optimization has failed */ optimization has failed */
/* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */ /* { dg-final { scan-tree-dump-times "link_error" 0 "ccp"} } */
/* { dg-final { cleanup-tree-dump "ccp" } } */
...@@ -10,3 +10,4 @@ q() ...@@ -10,3 +10,4 @@ q()
} }
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */
/* { dg-final { cleanup-tree-dump "dce3" } } */
...@@ -14,3 +14,4 @@ q() ...@@ -14,3 +14,4 @@ q()
} }
/* There should be no IF conditionals. */ /* There should be no IF conditionals. */
/* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */ /* { dg-final { scan-tree-dump-times "if " 0 "dce3"} } */
/* { dg-final { cleanup-tree-dump "dce3" } } */
...@@ -27,3 +27,5 @@ int main(void) ...@@ -27,3 +27,5 @@ int main(void)
/* And one if (for the exit condition of the loop): */ /* And one if (for the exit condition of the loop): */
/* { dg-final { scan-tree-dump-times "if " 1 "cddce"} } */ /* { dg-final { scan-tree-dump-times "if " 1 "cddce"} } */
/* { dg-final { cleanup-tree-dump "cddce" } } */
...@@ -15,3 +15,4 @@ ccp(int b) ...@@ -15,3 +15,4 @@ ccp(int b)
} }
/* We should propagate constant 4 into return. */ /* We should propagate constant 4 into return. */
/* { dg-final { scan-tree-dump-times "Replaced.*with constant '4'" 1 "dom1"} } */ /* { dg-final { scan-tree-dump-times "Replaced.*with constant '4'" 1 "dom1"} } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -13,3 +13,4 @@ threading(int a,int b) ...@@ -13,3 +13,4 @@ threading(int a,int b)
} }
/* We should thread the jump twice and eliminate it. */ /* We should thread the jump twice and eliminate it. */
/* { dg-final { scan-tree-dump-times "Replaced.* t " 1 "dom1"} } */ /* { dg-final { scan-tree-dump-times "Replaced.* t " 1 "dom1"} } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -15,3 +15,4 @@ threading(int a,int b) ...@@ -15,3 +15,4 @@ threading(int a,int b)
} }
/* We should thread the jump twice and elliminate it. */ /* We should thread the jump twice and elliminate it. */
/* { dg-final { scan-tree-dump-times "Threaded" 2 "dom1"} } */ /* { dg-final { scan-tree-dump-times "Threaded" 2 "dom1"} } */
/* { dg-final { cleanup-tree-dump "dom1" } } */
...@@ -18,3 +18,4 @@ int main(int argc, char **argv) ...@@ -18,3 +18,4 @@ int main(int argc, char **argv)
/* We should eliminate one evaluation of b + c along the main path, /* We should eliminate one evaluation of b + c along the main path,
causing one reload. */ causing one reload. */
/* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */ /* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...@@ -18,3 +18,4 @@ int motion_test1(int data, int data_0, int data_3, int v) ...@@ -18,3 +18,4 @@ int motion_test1(int data, int data_0, int data_3, int v)
/* We should eliminate one computation of data_0 + data_3 along the /* We should eliminate one computation of data_0 + data_3 along the
main path, causing one reload. */ main path, causing one reload. */
/* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */ /* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...@@ -12,3 +12,4 @@ unsigned foo1 (unsigned a, unsigned b) ...@@ -12,3 +12,4 @@ unsigned foo1 (unsigned a, unsigned b)
} }
/* We should eliminate both 4*b and 4*a from the main body of the loop */ /* We should eliminate both 4*b and 4*a from the main body of the loop */
/* { dg-final { scan-tree-dump-times "Eliminated:2" 1 "pre"} } */ /* { dg-final { scan-tree-dump-times "Eliminated:2" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...@@ -12,3 +12,4 @@ int main(void) ...@@ -12,3 +12,4 @@ int main(void)
/* We should eliminate the x+1 computation from this routine, replacing /* We should eliminate the x+1 computation from this routine, replacing
it with a phi of 3, 4 */ it with a phi of 3, 4 */
/* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */ /* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...@@ -13,3 +13,4 @@ foo (int i) ...@@ -13,3 +13,4 @@ foo (int i)
/* We should detect that a+b is the same along both edges, and replace it with /* We should detect that a+b is the same along both edges, and replace it with
5 */ 5 */
/* { dg-final { scan-tree-dump-times "Constified:1" 1 "pre"} } */ /* { dg-final { scan-tree-dump-times "Constified:1" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...@@ -11,3 +11,4 @@ int main(int x) ...@@ -11,3 +11,4 @@ int main(int x)
/* We should eliminate one evaluation of x + 1 along the x = 2 path, /* We should eliminate one evaluation of x + 1 along the x = 2 path,
causing one elimination. */ causing one elimination. */
/* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */ /* { dg-final { scan-tree-dump-times "Eliminated:1" 1 "pre"} } */
/* { dg-final { cleanup-tree-dump "pre" } } */
...@@ -7,4 +7,5 @@ foo (int a, int b, int c) ...@@ -7,4 +7,5 @@ foo (int a, int b, int c)
return c ? x : a; return c ? x : a;
} }
/* We should sink the x = a * b calculation into the branch that returns x. */ /* We should sink the x = a * b calculation into the branch that returns x. */
/* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink"} } */ /* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink" } } */
/* { dg-final { cleanup-tree-dump "sink" } } */
...@@ -9,4 +9,5 @@ bar (int a, int b, int c) ...@@ -9,4 +9,5 @@ bar (int a, int b, int c)
return y; return y;
} }
/* We should sink the x = a * b calculation into the else branch */ /* We should sink the x = a * b calculation into the else branch */
/* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink"} } */ /* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink" } } */
/* { dg-final { cleanup-tree-dump "sink" } } */
...@@ -12,4 +12,5 @@ main (int argc) ...@@ -12,4 +12,5 @@ main (int argc)
} }
} }
/* We should sink the a = argc + 1 calculation into the if branch */ /* We should sink the a = argc + 1 calculation into the if branch */
/* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink"} } */ /* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink" } } */
/* { dg-final { cleanup-tree-dump "sink" } } */
...@@ -17,4 +17,5 @@ main (int argc) ...@@ -17,4 +17,5 @@ main (int argc)
foo2 (a); foo2 (a);
} }
/* We should sink the first a = b + c calculation into the else branch */ /* We should sink the first a = b + c calculation into the else branch */
/* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink"} } */ /* { dg-final { scan-tree-dump-times "Sunk statements:1" 1 "sink" } } */
/* { dg-final { cleanup-tree-dump "sink" } } */
...@@ -17,3 +17,4 @@ t(int a) ...@@ -17,3 +17,4 @@ t(int a)
return r; return r;
} }
/* { dg-final { scan-tree-dump-times "Found tail call" 1 "tailc"} } */ /* { dg-final { scan-tree-dump-times "Found tail call" 1 "tailc"} } */
/* { dg-final { cleanup-tree-dump "tailc" } } */
...@@ -21,3 +21,4 @@ foo (int *x) ...@@ -21,3 +21,4 @@ foo (int *x)
variables, they ought to be ignored. There should be two tail variables, they ought to be ignored. There should be two tail
calls here. */ calls here. */
/* { dg-final { scan-tree-dump-times "Found tail call" 2 "tailc"} } */ /* { dg-final { scan-tree-dump-times "Found tail call" 2 "tailc"} } */
/* { dg-final { cleanup-tree-dump "tailc" } } */
...@@ -9,3 +9,4 @@ t(int a) ...@@ -9,3 +9,4 @@ t(int a)
return 0; return 0;
} }
/* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr"} } */ /* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr"} } */
/* { dg-final { cleanup-tree-dump "tailr" } } */
...@@ -10,3 +10,4 @@ t(char *a) ...@@ -10,3 +10,4 @@ t(char *a)
return 0; return 0;
} }
/* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr"} } */ /* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr"} } */
/* { dg-final { cleanup-tree-dump "tailr" } } */
...@@ -13,3 +13,4 @@ t(int a) ...@@ -13,3 +13,4 @@ t(int a)
return r; return r;
} }
/* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr"} } */ /* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 1 "tailr"} } */
/* { dg-final { cleanup-tree-dump "tailr" } } */
...@@ -15,3 +15,4 @@ t(int a) ...@@ -15,3 +15,4 @@ t(int a)
return r; return r;
} }
/* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 2 "tailr"} } */ /* { dg-final { scan-tree-dump-times "Eliminated tail recursion" 2 "tailr"} } */
/* { dg-final { cleanup-tree-dump "tailr" } } */
...@@ -73,3 +73,5 @@ int main(void) ...@@ -73,3 +73,5 @@ int main(void)
/* There is one recursive call to fib. */ /* There is one recursive call to fib. */
/* { dg-final { scan-tree-dump-times "\\mfib\\M" 5 "optimized"} } */ /* { dg-final { scan-tree-dump-times "\\mfib\\M" 5 "optimized"} } */
/* { dg-final { cleanup-tree-dump "optimized" } } */
...@@ -14,3 +14,4 @@ foo (void) ...@@ -14,3 +14,4 @@ foo (void)
GIMPLE lowering, at the cost of an extra statement, label, GIMPLE lowering, at the cost of an extra statement, label,
and basic block. */ and basic block. */
/* { dg-final { scan-tree-dump-times "goto" 3 "useless"} } */ /* { dg-final { scan-tree-dump-times "goto" 3 "useless"} } */
/* { dg-final { cleanup-tree-dump "useless" } } */
...@@ -19,3 +19,4 @@ void square(const afloat * __restrict__ a, ...@@ -19,3 +19,4 @@ void square(const afloat * __restrict__ a,
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"} } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"} } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -11,3 +11,4 @@ void bar(int j) ...@@ -11,3 +11,4 @@ void bar(int j)
if (k) foo(); if (k) foo();
} }
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -34,3 +34,4 @@ int main (void) ...@@ -34,3 +34,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -14,3 +14,4 @@ _M_fill_insert(unsigned int __n) ...@@ -14,3 +14,4 @@ _M_fill_insert(unsigned int __n)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -32,3 +32,4 @@ int main (void) ...@@ -32,3 +32,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -100,3 +100,4 @@ foo (int n) ...@@ -100,3 +100,4 @@ foo (int n)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -24,3 +24,4 @@ int foo () ...@@ -24,3 +24,4 @@ int foo ()
} }
/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -36,3 +36,4 @@ int main (void) ...@@ -36,3 +36,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -40,3 +40,4 @@ int main (void) ...@@ -40,3 +40,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -38,3 +38,4 @@ int main (void) ...@@ -38,3 +38,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_max } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_max } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -34,3 +34,4 @@ int main (void) ...@@ -34,3 +34,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -35,3 +35,4 @@ int main (void) ...@@ -35,3 +35,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -34,3 +34,4 @@ int main (void) ...@@ -34,3 +34,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -126,3 +126,4 @@ int main (void) ...@@ -126,3 +126,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -125,3 +125,4 @@ int main (void) ...@@ -125,3 +125,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -125,3 +125,4 @@ int main (void) ...@@ -125,3 +125,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -35,3 +35,4 @@ int main (void) ...@@ -35,3 +35,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -97,3 +97,4 @@ int main (void) ...@@ -97,3 +97,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail vect_no_bitwise } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -126,3 +126,4 @@ int main (void) ...@@ -126,3 +126,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -97,3 +97,4 @@ int main (void) ...@@ -97,3 +97,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -125,4 +125,4 @@ int main (void) ...@@ -125,4 +125,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -125,4 +125,4 @@ int main (void) ...@@ -125,4 +125,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -51,3 +51,4 @@ int main (void) ...@@ -51,3 +51,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -37,4 +37,4 @@ int main (void) ...@@ -37,4 +37,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -43,3 +43,4 @@ int main (void) ...@@ -43,3 +43,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -40,4 +40,4 @@ int main (void) ...@@ -40,4 +40,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -46,4 +46,4 @@ int main (void) ...@@ -46,4 +46,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -47,6 +47,4 @@ int main (void) ...@@ -47,6 +47,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -62,3 +62,4 @@ int main (void) ...@@ -62,3 +62,4 @@ int main (void)
/* Need misalignment support, or cgraph to delay emitting the arrays until /* Need misalignment support, or cgraph to delay emitting the arrays until
after vectorization can force-align them. */ after vectorization can force-align them. */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -88,3 +88,4 @@ int main (void) ...@@ -88,3 +88,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -36,3 +36,4 @@ int main (void) ...@@ -36,3 +36,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -39,3 +39,4 @@ int main (void) ...@@ -39,3 +39,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -37,3 +37,4 @@ int main (void) ...@@ -37,3 +37,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -46,3 +46,4 @@ int main (void) ...@@ -46,3 +46,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -43,3 +43,4 @@ int main (void) ...@@ -43,3 +43,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -57,3 +57,4 @@ int main (void) ...@@ -57,3 +57,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -36,3 +36,4 @@ int main (void) ...@@ -36,3 +36,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -37,3 +37,4 @@ int main (void) ...@@ -37,3 +37,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -51,3 +51,4 @@ int main (void) ...@@ -51,3 +51,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"} } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"} } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -52,3 +52,4 @@ int main (void) ...@@ -52,3 +52,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -54,3 +54,4 @@ int main (void) ...@@ -54,3 +54,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"} } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"} } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -55,3 +55,4 @@ int main (void) ...@@ -55,3 +55,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -57,3 +57,4 @@ int main (void) ...@@ -57,3 +57,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -50,3 +50,4 @@ int main (void) ...@@ -50,3 +50,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -52,3 +52,4 @@ int main (void) ...@@ -52,3 +52,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -55,3 +55,4 @@ int main (void) ...@@ -55,3 +55,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -51,3 +51,4 @@ int main (void) ...@@ -51,3 +51,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -52,3 +52,4 @@ int main (void) ...@@ -52,3 +52,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -50,3 +50,4 @@ int main (void) ...@@ -50,3 +50,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -54,3 +54,4 @@ int main (void) ...@@ -54,3 +54,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -52,3 +52,4 @@ int main (void) ...@@ -52,3 +52,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -51,3 +51,4 @@ int main (void) ...@@ -51,3 +51,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -51,3 +51,4 @@ int main (void) ...@@ -51,3 +51,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -54,3 +54,4 @@ int main (void) ...@@ -54,3 +54,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -52,3 +52,4 @@ int main (void) ...@@ -52,3 +52,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -54,5 +54,4 @@ int main (void) ...@@ -54,5 +54,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -54,3 +54,4 @@ int main (void) ...@@ -54,3 +54,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -64,3 +64,4 @@ int main (void) ...@@ -64,3 +64,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -42,3 +42,4 @@ int main (void) ...@@ -42,3 +42,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -83,3 +83,4 @@ int main (void) ...@@ -83,3 +83,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -80,3 +80,4 @@ int main (void) ...@@ -80,3 +80,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -79,3 +79,4 @@ int main (void) ...@@ -79,3 +79,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -43,3 +43,4 @@ int main (void) ...@@ -43,3 +43,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -87,3 +87,4 @@ int main (void) ...@@ -87,3 +87,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -114,3 +114,4 @@ int main (void) ...@@ -114,3 +114,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -48,3 +48,4 @@ int main (void) ...@@ -48,3 +48,4 @@ int main (void)
/* Fails for targets that don't vectorize PLUS. */ /* Fails for targets that don't vectorize PLUS. */
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -64,4 +64,4 @@ int main (void) ...@@ -64,4 +64,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -36,4 +36,4 @@ int main (void) ...@@ -36,4 +36,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -43,4 +43,4 @@ int main (void) ...@@ -43,4 +43,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -38,3 +38,4 @@ int main (void) ...@@ -38,3 +38,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -42,3 +42,4 @@ int main (void) ...@@ -42,3 +42,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -42,4 +42,4 @@ int main (void) ...@@ -42,4 +42,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -69,4 +69,4 @@ int main (void) ...@@ -69,4 +69,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -42,3 +42,4 @@ int main (void) ...@@ -42,3 +42,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { lp64 || vect_no_align } } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { lp64 || vect_no_align } } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail { lp64 || vect_no_align } } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail { lp64 || vect_no_align } } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -43,3 +43,4 @@ int main (void) ...@@ -43,3 +43,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { lp64 || vect_no_align } } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { lp64 || vect_no_align } } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail { lp64 || vect_no_align } } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail { lp64 || vect_no_align } } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -43,3 +43,4 @@ int main (void) ...@@ -43,3 +43,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -37,3 +37,4 @@ int main (void) ...@@ -37,3 +37,4 @@ int main (void)
/* Need misalignment support, or cgraph to delay emitting the arrays until /* Need misalignment support, or cgraph to delay emitting the arrays until
after vectorization can force-align them. */ after vectorization can force-align them. */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -45,3 +45,4 @@ int main (void) ...@@ -45,3 +45,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 2 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -33,3 +33,4 @@ int main (void) ...@@ -33,3 +33,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -34,3 +34,4 @@ int main (void) ...@@ -34,3 +34,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -33,3 +33,4 @@ int main (void) ...@@ -33,3 +33,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -34,3 +34,4 @@ int main (void) ...@@ -34,3 +34,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -47,3 +47,4 @@ int main (void) ...@@ -47,3 +47,4 @@ int main (void)
/* Fails for targets that don't vectorize PLUS (e.g alpha). */ /* Fails for targets that don't vectorize PLUS (e.g alpha). */
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -49,3 +49,4 @@ int main (void) ...@@ -49,3 +49,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -53,3 +53,4 @@ int main (void) ...@@ -53,3 +53,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail alpha*-*-* } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail alpha*-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -46,3 +46,4 @@ int main (void) ...@@ -46,3 +46,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -35,3 +35,4 @@ int main (void) ...@@ -35,3 +35,4 @@ int main (void)
} }
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -40,3 +40,4 @@ int main (void) ...@@ -40,3 +40,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -56,3 +56,4 @@ int main (void) ...@@ -56,3 +56,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -38,3 +38,4 @@ int main (void) ...@@ -38,3 +38,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */ /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times "not vectorized: complicated access pattern" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "not vectorized: complicated access pattern" 1 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -215,3 +215,4 @@ int main (void) ...@@ -215,3 +215,4 @@ int main (void)
/* { dg-final { scan-tree-dump-times "vectorized 10 loops" 1 "vect" } } */ /* { dg-final { scan-tree-dump-times "vectorized 10 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */
/* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */ /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -182,3 +182,4 @@ foo (int n) ...@@ -182,3 +182,4 @@ foo (int n)
/* { dg-final { scan-tree-dump-times "vectorized " 3 "vect"} } */ /* { dg-final { scan-tree-dump-times "vectorized " 3 "vect"} } */
/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 3 "vect"} } */ /* { dg-final { scan-tree-dump-times "vectorized 0 loops" 3 "vect"} } */
/* { dg-final { cleanup-tree-dump "vect" } } */
...@@ -22,3 +22,4 @@ ext ...@@ -22,3 +22,4 @@ ext
} }
// { dg-final { scan-tree-dump-not "baz" "optimized" } } // { dg-final { scan-tree-dump-not "baz" "optimized" } }
// { dg-final { cleanup-tree-dump "optimized" } }
...@@ -11,3 +11,4 @@ bar ...@@ -11,3 +11,4 @@ bar
return aaa + ddd + +3; return aaa + ddd + +3;
} }
// { dg-final { scan-tree-dump-not "ccc" "vars" } } // { dg-final { scan-tree-dump-not "ccc" "vars" } }
// { dg-final { cleanup-tree-dump "vars" } }
...@@ -17,3 +17,4 @@ main ...@@ -17,3 +17,4 @@ main
return +1; return +1;
} }
// { dg-final { scan-tree-dump-not "\\\(int\\\)" "generic" } } // { dg-final { scan-tree-dump-not "\\\(int\\\)" "generic" } }
// { dg-final { cleanup-tree-dump "generic" } }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment