projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
05b7561
)
[Ada] Avoid repeated analysis of constraint ranges
author
Piotr Trojanek
<trojanek@adacore.com>
Sun, 24 Jan 2021 15:02:49 +0000
(16:02 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Thu, 6 May 2021 07:51:44 +0000
(
03:51
-0400)
gcc/ada/
* sem_ch3.adb (Constraint_Index): Remove redundant problematic
analysis.
gcc/ada/sem_ch3.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_ch3.adb
b/gcc/ada/sem_ch3.adb
index
d4cd8d7
..
e6309e6
100644
(file)
--- a/
gcc/ada/sem_ch3.adb
+++ b/
gcc/ada/sem_ch3.adb
@@
-14171,8
+14171,6
@@
package body Sem_Ch3 is
then
-- A Range attribute will be transformed into N_Range by Resolve
- Analyze (S);
- Set_Etype (S, T);
R := S;
Process_Range_Expr_In_Decl (R, T);