diff options
author | Philip Herron <herron.philip@googlemail.com> | 2025-07-31 21:29:02 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-08-05 16:37:01 +0200 |
commit | ad8393db6b492358028367d27b4f3b918dd7a7c0 (patch) | |
tree | 44f6340d307c36efc7e265f874183f0494900bfa /libjava | |
parent | 13d6c61231e82c6fdaf666924199fd519877f4f0 (diff) | |
download | gcc-ad8393db6b492358028367d27b4f3b918dd7a7c0.zip gcc-ad8393db6b492358028367d27b4f3b918dd7a7c0.tar.gz gcc-ad8393db6b492358028367d27b4f3b918dd7a7c0.tar.bz2 |
gccrs: Fix ICE when extra const arguments supplied
The substitution code was not taking into account the const generic
arguments for checking the max bounds of total available parameters.
Fixes Rust-GCC#3546
gcc/rust/ChangeLog:
* typecheck/rust-tyty-subst.cc: fix check for total arguments
gcc/testsuite/ChangeLog:
* rust/compile/issue-3546.rs: New test.
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'libjava')
0 files changed, 0 insertions, 0 deletions