public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-1121] ada: Remove redundant parentheses from System.Stack_Checking.Operations
@ 2023-05-23 8:08 Marc Poulhi?s
0 siblings, 0 replies; only message in thread
From: Marc Poulhi?s @ 2023-05-23 8:08 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:b0245ee3b3729fb961d203a580f21ecc49efb197
commit r14-1121-gb0245ee3b3729fb961d203a580f21ecc49efb197
Author: Patrick Bernardi <bernardi@adacore.com>
Date: Tue Feb 28 17:30:46 2023 -0500
ada: Remove redundant parentheses from System.Stack_Checking.Operations
gcc/ada/
* libgnat/s-stchop.adb (Stack_Check): Remove redundant parentheses.
Diff:
---
gcc/ada/libgnat/s-stchop.adb | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/gcc/ada/libgnat/s-stchop.adb b/gcc/ada/libgnat/s-stchop.adb
index 8d8cc60ffb0..e0efcefa217 100644
--- a/gcc/ada/libgnat/s-stchop.adb
+++ b/gcc/ada/libgnat/s-stchop.adb
@@ -234,11 +234,10 @@ package body System.Stack_Checking.Operations is
-- it is essential to use our local copy of Stack.
begin
- if (Stack_Grows_Down and then
- (not (Frame_Address <= My_Stack.Base)))
+ if (Stack_Grows_Down and then not (Frame_Address <= My_Stack.Base))
or else
(not Stack_Grows_Down and then
- (not (Frame_Address >= My_Stack.Base)))
+ not (Frame_Address >= My_Stack.Base))
then
-- The returned Base is lower than the stored one, so assume that
-- the original one wasn't right and use the current Frame_Address
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-05-23 8:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-23 8:08 [gcc r14-1121] ada: Remove redundant parentheses from System.Stack_Checking.Operations Marc Poulhi?s
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).