public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/34394]  New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
@ 2007-12-08 20:38 reichelt at gcc dot gnu dot org
  2007-12-08 20:38 ` [Bug c++/34394] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-08 20:38 UTC (permalink / raw)
  To: gcc-bugs

The C++ frontend issues a broken diagnostic for the following invalid
testcase since GCC 3.1:

==============================
extern double fabs(double);

void foo(double x)
{
  fabs(x)();
}
==============================

bug.cc: In function 'void foo(double)':
bug.cc:5: error: '#'abs_expr' not supported by dump_expr#<expression error>'
cannot be used as a function


-- 
           Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr'
                    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=34394


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

* [Bug c++/34394] [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
@ 2007-12-08 20:38 ` reichelt at gcc dot gnu dot org
  2007-12-08 20:39 ` pinskia at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-12-08 20:38 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=34394


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

* [Bug c++/34394] [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
  2007-12-08 20:38 ` [Bug c++/34394] " reichelt at gcc dot gnu dot org
@ 2007-12-08 20:39 ` pinskia at gcc dot gnu dot org
  2007-12-10 13:38 ` jakub at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-12-08 20:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-12-08 20:39 -------
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-12-08 20:39:33
               date|                            |


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


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

* [Bug c++/34394] [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
  2007-12-08 20:38 ` [Bug c++/34394] " reichelt at gcc dot gnu dot org
  2007-12-08 20:39 ` pinskia at gcc dot gnu dot org
@ 2007-12-10 13:38 ` jakub at gcc dot gnu dot org
  2007-12-10 14:32 ` jakub at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-12-10 13:38 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|NEW                         |ASSIGNED
   Last reconfirmed|2007-12-08 20:39:33         |2007-12-10 13:38:42
               date|                            |


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


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

* [Bug c++/34394] [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-12-10 13:38 ` jakub at gcc dot gnu dot org
@ 2007-12-10 14:32 ` jakub at gcc dot gnu dot org
  2007-12-10 14:39 ` [Bug c++/34394] [4.1/4.2 " jakub at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-12-10 14:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jakub at gcc dot gnu dot org  2007-12-10 14:31 -------
Subject: Bug 34394

Author: jakub
Date: Mon Dec 10 14:31:30 2007
New Revision: 130744

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

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

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


-- 


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


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

* [Bug c++/34394] [4.1/4.2 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-12-10 14:32 ` jakub at gcc dot gnu dot org
@ 2007-12-10 14:39 ` jakub at gcc dot gnu dot org
  2007-12-10 14:40 ` jakub at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-12-10 14:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jakub at gcc dot gnu dot org  2007-12-10 14:39 -------
Fixed on the trunk.


-- 

jakub at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|[4.1/4.2/4.3 regression]    |[4.1/4.2 regression] Broken
                   |Broken diagnostic:          |diagnostic: 'abs_expr' not
                   |'abs_expr' not supported by |supported by dump_expr
                   |dump_expr                   |


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


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

* [Bug c++/34394] [4.1/4.2 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2007-12-10 14:39 ` [Bug c++/34394] [4.1/4.2 " jakub at gcc dot gnu dot org
@ 2007-12-10 14:40 ` jakub at gcc dot gnu dot org
  2008-07-04 22:22 ` [Bug c++/34394] [4.2 " jsm28 at gcc dot gnu dot org
  2009-03-31  1:40 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu dot org @ 2007-12-10 14:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from jakub at gcc dot gnu dot org  2007-12-10 14:39 -------
Oops, didn't mean to close this altogether.


-- 

jakub at gcc dot gnu dot org changed:

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


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


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

* [Bug c++/34394] [4.2 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2007-12-10 14:40 ` jakub at gcc dot gnu dot org
@ 2008-07-04 22:22 ` jsm28 at gcc dot gnu dot org
  2009-03-31  1:40 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 22:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 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: 'abs_expr' not  |diagnostic: 'abs_expr' not
                   |supported by dump_expr      |supported by dump_expr
   Target Milestone|4.1.3                       |4.2.5


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


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

* [Bug c++/34394] [4.2 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr
  2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-07-04 22:22 ` [Bug c++/34394] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-31  1:40 ` jsm28 at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31  1:40 UTC (permalink / raw)
  To: gcc-bugs



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


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |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=34394


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-08 20:38 [Bug c++/34394] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'abs_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-12-08 20:38 ` [Bug c++/34394] " reichelt at gcc dot gnu dot org
2007-12-08 20:39 ` pinskia at gcc dot gnu dot org
2007-12-10 13:38 ` jakub at gcc dot gnu dot org
2007-12-10 14:32 ` jakub at gcc dot gnu dot org
2007-12-10 14:39 ` [Bug c++/34394] [4.1/4.2 " jakub at gcc dot gnu dot org
2007-12-10 14:40 ` jakub at gcc dot gnu dot org
2008-07-04 22:22 ` [Bug c++/34394] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31  1:40 ` 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).