]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: Completely duplicate path node
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Fri, 25 Apr 2025 14:02:12 +0000 (16:02 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Mon, 28 Apr 2025 14:19:29 +0000 (16:19 +0200)
commitdc351dac40989afbc0601e5156017528aa905837
tree052f3a4b0cc73ef66437212f8853c28b4f3aa9f6
parentf171589e748634e4c781ce64e4b3b2d667d17400
gccrs: Completely duplicate path node

Both nodes had the same id, this led to a resolution conflict.

gcc/rust/ChangeLog:

* expand/rust-derive-clone.cc (DeriveClone::clone_enum_struct): Clone
path to avoid using the same nodeid.

gcc/testsuite/ChangeLog:

* rust/compile/nr2/exclude: Remove now passing test from exclusion
list.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/expand/rust-derive-clone.cc
gcc/testsuite/rust/compile/nr2/exclude