public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/35333]  New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin
@ 2008-02-23 19:39 reichelt at gcc dot gnu dot org
  2008-02-23 19:39 ` [Bug c++/35333] " reichelt at gcc dot gnu dot org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 19:39 UTC (permalink / raw)
  To: gcc-bugs

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

====================================================
void foo(__complex__ double x)
{
  __builtin_conj(x)();
}
====================================================

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


-- 
           Summary: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for
                    complex builtin
           Product: gcc
           Version: 4.4.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=35333


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

* [Bug c++/35333] [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
@ 2008-02-23 19:39 ` reichelt at gcc dot gnu dot org
  2008-02-24 22:03 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2008-02-23 19:39 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=35333


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

* [Bug c++/35333] [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
  2008-02-23 19:39 ` [Bug c++/35333] " reichelt at gcc dot gnu dot org
@ 2008-02-24 22:03 ` rguenth at gcc dot gnu dot org
  2008-02-25 17:19 ` pcarlini at suse dot de
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2008-02-24 22:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2008-02-24 22:02 -------
Confirmed.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-24 22:02:22
               date|                            |
   Target Milestone|4.1.3                       |4.2.4


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


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

* [Bug c++/35333] [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
  2008-02-23 19:39 ` [Bug c++/35333] " reichelt at gcc dot gnu dot org
  2008-02-24 22:03 ` rguenth at gcc dot gnu dot org
@ 2008-02-25 17:19 ` pcarlini at suse dot de
  2008-02-25 19:06 ` paolo at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pcarlini at suse dot de @ 2008-02-25 17:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pcarlini at suse dot de  2008-02-25 17:18 -------
Also simple.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|NEW                         |ASSIGNED


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


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

* [Bug c++/35333] [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-02-25 17:19 ` pcarlini at suse dot de
@ 2008-02-25 19:06 ` paolo at gcc dot gnu dot org
  2008-03-06 17:52 ` [Bug c++/35333] [4.1/4.2/4.3 " paolo at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-02-25 19:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from paolo at gcc dot gnu dot org  2008-02-25 19:05 -------
Subject: Bug 35333

Author: paolo
Date: Mon Feb 25 19:04:50 2008
New Revision: 132634

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132634
Log:
/cp
2008-02-25  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35333
        * error.c (dump_expr): Handle CONJ_EXPR.

/testsuite
2008-02-25  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35333
        * g++.dg/other/error26.C: New.

/cp
2008-02-25  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35338
        * error.c (dump_type): Handle FIXED_POINT_TYPE.
        (dump_expr): Handle FIXED_CST.

/testsuite
2008-02-25  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35338
        * g++.dg/other/error25.C: New.

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


-- 


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


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

* [Bug c++/35333] [4.1/4.2/4.3 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-02-25 19:06 ` paolo at gcc dot gnu dot org
@ 2008-03-06 17:52 ` paolo at gcc dot gnu dot org
  2008-03-06 17:54 ` [Bug c++/35333] [4.1/4.2 " pcarlini at suse dot de
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: paolo at gcc dot gnu dot org @ 2008-03-06 17:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from paolo at gcc dot gnu dot org  2008-03-06 17:51 -------
Subject: Bug 35333

Author: paolo
Date: Thu Mar  6 17:50:54 2008
New Revision: 132980

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132980
Log:
/cp
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35323
        * name-lookup.c (arg_assoc_type): Handle FIXED_POINT_TYPE.

/testsuite
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35323
        * g++.dg/lookup/crash7.C: New.

/cp
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35333
        * error.c (dump_expr): Handle CONJ_EXPR.

/testsuite
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35333
        * g++.dg/other/error26.C: New.

/cp
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35338
        * error.c (dump_type): Handle FIXED_POINT_TYPE.
        (dump_expr): Handle FIXED_CST.

/testsuite
2008-03-06  Paolo Carlini  <pcarlini@suse.de>

        PR c++/35338
        * g++.dg/other/error25.C: New.

Added:
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/lookup/crash7.C
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/error25.C
    branches/gcc-4_3-branch/gcc/testsuite/g++.dg/other/error26.C
Modified:
    branches/gcc-4_3-branch/gcc/cp/ChangeLog
    branches/gcc-4_3-branch/gcc/cp/error.c
    branches/gcc-4_3-branch/gcc/cp/name-lookup.c
    branches/gcc-4_3-branch/gcc/testsuite/ChangeLog


-- 


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


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

* [Bug c++/35333] [4.1/4.2 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-03-06 17:52 ` [Bug c++/35333] [4.1/4.2/4.3 " paolo at gcc dot gnu dot org
@ 2008-03-06 17:54 ` pcarlini at suse dot de
  2008-05-19 20:34 ` jsm28 at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pcarlini at suse dot de @ 2008-03-06 17:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pcarlini at suse dot de  2008-03-06 17:53 -------
Fixed for 4.3.1 too.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pcarlini at suse dot de     |unassigned at gcc dot gnu
                   |                            |dot org
             Status|ASSIGNED                    |NEW
            Summary|[4.1/4.2/4.3 regression]    |[4.1/4.2 regression] Broken
                   |Broken diagnostic for       |diagnostic for complex
                   |complex builtin             |builtin


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


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

* [Bug c++/35333] [4.1/4.2 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-03-06 17:54 ` [Bug c++/35333] [4.1/4.2 " pcarlini at suse dot de
@ 2008-05-19 20:34 ` jsm28 at gcc dot gnu dot org
  2008-07-04 23:02 ` [Bug c++/35333] [4.2 " jsm28 at gcc dot gnu dot org
  2009-03-31 15:16 ` jsm28 at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-05-19 20:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jsm28 at gcc dot gnu dot org  2008-05-19 20:25 -------
4.2.4 is being released, changing milestones to 4.2.5.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.2.4                       |4.2.5


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


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

* [Bug c++/35333] [4.2 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-05-19 20:34 ` jsm28 at gcc dot gnu dot org
@ 2008-07-04 23:02 ` jsm28 at gcc dot gnu dot org
  2009-03-31 15:16 ` jsm28 at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2008-07-04 23:02 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from jsm28 at gcc dot gnu dot org  2008-07-04 23:01 -------
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 for complex      |diagnostic for complex
                   |builtin                     |builtin


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


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

* [Bug c++/35333] [4.2 regression] Broken diagnostic for complex builtin
  2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-07-04 23:02 ` [Bug c++/35333] [4.2 " jsm28 at gcc dot gnu dot org
@ 2009-03-31 15:16 ` jsm28 at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-03-31 15:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from jsm28 at gcc dot gnu dot org  2009-03-31 15:16 -------
Closing 4.2 branch, fixed in 4.3.1 and 4.4.


-- 

jsm28 at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
      Known to fail|                            |4.2.5
      Known to work|                            |4.3.1 4.4.0
         Resolution|                            |FIXED
   Target Milestone|4.2.5                       |4.3.1


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


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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-23 19:39 [Bug c++/35333] New: [4.1/4.2/4.3/4.4 regression] Broken diagnostic for complex builtin reichelt at gcc dot gnu dot org
2008-02-23 19:39 ` [Bug c++/35333] " reichelt at gcc dot gnu dot org
2008-02-24 22:03 ` rguenth at gcc dot gnu dot org
2008-02-25 17:19 ` pcarlini at suse dot de
2008-02-25 19:06 ` paolo at gcc dot gnu dot org
2008-03-06 17:52 ` [Bug c++/35333] [4.1/4.2/4.3 " paolo at gcc dot gnu dot org
2008-03-06 17:54 ` [Bug c++/35333] [4.1/4.2 " pcarlini at suse dot de
2008-05-19 20:34 ` jsm28 at gcc dot gnu dot org
2008-07-04 23:02 ` [Bug c++/35333] [4.2 " jsm28 at gcc dot gnu dot org
2009-03-31 15:16 ` 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).