public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #1394
@ 2022-07-19 21:57 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-07-19 21:57 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1b5676645a52f46de0011b9434f76c249fbb8d81

commit 1b5676645a52f46de0011b9434f76c249fbb8d81
Merge: 6622ae2cd0a fb1b2a6bf5e
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Tue Jul 19 10:32:55 2022 +0000

    Merge #1394
    
    1394: Fix parsing grammer of grouped expressions as the block tail expression r=philberty a=philberty
    
    When we want to compile a grouped expression we had a check for the
    LEFT_PAREN during the parse_expr_without_block but this can't be handled
    here since in this paticular example the grouped expressions is simply the
    lhs of the bit shift expression. This is already handled as part of
    parse_expr so we can simply remove the rule here and rely on parse_expr
    handling this.
    
    Fixes #1393
    
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/parse/rust-parse-impl.h         |  6 ------
 gcc/testsuite/rust/compile/issue-1393.rs | 13 +++++++++++++
 2 files changed, 13 insertions(+), 6 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-07-19 21:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-19 21:57 [gcc/devel/rust/master] Merge #1394 Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).