Hi all,
please find attached a fix for pr 65071 "decltype(~arg) fails for
template functions". Basically we need to make sure that ~arg is
considered an expression and not a dtor.
2015-02-21 Andrea Azzarone
PR c++/65091
* parser.c (cp_parser_decltype_expr): Make sure ~id is tre
Ping?
2015-02-13 15:51 GMT+01:00 Andrea Azzarone :
> Hi all,
>
> this patch try to fix PR c++/64948 (Lambda reference capture
> initialization in template function creates segmentation fault).
>
> 2015-2-13 Andrea Azzarone
> PR c++/64948
> * lambda.c (add_capture) Do
Ops, forgot the diff.
2015-02-18 9:19 GMT+01:00 Andrea Azzarone :
> Hi all,
>
> this patch try to fix PR c++/65071 (ICE on valid, sizeof...() of
> template template parameter pack in return type).
>
> 2015-2-18 Andrea Azzarone
> PR c++/65071
> * gcc/cp/parser.c (cp_
Hi all,
this patch try to fix PR c++/65071 (ICE on valid, sizeof...() of
template template parameter pack in return type).
2015-2-18 Andrea Azzarone
PR c++/65071
* gcc/cp/parser.c (cp_parser_sizeof_pack) Also consider template
template parameters.
Thanks.
--
Andrea Azzarone
We can use the same trick used in the other tests. Patch attached.
Sorry about that!
2015-02-13 20:45 GMT+01:00 Jakub Jelinek :
> On Wed, Feb 11, 2015 at 12:26:33AM +0100, Andrea Azzarone wrote:
>> *
>> gcc/testsuite/g++.dg/cpp1y/udlit-char-template-vs-std-literal-operator.C:
Hi all,
this patch try to fix PR c++/64948 (Lambda reference capture
initialization in template function creates segmentation fault).
2015-2-13 Andrea Azzarone
PR c++/64948
* lambda.c (add_capture) Do not consider as rvalues all expressions
involving template parameters.
--
Andrea
Hi all,
would be nice to have nested namespace definitions in gcc. I'm not
sure if this if it's possible to merge stuff like this at this stage.
2015-2-13 Andrea Azzarone
PR c++/65047
* gcc/cp/cp-tree.h Declare maybe_warn_cpp1z.
* gcc/cp/error.c Define maybe_warn_cpp1z.
Hi,
Thanks for the review. I updated the patch.
2015-2-9 Andrea Azzarone
PR c++/64959
* parser.c (lookup_literal_operator): Return all candidates.
(cp_parser_userdef_char_literal): Simplify error handling.
(cp_parser_userdef_numeric_literal): Pass tf_warning_or_error
,
unsigned long). I updated the code in parser.C and added a test.
Please note that this is my first gcc patch :)
2015-2-9 Andrea Azzarone
PR c++/64959
* gcc/cp/parser.c: Make sure lookup_literal_operator returns all
the possible candidates. Also improve the diagnostic messages.