public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1900] [Ada] Do not catch 'N mod -1' in CodePeer_Mode
@ 2021-06-29 14:26 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-06-29 14:26 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:c8cb547e601f1e271243817ee6325221ba1135a3

commit r12-1900-gc8cb547e601f1e271243817ee6325221ba1135a3
Author: Boris Yakobowski <yakobowski@adacore.com>
Date:   Mon Apr 19 12:17:07 2021 +0200

    [Ada] Do not catch 'N mod -1' in CodePeer_Mode
    
    gcc/ada/
    
            * exp_ch4.adb (Expand_N_Op_Mod): Remove special case for mod -1
            in CodePeer_Mode.

Diff:
---
 gcc/ada/exp_ch4.adb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/ada/exp_ch4.adb b/gcc/ada/exp_ch4.adb
index 9c585e74e50..a9fc2705157 100644
--- a/gcc/ada/exp_ch4.adb
+++ b/gcc/ada/exp_ch4.adb
@@ -9626,6 +9626,7 @@ package body Exp_Ch4 is
 
             if ((not ROK) or else (Rlo <= (-1) and then (-1) <= Rhi))
               and then ((not LOK) or else (Llo = LLB))
+              and then not CodePeer_Mode
             then
                Rewrite (N,
                  Make_If_Expression (Loc,


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

only message in thread, other threads:[~2021-06-29 14:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 14:26 [gcc r12-1900] [Ada] Do not catch 'N mod -1' in CodePeer_Mode 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).