[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

[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

[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
Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: erik.carstensen at intel dot com Target Milestone: --- Created attachment 52392 --> https://gcc.gnu

[Bug ipa/85233] Incorrect -Wmaybe-uninitialized with -fpartial-inlining -finline-small-functions

2018-04-06 Thread erik.carstensen at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85233 --- Comment #2 from Erik Carstensen --- I know nothing about GCC internals, but I did make some observations on the warning's behaviour while minimizing the test case. An unqualified guess based on this is that intraprocedural analysis is not

[Bug c/85233] New: Incorrect -Wmaybe-uninitialized with -fpartial-inlining -finline-small-functions

2018-04-05 Thread erik.carstensen at intel dot com
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: erik.carstensen at intel dot com Target Milestone: --- Created attachment 43858 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43858=edit Reproducer When compil