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: [C++ PATCH] [PR/13243] Detect more non constant expressions (regression in mainline)


Jason Merrill <jason@redhat.com> writes:

| > | > | Yes, I apologize for being unclear. What my patch disallows is "unary *" and
| > | > | "unary &", which are directly built as INDIRECT_REF and ADDR_EXPR at parsing
| > | > | time. If you look at the patch, the check is done within
| > | > | cp_parser_unary_expression. I'm not disallowing those tree codes everywhere.
| > | > | Does this sound better?
| > | >
| > | > Yes.  Thanks.
| > | 
| > | No.  There are address constant-expressions, too, as described in 5.19p4.
| >
| > Hmm, I didn't mean the patch was correct; I meant his sentence was
| > making sense to me :-)
| 
| And I didn't mean the patch was wrong, I meant his sentence was incorrect.
| :)

I'm going to have more sleep :-) :-)

-- Gaby


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