diff options
Diffstat (limited to 'cpukit/score/cpu/aarch64/cpu.c')
-rw-r--r-- | cpukit/score/cpu/aarch64/cpu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/score/cpu/aarch64/cpu.c b/cpukit/score/cpu/aarch64/cpu.c index 88e7ad8a8c..f0062adf30 100644 --- a/cpukit/score/cpu/aarch64/cpu.c +++ b/cpukit/score/cpu/aarch64/cpu.c @@ -180,6 +180,8 @@ void _CPU_ISR_install_vector( CPU_ISR_handler *old_handler ) { +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Warray-bounds" /* Redirection table starts at the end of the vector table */ CPU_ISR_handler *table = (CPU_ISR_handler *) (MAX_EXCEPTIONS * 4); @@ -194,6 +196,7 @@ void _CPU_ISR_install_vector( if (current_handler != new_handler) { table [vector] = new_handler; } +#pragma GCC diagnostic pop } void _CPU_Initialize( void ) |