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:
8833f14
)
[Ada] Error on T'Reduce of when T is not a container
author
Bob Duff
<duff@adacore.com>
Fri, 18 Dec 2020 19:59:45 +0000
(14:59 -0500)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Thu, 29 Apr 2021 08:00:49 +0000
(
04:00
-0400)
gcc/ada/
* sem_attr.adb (Analyze_Attribute): Change "$" to "&".
Otherwise, Errout will trip over an uninitialized (invalid)
variable (Error_Msg_Unit_1).
gcc/ada/sem_attr.adb
patch
|
blob
|
history
diff --git
a/gcc/ada/sem_attr.adb
b/gcc/ada/sem_attr.adb
index
34865f4
..
2226ece
100644
(file)
--- a/
gcc/ada/sem_attr.adb
+++ b/
gcc/ada/sem_attr.adb
@@
-5682,7
+5682,7
@@
package body Sem_Attr is
null;
else
Error_Msg_NE
- ("cannot apply Reduce to object of type
$
", N, Typ);
+ ("cannot apply Reduce to object of type
&
", N, Typ);
end if;
elsif Present (Expressions (Stream))