public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6356] [Ada] Remove explicit expansion of block with general case statement
@ 2022-01-07 16:27 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2022-01-07 16:27 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:69a6631a6ff0074083da528e3eec7dbf4997a609

commit r12-6356-g69a6631a6ff0074083da528e3eec7dbf4997a609
Author: Piotr Trojanek <trojanek@adacore.com>
Date:   Thu Dec 16 21:04:40 2021 +0100

    [Ada] Remove explicit expansion of block with general case statement
    
    gcc/ada/
    
            * exp_ch5.adb (Expand_N_Case_Statement): Remove explicit
            expansion.

Diff:
---
 gcc/ada/exp_ch5.adb | 2 --
 1 file changed, 2 deletions(-)

diff --git a/gcc/ada/exp_ch5.adb b/gcc/ada/exp_ch5.adb
index f9a9e7e3125..0adf9f07410 100644
--- a/gcc/ada/exp_ch5.adb
+++ b/gcc/ada/exp_ch5.adb
@@ -39,7 +39,6 @@ with Exp_Dbug;       use Exp_Dbug;
 with Exp_Pakd;       use Exp_Pakd;
 with Exp_Tss;        use Exp_Tss;
 with Exp_Util;       use Exp_Util;
-with Expander;       use Expander;
 with Inline;         use Inline;
 with Namet;          use Namet;
 with Nlists;         use Nlists;
@@ -3876,7 +3875,6 @@ package body Exp_Ch5 is
       if Extensions_Allowed and then not Is_Discrete_Type (Etype (Expr)) then
          Rewrite (N, Expand_General_Case_Statement);
          Analyze (N);
-         Expand (N);
          return;
       end if;


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

only message in thread, other threads:[~2022-01-07 16:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-07 16:27 [gcc r12-6356] [Ada] Remove explicit expansion of block with general case statement Pierre-Marie de Rodat

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).