[Bug c++/9907] [3.4 regression] sizeof considered as non constant

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Thu Jun 19 18:41:00 GMT 2003


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

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


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|0000-00-00 00:00:00         |2003-06-19 18:41:04
               date|                            |


------- Additional Comments From pinskia at physics dot uc dot edu  2003-06-19 18:41 -------
Still exists on the mainline (20030618):
[omni:~/src/gccPRs] pinskia% gcc pr9907.cc
pr9907.cc: In function `void baz()':
pr9907.cc:10: error: non-constant `sizeof ((*foo()()))' cannot be used as 
   template argument
pr9907.cc:10: error: expected `;'



More information about the Gcc-bugs mailing list