[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 --- Comment #5 from Patrick Palka --- Author: ppalka Date: Sun Jan 24 17:45:21 2016 New Revision: 232778 URL: https://gcc.gnu.org/viewcvs?rev=232778=gcc=rev Log: Revert "Fix the remaining PR c++/24666 blockers" gcc/cp/ChangeLog:

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-24 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 Patrick Palka changed: What|Removed |Added Status|RESOLVED|NEW Resolution|FIXED

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-19 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2016-01-18 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24664 --- Comment #3 from Patrick Palka --- Author: ppalka Date: Tue Jan 19 00:19:16 2016 New Revision: 232547 URL: https://gcc.gnu.org/viewcvs?rev=232547=gcc=rev Log: Fix the remaining PR c++/24666 blockers (arrays decay to pointers too early)

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2007-05-24 Thread andrew dot stubbs at st dot com
--- Comment #2 from andrew dot stubbs at st dot com 2007-05-24 15:27 --- You can create an array of functions. Also prohibited by clause 14.8.2/2. template class T int f(T[5]); typedef void (fn)(); int K = ffn(0); At least it doesn't seem to accept reference types ... -- andrew

[Bug c++/24664] Template instantiation generating an array of voids doesn't fail

2005-11-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2005-11-04 04:41 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added