aboutsummaryrefslogtreecommitdiff
path: root/gcc/fortran/f95-lang.cc
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2025-03-28 18:24:57 +0000
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-31 21:07:25 +0200
commite0df215ca50c2bd2a0ccc103484b629d2fbd43ec (patch)
tree07297671d3e66c135e9720ab054db3e34771ac47 /gcc/fortran/f95-lang.cc
parent5d6467f637273418535316b051491e0ad594a194 (diff)
downloadgcc-e0df215ca50c2bd2a0ccc103484b629d2fbd43ec.zip
gcc-e0df215ca50c2bd2a0ccc103484b629d2fbd43ec.tar.gz
gcc-e0df215ca50c2bd2a0ccc103484b629d2fbd43ec.tar.bz2
gccrs: fix ice when setting up regions
num regions is based on the used arguments of regions which can be less than the substutions requirements. So lets check for that and allow anon regions to be created for them. Fixes Rust-GCC#3605 gcc/rust/ChangeLog: * typecheck/rust-tyty-subst.h: check for min range gcc/testsuite/ChangeLog: * rust/compile/issue-3605.rs: New test. Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/fortran/f95-lang.cc')
0 files changed, 0 insertions, 0 deletions