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

--- Comment #2 from Zdenek Sojka <zsojka at seznam dot cz> ---
Created attachment 43881
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43881&action=edit
another testcase (needs just -O)

$ x86_64-pc-linux-gnu-gcc -O testcase.c
testcase.c:12:1: warning: always_inline function might not be inlinable
[-Wattributes]
 baz (V g)
 ^~~
during IPA pass: inline
testcase.c:23:1: internal compiler error: in edge_badness, at ipa-inline.c:1035
 }
 ^
0x1739ed9 edge_badness
        /repo/gcc-trunk/gcc/ipa-inline.c:1033
0x1739ff9 update_edge_key
        /repo/gcc-trunk/gcc/ipa-inline.c:1233
0x173bd8c inline_small_functions
        /repo/gcc-trunk/gcc/ipa-inline.c:1836
0x173d713 ipa_inline
        /repo/gcc-trunk/gcc/ipa-inline.c:2498
0x173d713 execute
        /repo/gcc-trunk/gcc/ipa-inline.c:2904
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.

Reply via email to