public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C
@ 2005-09-04 20:43 reichelt at gcc dot gnu dot org
  2005-09-04 21:26 ` [Bug c++/23725] " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-09-04 20:43 UTC (permalink / raw)
  To: gcc-bugs

Mainline issues the following diagnostic for the code from
g++.dg/inherit/using4.C:

================================
struct B { 
  void f();
}; 
 
struct D : B { 
  using B::f; 
  using B::f;  // { dg-error "repeated" }
}; 
================================

using4.C:7: error: repeated using declaration 'using#'function_decl' not
supported by dump_type#<type error>::f'

On the 4.0 branch we have the correct diagnostic:

using4.C:7: error: repeated using declaration 'using B::f'

-- 
           Summary: [4.1 regression] Error message regression with
                    g++.dg/inherit/using4.C
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23725


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/23725] [4.1 regression] Error message regression with g++.dg/inherit/using4.C
  2005-09-04 20:43 [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C reichelt at gcc dot gnu dot org
@ 2005-09-04 21:26 ` pinskia at gcc dot gnu dot org
  2005-09-05 10:01 ` reichelt at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-09-04 21:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-09-04 21:26 -------
Confirmed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-09-04 21:26:25
               date|                            |
   Target Milestone|---                         |4.1.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23725


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/23725] [4.1 regression] Error message regression with g++.dg/inherit/using4.C
  2005-09-04 20:43 [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C reichelt at gcc dot gnu dot org
  2005-09-04 21:26 ` [Bug c++/23725] " pinskia at gcc dot gnu dot org
@ 2005-09-05 10:01 ` reichelt at gcc dot gnu dot org
  2005-09-05 10:14 ` nathan at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2005-09-05 10:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From reichelt at gcc dot gnu dot org  2005-09-05 10:01 -------
Nathan, your patch for PR 19497 broke this:
http://gcc.gnu.org/ml/gcc-cvs/2005-06/msg00336.html

Could you please have a look?


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nathan at codesourcery dot
                   |                            |com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23725


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/23725] [4.1 regression] Error message regression with g++.dg/inherit/using4.C
  2005-09-04 20:43 [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C reichelt at gcc dot gnu dot org
  2005-09-04 21:26 ` [Bug c++/23725] " pinskia at gcc dot gnu dot org
  2005-09-05 10:01 ` reichelt at gcc dot gnu dot org
@ 2005-09-05 10:14 ` nathan at gcc dot gnu dot org
  2005-09-15 11:27 ` cvs-commit at gcc dot gnu dot org
  2005-09-15 11:28 ` nathan at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-09-05 10:14 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |nathan at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2005-09-04 21:26:25         |2005-09-05 10:14:17
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23725


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/23725] [4.1 regression] Error message regression with g++.dg/inherit/using4.C
  2005-09-04 20:43 [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2005-09-05 10:14 ` nathan at gcc dot gnu dot org
@ 2005-09-15 11:27 ` cvs-commit at gcc dot gnu dot org
  2005-09-15 11:28 ` nathan at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-09-15 11:27 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-09-15 11:27 -------
Subject: Bug 23725

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	nathan@gcc.gnu.org	2005-09-15 11:27:13

Modified files:
	gcc/cp         : ChangeLog error.c 

Log message:
	PR c++/23725
	* error.c (dump_decl): <USING_DECL case> Use USING_DECL_SCOPE.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/ChangeLog.diff?cvsroot=gcc&r1=1.4890&r2=1.4891
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/cp/error.c.diff?cvsroot=gcc&r1=1.291&r2=1.292



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23725


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c++/23725] [4.1 regression] Error message regression with g++.dg/inherit/using4.C
  2005-09-04 20:43 [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2005-09-15 11:27 ` cvs-commit at gcc dot gnu dot org
@ 2005-09-15 11:28 ` nathan at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: nathan at gcc dot gnu dot org @ 2005-09-15 11:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From nathan at gcc dot gnu dot org  2005-09-15 11:28 -------
2005-09-15  Nathan Sidwell  <nathan@codesourcery.com>

	PR c++/23725
	* error.c (dump_decl): <USING_DECL case> Use USING_DECL_SCOPE.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23725


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-15 11:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-04 20:43 [Bug c++/23725] New: [4.1 regression] Error message regression with g++.dg/inherit/using4.C reichelt at gcc dot gnu dot org
2005-09-04 21:26 ` [Bug c++/23725] " pinskia at gcc dot gnu dot org
2005-09-05 10:01 ` reichelt at gcc dot gnu dot org
2005-09-05 10:14 ` nathan at gcc dot gnu dot org
2005-09-15 11:27 ` cvs-commit at gcc dot gnu dot org
2005-09-15 11:28 ` nathan 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).