public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
@ 2013-05-20 17:34 ` paolo.carlini at oracle dot com
  2013-05-23 23:02 ` paolo.carlini at oracle dot com
                   ` (11 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-20 17:34 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|gcc-bugs at gcc dot gnu.org        |fabien at gcc dot gnu.org

--- Comment #4 from Paolo Carlini <paolo.carlini at oracle dot com> ---
PR14258 is fixed and this is still rejected. Maybe Fabien wants to have a
look?!?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
  2013-05-20 17:34 ` [Bug c++/37140] type inherited from base class not recognized paolo.carlini at oracle dot com
@ 2013-05-23 23:02 ` paolo.carlini at oracle dot com
  2013-08-01 10:49 ` paolo.carlini at oracle dot com
                   ` (10 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-05-23 23:02 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #6 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Thanks a lot!


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
  2013-05-20 17:34 ` [Bug c++/37140] type inherited from base class not recognized paolo.carlini at oracle dot com
  2013-05-23 23:02 ` paolo.carlini at oracle dot com
@ 2013-08-01 10:49 ` paolo.carlini at oracle dot com
  2013-08-01 10:50 ` paolo.carlini at oracle dot com
                   ` (9 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-01 10:49 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|fabien at gcc dot gnu.org          |

--- Comment #7 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Any news on this?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2013-08-01 10:49 ` paolo.carlini at oracle dot com
@ 2013-08-01 10:50 ` paolo.carlini at oracle dot com
  2013-08-02  8:10 ` fabien at gcc dot gnu.org
                   ` (8 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-08-01 10:50 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-08-01
     Ever confirmed|0                           |1


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2013-08-01 10:50 ` paolo.carlini at oracle dot com
@ 2013-08-02  8:10 ` fabien at gcc dot gnu.org
  2014-01-22 15:29 ` paolo.carlini at oracle dot com
                   ` (7 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2013-08-02  8:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from fabien at gcc dot gnu.org ---
(In reply to Paolo Carlini from comment #7)
> Any news on this?

Sorry Paolo, no news. I will look into it after I resurrect some "stage one 1
material" patches on using decls (comming after c++/54537). I think this one
can be tackled in stage 3.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2013-08-02  8:10 ` fabien at gcc dot gnu.org
@ 2014-01-22 15:29 ` paolo.carlini at oracle dot com
  2014-01-27 12:54 ` fabien at gcc dot gnu.org
                   ` (6 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-01-22 15:29 UTC (permalink / raw)
  To: gcc-bugs

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

Paolo Carlini <paolo.carlini at oracle dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|joao.eiras at gmail dot com        |

--- Comment #9 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fabien, any news on this - now that we are in Stage 3?


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2014-01-22 15:29 ` paolo.carlini at oracle dot com
@ 2014-01-27 12:54 ` fabien at gcc dot gnu.org
  2014-02-02 19:58 ` fabien at gcc dot gnu.org
                   ` (5 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-01-27 12:54 UTC (permalink / raw)
  To: gcc-bugs

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

fabien at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #10 from fabien at gcc dot gnu.org ---
(In reply to Paolo Carlini from comment #9)
> Fabien, any news on this - now that we are in Stage 3?

I have successfuly tested a patch, but wait a moment, I need to refine it a
bit.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2014-01-27 12:54 ` fabien at gcc dot gnu.org
@ 2014-02-02 19:58 ` fabien at gcc dot gnu.org
  2014-02-02 20:03 ` fabien at gcc dot gnu.org
                   ` (4 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-02-02 19:58 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from fabien at gcc dot gnu.org ---
Author: fabien
Date: Sun Feb  2 19:58:06 2014
New Revision: 207407

URL: http://gcc.gnu.org/viewcvs?rev=207407&root=gcc&view=rev
Log:
2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>
        PR c++/37140
        * parser.c (cp_parser_nonclass_name): Call strip_using_decl and
    move the code handling dependent USING_DECLs...
        * name-lookup.c (strip_using_decl): ...Here.

2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>

        PR c++/37140
        * g++.dg/template/using27.C: New.
    * g++.dg/template/using28.C: New.
    * g++.dg/template/using29.C: New.

Modified:
    trunk/gcc/cp/name-lookup.c


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2014-02-02 19:58 ` fabien at gcc dot gnu.org
@ 2014-02-02 20:03 ` fabien at gcc dot gnu.org
  2014-02-02 20:06 ` fabien at gcc dot gnu.org
                   ` (3 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-02-02 20:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from fabien at gcc dot gnu.org ---
Author: fabien
Date: Sun Feb  2 20:02:37 2014
New Revision: 207408

URL: http://gcc.gnu.org/viewcvs?rev=207408&root=gcc&view=rev
Log:
2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>
        PR c++/37140
        * parser.c (cp_parser_nonclass_name): Call strip_using_decl and
    move the code handling dependent USING_DECLs...
        * name-lookup.c (strip_using_decl): ...Here.

2014-02-02  Fabien Chene  <fabien@gcc.gnu.org>

        PR c++/37140
        * g++.dg/template/using27.C: New.
    * g++.dg/template/using28.C: New.
    * g++.dg/template/using29.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/template/using27.C
    trunk/gcc/testsuite/g++.dg/template/using28.C
    trunk/gcc/testsuite/g++.dg/template/using29.C
Modified:
    trunk/gcc/cp/parser.c


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2014-02-02 20:03 ` fabien at gcc dot gnu.org
@ 2014-02-02 20:06 ` fabien at gcc dot gnu.org
  2014-02-02 20:08 ` fabien at gcc dot gnu.org
                   ` (2 subsequent siblings)
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-02-02 20:06 UTC (permalink / raw)
  To: gcc-bugs

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

fabien at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #13 from fabien at gcc dot gnu.org ---
Fixed in 4.9. I will backport it to 4.8 and 4.7 if everething goes well.


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2014-02-02 20:06 ` fabien at gcc dot gnu.org
@ 2014-02-02 20:08 ` fabien at gcc dot gnu.org
  2014-02-24 20:28 ` fabien at gcc dot gnu.org
  2014-02-26 21:16 ` fabien at gcc dot gnu.org
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-02-02 20:08 UTC (permalink / raw)
  To: gcc-bugs

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

fabien at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |roshan.shariff at gmail dot com

--- Comment #14 from fabien at gcc dot gnu.org ---
*** Bug 58047 has been marked as a duplicate of this bug. ***


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2014-02-02 20:08 ` fabien at gcc dot gnu.org
@ 2014-02-24 20:28 ` fabien at gcc dot gnu.org
  2014-02-26 21:16 ` fabien at gcc dot gnu.org
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-02-24 20:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #15 from fabien at gcc dot gnu.org ---
Author: fabien
Date: Mon Feb 24 20:27:34 2014
New Revision: 208093

URL: http://gcc.gnu.org/viewcvs?rev=208093&root=gcc&view=rev
Log:
2014-02-24  Fabien Chene  <fabien@gcc.gnu.org>
        PR c++/37140
        * parser.c (cp_parser_nonclass_name): Call strip_using_decl and
    move the code handling dependent USING_DECLs...
        * name-lookup.c (strip_using_decl): ...Here.

2014-02-24  Fabien Chene  <fabien@gcc.gnu.org>

        PR c++/37140
        * g++.dg/template/using27.C: New.
        * g++.dg/template/using28.C: New.
        * g++.dg/template/using29.C: New.

Added:
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/using27.C
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/using28.C
    branches/gcc-4_8-branch/gcc/testsuite/g++.dg/template/using29.C
Modified:
    branches/gcc-4_8-branch/gcc/cp/ChangeLog
    branches/gcc-4_8-branch/gcc/cp/name-lookup.c
    branches/gcc-4_8-branch/gcc/cp/parser.c
    branches/gcc-4_8-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2014-02-24 20:28 ` fabien at gcc dot gnu.org
@ 2014-02-26 21:16 ` fabien at gcc dot gnu.org
  12 siblings, 0 replies; 16+ messages in thread
From: fabien at gcc dot gnu.org @ 2014-02-26 21:16 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from fabien at gcc dot gnu.org ---
Author: fabien
Date: Wed Feb 26 21:16:15 2014
New Revision: 208182

URL: http://gcc.gnu.org/viewcvs?rev=208182&root=gcc&view=rev
Log:
2014-02-26  Fabien Chene  <fabien@gcc.gnu.org>
        PR c++/37140
        * parser.c (cp_parser_nonclass_name): Call strip_using_decl and
    move the code handling dependent USING_DECLs...
        * name-lookup.c (strip_using_decl): ...Here.

2014-02-26  Fabien Chene  <fabien@gcc.gnu.org>

        PR c++/37140
        * g++.dg/template/using27.C: New.
        * g++.dg/template/using28.C: New.
        * g++.dg/template/using29.C: New.

Added:
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/using27.C
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/using28.C
    branches/gcc-4_7-branch/gcc/testsuite/g++.dg/template/using29.C
Modified:
    branches/gcc-4_7-branch/gcc/cp/ChangeLog
    branches/gcc-4_7-branch/gcc/cp/name-lookup.c
    branches/gcc-4_7-branch/gcc/cp/parser.c
    branches/gcc-4_7-branch/gcc/testsuite/ChangeLog


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-16602@http.gcc.gnu.org/bugzilla/>
  2008-08-16 16:43 ` joao dot eiras at gmail dot com
  2008-09-27 22:11 ` fang at csl dot cornell dot edu
@ 2009-12-11  0:50 ` redi at gcc dot gnu dot org
  2 siblings, 0 replies; 16+ messages in thread
From: redi at gcc dot gnu dot org @ 2009-12-11  0:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from redi at gcc dot gnu dot org  2009-12-11 00:50 -------
is this bug 14258 ?


-- 


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-16602@http.gcc.gnu.org/bugzilla/>
  2008-08-16 16:43 ` joao dot eiras at gmail dot com
@ 2008-09-27 22:11 ` fang at csl dot cornell dot edu
  2009-12-11  0:50 ` redi at gcc dot gnu dot org
  2 siblings, 0 replies; 16+ messages in thread
From: fang at csl dot cornell dot edu @ 2008-09-27 22:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from fang at csl dot cornell dot edu  2008-09-27 22:09 -------
With the test case, I get the same diagnostic with g++-4.3.2.
I'm not sure if the in-class using directive is supposed to work as you
expected, but what I usually write is (using your example):

template<class X> class B: A<X>{
public:
        typedef typename A<X>::o_t   o_t;
        B(){typename o_t::type_t x;}
};

... which compiles for me.  


-- 


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug c++/37140] type inherited from base class not recognized
       [not found] <bug-37140-16602@http.gcc.gnu.org/bugzilla/>
@ 2008-08-16 16:43 ` joao dot eiras at gmail dot com
  2008-09-27 22:11 ` fang at csl dot cornell dot edu
  2009-12-11  0:50 ` redi at gcc dot gnu dot org
  2 siblings, 0 replies; 16+ messages in thread
From: joao dot eiras at gmail dot com @ 2008-08-16 16:43 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from joao dot eiras at gmail dot com  2008-08-16 16:42 -------
Sorry, full error is

gpp_bug_2.cpp: In constructor `B<X>::B()':
gpp_bug_2.cpp:15: error: `o_t' is not a class or namesp
gpp_bug_2.cpp:15: error: `type_t' does not name a type


-- 

joao dot eiras at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joao dot eiras at gmail dot
                   |                            |com


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2014-02-26 21:16 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37140-4@http.gcc.gnu.org/bugzilla/>
2013-05-20 17:34 ` [Bug c++/37140] type inherited from base class not recognized paolo.carlini at oracle dot com
2013-05-23 23:02 ` paolo.carlini at oracle dot com
2013-08-01 10:49 ` paolo.carlini at oracle dot com
2013-08-01 10:50 ` paolo.carlini at oracle dot com
2013-08-02  8:10 ` fabien at gcc dot gnu.org
2014-01-22 15:29 ` paolo.carlini at oracle dot com
2014-01-27 12:54 ` fabien at gcc dot gnu.org
2014-02-02 19:58 ` fabien at gcc dot gnu.org
2014-02-02 20:03 ` fabien at gcc dot gnu.org
2014-02-02 20:06 ` fabien at gcc dot gnu.org
2014-02-02 20:08 ` fabien at gcc dot gnu.org
2014-02-24 20:28 ` fabien at gcc dot gnu.org
2014-02-26 21:16 ` fabien at gcc dot gnu.org
     [not found] <bug-37140-16602@http.gcc.gnu.org/bugzilla/>
2008-08-16 16:43 ` joao dot eiras at gmail dot com
2008-09-27 22:11 ` fang at csl dot cornell dot edu
2009-12-11  0:50 ` redi at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).