public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/30896]  New: Broken diagnostic for complex template parameter
@ 2007-02-20 21:11 reichelt at gcc dot gnu dot org
  2007-03-09  4:22 ` [Bug c++/30896] " bangerth at dealii dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-02-20 21:11 UTC (permalink / raw)
  To: gcc-bugs

The diagnostic fo the following invalid code snippet is broken
since GCC 3.0. GCC 2.95.x even crashed.

=====================================
template<int> struct A {};

A<0i> a;
=====================================

bug.cc:3: error: could not convert template argument '#'complex_cst' not
supported by dump_expr#<expression error>' to 'int'
bug.cc:3: error: invalid type in declaration before ';' token


-- 
           Summary: Broken diagnostic for complex template parameter
           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=30896


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

* [Bug c++/30896] Broken diagnostic for complex template parameter
  2007-02-20 21:11 [Bug c++/30896] New: Broken diagnostic for complex template parameter reichelt at gcc dot gnu dot org
@ 2007-03-09  4:22 ` bangerth at dealii dot org
  2007-08-12 19:11 ` pcarlini at suse dot de
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bangerth at dealii dot org @ 2007-03-09  4:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from bangerth at dealii dot org  2007-03-09 04:22 -------
Confirmed.


-- 

bangerth at dealii dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bangerth at dealii dot org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-03-09 04:22:37
               date|                            |


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


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

* [Bug c++/30896] Broken diagnostic for complex template parameter
  2007-02-20 21:11 [Bug c++/30896] New: Broken diagnostic for complex template parameter reichelt at gcc dot gnu dot org
  2007-03-09  4:22 ` [Bug c++/30896] " bangerth at dealii dot org
@ 2007-08-12 19:11 ` pcarlini at suse dot de
  2007-08-28  9:39 ` pcarlini at suse dot de
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2007-08-12 19:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pcarlini at suse dot de  2007-08-12 19:11 -------
Working on it.


-- 

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=30896


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

* [Bug c++/30896] Broken diagnostic for complex template parameter
  2007-02-20 21:11 [Bug c++/30896] New: Broken diagnostic for complex template parameter reichelt at gcc dot gnu dot org
  2007-03-09  4:22 ` [Bug c++/30896] " bangerth at dealii dot org
  2007-08-12 19:11 ` pcarlini at suse dot de
@ 2007-08-28  9:39 ` pcarlini at suse dot de
  2007-08-28 10:00 ` pcarlini at suse dot de
  2007-08-29  6:41 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2007-08-28  9:39 UTC (permalink / raw)
  To: gcc-bugs



-- 

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
   Target Milestone|---                         |4.3.0


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


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

* [Bug c++/30896] Broken diagnostic for complex template parameter
  2007-02-20 21:11 [Bug c++/30896] New: Broken diagnostic for complex template parameter reichelt at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-08-28  9:39 ` pcarlini at suse dot de
@ 2007-08-28 10:00 ` pcarlini at suse dot de
  2007-08-29  6:41 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pcarlini at suse dot de @ 2007-08-28 10:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pcarlini at suse dot de  2007-08-28 09:59 -------
Fixed by:

  http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01906.html


-- 


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


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

* [Bug c++/30896] Broken diagnostic for complex template parameter
  2007-02-20 21:11 [Bug c++/30896] New: Broken diagnostic for complex template parameter reichelt at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-08-28 10:00 ` pcarlini at suse dot de
@ 2007-08-29  6:41 ` reichelt at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-08-29  6:41 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from reichelt at gcc dot gnu dot org  2007-08-29 06:41 -------
Fixed, indeed.


-- 

reichelt at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2007-08-29  6:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 21:11 [Bug c++/30896] New: Broken diagnostic for complex template parameter reichelt at gcc dot gnu dot org
2007-03-09  4:22 ` [Bug c++/30896] " bangerth at dealii dot org
2007-08-12 19:11 ` pcarlini at suse dot de
2007-08-28  9:39 ` pcarlini at suse dot de
2007-08-28 10:00 ` pcarlini at suse dot de
2007-08-29  6:41 ` reichelt 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).