public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
@ 2003-08-02 17:56 ` pinskia at physics dot uc dot edu
  2003-08-06 23:30 ` pinskia at physics dot uc dot edu
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-02 17:56 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |3.4


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-02 17:56 -------
Fixed on the mainline (20030801).  Will submit a testcase.
The function is mangled as _Z1fIPiEvT_ which is void f<int*>(int*).


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
  2003-08-02 17:56 ` [Bug c++/5435] Resolution of templates with VLAs pinskia at physics dot uc dot edu
@ 2003-08-06 23:30 ` pinskia at physics dot uc dot edu
  2003-08-07 18:40 ` pinskia at physics dot uc dot edu
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-06 23:30 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

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


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-06 23:30 -------
I was wrong the original test case does not compile still:
pr5435.cc: In function `int main(int, char**)':
pr5435.cc:8: error: no matching function for call to `f(int (*)[argc])'
2.95.3 accepted this but produced unasmeblable code.


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
  2003-08-02 17:56 ` [Bug c++/5435] Resolution of templates with VLAs pinskia at physics dot uc dot edu
  2003-08-06 23:30 ` pinskia at physics dot uc dot edu
@ 2003-08-07 18:40 ` pinskia at physics dot uc dot edu
  2003-08-07 18:52 ` pinskia at physics dot uc dot edu
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-07 18:40 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-07 18:40 -------
>From Phil's regression hunter: Search converges between 2001-01-14-trunk (#2) and 
2001-01-21-trunk (#3).


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
                   ` (2 preceding siblings ...)
  2003-08-07 18:40 ` pinskia at physics dot uc dot edu
@ 2003-08-07 18:52 ` pinskia at physics dot uc dot edu
  2003-08-10 18:14 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-08-07 18:52 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
                   ` (3 preceding siblings ...)
  2003-08-07 18:52 ` pinskia at physics dot uc dot edu
@ 2003-08-10 18:14 ` pinskia at gcc dot gnu dot org
  2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-10 18:14 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2003-05-12 00:00:00         |2003-08-10 18:14:33
               date|                            |


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-08-10 18:14 -------
The error message has changed:
pr5435.cc:8: error: no matching function for call to `f(int (*)[((long unsigned int)argc)])'


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
                   ` (4 preceding siblings ...)
  2003-08-10 18:14 ` pinskia at gcc dot gnu dot org
@ 2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
  2003-08-23  1:37 ` dhazeghi at yahoo dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-08-19 13:21 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pinskia at gcc dot gnu dot
                   |                            |org
   Last reconfirmed|2003-08-18 04:44:18         |2003-08-19 13:21:07
               date|                            |


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
                   ` (5 preceding siblings ...)
  2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
@ 2003-08-23  1:37 ` dhazeghi at yahoo dot com
  2003-12-28  5:55 ` pinskia at gcc dot gnu dot org
  2004-08-12  0:23 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: dhazeghi at yahoo dot com @ 2003-08-23  1:37 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


dhazeghi at yahoo dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|3.4                         |---


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
                   ` (6 preceding siblings ...)
  2003-08-23  1:37 ` dhazeghi at yahoo dot com
@ 2003-12-28  5:55 ` pinskia at gcc dot gnu dot org
  2004-08-12  0:23 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2003-12-28  5:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2003-12-28 04:58 -------
Maybe this should wait until C++ gets VLA from C99.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
                   ` (7 preceding siblings ...)
  2003-12-28  5:55 ` pinskia at gcc dot gnu dot org
@ 2004-08-12  0:23 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-12  0:23 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |16994
              nThis|                            |


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


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

* [Bug c++/5435] Resolution of templates with VLAs
       [not found] <bug-5435-2891@http.gcc.gnu.org/bugzilla/>
@ 2009-03-03 21:24 ` jason at gcc dot gnu dot org
  0 siblings, 0 replies; 10+ messages in thread
From: jason at gcc dot gnu dot org @ 2009-03-03 21:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from jason at gcc dot gnu dot org  2009-03-03 21:23 -------
int (*)[argc] is not a valid template type argument, as it depends on a runtime
value, and template arguments need to be known at compile time.  If you want to
pass your VLA to a template function, you need to let it decay to int*.


-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |INVALID


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


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

end of thread, other threads:[~2009-03-03 21:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20020120030601.5435.guillaume.lemaitre33@wanadoo.fr>
2003-08-02 17:56 ` [Bug c++/5435] Resolution of templates with VLAs pinskia at physics dot uc dot edu
2003-08-06 23:30 ` pinskia at physics dot uc dot edu
2003-08-07 18:40 ` pinskia at physics dot uc dot edu
2003-08-07 18:52 ` pinskia at physics dot uc dot edu
2003-08-10 18:14 ` pinskia at gcc dot gnu dot org
2003-08-19 13:21 ` pinskia at gcc dot gnu dot org
2003-08-23  1:37 ` dhazeghi at yahoo dot com
2003-12-28  5:55 ` pinskia at gcc dot gnu dot org
2004-08-12  0:23 ` pinskia at gcc dot gnu dot org
     [not found] <bug-5435-2891@http.gcc.gnu.org/bugzilla/>
2009-03-03 21:24 ` jason 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).