[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2009-04-14 18:54 --- Fixed. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2009-04-14 17:14 --- Subject: Bug 39763 Author: jason Date: Tue Apr 14 17:14:04 2009 New Revision: 146054 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146054 Log: PR c++/39763 * name-lookup.c (pushdecl_maybe_frie

[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread jason at gcc dot gnu dot org
--- Comment #5 from jason at gcc dot gnu dot org 2009-04-14 17:04 --- Subject: Bug 39763 Author: jason Date: Tue Apr 14 17:04:04 2009 New Revision: 146053 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=146053 Log: PR c++/39763 * name-lookup.c (pushdecl_maybe_frie

[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2009-04-14 15:04 --- Yeah, it would help to use -Wshadow... -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-14 14:57 --- I certainly can, with e.g. fresly updated: GNU C++ (GCC) version 4.5.0 20090414 (experimental) (x86_64-unknown-linux-gnu) LC_ALL=C ./cc1plus -O2 -Wshadow z.C -quiet z.C: In function 'int foo()': z.C:11: warning: declar

[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread jason at gcc dot gnu dot org
--- Comment #2 from jason at gcc dot gnu dot org 2009-04-14 14:25 --- I can't reproduce this with 4.4 or 4.5. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39763

[Bug c++/39763] -Wshadow reports shadowed declarations for parameters of unnamed temp objects

2009-04-14 Thread caolanm at redhat dot com
--- Comment #1 from caolanm at redhat dot com 2009-04-14 13:06 --- Created an attachment (id=17631) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17631&action=view) trivial demo -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39763