]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix regression in Root_Type -- adjustment
authorBob Duff <duff@adacore.com>
Tue, 19 Aug 2025 16:22:38 +0000 (12:22 -0400)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Thu, 11 Sep 2025 09:10:48 +0000 (11:10 +0200)
commitf1887efb6df1db8986bbb34ae1b9bf5525cb51bc
treeca80dfec111bf406a4e7f1a3fe913a5cfe90558d
parent61645a4f0520a9847adccd37555e3390ef7a4ca6
ada: Fix regression in Root_Type -- adjustment

Recent changes "Fix regression in Root_Type" and
"Crash on b3a1004 with assertions enabled" are partially
redundant; they are addressing the same bug.
This patch adjusts the former in the case of Root_Type.
But we leave Root_Type_If_Set alone; debugging printouts
should survive bugs when possible.

gcc/ada/ChangeLog:

* einfo-utils.adb (Root_Type): Do not deal with missing Etype.
gcc/ada/einfo-utils.adb