https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468
--- Comment #6 from Erik Carstensen ---
thanks! Looks like the second change repairs __attribute__((optimize("O0")));
this leads to a smaller reproducer: the problem is reproduced if I remove that
attribute and compile with "-g -O0 -fvar-trackin
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468
--- Comment #3 from Erik Carstensen ---
Do we know that some suspected underlying issue is fixed, or could it be that
the window of slowness (struct size ∈ [17,80]) just has moved?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468
--- Comment #2 from Erik Carstensen ---
Perhaps the problem is unrelated to function calls; it seems the time is
quadratic in the number of struct literals: If I change argument types to
pointers, then the issue remains if I pass the args as ({s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104468
Bug ID: 104468
Summary: with -O -g, quadratic compile time of function with
__attribute__(("00")) that passes large structs by
value
Product: gcc
Version: 11.2.1