diff options
author | Viljar Indus <indus@adacore.com> | 2024-08-14 15:24:10 +0300 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-08-29 15:06:27 +0200 |
commit | 4825bbfebc3584765bb9e17c925a81f1853e1a75 (patch) | |
tree | e69964d6ed5bed61de6e6370a8d18e4d43c82d4d /gcc/gimple-loop-jam.cc | |
parent | f872bba253c0edf55436c77f8d3edd881e7bdaba (diff) | |
download | gcc-4825bbfebc3584765bb9e17c925a81f1853e1a75.zip gcc-4825bbfebc3584765bb9e17c925a81f1853e1a75.tar.gz gcc-4825bbfebc3584765bb9e17c925a81f1853e1a75.tar.bz2 |
ada: Avoid creating continuation messages without an intended parent
The messages modified in this patch do not have a clear intended
parent. This causes a lot of issues when grouping continuation
messages together with their parent. This can be confusing as it
is not obvious what was the parent message that caused this
problem or in worst case scenarios the message not being printed
alltogether.
These modified messages do not seem to be related to any concrete
error message and thus should be treated as independent messages.
gcc/ada/
* sem_ch12.adb (Abandon_Instantiation): Remove continuation
characters from the error message.
* sem_ch13.adb (Check_False_Aspect_For_Derived_Type): Remove
continuation characters from the error message.
* sem_ch6.adb (Assert_False): Avoid creating a continuation
message without a parent. If no primary message is created then
the message is considered as primary.
gcc/testsuite/ChangeLog:
* gnat.dg/interface6.adb: Adjust test.
Diffstat (limited to 'gcc/gimple-loop-jam.cc')
0 files changed, 0 insertions, 0 deletions