This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PR c++/28511


On Fri, Apr 9, 2010 at 1:16 PM, NightStrike <nightstrike@gmail.com> wrote:
> On Wed, Mar 31, 2010 at 3:03 AM, Fabien CHÃNE <fabien.chene@gmail.com> wrote:
>> Hello,
>>
>> The problem is that gcc incorrectly accepts default-initialization of
>> const members and references members, when using the operator new
>> without the new-initializer.
>> I 've added a check in build_new_1 to fix that early so that 'new A'
>> can be rejected (without assigning it).
>>
>> bootstrapped and regtested on x86_64-unknown-linux-gnu against trunk.
>>
>> --
>> Fab
>>
>
> PR28511 looks like it's closed as invalid:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28511
>
> Am I looking at the wrong thing?

The number in the subject is wrong, it should be 25811 :).

-- Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]