diff options
author | squirek <squirek@adacore.com> | 2024-10-21 18:21:13 +0000 |
---|---|---|
committer | Marc Poulhiès <dkm@gcc.gnu.org> | 2024-11-12 14:00:47 +0100 |
commit | 492f9cdf0046ba6d2452f8363d15b4449229b64c (patch) | |
tree | bd2e7cc8ec21f1bab18675901c4f3173f6d488fa /gcc/ada/raise-gcc.c | |
parent | b861785242450c8711aae6394751a75eadc4a0a9 (diff) | |
download | gcc-492f9cdf0046ba6d2452f8363d15b4449229b64c.zip gcc-492f9cdf0046ba6d2452f8363d15b4449229b64c.tar.gz gcc-492f9cdf0046ba6d2452f8363d15b4449229b64c.tar.bz2 |
ada: The Library_Unit field was used for all sorts of different purposes, which led to confusing code.
This patch further refines the previous work to fix several cases.
gcc/ada/ChangeLog:
* inline.adb (In_Main_Unit_Or_Subunit): Use Other_Comp_Unit instead of
Spec_Or_Body_Lib_Unit.
(Must_Inline): Use Other_Comp_Unit instead of Spec_Or_Body_Lib_Unit.
Diffstat (limited to 'gcc/ada/raise-gcc.c')
0 files changed, 0 insertions, 0 deletions