[PATCH] fix #69317 - [6 regression] wrong ABI version in -Wabi warnings

Martin Sebor msebor@gmail.com
Mon Jan 25 16:56:00 GMT 2016


Ping: I'm looking a review/approval of the almost trivial patch
below:

    https://gcc.gnu.org/ml/gcc-patches/2016-01/msg01206.html

On 01/16/2016 05:42 PM, Martin Sebor wrote:
> While adding an ABI warning in the patch for bug 69277 I noticed
> that the ABI version printed by GCC 6.0 in some -Wabi diagnostics
> is incorrect:  while 5.1.0 prints the versions of the ABI given
> by the -Wabi=X and -fabi-version=Y options (i.e., it mentions
> both X and Y), 6.0 prints the same version twice (just Y).
>
> The attached patch fixes this and adds tests to verify that the
> referenced versions are as expected (it uses ABIs 2 and 3 but
> tests exercising the other ABI changes should be added as well).
>
> Martin



More information about the Gcc-patches mailing list