[Bug c++/43775] g++ parser rejects valid code.

2010-04-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-04-18 06:49 --- How do we know if this is valid code or not? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43775

[Bug c++/43775] g++ parser rejects valid code.

2010-04-18 Thread pluto at agmk dot net
--- Comment #5 from pluto at agmk dot net 2010-04-18 08:35 --- (In reply to comment #4) How do we know if this is valid code or not? comeau online testdriver accept this code. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43775

[Bug c++/43775] g++ parser rejects valid code.

2010-04-18 Thread jason at gcc dot gnu dot org
--- Comment #6 from jason at gcc dot gnu dot org 2010-04-18 15:04 --- Dup of 43608. *** This bug has been marked as a duplicate of 43608 *** -- jason at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/43775] g++ parser rejects valid code.

2010-04-18 Thread jason at gcc dot gnu dot org
--- Comment #7 from jason at gcc dot gnu dot org 2010-04-18 15:08 --- That is, the problem is that template_arity_impl calls arity_helper(type_wrapperF,...) in a way that uses arg-dependent lookup, which means looking up arity_helper within F, which means instantiating F, which in this

[Bug c++/43775] g++ parser rejects valid code.

2010-04-17 Thread pluto at agmk dot net
--- Comment #1 from pluto at agmk dot net 2010-04-17 08:51 --- Created an attachment (id=20405) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20405action=view) testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43775

[Bug c++/43775] g++ parser rejects valid code.

2010-04-17 Thread pluto at agmk dot net
--- Comment #2 from pluto at agmk dot net 2010-04-17 08:53 --- just try to compile it with 'g++ -c'. it ends with: (...) 0.ii:128606:39: instantiated from here 0.ii:121745:12: error: no type named 'proto_tag' in 'struct boost::proto::_child_c0' 0.ii:121749:9: error: no type named

[Bug c++/43775] g++ parser rejects valid code.

2010-04-17 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||rejects-valid Target Milestone|--- |4.5.1

[Bug c++/43775] g++ parser rejects valid code.

2010-04-17 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2010-04-17 14:30 --- It is caused by revision 153958: http://gcc.gnu.org/ml/gcc-cvs/2009-11/msg00176.html -- hjl dot tools at gmail dot com changed: What|Removed |Added