[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2013-01-02 Thread jason at gcc dot gnu.org


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



--- Comment #11 from Jason Merrill jason at gcc dot gnu.org 2013-01-02 
20:54:46 UTC ---

Author: jason

Date: Wed Jan  2 20:54:42 2013

New Revision: 194820



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194820

Log:

PR c++/54325

* call.c (build_new_method_call_1): Don't use build_value_init for

user-provided default constructors.



Added:

trunk/gcc/testsuite/g++.dg/cpp0x/initlist-protected.C

Modified:

trunk/gcc/cp/ChangeLog

trunk/gcc/cp/call.c


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2013-01-02 Thread jason at gcc dot gnu.org


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



--- Comment #12 from Jason Merrill jason at gcc dot gnu.org 2013-01-02 
20:56:37 UTC ---

Author: jason

Date: Wed Jan  2 20:56:29 2013

New Revision: 194821



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194821

Log:

PR c++/54325

* call.c (build_new_method_call_1): Don't use build_value_init for

user-provided default constructors.



Added:

branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/initlist-protected.C

Modified:

branches/gcc-4_7-branch/gcc/cp/ChangeLog

branches/gcc-4_7-branch/gcc/cp/call.c


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2013-01-02 Thread jason at gcc dot gnu.org


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



Jason Merrill jason at gcc dot gnu.org changed:



   What|Removed |Added



 Status|REOPENED|RESOLVED

 Resolution||FIXED



--- Comment #13 from Jason Merrill jason at gcc dot gnu.org 2013-01-02 
21:05:46 UTC ---

Testcase from comment #1 fixed as well.


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-12-27 Thread paolo.carlini at oracle dot com


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



Paolo Carlini paolo.carlini at oracle dot com changed:



   What|Removed |Added



 Status|RESOLVED|REOPENED

 Resolution|FIXED   |



--- Comment #10 from Paolo Carlini paolo.carlini at oracle dot com 2012-12-27 
08:41:13 UTC ---

Let's reopen this: testcase in Comment #1 isn't fixed yet.


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-12-06 Thread jason at gcc dot gnu.org


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



--- Comment #7 from Jason Merrill jason at gcc dot gnu.org 2012-12-07 
04:54:42 UTC ---

Author: jason

Date: Fri Dec  7 04:54:27 2012

New Revision: 194284



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194284

Log:

PR c++/54325

* tree.c (build_aggr_init_expr): Don't check for abstract class.



Added:

trunk/gcc/testsuite/g++.dg/cpp0x/initlist-pure.C

Modified:

trunk/gcc/cp/ChangeLog

trunk/gcc/cp/tree.c

trunk/gcc/testsuite/g++.dg/other/abstract3.C


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-12-06 Thread jason at gcc dot gnu.org


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



--- Comment #8 from Jason Merrill jason at gcc dot gnu.org 2012-12-07 
05:13:42 UTC ---

Author: jason

Date: Fri Dec  7 05:13:33 2012

New Revision: 194290



URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=194290

Log:

PR c++/54325

* tree.c (build_aggr_init_expr): Don't check for abstract class.



Added:

branches/gcc-4_7-branch/gcc/testsuite/g++.dg/cpp0x/initlist-pure.C

Modified:

branches/gcc-4_7-branch/gcc/cp/ChangeLog

branches/gcc-4_7-branch/gcc/cp/tree.c

branches/gcc-4_7-branch/gcc/testsuite/g++.dg/other/abstract3.C


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-12-06 Thread jason at gcc dot gnu.org


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



Jason Merrill jason at gcc dot gnu.org changed:



   What|Removed |Added



 Status|NEW |RESOLVED

 Resolution||FIXED

 AssignedTo|unassigned at gcc dot   |jason at gcc dot gnu.org

   |gnu.org |



--- Comment #9 from Jason Merrill jason at gcc dot gnu.org 2012-12-07 
05:15:03 UTC ---

Fixed.


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-12-03 Thread rguenth at gcc dot gnu.org


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



Richard Biener rguenth at gcc dot gnu.org changed:



   What|Removed |Added



   Keywords||rejects-valid

   Priority|P3  |P2


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-11-20 Thread paolo.carlini at oracle dot com


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



--- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com 2012-11-20 
19:08:21 UTC ---

I just tried and r175673 also rejects the reduced code in Comment #1. Let's see

if I can find the exact revision where we regressed.


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-11-20 Thread paolo.carlini at oracle dot com


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



--- Comment #5 from Paolo Carlini paolo.carlini at oracle dot com 2012-11-21 
00:41:19 UTC ---

We regressed with r175639, the implementation of DR 990:



  http://gcc.gnu.org/ml/gcc-cvs/2011-06/msg01130.html


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-11-20 Thread paolo.carlini at oracle dot com


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



Paolo Carlini paolo.carlini at oracle dot com changed:



   What|Removed |Added



   Severity|minor   |normal



--- Comment #6 from Paolo Carlini paolo.carlini at oracle dot com 2012-11-21 
03:14:14 UTC ---

It seems that the build_value_init calls added by r175639 have issues because

it doesn't have the information that the value initialization is happening from

the default constructor of a derived type.


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-11-19 Thread jakub at gcc dot gnu.org


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



Jakub Jelinek jakub at gcc dot gnu.org changed:



   What|Removed |Added



 CC||jakub at gcc dot gnu.org,

   ||jason at gcc dot gnu.org

   Target Milestone|--- |4.7.3



--- Comment #3 from Jakub Jelinek jakub at gcc dot gnu.org 2012-11-19 
13:33:41 UTC ---

I think this is probably caused by

http://gcc.gnu.org/viewcvs?root=gccview=revrev=175674 change.


[Bug c++/54325] [4.7/4.8 Regression] C++11 uniform initialization syntax for argument-less abstract base class constructor fails

2012-10-01 Thread paolo.carlini at oracle dot com


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



Paolo Carlini paolo.carlini at oracle dot com changed:



   What|Removed |Added



 Status|UNCONFIRMED |NEW

   Last reconfirmed||2012-10-01

Summary|C++11 uniform   |[4.7/4.8 Regression] C++11

   |initialization syntax for   |uniform initialization

   |argument-less abstract base |syntax for argument-less

   |class constructor fails |abstract base class

   ||constructor fails

 Ever Confirmed|0   |1



--- Comment #2 from Paolo Carlini paolo.carlini at oracle dot com 2012-10-01 
16:56:21 UTC ---

Looks like a regression then.