Message ID | 20181230090611.603-1-jcmvbkbc@gmail.com |
---|---|
State | New |
Headers | show |
Series | PR target/86814 | expand |
On Sun, Dec 30, 2018 at 1:06 AM Max Filippov <jcmvbkbc@gmail.com> wrote: > > Xtensa architecture is not affected by speculation. > > gcc/ > 2018-12-30 Max Filippov <jcmvbkbc@gmail.com> > > * config/xtensa/xtensa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): > Define to speculation_safe_value_not_needed. Approved.
On Sun, Dec 30, 2018 at 8:06 PM augustine.sterling@gmail.com <augustine.sterling@gmail.com> wrote: > On Sun, Dec 30, 2018 at 1:06 AM Max Filippov <jcmvbkbc@gmail.com> wrote: > > Xtensa architecture is not affected by speculation. > > > > gcc/ > > 2018-12-30 Max Filippov <jcmvbkbc@gmail.com> > > > > * config/xtensa/xtensa.c (TARGET_HAVE_SPECULATION_SAFE_VALUE): > > Define to speculation_safe_value_not_needed. > > Approved. Applied to trunk. Thank you and happy New Year! -- Max
diff --git a/gcc/config/xtensa/xtensa.c b/gcc/config/xtensa/xtensa.c index 080bb4ad765d..34e85dcc164a 100644 --- a/gcc/config/xtensa/xtensa.c +++ b/gcc/config/xtensa/xtensa.c @@ -331,6 +331,9 @@ static unsigned HOST_WIDE_INT xtensa_asan_shadow_offset (void); #undef TARGET_ASAN_SHADOW_OFFSET #define TARGET_ASAN_SHADOW_OFFSET xtensa_asan_shadow_offset +#undef TARGET_HAVE_SPECULATION_SAFE_VALUE +#define TARGET_HAVE_SPECULATION_SAFE_VALUE speculation_safe_value_not_needed + struct gcc_target targetm = TARGET_INITIALIZER;