diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2025-02-15 14:35:24 +0100 |
---|---|---|
committer | Georg-Johann Lay <avr@gjlay.de> | 2025-02-16 16:41:09 +0100 |
commit | 7aee6b6a4a2b0f4cc5e2f3342051151e536e019a (patch) | |
tree | 0cdd4179e69edc81393d49103ca1c24b8bfc3e2b /gcc/fortran/trans-expr.cc | |
parent | db19dc70bac1d143977431736cd7141d1b98a2dc (diff) | |
download | gcc-7aee6b6a4a2b0f4cc5e2f3342051151e536e019a.zip gcc-7aee6b6a4a2b0f4cc5e2f3342051151e536e019a.tar.gz gcc-7aee6b6a4a2b0f4cc5e2f3342051151e536e019a.tar.bz2 |
AVR: Diagnose unsupported built-ins in avr_resolve_overloaded_builtin.
This patch executes avr_builtin_supported_p at a later time and in
avr_resolve_overloaded_builtin. This allows for better diagnostics
and avoids lto1 hiccups when a built-in decl is NULL_TREE.
gcc/
* config/avr/avr-protos.h (avr_builtin_supported_p): Remove.
* config/avr/avr.cc (avr_init_builtins): Don't initialize
non-available built-ins with NULL_TREE.
(avr_builtin_supported_p): Move to...
* config/avr/avr-c.cc: ...here.
(avr_resolve_overloaded_builtin): Run avr_builtin_supported_p.
Diffstat (limited to 'gcc/fortran/trans-expr.cc')
0 files changed, 0 insertions, 0 deletions