[llvm-commits] [llvm-gcc-4.2] r81370 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
Duncan Sands
baldrick at free.fr
Wed Sep 9 12:56:44 PDT 2009
Hi Anton, hopefully Tanya will take this for 2.6 too.
Ciao,
Duncan.
> Author: asl
> Date: Wed Sep 9 14:09:08 2009
> New Revision: 81370
>
> URL: http://llvm.org/viewvc/llvm-project?rev=81370&view=rev
> Log:
> Move default case to top to make dummy compilers happy
>
> Modified:
> llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
>
> Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.h
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.h?rev=81370&r1=81369&r2=81370&view=diff
>
> ==============================================================================
> --- llvm-gcc-4.2/trunk/gcc/config/i386/i386.h (original)
> +++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.h Wed Sep 9 14:09:08 2009
> @@ -3931,6 +3931,9 @@
> /* Propagate code model setting to backend */
> #define LLVM_SET_MACHINE_OPTIONS(argvec) \
> switch (ix86_cmodel) { \
> + default: \
> + sorry ("code model %<%s%> not supported yet", ix86_cmodel_string); \
> + break; \
> case CM_SMALL: \
> case CM_SMALL_PIC: \
> argvec.push_back("--code-model=small"); \
> @@ -3945,8 +3948,6 @@
> case CM_32: \
> argvec.push_back("--code-model=default"); \
> break; \
> - default: \
> - sorry ("code model %<%s%> not supported yet", ix86_cmodel_string); \
> }
>
> #endif /* ENABLE_LLVM */
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list