]> gcc.gnu.org Git - gcc.git/commit
target/104327: Allow more inlining between different optimization levels.
authorGeorg-Johann Lay <avr@gjlay.de>
Tue, 23 May 2023 12:54:12 +0000 (14:54 +0200)
committerGeorg-Johann Lay <avr@gjlay.de>
Thu, 25 May 2023 17:38:54 +0000 (19:38 +0200)
commit66cc0cb0f44f17049f61af6755043999c4fa5a24
tree39911c41b17183513c7b1db251b7b1e04b398765
parentff0a6900700636ac4c7f40b88490a20d19a68db3
target/104327: Allow more inlining between different optimization levels.

avr-common.cc introduces the following options that are set depending
on optimization level: -mgas-isr-prologues, -mmain-is-OS-task and
-fsplit-wide-types-early.  The inliner thinks that different options
disallow cross-optimization inlining, so provide can_inline_p.

gcc/
PR target/104327
* config/avr/avr.cc (avr_can_inline_p): New static function.
(TARGET_CAN_INLINE_P): Define to that function.
gcc/config/avr/avr.cc
This page took 0.06066 seconds and 5 git commands to generate.