From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83907 invoked by alias); 9 Jun 2015 13:07:56 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 83409 invoked by uid 48); 9 Jun 2015 13:07:52 -0000 From: "glisse at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66472] -Wshadow gets confused by using statements in template classes Date: Tue, 09 Jun 2015 13:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.1.0 X-Bugzilla-Keywords: diagnostic X-Bugzilla-Severity: normal X-Bugzilla-Who: glisse at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-06/txt/msg00813.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66472 --- Comment #3 from Marc Glisse --- (In reply to Gael Guennebaud from comment #0) > As suggested there https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57709#c16, I > tried to break at the call to warning_at to give you more input, but with no > luck, as if warning_at was not called at all. (I also tried to break at any > *warning* symbol with same result). I compile with g++ -wrapper gdb,--args ... where this gcc was compile with -O0 -g. Breaking on warning_at shows that member is a using_decl.