[Bug rust/117762] New: libgrust/libproc_macro_internal/tokenstream.cc: 3 * performance issues ?

2024-11-24 Thread dcb314 at hotmail dot com
: 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

[Bug rust/117762] libgrust/libproc_macro_internal/tokenstream.cc: 3 * performance issues ?

2024-11-24 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117762 --- Comment #1 from David Binderman --- Five more little problems in libgrust: trunk/libgrust/libproc_macro_internal/group.cc:28:32: performance: Function parameter 'stream' should be passed by const reference. [passedByValue] trunk/libgrust/li

[Bug rust/108111] New: Rust meets clang

2022-12-14 Thread dcb314 at hotmail dot com via Gcc-rust
: 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 Target Milestone: --- Since the new Rust code landed in gcc, I thought I'd give it compile with clang. The following 14 warning messages were pro

[Bug rust/108126] New: rust meets cppcheck

2022-12-15 Thread dcb314 at hotmail dot com via Gcc-rust
: 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 Target Milestone: --- I just ran the C/C++ static analyser over the new source code of rust. First the errors: trunk.d1/gcc/rust/ast/rust-cond