public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden
       [not found] <bug-15339-4@http.gcc.gnu.org/bugzilla/>
@ 2011-10-12 16:11 ` paolo.carlini at oracle dot com
  2014-07-31 17:36 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2011-10-12 16:11 UTC (permalink / raw)
  To: gcc-bugs

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

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

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

--- Comment #14 from Paolo Carlini <paolo.carlini at oracle dot com> 2011-10-12 16:11:22 UTC ---
*** Bug 48372 has been marked as a duplicate of this bug. ***


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

* [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden
       [not found] <bug-15339-4@http.gcc.gnu.org/bugzilla/>
  2011-10-12 16:11 ` [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden paolo.carlini at oracle dot com
@ 2014-07-31 17:36 ` paolo.carlini at oracle dot com
  2014-08-02 19:42 ` paolo.carlini at oracle dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-07-31 17:36 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
           Assignee|unassigned at gcc dot gnu.org      |paolo.carlini at oracle dot com

--- Comment #15 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Mine.


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

* [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden
       [not found] <bug-15339-4@http.gcc.gnu.org/bugzilla/>
  2011-10-12 16:11 ` [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden paolo.carlini at oracle dot com
  2014-07-31 17:36 ` paolo.carlini at oracle dot com
@ 2014-08-02 19:42 ` paolo.carlini at oracle dot com
  2014-08-02 19:42 ` paolo at gcc dot gnu.org
  2014-08-02 21:39 ` paolo at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: paolo.carlini at oracle dot com @ 2014-08-02 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
           Assignee|paolo.carlini at oracle dot com    |unassigned at gcc dot gnu.org
   Target Milestone|---                         |4.10.0

--- Comment #17 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Fixed.


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

* [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden
       [not found] <bug-15339-4@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2014-08-02 19:42 ` paolo.carlini at oracle dot com
@ 2014-08-02 19:42 ` paolo at gcc dot gnu.org
  2014-08-02 21:39 ` paolo at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-08-02 19:42 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #16 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Aug  2 19:41:32 2014
New Revision: 213519

URL: https://gcc.gnu.org/viewcvs?rev=213519&root=gcc&view=rev
Log:
/cp
2014-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/15339
    * decl.c (check_redeclaration_no_default_args): New.
    (duplicate_decls): Use it, handle default arguments
    in redeclarations of function templates.

/testsuite
2014-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/15339
    * g++.dg/other/default9.C: New.
    * g++.dg/other/default10.C: Likewise.
    * g++.dg/other/default3.C: Remove xfail.

Added:
    trunk/gcc/testsuite/g++.dg/other/default10.C
    trunk/gcc/testsuite/g++.dg/other/default9.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/g++.dg/other/default3.C


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

* [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden
       [not found] <bug-15339-4@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2014-08-02 19:42 ` paolo at gcc dot gnu.org
@ 2014-08-02 21:39 ` paolo at gcc dot gnu.org
  4 siblings, 0 replies; 5+ messages in thread
From: paolo at gcc dot gnu.org @ 2014-08-02 21:39 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #18 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Sat Aug  2 21:38:34 2014
New Revision: 213520

URL: https://gcc.gnu.org/viewcvs?rev=213520&root=gcc&view=rev
Log:
2014-08-02  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/15339
    * testsuite/26_numerics/headers/complex/synopsis.cc: Fix.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/testsuite/26_numerics/headers/complex/synopsis.cc


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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-15339-4@http.gcc.gnu.org/bugzilla/>
2011-10-12 16:11 ` [Bug c++/15339] [DR217] Adding default arguments to function templates in redeclarations should be forbidden paolo.carlini at oracle dot com
2014-07-31 17:36 ` paolo.carlini at oracle dot com
2014-08-02 19:42 ` paolo.carlini at oracle dot com
2014-08-02 19:42 ` paolo at gcc dot gnu.org
2014-08-02 21:39 ` paolo at gcc dot gnu.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).