public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* inlining failed in call to 'always_inline': target specific option mismatch
@ 2023-05-23 11:24 Georg-Johann Lay
  2023-05-23 12:55 ` [patch]: Implement PR104327 for avr Georg-Johann Lay
  2023-05-24  9:28 ` inlining failed in call to 'always_inline': target specific option mismatch Richard Biener
  0 siblings, 2 replies; 9+ messages in thread
From: Georg-Johann Lay @ 2023-05-23 11:24 UTC (permalink / raw)
  To: gcc

This error pops up in the testsuite for avr.

As far as I understand, this is due to target-specific optimization like 
in avr-common.cc:

     { OPT_LEVELS_1_PLUS_NOT_DEBUG, OPT_mgas_isr_prologues, NULL, 1 },
     { OPT_LEVELS_1_PLUS, OPT_mmain_is_OS_task, NULL, 1 },
     // Stick to the "old" placement of the subreg lowering pass.
     { OPT_LEVELS_1_PLUS, OPT_fsplit_wide_types_early, NULL, 1 },

My question is how to fix this.

The backend does not implement can_inline_p, and adding "Optimization" 
to the respective option definition in avr.opt does not help.

Johann

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-25 15:07 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23 11:24 inlining failed in call to 'always_inline': target specific option mismatch Georg-Johann Lay
2023-05-23 12:55 ` [patch]: Implement PR104327 for avr Georg-Johann Lay
2023-05-24  9:38   ` Richard Biener
2023-05-24 15:44     ` Georg-Johann Lay
2023-05-25  6:35       ` Richard Biener
2023-05-25 14:22         ` Georg-Johann Lay
2023-05-25 15:07           ` Richard Biener
2023-05-24  9:28 ` inlining failed in call to 'always_inline': target specific option mismatch Richard Biener
2023-05-24 15:52   ` Georg-Johann Lay

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).