This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [C++ PATCH] Improve locations of id-expressions and operator "" (PR c++/87386, take 3)
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: Jason Merrill <jason at redhat dot com>, David Malcolm <dmalcolm at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 22 Nov 2018 10:12:17 +0100
- Subject: Re: [C++ PATCH] Improve locations of id-expressions and operator "" (PR c++/87386, take 3)
- References: <20181120205711.GH11625@tucnak> <1542749546.4619.68.camel@redhat.com> <20181121155544.GN11625@tucnak> <0920aa8b-e99a-86ef-c6d3-12de0f0c8916@redhat.com> <20181121184948.GQ11625@tucnak> <20181121221051.GV11625@tucnak> <mvmtvk9ijd2.fsf@suse.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Thu, Nov 22, 2018 at 09:53:13AM +0100, Andreas Schwab wrote:
> In file included from ../../gcc/c-family/c-common.h:26:0,
> from ../../gcc/cp/cp-tree.h:40,
> from ../../gcc/cp/parser.c:25:
> ../../gcc/cp/parser.c: In function 'cp_expr cp_parser_operator(cp_parser*, location_t)':
> ../../gcc/tree.h:383:33: error: invalid cast from type 'cp_expr' to type 'tree_userdef_literal*'
> #define TREE_CHECK(T, CODE) (T)
> ^
Is that with --enable-checking=release or something similar?
Built just fine for me with normal --enable-checking=yes,rtl,extra.
Jakub