public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris
@ 2013-11-27 15:21 ro at gcc dot gnu.org
2013-11-28 11:39 ` [Bug c++/59315] " rguenth at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: ro at gcc dot gnu.org @ 2013-11-27 15:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59315
Bug ID: 59315
Summary: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on
Solaris
Product: gcc
Version: 4.9.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: ro at gcc dot gnu.org
Host: *-*-solaris2.*
Target: *-*-solaris2.*
Build: *-*-solaris2.*
Since ca. 20131104 (r204350), g++.dg/warn/Wunused-3.C FAILs on Solaris:
FAIL: g++.dg/warn/Wunused-3.C -std=gnu++98 (test for excess errors)
Excess errors:
/vol/gcc/src/hg/trunk/local/gcc/testsuite/g++.dg/warn/Wunused-3.C:11:16:
warning: 'dummy' defined but not used [-Wunused-variable]
FAIL: g++.dg/warn/Wunused-3.C -std=gnu++11 (test for excess errors)
Rainer
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris
2013-11-27 15:21 [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris ro at gcc dot gnu.org
@ 2013-11-28 11:39 ` rguenth at gcc dot gnu.org
2013-12-20 14:07 ` [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit jakub at gcc dot gnu.org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-11-28 11:39 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59315
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.9.0
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit
2013-11-27 15:21 [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris ro at gcc dot gnu.org
2013-11-28 11:39 ` [Bug c++/59315] " rguenth at gcc dot gnu.org
@ 2013-12-20 14:07 ` jakub at gcc dot gnu.org
2014-01-29 3:30 ` jason at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-12-20 14:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59315
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target|*-*-solaris2.* |
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-12-20
CC| |jakub at gcc dot gnu.org,
| |jason at gcc dot gnu.org
Host|*-*-solaris2.* |
Summary|[4.9 regression] |[4.9 regression]
|g++.dg/warn/Wunused-3.C |g++.dg/warn/Wunused-3.C
|FAILs on Solaris |FAILs with
| |-fno-use-cxa-atexit
Ever confirmed|0 |1
Build|*-*-solaris2.* |
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
This regressed everywhere with -O -Wunused -fno-use-cxa-atexit starting with
r204265, on Solaris that is just the default, while on various other targets it
is not. mark_used is no longer called on the TREE_STATIC global VAR_DECL,
eventhough it has a non-trivial destructor. Jason, can you please have a look?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit
2013-11-27 15:21 [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris ro at gcc dot gnu.org
2013-11-28 11:39 ` [Bug c++/59315] " rguenth at gcc dot gnu.org
2013-12-20 14:07 ` [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit jakub at gcc dot gnu.org
@ 2014-01-29 3:30 ` jason at gcc dot gnu.org
2014-01-29 13:41 ` jason at gcc dot gnu.org
2014-01-29 13:41 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2014-01-29 3:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59315
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit
2013-11-27 15:21 [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris ro at gcc dot gnu.org
` (2 preceding siblings ...)
2014-01-29 3:30 ` jason at gcc dot gnu.org
@ 2014-01-29 13:41 ` jason at gcc dot gnu.org
2014-01-29 13:41 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2014-01-29 13:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59315
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Jason Merrill <jason at gcc dot gnu.org> ---
Fixed.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit
2013-11-27 15:21 [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris ro at gcc dot gnu.org
` (3 preceding siblings ...)
2014-01-29 13:41 ` jason at gcc dot gnu.org
@ 2014-01-29 13:41 ` jason at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: jason at gcc dot gnu.org @ 2014-01-29 13:41 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59315
--- Comment #2 from Jason Merrill <jason at gcc dot gnu.org> ---
Author: jason
Date: Wed Jan 29 13:40:49 2014
New Revision: 207236
URL: http://gcc.gnu.org/viewcvs?rev=207236&root=gcc&view=rev
Log:
PR c++/59315
* decl.c (cxx_maybe_build_cleanup): Call mark_used.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/decl.c
trunk/gcc/testsuite/g++.dg/warn/Wunused-3.C
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-01-29 13:41 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-27 15:21 [Bug c++/59315] New: [4.9 regression] g++.dg/warn/Wunused-3.C FAILs on Solaris ro at gcc dot gnu.org
2013-11-28 11:39 ` [Bug c++/59315] " rguenth at gcc dot gnu.org
2013-12-20 14:07 ` [Bug c++/59315] [4.9 regression] g++.dg/warn/Wunused-3.C FAILs with -fno-use-cxa-atexit jakub at gcc dot gnu.org
2014-01-29 3:30 ` jason at gcc dot gnu.org
2014-01-29 13:41 ` jason at gcc dot gnu.org
2014-01-29 13:41 ` jason 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).