[Bug c++/40843] access violation not detected for non dependent qualified enum value

2010-09-20 Thread redi at gcc dot gnu dot org
--- Comment #5 from redi at gcc dot gnu dot org 2010-09-20 15:54 --- PR 41437 has a simpler testcase *** This bug has been marked as a duplicate of 41437 *** -- redi at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/40843] access violation not detected for non dependent qualified enum value

2009-07-23 Thread sipych at gmail dot com
--- Comment #4 from sipych at gmail dot com 2009-07-24 00:00 --- // More similar cases. Static members also may be accessed #include class A { enum { value=1 }; // private static const int ci=2; static int fi() { return 3; } }; template // bug appears only if B is a tem

[Bug c++/40843] access violation not detected for non dependent qualified enum value

2009-07-23 Thread sipych at gmail dot com
--- Comment #3 from sipych at gmail dot com 2009-07-23 22:46 --- Also present in gcc 4.4.0 -- sipych at gmail dot com changed: What|Removed |Added Known to fail|

[Bug c++/40843] access violation not detected for non dependent qualified enum value

2009-07-23 Thread sipych at gmail dot com
--- Comment #2 from sipych at gmail dot com 2009-07-23 22:08 --- (In reply to comment #1) > I think this is a duplicate of bug 21008. > Not shure, A::value may not be accessible neither at the template definition, nor at the instantiation time. -- http://gcc.gnu.org/bugzilla/show_

[Bug c++/40843] access violation not detected for non dependent qualified enum value

2009-07-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-07-23 21:46 --- I think this is a duplicate of bug 21008. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---