https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122893

            Bug ID: 122893
           Summary: testsuite file rust/compile/auto_traits4.rs with -g
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rust
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
                CC: dkm at gcc dot gnu.org, gcc-rust at gcc dot gnu.org,
                    pierre-emmanuel.patry at embecosm dot com
  Target Milestone: ---

>From the gcc rust testsuite, file rust/compile/auto_traits4.rs,
does this with recent gccrs:

testsuite $ ~/gcc/results/bin/gccrs
-frust-incomplete-and-experimental-compiler-do-not-use
./rust/compile/auto_traits4.rs
testsuite $ ~/gcc/results/bin/gccrs -g
-frust-incomplete-and-experimental-compiler-do-not-use
./rust/compile/auto_traits4.rs
In function ‘auto_traits4::take_sync’:
crab1: error: type variant has different ‘TYPE_FIELDS’

It doesn't seem to like the -g flag, for compiler:

testsuite $ ~/gcc/results/bin/gccrs -v
Using built-in specs.
COLLECT_GCC=/home/dcb42/gcc/results/bin/gccrs
COLLECT_LTO_WRAPPER=/home/dcb42/gcc/results.20251127.asan.ubsan/libexec/gcc/x86_64-pc-linux-gnu/16.0.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: ../trunk/configure
--prefix=/home/dcb42/gcc/results.20251127.asan.ubsan --disable-bootstrap
--disable-doc --disable-multilib --with-build-config='bootstrap-asan
bootstrap-ubsan' --with-pkgversion=d151a11ee04ff11f --with-isl
--enable-checking=df,extra,fold,rtl,yes
--enable-languages=c,c++,fortran,d,m2,rust
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 16.0.0 20251127 (experimental) (d151a11ee04ff11f) 
testsuite $

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to