]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Disable previous change for enumeration types
authorEric Botcazou <ebotcazou@adacore.com>
Fri, 20 Jun 2025 16:12:57 +0000 (18:12 +0200)
committerMarc Poulhiès <dkm@gcc.gnu.org>
Fri, 4 Jul 2025 07:41:47 +0000 (09:41 +0200)
commit372c2b540f699a8aa5016c03f3ebd531b2d9991e
tree3212b53e6d7cff3455ba5ca7b0d520e0dff31870
parentc7f8a5b466496fb3362ac39a841d47a63c16e501
ada: Disable previous change for enumeration types

The debugger cannot correctly interpret the return value in this case.

gcc/ada/ChangeLog:

* gcc-interface/decl.cc (gnat_to_gnu_subprog_type): Only apply the
transformation to integer types.
gcc/ada/gcc-interface/decl.cc