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: [PATCH] Fix some blockers of PR c++/24666 (arrays decay to pointers too early)


Hi,

On 16/12/2015 23:10, Patrick Palka wrote:
gcc/cp/ChangeLog:

    PR c++/59878
    * typeck.c (convert_for_initialization): Don't perform an early
    decaying conversion if converting to a class type.

gcc/testsuite/ChangeLog:

    PR c++/59878
    * g++.dg/conversion/pr59878.C: New test.
Nit: note that the actual bug number is 59879, not 59878. Can you please correct all those 8 to 9?

Thanks a lot!
Paolo.


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