[Bug c++/43522] [4.4 regression] Attempts to instantiate unnecessary code

2010-03-25 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2010-03-25 18:47 --- >it should be non-dependent. Except DR 224 changed that. See also PR 9634 comment #3 which shows that it is not dependent at all. And the trunk has the same behavior as 4.4. So this code is invalid as DR 224 chan

[Bug c++/43522] [4.4 regression] Attempts to instantiate unnecessary code

2010-03-25 Thread bangerth at gmail dot com
--- Comment #4 from bangerth at gmail dot com 2010-03-25 18:37 --- (In reply to comment #2) > So you are saying the standard thinks > FixedPoint::allow_double_instantiations is dependent. That is the correct question. We get the error message during template parsing, not during templa

[Bug c++/43522] 4.4 regression: Attempts to instantiate unnecessary code

2010-03-25 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-03-25 18:20 --- I think that name is not dependent because or DR 224, see PR 29607. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43522

[Bug c++/43522] 4.4 regression: Attempts to instantiate unnecessary code

2010-03-25 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2010-03-25 18:08 --- So you are saying the standard thinks FixedPoint::allow_double_instantiations is dependent. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43522

[Bug c++/43522] 4.4 regression: Attempts to instantiate unnecessary code

2010-03-25 Thread georgeh at rentec dot com
--- Comment #1 from georgeh at rentec dot com 2010-03-25 18:07 --- g++ -v output -- apologies: Using built-in specs. Target: i686-suse-linux Configured with: ../../gcc-4.4.3/configure --enable-languages=c,c++,fortran --p refix=/usr/local/products/gcc/4.4.3-32 --with-gnu-as --with-as=/u