]> git.feebdaed.xyz Git - 0xmirror/gcc.git/commit
Ada: Fix ICE in fld_incomplete_type_of when building GtkAda with LTO (3)
authorEric Botcazou <ebotcazou@adacore.com>
Mon, 22 Dec 2025 22:46:53 +0000 (23:46 +0100)
committerEric Botcazou <ebotcazou@adacore.com>
Mon, 22 Dec 2025 22:49:13 +0000 (23:49 +0100)
commita37bb38838172db59abe4dc48eb2a120d9c295e5
tree0a3e76253024c76294a860933cd3db89af02b6f6
parentc368ea51b3bae27e3007b9bd89f6162c4c80259f
Ada: Fix ICE in fld_incomplete_type_of when building GtkAda with LTO (3)

This streamlines the code by using a ternary expression.

gcc/ada/
PR ada/123060
* gcc-interface/utils.cc (update_pointer_to): Streamline.
gcc/ada/gcc-interface/utils.cc