[Bug c++/21976] Incomplete types are not detected at template definition time

2023-02-03 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21976

Andrew Pinski  changed:

   What|Removed |Added

 CC||vanyacpp at gmail dot com

--- Comment #4 from Andrew Pinski  ---
*** Bug 59284 has been marked as a duplicate of this bug. ***

[Bug c++/21976] Incomplete types are not detected at template definition time

2013-09-24 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21976

Paolo Carlini paolo.carlini at oracle dot com changed:

   What|Removed |Added

   Priority|P2  |P3
 CC|gcc-bugs at gcc dot gnu.org|
  Known to fail||


[Bug c++/21976] Incomplete types are not detected at template definition time

2006-10-19 Thread ppluzhnikov at charter dot net


--- Comment #3 from ppluzhnikov at charter dot net  2006-10-19 17:34 ---
Here is another (very similar) test case:

  template class T struct Dict {
struct Iterator;
Iterator begin() { return Iterator(); } // incomplete
  };
  template class T struct DictT::Iterator { Iterator() { } };


-- 


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



[Bug c++/21976] Incomplete types are not detected at template definition time

2005-06-09 Thread mw_adtrap at yahoo dot de


-- 
   What|Removed |Added

 CC||mw_adtrap at yahoo dot de


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


[Bug c++/21976] Incomplete types are not detected at template definition time

2005-06-09 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-06-09 
14:27 ---
Obvious reduced testcase is the following:
struct A;
template int void
f (void) {A b;}



-- 
   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org


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