]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix spurious -Wstringop-overflow with link time optimization
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 12 Oct 2023 12:26:46 +0000 (14:26 +0200)
committerMarc Poulhiès <poulhies@adacore.com>
Tue, 7 Nov 2023 09:15:05 +0000 (10:15 +0100)
commitc210397b75df066ef96c6834a0d4273658d07ee7
treeb740901fea78ecc9d0668401dd721c821c1f3719
parent756e05d1565482e7b24f9cf51ffcfeced5a9d91c
ada: Fix spurious -Wstringop-overflow with link time optimization

It comes from an incomplete optimization performed by LTO that is caused by
an obsolete transformation done in Gigi, which is redundant with the common
uniquization of constant CONSTRUCTORs now performed during gimplification.

gcc/ada/

* gcc-interface/trans.cc (gnat_gimplify_expr) <CALL_EXPR>: Delete.
gcc/ada/gcc-interface/trans.cc