On 12/23/15 05:22, Richard Earnshaw (lists) wrote:

2015-12-22  Andreas Tobler  <andre...@gcc.gnu.org>

     * config/arm/freebsd.h (SUBTARGET_OVERRIDE_OPTIONS): Adjust to
     check unaligned_access on the gcc_options set.
     * config/arm/arm.c (arm_option_override): Move
     SUBTARGET_OVERRIDE_OPTIONS from here to
     (arm_option_override_internal).


Moving this hunk to a different place potentially affects VXWORKS (the
only other target that uses this hook).  I'd like to see confirmation
from the VxWorks maintainers (Nathan?) that this doesn't cause any
problems for them.  If it does, then I think you need to create a new
subtarget hook (SUBTARGET_OVERRIDE_INTERNAL_OPTIONS?) and change FreeBSD
to use that rather than the existing hook.


thanks for thinking of that. Off hand I can't see this being a problem, and if we discover it is, we can address it then.

nathan

Reply via email to