diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2025-02-01 10:56:44 +0100 |
---|---|---|
committer | Eric Botcazou <ebotcazou@adacore.com> | 2025-02-01 11:41:10 +0100 |
commit | 8ca6bbf84c168056c94b5f0374fb82916ee24772 (patch) | |
tree | 1a3395a8269921c9417da1d6ab9942926ad4d9de /gcc/tree-ssa-phiopt.cc | |
parent | b38efaf36058b40aaf8659a9348815110242ced8 (diff) | |
download | gcc-8ca6bbf84c168056c94b5f0374fb82916ee24772.zip gcc-8ca6bbf84c168056c94b5f0374fb82916ee24772.tar.gz gcc-8ca6bbf84c168056c94b5f0374fb82916ee24772.tar.bz2 |
Ada: Fix segfault on uninitialized variable as operand of primitive operator
...of derived real type. It comes from an unexpected internal adjustment.
gcc/ada/
PR ada/118712
* sem_warn.adb (Check_References): Deal with small adjustments of
references.
gcc/testsuite/
* gnat.dg/warn33.adb: New test.
* gnat.dg/warn33_pkg.ads: New helper.
Diffstat (limited to 'gcc/tree-ssa-phiopt.cc')
0 files changed, 0 insertions, 0 deletions