public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/17729] [3.4/4.0/4.1 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
@ 2005-10-30 22:11 ` pinskia at gcc dot gnu dot org
2005-10-31 0:09 ` pinskia at gcc dot gnu dot org
` (13 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-30 22:11 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |4.1.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [3.4/4.0/4.1 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:11 ` [Bug c++/17729] [3.4/4.0/4.1 Regression] Duplicate __attribute__((deprecated)) warning pinskia at gcc dot gnu dot org
@ 2005-10-31 0:09 ` pinskia at gcc dot gnu dot org
2006-02-11 2:00 ` [Bug c++/17729] [3.4/4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-31 0:09 UTC (permalink / raw)
To: gcc-bugs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [3.4/4.0/4.1/4.2 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:11 ` [Bug c++/17729] [3.4/4.0/4.1 Regression] Duplicate __attribute__((deprecated)) warning pinskia at gcc dot gnu dot org
2005-10-31 0:09 ` pinskia at gcc dot gnu dot org
@ 2006-02-11 2:00 ` pinskia at gcc dot gnu dot org
2006-02-28 20:36 ` mmitchel at gcc dot gnu dot org
` (11 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-11 2:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #7 from pinskia at gcc dot gnu dot org 2006-02-11 02:00 -------
*** Bug 26216 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |dpatel at apple dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [3.4/4.0/4.1/4.2 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2006-02-11 2:00 ` [Bug c++/17729] [3.4/4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
@ 2006-02-28 20:36 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:45 ` [Bug c++/17729] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
` (10 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-02-28 20:36 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.0 |4.1.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.0/4.1/4.2 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2006-02-28 20:36 ` mmitchel at gcc dot gnu dot org
@ 2006-05-25 2:45 ` mmitchel at gcc dot gnu dot org
2007-01-23 8:50 ` [Bug c++/17729] [4.0/4.1/4.2/4.3 " patchapp at dberlin dot org
` (9 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-05-25 2:45 UTC (permalink / raw)
To: gcc-bugs
------- Comment #8 from mmitchel at gcc dot gnu dot org 2006-05-25 02:35 -------
Will not be fixed in 4.1.1; adjust target milestone to 4.1.2.
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.1 |4.1.2
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.0/4.1/4.2/4.3 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2006-05-25 2:45 ` [Bug c++/17729] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
@ 2007-01-23 8:50 ` patchapp at dberlin dot org
2007-02-14 9:32 ` mmitchel at gcc dot gnu dot org
` (8 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: patchapp at dberlin dot org @ 2007-01-23 8:50 UTC (permalink / raw)
To: gcc-bugs
------- Comment #9 from patchapp at dberlin dot org 2007-01-23 08:50 -------
Subject: Bug number PR c++/17729
A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2007-01/msg01869.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.0/4.1/4.2/4.3 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2007-01-23 8:50 ` [Bug c++/17729] [4.0/4.1/4.2/4.3 " patchapp at dberlin dot org
@ 2007-02-14 9:32 ` mmitchel at gcc dot gnu dot org
2008-01-22 22:18 ` bangerth at dealii dot org
` (7 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2007-02-14 9:32 UTC (permalink / raw)
To: gcc-bugs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.1.2 |4.1.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.0/4.1/4.2/4.3 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2007-02-14 9:32 ` mmitchel at gcc dot gnu dot org
@ 2008-01-22 22:18 ` bangerth at dealii dot org
2008-07-04 16:33 ` [Bug c++/17729] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
` (6 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: bangerth at dealii dot org @ 2008-01-22 22:18 UTC (permalink / raw)
To: gcc-bugs
------- Comment #10 from bangerth at dealii dot org 2008-01-22 22:08 -------
The patch was withdrawn.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.2/4.3/4.4 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2008-01-22 22:18 ` bangerth at dealii dot org
@ 2008-07-04 16:33 ` jsm28 at gcc dot gnu dot org
2008-07-23 21:13 ` mrs at apple dot com
` (5 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:33 UTC (permalink / raw)
To: gcc-bugs
------- Comment #11 from jsm28 at gcc dot gnu dot org 2008-07-04 16:33 -------
Closing 4.1 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.1/4.2/4.3/4.4 Regression]|[4.2/4.3/4.4 Regression]
|Duplicate |Duplicate
|__attribute__((deprecated)) |__attribute__((deprecated))
|warning |warning
Target Milestone|4.1.3 |4.2.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.2/4.3/4.4 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (8 preceding siblings ...)
2008-07-04 16:33 ` [Bug c++/17729] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
@ 2008-07-23 21:13 ` mrs at apple dot com
2009-03-31 16:20 ` [Bug c++/17729] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
` (4 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: mrs at apple dot com @ 2008-07-23 21:13 UTC (permalink / raw)
To: gcc-bugs
------- Comment #12 from mrs at apple dot com 2008-07-23 21:12 -------
radr://4232969
--
mrs at apple dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mrs at apple dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.3/4.4/4.5 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (9 preceding siblings ...)
2008-07-23 21:13 ` mrs at apple dot com
@ 2009-03-31 16:20 ` jsm28 at gcc dot gnu dot org
2009-05-08 22:22 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 16:20 UTC (permalink / raw)
To: gcc-bugs
------- Comment #13 from jsm28 at gcc dot gnu dot org 2009-03-31 16:19 -------
Closing 4.2 branch.
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.2/4.3/4.4/4.5 Regression]|[4.3/4.4/4.5 Regression]
|Duplicate |Duplicate
|__attribute__((deprecated)) |__attribute__((deprecated))
|warning |warning
Target Milestone|4.2.5 |4.3.4
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.3/4.4/4.5 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (10 preceding siblings ...)
2009-03-31 16:20 ` [Bug c++/17729] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
@ 2009-05-08 22:22 ` pinskia at gcc dot gnu dot org
2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-08 22:22 UTC (permalink / raw)
To: gcc-bugs
------- Comment #14 from pinskia at gcc dot gnu dot org 2009-05-08 22:21 -------
*** Bug 40077 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl dot tools at gmail dot
| |com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.3/4.4/4.5 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (11 preceding siblings ...)
2009-05-08 22:22 ` pinskia at gcc dot gnu dot org
@ 2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
2010-04-17 10:17 ` [Bug c++/17729] [4.3/4.4/4.5/4.6 " iains at gcc dot gnu dot org
2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-08-04 12:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #15 from rguenth at gcc dot gnu dot org 2009-08-04 12:26 -------
GCC 4.3.4 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.4 |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.3/4.4/4.5/4.6 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (12 preceding siblings ...)
2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
@ 2010-04-17 10:17 ` iains at gcc dot gnu dot org
2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 15+ messages in thread
From: iains at gcc dot gnu dot org @ 2010-04-17 10:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #16 from iains at gcc dot gnu dot org 2010-04-17 10:17 -------
Created an attachment (id=20407)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20407&action=view)
alter deprecation tests to eliminate duplicate warnings.
There are actually several constructs that have duplicated warnings.
The code below gives duplicates for each of the dg-warning cases shown:
I have not succeeded in getting the testsuite to recognize the duplicates (see
PR30612), even when putting a single case in one testfile as per the workaround
in the PR.
So, at present, one has to look at g++.log to confirm that the problems are
resolved.
===
gcc/cp/ChangeLog:
gcc/cp/typeck.c(build_class_member_access_expr): Don't check for deprecation
here.
gcc/cp/call.c(build_call_a): Ditto.
(build_over_call): Ditto.
(convert_like_real): Check for deprecation here instead.
(build_new_method_call): Ditto.
===
void func(void) __attribute__((deprecated));
void f(void) {
func(); // { dg-warning "'void func\\(\\)' is deprecated" "func()" }
}
struct s1 {
int notdep ;
int depfield __attribute__((deprecated));
union {
int notdep;
int deprec __attribute__((deprecated));
} u1 ;
union {
int notdep1;
int notdep2;
} u2 __attribute__((deprecated)) ;
} ;
int main(void) {
struct s1 a;
int b;
b = a.notdep;
b += a.depfield; // { dg-warning "'s1::depfield' is deprecated .declared at"
"depfield" }
b += a.u1.notdep;
b += a.u1.deprec; // { dg-warning "'s1::<anonymous union>::deprec' is
deprecated .declared at" "s1::u1.deprec" }
b += a.u2.notdep1 ;// { dg-warning "'s1::u2' is deprecated .declared at"
"s1::u2" }
return 0;
}
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug c++/17729] [4.3/4.4/4.5/4.6 Regression] Duplicate __attribute__((deprecated)) warning
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
` (13 preceding siblings ...)
2010-04-17 10:17 ` [Bug c++/17729] [4.3/4.4/4.5/4.6 " iains at gcc dot gnu dot org
@ 2010-05-22 18:16 ` rguenth at gcc dot gnu dot org
14 siblings, 0 replies; 15+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:16 UTC (permalink / raw)
To: gcc-bugs
------- Comment #17 from rguenth at gcc dot gnu dot org 2010-05-22 18:10 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17729
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2010-05-22 18:11 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-17729-230@http.gcc.gnu.org/bugzilla/>
2005-10-30 22:11 ` [Bug c++/17729] [3.4/4.0/4.1 Regression] Duplicate __attribute__((deprecated)) warning pinskia at gcc dot gnu dot org
2005-10-31 0:09 ` pinskia at gcc dot gnu dot org
2006-02-11 2:00 ` [Bug c++/17729] [3.4/4.0/4.1/4.2 " pinskia at gcc dot gnu dot org
2006-02-28 20:36 ` mmitchel at gcc dot gnu dot org
2006-05-25 2:45 ` [Bug c++/17729] [4.0/4.1/4.2 " mmitchel at gcc dot gnu dot org
2007-01-23 8:50 ` [Bug c++/17729] [4.0/4.1/4.2/4.3 " patchapp at dberlin dot org
2007-02-14 9:32 ` mmitchel at gcc dot gnu dot org
2008-01-22 22:18 ` bangerth at dealii dot org
2008-07-04 16:33 ` [Bug c++/17729] [4.2/4.3/4.4 " jsm28 at gcc dot gnu dot org
2008-07-23 21:13 ` mrs at apple dot com
2009-03-31 16:20 ` [Bug c++/17729] [4.3/4.4/4.5 " jsm28 at gcc dot gnu dot org
2009-05-08 22:22 ` pinskia at gcc dot gnu dot org
2009-08-04 12:27 ` rguenth at gcc dot gnu dot org
2010-04-17 10:17 ` [Bug c++/17729] [4.3/4.4/4.5/4.6 " iains at gcc dot gnu dot org
2010-05-22 18:16 ` rguenth at gcc dot gnu dot 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).