public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations
@ 2013-10-30 23:35 lucdanton at free dot fr
  2013-10-31 10:19 ` [Bug c++/58932] " paolo.carlini at oracle dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: lucdanton at free dot fr @ 2013-10-30 23:35 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 58932
           Summary: [4.9 Regression][C++11] Deleted functions and SFINAE
                    in partial template specializations
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: lucdanton at free dot fr

Created attachment 31114
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=31114&action=edit
Testcase

Using:

$ gcc-snapshot --version
gcc-snapshot (Debian 20131021-1) 4.9.0 20131021 (experimental) [trunk revision
203899]

with flags -std=c++11 -Wall. The testcase is modified from PR 37208
(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37208). I'm fairly confident that
previous 4.9 snapshots used to accept that kind of code (i.e. compile,
undefined references notwithstanding), and I think 4.8 does -- no copy of 4.8.2
on hand though.


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

* [Bug c++/58932] [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations
  2013-10-30 23:35 [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations lucdanton at free dot fr
@ 2013-10-31 10:19 ` paolo.carlini at oracle dot com
  2013-10-31 11:44 ` paolo.carlini at oracle dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-10-31 10:19 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2013-10-31
     Ever confirmed|0                           |1

--- Comment #1 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Looks indeed like a very recent regression. At least P2.


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

* [Bug c++/58932] [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations
  2013-10-30 23:35 [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations lucdanton at free dot fr
  2013-10-31 10:19 ` [Bug c++/58932] " paolo.carlini at oracle dot com
@ 2013-10-31 11:44 ` paolo.carlini at oracle dot com
  2013-10-31 12:09 ` paolo at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-10-31 11:44 UTC (permalink / raw)
  To: gcc-bugs

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

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 #2 from Paolo Carlini <paolo.carlini at oracle dot com> ---
It's my r203836, I'm reverting it and adding the testcase.


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

* [Bug c++/58932] [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations
  2013-10-30 23:35 [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations lucdanton at free dot fr
  2013-10-31 10:19 ` [Bug c++/58932] " paolo.carlini at oracle dot com
  2013-10-31 11:44 ` paolo.carlini at oracle dot com
@ 2013-10-31 12:09 ` paolo at gcc dot gnu.org
  2013-10-31 12:10 ` paolo at gcc dot gnu.org
  2013-10-31 12:11 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu.org @ 2013-10-31 12:09 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Oct 31 12:09:17 2013
New Revision: 204250

URL: http://gcc.gnu.org/viewcvs?rev=204250&root=gcc&view=rev
Log:
/cp
2013-10-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58932
    Revert:
    2013-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58466
    * pt.c (most_specialized_class): Bump processing_template_decl for
    get_class_bindings.

/testsuite
2013-10-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58932
    Revert:
    2013-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58466
    * g++.dg/cpp0x/variadic145.C: New.

    * g++.dg/cpp0x/sfinae49.C: New.

Removed:
    trunk/gcc/testsuite/g++.dg/cpp0x/variadic145.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/pt.c
    trunk/gcc/testsuite/ChangeLog


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

* [Bug c++/58932] [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations
  2013-10-30 23:35 [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations lucdanton at free dot fr
                   ` (2 preceding siblings ...)
  2013-10-31 12:09 ` paolo at gcc dot gnu.org
@ 2013-10-31 12:10 ` paolo at gcc dot gnu.org
  2013-10-31 12:11 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo at gcc dot gnu.org @ 2013-10-31 12:10 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #4 from paolo at gcc dot gnu.org <paolo at gcc dot gnu.org> ---
Author: paolo
Date: Thu Oct 31 12:10:20 2013
New Revision: 204252

URL: http://gcc.gnu.org/viewcvs?rev=204252&root=gcc&view=rev
Log:
/cp
2013-10-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58932
    Revert:
    2013-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58466
    * pt.c (most_specialized_class): Bump processing_template_decl for
    get_class_bindings.

/testsuite
2013-10-31  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58932
    Revert:
    2013-10-18  Paolo Carlini  <paolo.carlini@oracle.com>

    PR c++/58466
    * g++.dg/cpp0x/variadic145.C: New.

    * g++.dg/cpp0x/sfinae49.C: New.

Added:
    trunk/gcc/testsuite/g++.dg/cpp0x/sfinae49.C


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

* [Bug c++/58932] [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations
  2013-10-30 23:35 [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations lucdanton at free dot fr
                   ` (3 preceding siblings ...)
  2013-10-31 12:10 ` paolo at gcc dot gnu.org
@ 2013-10-31 12:11 ` paolo.carlini at oracle dot com
  4 siblings, 0 replies; 6+ messages in thread
From: paolo.carlini at oracle dot com @ 2013-10-31 12:11 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0

--- Comment #5 from Paolo Carlini <paolo.carlini at oracle dot com> ---
Done.


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

end of thread, other threads:[~2013-10-31 12:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-30 23:35 [Bug c++/58932] New: [4.9 Regression][C++11] Deleted functions and SFINAE in partial template specializations lucdanton at free dot fr
2013-10-31 10:19 ` [Bug c++/58932] " paolo.carlini at oracle dot com
2013-10-31 11:44 ` paolo.carlini at oracle dot com
2013-10-31 12:09 ` paolo at gcc dot gnu.org
2013-10-31 12:10 ` paolo at gcc dot gnu.org
2013-10-31 12:11 ` paolo.carlini at oracle 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).