[llvm-commits] [llvm-gcc-4.2] r63429 - /llvm-gcc-4.2/trunk/gcc/toplev.c
Anton Korobeynikov
asl at math.spbu.ru
Fri Jan 30 14:03:57 PST 2009
Author: asl
Date: Fri Jan 30 16:03:56 2009
New Revision: 63429
URL: http://llvm.org/viewvc/llvm-project?rev=63429&view=rev
Log:
Disable -fverbose-asm if -emit-llvm is used: it's totally bogus there
Modified:
llvm-gcc-4.2/trunk/gcc/toplev.c
Modified: llvm-gcc-4.2/trunk/gcc/toplev.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/toplev.c?rev=63429&r1=63428&r2=63429&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/toplev.c (original)
+++ llvm-gcc-4.2/trunk/gcc/toplev.c Fri Jan 30 16:03:56 2009
@@ -1841,6 +1841,12 @@
if (flag_value_profile_transformations)
flag_profile_values = 1;
+ /* LLVM LOCAL begin */
+ /* Disable verbose_asm flag if -emit-llvm is used, it's totally bogus then */
+ if (emit_llvm || emit_llvm_bc)
+ flag_verbose_asm = 0;
+ /* LLVM LOCAL end */
+
/* Warn about options that are not supported on this machine. */
#ifndef INSN_SCHEDULING
if (flag_schedule_insns || flag_schedule_insns_after_reload)
More information about the llvm-commits
mailing list