[PATCH] Enable ISL's small integer optimization

Joerg Sonnenberger joerg at britannica.bec.de
Wed Jun 17 12:22:17 PDT 2015


On Wed, Jun 17, 2015 at 05:20:32PM +0000, Michael Kruse wrote:
> +#
> +# ISL with activated small integer optimization use C99 extern inline
> +# semantics. In order to work, we need to enable C99 mode (instead the default
> +# -std=gnu89)
>  POLLY_CFLAGS := -fvisibility=hidden
>  POLLY_CFLAGS += -w
> +POLLY_CFLAGS += -std=c99

This change is bogus. First of all, gnu89 is only the default for
various old GCC versions. It hasn't been the default of Clang for a very
long time. I also believe it is asking for trouble as many systems will
seriously restrict the system headers when asked for ISO C mode.

Joerg



More information about the llvm-commits mailing list