aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/exp_intr.adb
diff options
context:
space:
mode:
authorGeorg-Johann Lay <avr@gjlay.de>2025-01-30 12:05:19 +0100
committerGeorg-Johann Lay <avr@gjlay.de>2025-01-30 20:40:43 +0100
commitcde452e270e500db776e75d0bdda0b32d9c37981 (patch)
tree08d35a8cf90346c40fe0a86be765f218e36dc3a7 /gcc/ada/exp_intr.adb
parent4e6fd85ba53385cc4968969d75639e0f5d8c9f07 (diff)
downloadgcc-cde452e270e500db776e75d0bdda0b32d9c37981.zip
gcc-cde452e270e500db776e75d0bdda0b32d9c37981.tar.gz
gcc-cde452e270e500db776e75d0bdda0b32d9c37981.tar.bz2
AVR: Only provide a built-in when it is available.
Some built-ins are not available for C++ since they are using named address-spaces or fixed-point types. gcc/ * config/avr/builtins.def (AVR_FIRST_C_ONLY_BUILTIN_ID): New macro. * config/avr/avr-protos.h (avr_builtin_supported_p): New. * config/avr/avr.cc (avr_builtin_supported_p): New function. (avr_init_builtins): Only provide a built-in when it is supported. * config/avr/avr-c.cc (avr_cpu_cpp_builtins): Only define the __BUILTIN_AVR_<NAME> build-in defines when the associated built-in function is supported. * doc/extend.texi (AVR Built-in Functions): Add a note that following built-ins are supported for only for GNU-C.
Diffstat (limited to 'gcc/ada/exp_intr.adb')
0 files changed, 0 insertions, 0 deletions