public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
@ 2010-11-28 15:07 ` paolo.carlini at oracle dot com
  2011-04-06 16:17 ` yacwroy at gmail dot com
                   ` (16 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: paolo.carlini at oracle dot com @ 2010-11-28 15:07 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |paolo.carlini at oracle dot
                   |                            |com, vincenzo.innocente at
                   |                            |cern dot ch

--- Comment #3 from Paolo Carlini <paolo.carlini at oracle dot com> 2010-11-28 14:40:29 UTC ---
Vincenzo is interested, let's add him in CC.


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
  2010-11-28 15:07 ` [Bug c++/45114] implement C++0x alias-declaration paolo.carlini at oracle dot com
@ 2011-04-06 16:17 ` yacwroy at gmail dot com
  2011-04-08 15:31 ` jason at gcc dot gnu.org
                   ` (15 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: yacwroy at gmail dot com @ 2011-04-06 16:17 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from Simon Hill <yacwroy at gmail dot com> 2011-04-06 16:17:35 UTC ---
I was trying out this patch to see whether it might be usable to me, just as a
preview.

Firstly: Is this patch at a stage where it could be possible to complete a
make/install, or am I jumping the gun?



I don't want to update the patch (at least not without confirmation), but in
case anyone else wants to try it as is, I believe that "parser.c" line 13496:

if (at_class_scope () || template_parm_scope_p ())

should be changed to:

if (at_class_scope_p () || template_parm_scope_p ())

(otherwise it doesn't compile).



I got an ICE trying to make GCC on a SVN trunk checkout yesterday after
(manually) patching with this (it only failed on building the libs).
I can supply details if you want, but I guess this patch is outdated now?


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
  2010-11-28 15:07 ` [Bug c++/45114] implement C++0x alias-declaration paolo.carlini at oracle dot com
  2011-04-06 16:17 ` yacwroy at gmail dot com
@ 2011-04-08 15:31 ` jason at gcc dot gnu.org
  2011-08-16 10:30 ` redi at gcc dot gnu.org
                   ` (14 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: jason at gcc dot gnu.org @ 2011-04-08 15:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-04-08 15:30:53 UTC ---
I stopped working on it before it was usable at all, it's just here in case
someone wants to use it as a starting point.


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2011-04-08 15:31 ` jason at gcc dot gnu.org
@ 2011-08-16 10:30 ` redi at gcc dot gnu.org
  2011-09-20 22:19 ` dodji at gcc dot gnu.org
                   ` (13 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: redi at gcc dot gnu.org @ 2011-08-16 10:30 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marc.coiffier at free dot
                   |                            |fr

--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-08-16 10:20:00 UTC ---
*** Bug 42085 has been marked as a duplicate of this bug. ***


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2011-08-16 10:30 ` redi at gcc dot gnu.org
@ 2011-09-20 22:19 ` dodji at gcc dot gnu.org
  2011-10-27 19:19 ` dodji at gcc dot gnu.org
                   ` (12 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-09-20 22:19 UTC (permalink / raw)
  To: gcc-bugs

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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at gcc dot       |dodji at gcc dot gnu.org
                   |gnu.org                     |

--- Comment #7 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-09-20 21:24:27 UTC ---
Mine


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2011-09-20 22:19 ` dodji at gcc dot gnu.org
@ 2011-10-27 19:19 ` dodji at gcc dot gnu.org
  2011-10-27 22:32 ` redi at gcc dot gnu.org
                   ` (11 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-10-27 19:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #8 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-10-27 19:18:33 UTC ---
A candidate patch extending the patch attached in the first comment
and allegedly implementing the feature was posted to
http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02494.html. If some
people have self contained test cases, I'd be interested.


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2011-10-27 19:19 ` dodji at gcc dot gnu.org
@ 2011-10-27 22:32 ` redi at gcc dot gnu.org
  2011-10-31 16:09 ` vincenzo.innocente at cern dot ch
                   ` (10 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: redi at gcc dot gnu.org @ 2011-10-27 22:32 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-27 22:27:35 UTC ---
I don't have any self-contained tests but there are a number of TODOs in
libstdc++ which indicate places that should use a template alias when available
- I'll try the patch and revisit those TODOs


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2011-10-27 22:32 ` redi at gcc dot gnu.org
@ 2011-10-31 16:09 ` vincenzo.innocente at cern dot ch
  2011-10-31 16:18 ` vincenzo.innocente at cern dot ch
                   ` (9 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-10-31 16:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #10 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-10-31 16:06:41 UTC ---
using the patch of comment 8
in the example below I get

$ c++ -std=gnu++0x -c talias.cc 
$ c++ -std=gnu++0x -c talias.cc -DALIAS
talias.cc: In instantiation of ‘Bar::D<T> Bar::d() [with T = int]’:
talias.cc:44:19:   required from here
talias.cc:34:23: error: no matching function for call to
‘Bar::D<int>::D(Bar::A<int>)’
talias.cc:34:23: note: candidates are:
talias.cc:19:5: note: Bar::D<T>::D(const Bar::A<T>&) [with T = int; Bar::A<T> =
Foo<int>]
talias.cc:19:5: note:   no known conversion for argument 1 from ‘Bar::A<int>
{aka Foo<int>}’ to ‘Bar::A<int>& {aka Foo<int>&}’
talias.cc:15:5: note: Bar::D<T>::D() [with T = int]
talias.cc:15:5: note:   candidate expects 0 arguments, 1 provided
talias.cc:14:10: note: constexpr Bar::D<int>::D(const Bar::D<int>&)
talias.cc:14:10: note:   no known conversion for argument 1 from ‘Bar::A<int>
{aka Foo<int>}’ to ‘const Bar::D<int>&’
talias.cc:14:10: note: constexpr Bar::D<int>::D(Bar::D<int>&&)
talias.cc:14:10: note:   no known conversion for argument 1 from ‘Bar::A<int>
{aka Foo<int>}’ to ‘Bar::D<int>&&’

otherwise the patch looks fine (i.e. no other problem found so far :-)

template<typename T>
struct Foo {
  explicit Foo(char *im) : m(im){}
  char * m;
};

struct Bar {

  template<typename T> using A = Foo<T>;

  template<typename T>
  struct D {
    D() {}
#ifndef ALIAS
    D(Foo<T> const & ia) : a(ia) {}
#else
    D(A<T>   const & ia) : a(ia) {}
#endif
    A<T>  a;
  };

  template<typename T>
  A<T> 
  a() {
    return  A<T>(m_i);
  }

  template<typename T>
  D<T> d() {
    return D<T>(a<T>());
  }

  char m_i[10000];
};


Bar b;
Bar::D<int> bar() {
  return b.d<int>();
}


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2011-10-31 16:09 ` vincenzo.innocente at cern dot ch
@ 2011-10-31 16:18 ` vincenzo.innocente at cern dot ch
  2011-11-05 23:49 ` dodji at seketeli dot org
                   ` (8 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: vincenzo.innocente at cern dot ch @ 2011-10-31 16:18 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #11 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-10-31 16:16:54 UTC ---
the example in comment 10 compiles fine if I add a move constructor
 D(A<T>   && ia) : a(ia) {}
or a "by value constructor"
 D(A<T>  ia) : a(ia) {}


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2011-10-31 16:18 ` vincenzo.innocente at cern dot ch
@ 2011-11-05 23:49 ` dodji at seketeli dot org
  2011-11-07 21:47 ` dodji at gcc dot gnu.org
                   ` (7 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at seketeli dot org @ 2011-11-05 23:49 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #12 from dodji at seketeli dot org <dodji at seketeli dot org> 2011-11-05 23:47:57 UTC ---
"vincenzo.innocente at cern dot ch" <gcc-bugzilla@gcc.gnu.org> a écrit:

> --- Comment #10 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-10-31 16:06:41 UTC ---
> using the patch of comment 8 in the example below I get

Thank you for testing the patch.  Just FYI, I have updated it and posted
a newer, hopefully better version to gcc-patches[1].  It happens to
compile your example now.

[1]: http://gcc.gnu.org/ml/gcc-patches/2011-11/msg00747.html


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2011-11-05 23:49 ` dodji at seketeli dot org
@ 2011-11-07 21:47 ` dodji at gcc dot gnu.org
  2011-11-07 22:01 ` dodji at gcc dot gnu.org
                   ` (6 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-07 21:47 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #13 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-11-07 21:28:55 UTC ---
Author: dodji
Date: Mon Nov  7 21:28:50 2011
New Revision: 181118

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181118
Log:
PR c++/45114 - Support C++11 alias-declaration

gcc/cp/

    * cp-tree.h (TYPE_DECL_ALIAS_P, TYPE_ALIAS_P)
    (DECL_TYPE_TEMPLATE_P, DECL_ALIAS_TEMPLATE_P): New accessor
    macros.
    (TYPE_TEMPLATE_INFO): Get template info of an alias template
    specializations from its TYPE_DECL.
    (SET_TYPE_TEMPLATE_INFO): Set template info of alias template
    specializations into its TYPE_DECL.
    (DECL_CLASS_TEMPLATE_P): Re-write using the new
    DECL_TYPE_TEMPLATE_P.
    (enum cp_decl_spec): Add new ds_alias enumerator.
    (alias_type_or_template_p, alias_template_specialization_p):
    Declare new functions.
    * parser.c (cp_parser_alias_declaration): New static function.
    (cp_parser_check_decl_spec): Add "using" name for the `alias'
    declspec.
    (cp_parser_type_name): Update comment.  Support simple-template-id
    representing alias template specializations in c++0x mode.
    (cp_parser_qualifying_entity): Update comment.  Use
    cp_parser_type_name.
    (cp_parser_block_declaration): Handle alias-declaration in c++11.
    Update comment.
    (cp_parser_template_id): Handle specializations of alias
    templates.
    (cp_parser_member_declaration): Add alias-declaration production
    to comment.  Support alias-declarations.
    (cp_parser_template_declaration_after_export): Handle alias
    templates in c++11.
    * decl.c (make_typename_type, make_unbound_class_template): Accept
    alias templates.
    (grokdeclarator): Set TYPE_DECL_ALIAS_P on alias
    declarations.
    * decl2.c (grokfield): Move template creation after setting up the
    TYPE_DECL of the alias, so that the TEMPLATE_DECL of the alias
    template actually carries the right type-id of the alias
    declaration.
    * pt.c (alias_type_or_template_p)
    (alias_template_specialization_p): Define new public functions.
    (maybe_process_partial_specialization): Reject partial
    specializations of alias templates.
    (primary_template_instantiation_p): Consider alias template
    instantiations.
    (push_template_decl_real): Assert that TYPE_DECLs of alias
    templates are different from those of class template.  Store
    template info onto the TYPE_DECL of the alias template.
    (convert_template_argument): Strip aliases from template
    arguments.
    (lookup_template_class_1): Handle the creation of the
    specialization of an alias template.
    (tsubst_decl): Create a substituted copy of the TYPE_DECL of an
    member alias template.
    (tsubst): Handle substituting into the type of an alias template.
    Handle substituting UNBOUND_CLASS_TEMPLATE into
    BOUND_TEMPLATE_TEMPLATE_PARM.
    (do_type_instantiation): Better diagnostics when trying to
    explicitely instantiate a non-class template.
    * search.c (lookup_field_1, lookup_field_r): Support looking up
    alias templates.
    * semantics.c (finish_template_type): For instantiations of alias
    templates, return the TYPE_DECL of the actual alias and not the
    one of the aliased type.
    * error.c (dump_alias_template_specialization): New static
    function.
    (dump_type): Handle printing of alias templates and their
    specializations.  templates.
    (dump_aggr_type): For specialization of alias templates, fetch
    arguments from the right place.
    (dump_decl): Print an alias-declaration like `using decl = type;'
    (dump_template_decl):  Support printing of alias templates.

gcc/testsuite/

    * g++.dg/cpp0x/alias-decl-0.C: New test case.
    * g++.dg/cpp0x/alias-decl-1.C: Likewise.
    * g++.dg/cpp0x/alias-decl-3.C: Likewise.
    * g++.dg/cpp0x/alias-decl-4.C: Likewise.
    * g++.dg/cpp0x/alias-decl-6.C: Likewise.
    * g++.dg/cpp0x/alias-decl-7.C: Likewise.
    * g++.dg/cpp0x/alias-decl-8.C: Likewise.
    * g++.dg/cpp0x/alias-decl-9.C: Likewise.
    * g++.dg/cpp0x/alias-decl-10.C: Likewise.
    * g++.dg/ext/alias-decl-attr1.C: Likewise.
    * g++.dg/ext/alias-decl-attr2.C: Likewise.
    * g++.dg/ext/alias-decl-attr3.C: Likewise.
    * g++.dg/ext/alias-decl-attr4.C: Likewise.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-0.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-1.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-10.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-2.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-3.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-4.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-5.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-6.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-7.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-8.C
    trunk/gcc/testsuite/g++.dg/cpp0x/alias-decl-9.C
    trunk/gcc/testsuite/g++.dg/ext/alias-decl-attr1.C
    trunk/gcc/testsuite/g++.dg/ext/alias-decl-attr2.C
    trunk/gcc/testsuite/g++.dg/ext/alias-decl-attr3.C
    trunk/gcc/testsuite/g++.dg/ext/alias-decl-attr4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/cp-tree.h
    trunk/gcc/cp/decl.c
    trunk/gcc/cp/decl2.c
    trunk/gcc/cp/error.c
    trunk/gcc/cp/parser.c
    trunk/gcc/cp/pt.c
    trunk/gcc/cp/search.c
    trunk/gcc/cp/semantics.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2011-11-07 21:47 ` dodji at gcc dot gnu.org
@ 2011-11-07 22:01 ` dodji at gcc dot gnu.org
  2011-11-07 22:05 ` jacob.benoit.1 at gmail dot com
                   ` (5 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at gcc dot gnu.org @ 2011-11-07 22:01 UTC (permalink / raw)
  To: gcc-bugs

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

Dodji Seketeli <dodji at gcc dot gnu.org> changed:

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

--- Comment #15 from Dodji Seketeli <dodji at gcc dot gnu.org> 2011-11-07 21:59:49 UTC ---
Fixed in trunk (4.7)


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2011-11-07 22:01 ` dodji at gcc dot gnu.org
@ 2011-11-07 22:05 ` jacob.benoit.1 at gmail dot com
  2011-11-07 22:48 ` redi at gcc dot gnu.org
                   ` (4 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: jacob.benoit.1 at gmail dot com @ 2011-11-07 22:05 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #14 from Benoit Jacob <jacob.benoit.1 at gmail dot com> 2011-11-07 21:57:18 UTC ---
\o/

You rock!


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2011-11-07 22:05 ` jacob.benoit.1 at gmail dot com
@ 2011-11-07 22:48 ` redi at gcc dot gnu.org
  2011-11-09 12:10 ` dodji at seketeli dot org
                   ` (3 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: redi at gcc dot gnu.org @ 2011-11-07 22:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-07 22:46:13 UTC ---
Created attachment 25746
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25746
make use of alias-declarations in libstdc++

here's the library patch to enable all the alias-declarations I'd commented out
until this was ready - it builds ok, I'm testing it now


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2011-11-07 22:48 ` redi at gcc dot gnu.org
@ 2011-11-09 12:10 ` dodji at seketeli dot org
  2011-11-09 12:19 ` dodji at seketeli dot org
                   ` (2 subsequent siblings)
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at seketeli dot org @ 2011-11-09 12:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #17 from dodji at seketeli dot org <dodji at seketeli dot org> 2011-11-09 12:04:18 UTC ---
> --- Comment #14 from Benoit Jacob <jacob.benoit.1 at gmail dot com> 2011-11-07 21:57:18 UTC ---
> \o/
>
> You rock!

Thank you, Benoit.  :-)


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (14 preceding siblings ...)
  2011-11-09 12:10 ` dodji at seketeli dot org
@ 2011-11-09 12:19 ` dodji at seketeli dot org
  2011-11-09 12:24 ` redi at gcc dot gnu.org
  2022-11-30 21:03 ` pinskia at gcc dot gnu.org
  17 siblings, 0 replies; 21+ messages in thread
From: dodji at seketeli dot org @ 2011-11-09 12:19 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #18 from dodji at seketeli dot org <dodji at seketeli dot org> 2011-11-09 12:05:08 UTC ---
"redi at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> a écrit:
> Created attachment 25746
>   --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25746
> make use of alias-declarations in libstdc++
>
> here's the library patch to enable all the alias-declarations I'd commented out
> until this was ready - it builds ok, I'm testing it now

Thanks for being so quick, Jon.


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (15 preceding siblings ...)
  2011-11-09 12:19 ` dodji at seketeli dot org
@ 2011-11-09 12:24 ` redi at gcc dot gnu.org
  2022-11-30 21:03 ` pinskia at gcc dot gnu.org
  17 siblings, 0 replies; 21+ messages in thread
From: redi at gcc dot gnu.org @ 2011-11-09 12:24 UTC (permalink / raw)
  To: gcc-bugs

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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25746|0                           |1
        is obsolete|                            |

--- Comment #19 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-11-09 12:17:30 UTC ---
Comment on attachment 25746
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25746
make use of alias-declarations in libstdc++

Thanks for implementing it! The final version I checked in was a bit different,
but I'm pleased to say all the places I needed/wanted to use an
alias-declaration worked fine.


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

* [Bug c++/45114] implement C++0x alias-declaration
       [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
                   ` (16 preceding siblings ...)
  2011-11-09 12:24 ` redi at gcc dot gnu.org
@ 2022-11-30 21:03 ` pinskia at gcc dot gnu.org
  17 siblings, 0 replies; 21+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-11-30 21:03 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0

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

* [Bug c++/45114] implement C++0x alias-declaration
  2010-07-28 19:12 [Bug c++/45114] New: " jason at gcc dot gnu dot org
  2010-07-28 19:12 ` [Bug c++/45114] " jason at gcc dot gnu dot org
  2010-07-28 19:13 ` jason at gcc dot gnu dot org
@ 2010-09-07 18:09 ` bangerth at gmail dot com
  2 siblings, 0 replies; 21+ messages in thread
From: bangerth at gmail dot com @ 2010-09-07 18:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bangerth at gmail dot com  2010-09-07 18:08 -------
Corresponding paper, for reference:
  http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf


-- 


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


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

* [Bug c++/45114] implement C++0x alias-declaration
  2010-07-28 19:12 [Bug c++/45114] New: " jason at gcc dot gnu dot org
  2010-07-28 19:12 ` [Bug c++/45114] " jason at gcc dot gnu dot org
@ 2010-07-28 19:13 ` jason at gcc dot gnu dot org
  2010-09-07 18:09 ` bangerth at gmail dot com
  2 siblings, 0 replies; 21+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-07-28 19:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from jason at gcc dot gnu dot org  2010-07-28 19:13 -------
Created an attachment (id=21341)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21341&action=view)
initial incomplete patch


-- 


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


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

* [Bug c++/45114] implement C++0x alias-declaration
  2010-07-28 19:12 [Bug c++/45114] New: " jason at gcc dot gnu dot org
@ 2010-07-28 19:12 ` jason at gcc dot gnu dot org
  2010-07-28 19:13 ` jason at gcc dot gnu dot org
  2010-09-07 18:09 ` bangerth at gmail dot com
  2 siblings, 0 replies; 21+ messages in thread
From: jason at gcc dot gnu dot org @ 2010-07-28 19:12 UTC (permalink / raw)
  To: gcc-bugs



-- 

jason at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-07-28 19:12:36
               date|                            |


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


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

end of thread, other threads:[~2022-11-30 21:03 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-45114-4@http.gcc.gnu.org/bugzilla/>
2010-11-28 15:07 ` [Bug c++/45114] implement C++0x alias-declaration paolo.carlini at oracle dot com
2011-04-06 16:17 ` yacwroy at gmail dot com
2011-04-08 15:31 ` jason at gcc dot gnu.org
2011-08-16 10:30 ` redi at gcc dot gnu.org
2011-09-20 22:19 ` dodji at gcc dot gnu.org
2011-10-27 19:19 ` dodji at gcc dot gnu.org
2011-10-27 22:32 ` redi at gcc dot gnu.org
2011-10-31 16:09 ` vincenzo.innocente at cern dot ch
2011-10-31 16:18 ` vincenzo.innocente at cern dot ch
2011-11-05 23:49 ` dodji at seketeli dot org
2011-11-07 21:47 ` dodji at gcc dot gnu.org
2011-11-07 22:01 ` dodji at gcc dot gnu.org
2011-11-07 22:05 ` jacob.benoit.1 at gmail dot com
2011-11-07 22:48 ` redi at gcc dot gnu.org
2011-11-09 12:10 ` dodji at seketeli dot org
2011-11-09 12:19 ` dodji at seketeli dot org
2011-11-09 12:24 ` redi at gcc dot gnu.org
2022-11-30 21:03 ` pinskia at gcc dot gnu.org
2010-07-28 19:12 [Bug c++/45114] New: " jason at gcc dot gnu dot org
2010-07-28 19:12 ` [Bug c++/45114] " jason at gcc dot gnu dot org
2010-07-28 19:13 ` jason at gcc dot gnu dot org
2010-09-07 18:09 ` bangerth at gmail dot com

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).