Request for review
David Holmes
david.holmes at oracle.com
Sun Sep 30 22:26:36 PDT 2012
Hi Joe,
Is there a CR and webrev for this change? Is this a distinct change from
the minimal VM changes or a follow on fix?
David
On 1/10/2012 2:37 AM, Joe Provino wrote:
> The problem this fixes is that OPT_EXTRAS gets lost when anyone
> overrides OPT_CFLAGS
> by doing OPT_CFLAGS/<file>.o = ...
>
> The change is to make/{bsd,linux}/gcc.make:
>
> # Hotspot uses very unstrict aliasing turn this optimization off
> # This option is added to CFLAGS rather than OPT_CFLAGS or OPT_EXTRAS
> # so that OPT_CFLAGS overrides get this option too.
> CFLAGS += -fno-strict-aliasing
>
> gcc.make used to have this:
>
> # Hotspot uses very unstrict aliasing turn this optimization off
> OPT_EXTRAS += -fno-strict-aliasing
More information about the hotspot-runtime-dev
mailing list