[Bug c/104468] with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value

2022-02-24 Thread erik.carstensen at intel dot com via Gcc-bugs
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

[Bug c/104468] with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value

2022-02-09 Thread erik.carstensen at intel dot com via Gcc-bugs
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?

[Bug c/104468] with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value

2022-02-09 Thread erik.carstensen at intel dot com via Gcc-bugs
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

[Bug c/104468] New: with -O -g, quadratic compile time of function with __attribute__(("00")) that passes large structs by value

2022-02-09 Thread erik.carstensen at intel dot com via Gcc-bugs
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