[COMMITTED 13/25] gccrs: remove old generics hack to reuse generic symbols from previous seg

Jakub Jelinek jakub@redhat.com
Fri Feb 9 10:03:38 GMT 2024


On Wed, Feb 07, 2024 at 12:43:59PM +0100, arthur.cohen@embecosm.com wrote:
> From: Philip Herron <herron.philip@googlemail.com>
> 
> This patch introduces one regression because generics are getting better
> understood over time. The code here used to apply generics with the same
> symbol from previous segments which was a bit of a hack with out limited
> inference variable support. The regression looks like it will be related
> to another issue which needs to default integer inference variables much
> more aggresivly to default integer.
> 
> Fixes #2723
> 
> gcc/rust/ChangeLog:
> 
> 	* typecheck/rust-hir-type-check-path.cc (TypeCheckExpr::resolve_segments): remove hack
> 
> gcc/testsuite/ChangeLog:
> 
> 	* rust/compile/issue-1773.rs: Moved to...
> 	* rust/compile/issue-1773.rs.bak: ...here.

Please don't use such suffixes in the testsuite.
Either delete the testcase, or xfail it somehow until the bug is fixed.

	Jakub



More information about the Gcc-rust mailing list