[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-03-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 --- Comment #9 from Jakub Jelinek --- When I disable the TREE_READONLY (decl) = true; in build_target_expr, on the array-temp1.C testcase gimple dump changes: int f () { int D.2491; - static const int C.0[10] = {1, 42, 3, 4, 5, 6, 7, 8,

[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-03-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 --- Comment #8 from Jakub Jelinek --- >From what I can see, this setting of TREE_READONLY has been added in r9-869-g5603790dbf233c31c60 aka PR85873 fix.

[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-03-03 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 --- Comment #7 from Tamar Christina --- (In reply to Jakub Jelinek from comment #6) > I don't see the code mentioned in #c0 on x86_64, I see also loads and stores > like on aarch64. Yes, that was my mistake, I was accidentally comparing GCC 11

[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-03-03 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-02-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 Richard Biener changed: What|Removed |Added Keywords||needs-bisection

[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-02-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #4

[Bug target/104529] [12 Regression] inefficient codegen around new/delete

2022-02-14 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104529 Tamar Christina changed: What|Removed |Added Summary|[missed optimization] |[12 Regression] inefficient