Skip to content

Build failure with gcc-12 #19776

@Mingli-Yu

Description

@Mingli-Yu

In function 'dynprep',
inlined from 'S_sortsv_flags_impl' at pp_sort.c:358:20,
inlined from 'sortsv_amagic_i_ncmp' at pp_sort.c:572:5:
pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
| ^~~~~~~~~~~~~~~
pp_sort.c:188:14: note: called from here
188 | sense = (cmp(aTHX_ *b, *(b+1)) > 0);
| ^~~~~~~~~~~~~~~~~~~~~
pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
| ^~~~~~~~~~~~~~~
pp_sort.c:194:18: note: called from here
194 | if ((cmp(aTHX_ *t, *p) > 0) != sense) break;
| ^~~~~~~~~~~~~~~~~
pp_sort.c:1232:1: error: inlining failed in call to 'always_inline' 'S_amagic_i_ncmp': function not considered for inlining
1232 | S_amagic_i_ncmp(pTHX_ SV *const a, SV *const b)
[snip]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions