https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114784

--- Comment #1 from Daniel Bertalan <dani at danielbertalan dot dev> ---
Forgot to actually post the error message itself:

In constructor 'ErrorOr::ErrorOr(int)',
    inlined from 'ErrorOr run()' at <source>:29:10,
    inlined from 'int serenity_main()' at <source>:32:8:
<source>:13:39: error: inlining failed in call to 'always_inline'
'Variant::Variant(int) [inherited from VariantConstructors<Variant>]': call is
unlikely and code size would grow
   13 |   using VariantConstructors<Variant>::VariantConstructors;
      |                                       ^~~~~~~~~~~~~~~~~~~
<source>:22:20: note: called from here
   22 |   ErrorOr(int v) : a(v) { }
      |                    ^~~~

Reply via email to