public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
@ 2021-02-19 21:47 seurer at gcc dot gnu.org
2021-02-19 22:42 ` [Bug testsuite/99173] " seurer at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-02-19 21:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
Bug ID: 99173
Summary: new test case c-c++-common/attr-retain-5.c added in
r11-7284 fails
Product: gcc
Version: 11.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: testsuite
Assignee: unassigned at gcc dot gnu.org
Reporter: seurer at gcc dot gnu.org
Target Milestone: ---
g:6347f4a0904fce17eedf5c071be6f3c118680290, r11-7284
make -k check-gcc RUNTESTFLAGS="dg.exp=c-c++-common/attr-retain-5.c"
FAIL: c-c++-common/attr-retain-5.c -Wc++-compat (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++14 (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++17 (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++2a (test for excess errors)
# of unexpected failures 1
# of unexpected failures 4
spawn -ignore SIGHUP /home/seurer/gcc/git/build/gcc-test/gcc/xgcc
-B/home/seurer/gcc/git/build/gcc-test/gcc/
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/attr-retain-5.c
-fdiagnostics-plain-output -Wc++-compat -Wall -O2 -ffat-lto-objects -fno-ident
-S -o attr-retain-5.s
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/attr-retain-5.c:23:1:
warning: 'retain' attribute ignored [-Wattributes]
FAIL: c-c++-common/attr-retain-5.c -Wc++-compat (test for excess errors)
Excess errors:
/home/seurer/gcc/git/gcc-test/gcc/testsuite/c-c++-common/attr-retain-5.c:23:1:
warning: 'retain' attribute ignored [-Wattributes]
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
@ 2021-02-19 22:42 ` seurer at gcc dot gnu.org
2021-02-19 23:47 ` hjl.tools at gmail dot com
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: seurer at gcc dot gnu.org @ 2021-02-19 22:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
--- Comment #1 from seurer at gcc dot gnu.org ---
There are actually a bunch more. Here's the full list:
FAIL: c-c++-common/attr-retain-5.c -Wc++-compat (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++14 (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++17 (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++2a (test for excess errors)
FAIL: c-c++-common/attr-retain-5.c -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/attr-retain-6.c -Wc++-compat (test for excess errors)
FAIL: c-c++-common/attr-retain-6.c -std=gnu++14 (test for excess errors)
FAIL: c-c++-common/attr-retain-6.c -std=gnu++17 (test for excess errors)
FAIL: c-c++-common/attr-retain-6.c -std=gnu++2a (test for excess errors)
FAIL: c-c++-common/attr-retain-6.c -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/attr-retain-7.c -Wc++-compat (test for excess errors)
FAIL: c-c++-common/attr-retain-7.c -std=gnu++14 (test for excess errors)
FAIL: c-c++-common/attr-retain-7.c -std=gnu++17 (test for excess errors)
FAIL: c-c++-common/attr-retain-7.c -std=gnu++2a (test for excess errors)
FAIL: c-c++-common/attr-retain-7.c -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/attr-retain-8.c -Wc++-compat (test for excess errors)
FAIL: c-c++-common/attr-retain-8.c -std=gnu++14 (test for excess errors)
FAIL: c-c++-common/attr-retain-8.c -std=gnu++17 (test for excess errors)
FAIL: c-c++-common/attr-retain-8.c -std=gnu++2a (test for excess errors)
FAIL: c-c++-common/attr-retain-8.c -std=gnu++98 (test for excess errors)
FAIL: c-c++-common/attr-retain-9.c -Wc++-compat (test for excess errors)
FAIL: c-c++-common/attr-retain-9.c -std=gnu++14 (test for excess errors)
FAIL: c-c++-common/attr-retain-9.c -std=gnu++17 (test for excess errors)
FAIL: c-c++-common/attr-retain-9.c -std=gnu++2a (test for excess errors)
FAIL: c-c++-common/attr-retain-9.c -std=gnu++98 (test for excess errors)
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
2021-02-19 22:42 ` [Bug testsuite/99173] " seurer at gcc dot gnu.org
@ 2021-02-19 23:47 ` hjl.tools at gmail dot com
2021-02-22 8:42 ` [Bug testsuite/99173] [11 Regression] " rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2021-02-19 23:47 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
Created attachment 50228
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50228&action=edit
A patch
Try this.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] [11 Regression] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
2021-02-19 22:42 ` [Bug testsuite/99173] " seurer at gcc dot gnu.org
2021-02-19 23:47 ` hjl.tools at gmail dot com
@ 2021-02-22 8:42 ` rguenth at gcc dot gnu.org
2021-02-22 16:04 ` jakub at gcc dot gnu.org
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-22 8:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Ever confirmed|0 |1
Summary|new test case |[11 Regression] new test
|c-c++-common/attr-retain-5. |case
|c added in r11-7284 fails |c-c++-common/attr-retain-5.
| |c added in r11-7284 fails
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-02-22
Priority|P3 |P1
Target Milestone|--- |11.0
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
confirmed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] [11 Regression] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
` (2 preceding siblings ...)
2021-02-22 8:42 ` [Bug testsuite/99173] [11 Regression] " rguenth at gcc dot gnu.org
@ 2021-02-22 16:04 ` jakub at gcc dot gnu.org
2021-02-22 23:27 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: jakub at gcc dot gnu.org @ 2021-02-22 16:04 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
The patch might not apply anymore after the AIX changes.
In any case, LGTM, please post to gcc-patches though.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] [11 Regression] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
` (3 preceding siblings ...)
2021-02-22 16:04 ` jakub at gcc dot gnu.org
@ 2021-02-22 23:27 ` cvs-commit at gcc dot gnu.org
2021-02-22 23:42 ` hjl.tools at gmail dot com
2021-02-24 8:31 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2021-02-22 23:27 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
--- Comment #5 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by H.J. Lu <hjl@gcc.gnu.org>:
https://gcc.gnu.org/g:609204abb889166c17a600121ba8ced18db2567a
commit r11-7332-g609204abb889166c17a600121ba8ced18db2567a
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Fri Feb 19 15:44:38 2021 -0800
Require SHF_GNU_RETAIN support for retain tests
Since retain attribute requires SHF_GNU_RETAIN, run retain tests only
if SHF_GNU_RETAIN is supported.
PR testsuite/99173
* c-c++-common/attr-retain-5.c: Require R_flag_in_section.
* c-c++-common/attr-retain-6.c: Likewise.
* c-c++-common/attr-retain-7.c: Likewise.
* c-c++-common/attr-retain-8.c: Likewise.
* c-c++-common/attr-retain-9.c: Likewise.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] [11 Regression] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
` (4 preceding siblings ...)
2021-02-22 23:27 ` cvs-commit at gcc dot gnu.org
@ 2021-02-22 23:42 ` hjl.tools at gmail dot com
2021-02-24 8:31 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: hjl.tools at gmail dot com @ 2021-02-22 23:42 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> ---
Fixed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug testsuite/99173] [11 Regression] new test case c-c++-common/attr-retain-5.c added in r11-7284 fails
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
` (5 preceding siblings ...)
2021-02-22 23:42 ` hjl.tools at gmail dot com
@ 2021-02-24 8:31 ` rguenth at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-02-24 8:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99173
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |danglin at gcc dot gnu.org
--- Comment #7 from Richard Biener <rguenth at gcc dot gnu.org> ---
*** Bug 99231 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-02-24 8:31 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-19 21:47 [Bug testsuite/99173] New: new test case c-c++-common/attr-retain-5.c added in r11-7284 fails seurer at gcc dot gnu.org
2021-02-19 22:42 ` [Bug testsuite/99173] " seurer at gcc dot gnu.org
2021-02-19 23:47 ` hjl.tools at gmail dot com
2021-02-22 8:42 ` [Bug testsuite/99173] [11 Regression] " rguenth at gcc dot gnu.org
2021-02-22 16:04 ` jakub at gcc dot gnu.org
2021-02-22 23:27 ` cvs-commit at gcc dot gnu.org
2021-02-22 23:42 ` hjl.tools at gmail dot com
2021-02-24 8:31 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).