]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Remove superfluous Relocate_Node calls
authorRonan Desplanques <desplanques@adacore.com>
Fri, 1 Mar 2024 11:54:58 +0000 (12:54 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Fri, 17 May 2024 08:20:58 +0000 (10:20 +0200)
commit4db82bfb3a178e861dc9a07596fefcd812da6614
tree68dbfae349c727445249fdcbf4292bbe9cc1e10e
parent1da18c25593fceed40233cd2cd49409ea817372a
ada: Remove superfluous Relocate_Node calls

This patch removes two calls to Relocate_Node that were not needed.
This does not affect the behavior of the compiler.

gcc/ada/

* exp_ch4.adb (Expand_N_Case_Expression): Remove call to
Relocate_Node.
* sem_attr.adb (Analyze_Attribute): Likewise.
gcc/ada/exp_ch4.adb
gcc/ada/sem_attr.adb