Bug 113451 - [14 regression] 32-bit g++.dg/abi/mangle-regparm1a.C FAILs
Summary: [14 regression] 32-bit g++.dg/abi/mangle-regparm1a.C FAILs
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: c++ (show other bugs)
Version: 14.0
: P3 normal
Target Milestone: 14.0
Assignee: Jason Merrill
URL:
Keywords: testsuite-fail
Depends on:
Blocks:
 
Reported: 2024-01-17 15:10 UTC by Rainer Orth
Modified: 2024-01-30 16:41 UTC (History)
3 users (show)

See Also:
Host:
Target: i386-pc-solaris2.11, i686-pc-linux-tnu
Build:
Known to work:
Known to fail:
Last reconfirmed: 2024-01-30 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Orth 2024-01-17 15:10:24 UTC
Since 20231222, the 32-bit g++.dg/abi/mangle-regparm1a.C test FAILs on both
Solaris/x86 and Linux/x86:

+FAIL: g++.dg/abi/mangle-regparm1a.C  -std=gnu++14  (test for warnings, line 6)
+FAIL: g++.dg/abi/mangle-regparm1a.C  -std=gnu++17  (test for warnings, line 6)
+FAIL: g++.dg/abi/mangle-regparm1a.C  -std=gnu++20  (test for warnings, line 6)
+FAIL: g++.dg/abi/mangle-regparm1a.C  -std=gnu++98  (test for warnings, line 6)

This is no doubt due to

commit 2fa122cae50cd87c1262c4ec18a783ee9bbbdaaa
Author: Jason Merrill <jason@redhat.com>
Date:   Thu Dec 21 16:16:37 2023 -0500

    testsuite: suppress mangling compatibility aliases
Comment 1 Jakub Jelinek 2024-01-17 17:12:21 UTC
Even just
make check-g++ RUNTESTFLAGS='--target_board=unix\{-m32,-m64\} dg.exp=mangle-regparm*'
reproduces it on x86_64-linux.
Comment 2 GCC Commits 2024-01-30 16:40:59 UTC
The trunk branch has been updated by Jason Merrill <jason@gcc.gnu.org>:

https://gcc.gnu.org/g:dd7aa986fd12fc24e9d2efb8a8b267acb2bf19ea

commit r14-8632-gdd7aa986fd12fc24e9d2efb8a8b267acb2bf19ea
Author: Jason Merrill <jason@redhat.com>
Date:   Tue Jan 30 11:36:53 2024 -0500

    testsuite: mangle-reparm1a options [PR113451]
    
    When I added -fabi-compat-version=8 to avoid mangling aliases it also
    suppressed the -Wabi warning.
    
            PR c++/113451
    
    gcc/testsuite/ChangeLog:
    
            * g++.dg/abi/mangle-regparm1a.C: Use -Wabi=0.
Comment 3 Jason Merrill 2024-01-30 16:41:13 UTC
Fixed.