This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[obvious] Make scan-assembler-times require code generation


scan-assembler and scan-assembler-not force -ffat-lto-objects, so that
there'll always be some assembly code to scan.  This patch extends that
to scan-assembler-times.

Tested on mipsisa64-elf, mips64-elf and mips64-linux-gnu.  Applied
as obvious.

Richard


gcc/testsuite/
	* lib/scanasm.exp (scan-assembler-times_required_options): New proc.

Index: gcc/testsuite/lib/scanasm.exp
===================================================================
--- gcc/testsuite/lib/scanasm.exp	2012-08-26 10:47:25.000000000 +0100
+++ gcc/testsuite/lib/scanasm.exp	2012-08-26 11:38:17.612805181 +0100
@@ -228,6 +228,11 @@ proc scan-assembler-times { args } {
     }
 }
 
+proc scan-assembler-times_required_options { args } {
+    global gcc_force_conventional_output
+    return $gcc_force_conventional_output
+}
+
 # Utility for scanning demangled compiler result, invoked via dg-final.
 # Call pass if pattern is present, otherwise fail.
 proc scan-assembler-dem { args } {


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]