public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34275] [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
  2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
@ 2007-11-28 21:48 ` reichelt at gcc dot gnu dot org
  2007-11-29  9:47 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-11-28 21:48 UTC (permalink / raw)
  To: gcc-bugs



-- 

reichelt at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.3


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


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

* [Bug c++/34275]  New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
@ 2007-11-28 21:48 reichelt at gcc dot gnu dot org
  2007-11-28 21:48 ` [Bug c++/34275] " reichelt at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-11-28 21:48 UTC (permalink / raw)
  To: gcc-bugs

A broken diagnostic is issued since GCC 4.0.0 for the following code snippet:

===============================================================
struct A
{
  virtual A foo();
};

void bar(A& a)
{
  a.foo()=0;
}
===============================================================

bug.cc: In function 'void bar(A&)':
bug.cc:8: error: no match for 'operator=' in '#'obj_type_ref' not supported by
dump_expr#<expression error>() = 0'
bug.cc:2: note: candidates are: A& A::operator=(const A&)


-- 
           Summary: [4.1/4.2/4.3 regression] Broken diagnostic:
                    'obj_type_ref' not supported by dump_expr
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

* [Bug c++/34275] [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
  2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
  2007-11-28 21:48 ` [Bug c++/34275] " reichelt at gcc dot gnu dot org
@ 2007-11-29  9:47 ` jakub at gcc dot gnu dot org
  2007-11-30  7:25 ` jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-29  9:47 UTC (permalink / raw)
  To: gcc-bugs



-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |jakub at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-11-29 09:47:11
               date|                            |


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


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

* [Bug c++/34275] [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
  2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
  2007-11-28 21:48 ` [Bug c++/34275] " reichelt at gcc dot gnu dot org
  2007-11-29  9:47 ` jakub at gcc dot gnu dot org
@ 2007-11-30  7:25 ` jakub at gcc dot gnu dot org
  2007-11-30  7:26 ` [Bug c++/34275] [4.1/4.2 " jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-30  7:25 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jakub at gcc dot gnu dot org  2007-11-30 07:25 -------
Subject: Bug 34275

Author: jakub
Date: Fri Nov 30 07:24:54 2007
New Revision: 130533

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130533
Log:
        PR c++/34275
        * error.c (dump_expr): Handle OBJ_TYPE_REF.

        * g++.dg/other/error20.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/other/error20.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/error.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/34275] [4.1/4.2 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
  2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-11-30  7:25 ` jakub at gcc dot gnu dot org
@ 2007-11-30  7:26 ` jakub at gcc dot gnu dot org
  2008-07-04 22:22 ` [Bug c++/34275] [4.2 " jsm28 at gcc dot gnu dot org
  2009-03-31  1:37 ` jsm28 at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-11-30  7:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2007-11-30 07:26 -------
Fixed on the trunk.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2/4.3 regression]    |[4.1/4.2 regression] Broken
                   |Broken diagnostic:          |diagnostic: 'obj_type_ref'
                   |'obj_type_ref' not supported|not supported by dump_expr
                   |by dump_expr                |


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


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

* [Bug c++/34275] [4.2 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
  2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-11-30  7:26 ` [Bug c++/34275] [4.1/4.2 " jakub at gcc dot gnu dot org
@ 2008-07-04 22:22 ` jsm28 at gcc dot gnu dot org
  2009-03-31  1:37 ` jsm28 at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jsm28 at gcc dot gnu dot org  2008-07-04 22:21 -------
Closing 4.1 branch.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.1/4.2 regression] Broken |[4.2 regression] Broken
                   |diagnostic: 'obj_type_ref'  |diagnostic: 'obj_type_ref'
                   |not supported by dump_expr  |not supported by dump_expr
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/34275] [4.2 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr
  2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-07-04 22:22 ` [Bug c++/34275] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-31  1:37 ` jsm28 at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31  1:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jsm28 at gcc dot gnu dot org  2009-03-31 01:36 -------
Closing 4.2 branch, fixed in 4.3.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Known to fail|                            |4.2.5
      Known to work|                            |4.3.0
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.0


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


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

end of thread, other threads:[~2009-03-31  1:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-28 21:48 [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-11-28 21:48 ` [Bug c++/34275] " reichelt at gcc dot gnu dot org
2007-11-29  9:47 ` jakub at gcc dot gnu dot org
2007-11-30  7:25 ` jakub at gcc dot gnu dot org
2007-11-30  7:26 ` [Bug c++/34275] [4.1/4.2 " jakub at gcc dot gnu dot org
2008-07-04 22:22 ` [Bug c++/34275] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31  1:37 ` jsm28 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).