This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: Dominique d'HumiÃres <dominiq at lps dot ens dot fr>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Mon, 6 Jul 2015 19:48:02 +0200
- Subject: Re: [PATCH] PR target/66749: Add -march=iamcu to optimize for IA MCU
- Authentication-results: sourceware.org; auth=none
- References: <BB70A7E0-8C96-4733-9B51-3149047163A7 at lps dot ens dot fr> <CAMe9rOpGAJ15NSrUbH4uNbNRE+y607gK7-x1qKCJtnSnN5089g at mail dot gmail dot com>
On Mon, Jul 6, 2015 at 7:03 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Jul 6, 2015 at 9:58 AM, Dominique d'HumiÃres <dominiq@lps.ens.fr> wrote:
>> This breaks bootstrap on x86_64-apple-darwin14:
>>
>> ../../work/gcc/config/i386/i386-c.c: In function 'void ix86_target_macros_internal(long long int, processor_type, processor_type, fpmath_unit, void (*)(cpp_reader*, const char*))':../../work/gcc/config/i386/i386-c.c:59:10: error: enumeration value 'PROCESSOR_IAMCU' not handled in switch [-Werror=switch] switch (arch) ^../../work/gcc/config/i386/i386-c.c:188:10: error: enumeration value 'PROCESSOR_IAMCU' not handled in switch [-Werror=switch] switch (tune)
>>
>> TIA
>>
>> Dominique
>
> Here is a patch. OK for trunk?
This one is obvious, so OK.
Thanks,
Uros.