[llvm-commits] [llvm-gcc-4.2] r80774 - /llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Sandeep Patel
deeppatel1987 at gmail.com
Wed Sep 2 02:18:49 PDT 2009
Author: sandeep
Date: Wed Sep 2 04:18:48 2009
New Revision: 80774
URL: http://llvm.org/viewvc/llvm-project?rev=80774&view=rev
Log:
Fix warning on non-Darwin. Approved by Bob Wilson and Nick Lewycky.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/arm.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/arm.c?rev=80774&r1=80773&r2=80774&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/arm.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/arm.c Wed Sep 2 04:18:48 2009
@@ -23527,8 +23527,9 @@
/* APPLE LOCAL end ARM MACH assembler */
/* APPLE LOCAL begin ARM darwin optimization defaults */
+/* LLVM LOCAL fix warning on non-Darwin */
void
-optimization_options (int level, int size ATTRIBUTE_UNUSED)
+optimization_options (int level ATTRIBUTE_UNUSED, int size ATTRIBUTE_UNUSED)
{
/* disable strict aliasing; breaks too much existing code. */
#if TARGET_MACHO
More information about the llvm-commits
mailing list