[Bug c++/69549] Named Address Spaces does not compile in C++

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org

[Bug c++/69549] Named Address Spaces does not compile in C++

2023-11-01 Thread abelay at mit dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 Adam Belay changed: What|Removed |Added CC||abelay at mit dot edu --- Comment #10 from

[Bug target/112327] RVV: Redundant vmv1r for widen reduction

2023-11-01 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112327 JuzheZhong changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug target/112327] RVV: Redundant vmv1r for widen reduction

2023-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112327 --- Comment #1 from CVS Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:1a0af6e5a99cd895a663f0221c25321ae802413f commit r14-5067-g1a0af6e5a99cd895a663f0221c25321ae802413f Author: Juzhe-Zhong Date: Wed Nov 1

[Bug target/109933] __atomic_test_and_set is broken for BIG ENDIAN riscv targets

2023-11-01 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109933 --- Comment #13 from Patrick O'Neill --- Created attachment 56487 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56487=edit Proposed fix Hi Rory, Sorry that this slipped off my plate for way too long. I just got around to refactoring

[Bug debug/112343] [14 regression] ICE during GIMPLE pass: dse

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112343 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/112320] [14 Regression] crash from insert_debug_temp_for_var_def since r14-5032-ge3da1d7bb288c8

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112320 Andrew Pinski changed: What|Removed |Added CC||gerald at pfeifer dot com --- Comment

[Bug target/110551] [11/12/13/14 Regression] an extra mov when doing 128bit multiply

2023-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110551 --- Comment #8 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:80b1a371008c31982d35cff9b85ca6affd3ac949 commit r14-5063-g80b1a371008c31982d35cff9b85ca6affd3ac949 Author: Roger Sayle Date: Wed

[Bug fortran/92887] [F2008] Passing nullified/disassociated pointer or unalloc allocatable to OPTIONAL + VALUE dummy fails

2023-11-01 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92887 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug pch/112319] [14 Regression] segfault with pch and #pragma GCC diagnostic

2023-11-01 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112319 --- Comment #2 from Lewis Hyatt --- Patch sent for review: https://gcc.gnu.org/pipermail/gcc-patches/2023-November/634931.html

[Bug c/71219] Warn about (struct S*)malloc(n) where n < sizeof(struct S)

2023-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71219 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Uecker : https://gcc.gnu.org/g:d880e093d92084f55b10626610ef059fd9194a6a commit r14-5059-gd880e093d92084f55b10626610ef059fd9194a6a Author: Martin Uecker Date:

[Bug debug/112343] New: [14 regression] ICE during GIMPLE pass: dse

2023-11-01 Thread gerald at pfeifer dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112343 Bug ID: 112343 Summary: [14 regression] ICE during GIMPLE pass: dse Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug bootstrap/111653] make bootstrap4 fails for -fchecking=2 code generation changes

2023-11-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111653 Sergei Trofimovich changed: What|Removed |Added Resolution|--- |FIXED

[Bug c++/112341] error: insufficient contextual information to determine type on co_await result in function template

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112341 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-11-01 Ever confirmed|0

[Bug ada/112342] New: Crash when an unexpected ampersand is encountered

2023-11-01 Thread rwconnelly at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112342 Bug ID: 112342 Summary: Crash when an unexpected ampersand is encountered Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/112341] New: error: insufficient contextual information to determine type on co_await result in function template

2023-11-01 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112341 Bug ID: 112341 Summary: error: insufficient contextual information to determine type on co_await result in function template Product: gcc Version: 14.0 Status:

[Bug testsuite/112340] New: [14 regression] assembler instruction counts off for gcc.target/powerpc/pr106550_1.c

2023-11-01 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112340 Bug ID: 112340 Summary: [14 regression] assembler instruction counts off for gcc.target/powerpc/pr106550_1.c Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/110116] [12/13/14 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: verify_gimple failed

2023-11-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
oop-optimizations] 6 | for (b = 1; b; b++) |~^~ small.c:6:17: note: within this loop 6 | for (b = 1; b; b++) | ^ tkoenig@gcc188:~> gcc --version gcc (GCC) 14.0.0 20231101 (experimental) [master r13-4915-g9b111debbfb] Copyright (C) 202

[Bug middle-end/110694] [11/12/13/14 Regression] False Positive -Werror=free-nonheap-object

2023-11-01 Thread roman.zilka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110694 Roman Žilka changed: What|Removed |Added CC||roman.zilka at gmail dot com --- Comment

[Bug c++/109740] -Woverloaded-virtual is too aggressive

2023-11-01 Thread emerg.reanimator at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109740 --- Comment #4 from Alexander Goomenuk --- https://en.cppreference.com/w/cpp/language/using_declaration # In class definition ... If the derived class already has a member with the same name, parameter list, and qualifications, *the derived

[Bug sanitizer/112339] ICE with clang::no_sanitize and -fsanitize=

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112339 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/112339] New: ICE with namespaced attribute on function

2023-11-01 Thread s_gccbugzilla at nedprod dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112339 Bug ID: 112339 Summary: ICE with namespaced attribute on function Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/87448] ICE at trans-expr:3417 in allocate statement with type signature using an associated variable

2023-11-01 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87448 Paul Thomas changed: What|Removed |Added CC||pault at gcc dot gnu.org --- Comment #4

[Bug c++/109740] -Woverloaded-virtual is too aggressive

2023-11-01 Thread emerg.reanimator at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109740 Alexander Goomenuk changed: What|Removed |Added CC||emerg.reanimator at gmail dot com

[Bug fortran/112338] ieee_set_halting_mode only affects the master thread outside of an OpenMP parallel region

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112338 --- Comment #1 from Andrew Pinski --- My bet it is not described ...

[Bug middle-end/111921] [11/12/13/14 Regression] ICE with nested function after an error since r6-205-g5c4abbb8e80153

2023-11-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111921 Thomas Koenig changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13/14 Regression]

[Bug fortran/112338] New: ieee_set_halting_mode only affects the master thread outside of an OpenMP parallel region

2023-11-01 Thread vladimir.fuka at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112338 Bug ID: 112338 Summary: ieee_set_halting_mode only affects the master thread outside of an OpenMP parallel region Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug tree-optimization/112328] [14 Regression] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-11-01 Ever confirmed|0

[Bug tree-optimization/112328] [14 Regression] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 Component|c

[Bug tree-optimization/106884] ifcombine may move shift so it shifts more than bitwidth

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106884 --- Comment #7 from Andrew Pinski --- PR 111000 was similar one but for LIM.

[Bug c++/112335] missed optimization on reset and assign unique_ptr

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 --- Comment #1 from Andrew Pinski --- __old_p_6 = MEM[(struct s * &)ps1_2(D)]; MEM[(struct s * &)ps1_2(D)] = 0B; if (__old_p_6 != 0B) goto ; [53.47%] else goto ; [46.53%] [local count: 574129752]: s::~s (__old_p_6);

[Bug target/112337] New: arm: ICE in arm_effective_regno

2023-11-01 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112337 Bug ID: 112337 Summary: arm: ICE in arm_effective_regno Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug rtl-optimization/111835] Suboptimal codegen: zero extended load instead of sign extended one

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111835 --- Comment #4 from Andrew Pinski --- (In reply to Siarhei Volkau from comment #3) > I don't think that it is duplicate of the bug 104387 because there's only > one store. > And this bug is simply disappears if we change the source code a bit.

[Bug sanitizer/112336] fsanitize=address vs _BitInt with a non-mode size (smaller than max mode size)

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112336 --- Comment #2 from Andrew Pinski --- Well sizes than 128 that is.

[Bug sanitizer/112336] fsanitize=address vs _BitInt with a non-mode size (smaller than max mode size)

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112336 Andrew Pinski changed: What|Removed |Added Component|middle-end |sanitizer

[Bug target/112336] New: ICE in gen_reg_rtx emit-rtl.cc:1208 while compiling "unsigned _BitInt(1) Foo;" with -fsanitize=address

2023-11-01 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112336 Bug ID: 112336 Summary: ICE in gen_reg_rtx emit-rtl.cc:1208 while compiling "unsigned _BitInt(1) Foo;" with -fsanitize=address Product: gcc Version: 14.0 Status:

[Bug c++/107513] [Feature Request] Implement __attribute__((__nodebug__))

2023-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107513 --- Comment #7 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #6) > The patch for PR 96780 added -ffold-simple-inlines which works for some > specific functions. This attribute would extend that to arbitrary functions. I

[Bug c/70954] -Wmisleading-indentation false positive on code from GNU "ed" (featuring a label)

2023-11-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70954 Eric Gallager changed: What|Removed |Added Summary|-Wmisleading-indentation|-Wmisleading-indentation

[Bug rtl-optimization/104387] aarch64: Redundant SXTH for “bag of bits” moves

2023-11-01 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104387 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org --- Comment #5

[Bug modula2/111956] Many powerpc platforms do _not_ have support for IEEE754 long double

2023-11-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 --- Comment #3 from Eric Gallager --- (In reply to Thomas Schwinge from comment #2) > While you (Gaius) here report test failure, similar to what Maciej had > reported in PR112091 "rs6000: redefinition of 'constexpr long double > std::abs(long

[Bug c++/112335] New: missed optimization on reset and assign unique_ptr

2023-11-01 Thread federico at kircheis dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112335 Bug ID: 112335 Summary: missed optimization on reset and assign unique_ptr Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/112334] New: ICE in gen_untyped_return arm.md:9197 while compiling harden-cfr-bret.c

2023-11-01 Thread fkastl at suse dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112334 Bug ID: 112334 Summary: ICE in gen_untyped_return arm.md:9197 while compiling harden-cfr-bret.c Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug libbacktrace/112263] [C++23] std::stacktrace does not identify symbols in shared library

2023-11-01 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112263 --- Comment #6 from vincenzo Innocente --- Sorry, made the (almost) full exercise: read the doc in https://en.cppreference.com/w/cpp/utility/stacktrace_entry and the code in stacktrace header file and in libstdc++-v3/src/c++23/stacktrace.cc

[Bug target/112332] [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112332 --- Comment #6 from Sergei Trofimovich --- I confirm that the fix also fixes original python-3.11.6 build failure. Thank you!

[Bug sanitizer/98608] missing sanitizer detection for arrays with invalid length defind using typeof

2023-11-01 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98608 --- Comment #3 from Martin Uecker --- PATCH (but unclear about n == 0) https://gcc.gnu.org/pipermail/gcc-patches/2023-November/634896.html

[Bug target/112112] Improper Arithmetic Type Conversion in s390x-linux-gnu-gcc

2023-11-01 Thread 22s302h0659 at sonline20 dot sen.go.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112112 --- Comment #8 from 김대영 <22s302h0659 at sonline20 dot sen.go.kr> --- I'm sorry, I also didn't fully understand these bugs, my friend.

[Bug tree-optimization/112320] [14 Regression] crash from insert_debug_temp_for_var_def since r14-5032-ge3da1d7bb288c8

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112320 Andrew Pinski changed: What|Removed |Added CC||zhendong.su at inf dot ethz.ch ---

[Bug tree-optimization/112333] ICE on valid code at -O2 and -O3: Segmentation fault

2023-11-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112333 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/112333] New: ICE on valid code at -O2 and -O3: Segmentation fault

2023-11-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
/suz-local/software/local/gcc-trunk --enable-sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231101 (experimental) (GCC) [513] % [513] % gcctk -O3 -g small.c during GIMPLE pass: ccp small.c

[Bug libbacktrace/112263] [C++23] std::stacktrace does not identify symbols in shared library

2023-11-01 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112263 --- Comment #5 from vincenzo Innocente --- so if I add to std::cout << std::stacktrace::current() << '\n'; I get what needed Dl_info dlinfo; for (auto & entry : std::stacktrace::current() ) { dladdr((const

[Bug target/112332] [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112332 Uroš Bizjak changed: What|Removed |Added Resolution|--- |FIXED Target|

[Bug target/112332] [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112332 --- Comment #4 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:64f3a1937a2b87ebe5f3c1bf2ceec48bfbcd4ccf commit r14-5056-g64f3a1937a2b87ebe5f3c1bf2ceec48bfbcd4ccf Author: Uros Bizjak Date: Wed

[Bug target/112332] [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112332 --- Comment #3 from Uroš Bizjak --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 35d073c9a21..75c75f610c2 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -25748,7 +25748,7 @@ (define_peephole2

[Bug target/112332] [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112332 --- Comment #2 from Uroš Bizjak --- (In reply to Sergei Trofimovich from comment #1) > Slightly shorter example: > > typedef union { > double d; > int L[2]; > } U; > void d2b(int*); > void _Py_dg_dtoa(double dd) { > int be; > U u; >

[Bug target/112332] [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112332 --- Comment #1 from Sergei Trofimovich --- Slightly shorter example: typedef union { double d; int L[2]; } U; void d2b(int*); void _Py_dg_dtoa(double dd) { int be; U u; u.d = dd; if (()->L[1]) d2b(); }

[Bug target/112332] New: [14 regression] ICE: internal compiler error: in extract_constrain_insn, at recog.cc:2705

2023-11-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
rom gcc/specs COLLECT_GCC=./gcc/xgcc COLLECT_LTO_WRAPPER=gcc/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: /home/slyfox/dev/git/gcc/configure --disable-bootstrap --disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 14.0.0 20231101 (experimental) (GCC)

[Bug target/110551] [11/12/13/14 Regression] an extra mov when doing 128bit multiply

2023-11-01 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110551 --- Comment #7 from Uroš Bizjak --- (In reply to CVS Commits from comment #5) > The master branch has been updated by Roger Sayle : > > https://gcc.gnu.org/g:89e5d902fc55ad375f149f25a84c516ad360a606 > > commit

[Bug target/112330] [14 Regression] LoongArch: Bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 Xi Ruoyao changed: What|Removed |Added Summary|[14 Regression] LoongArch: |[14 Regression] LoongArch:

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #8 from Xi Ruoyao --- (In reply to chenglulu from comment #7) > Uh, I also thought about this gcc and binutils matching issue when I > submitted r14-4674, but I didn't think about whether this should be solved? > How to fix it?

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #7 from chenglulu --- (In reply to Xi Ruoyao from comment #6) > (In reply to chenglulu from comment #5) > > (In reply to Xi Ruoyao from comment #4) > > > (In reply to chenglulu from comment #3) > > > > (In reply to Xi Ruoyao from

[Bug c/112331] middle-end: Fail vectorization

2023-11-01 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112331 --- Comment #1 from JuzheZhong --- I suspect it is SRA issue again ?

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #6 from Xi Ruoyao --- (In reply to chenglulu from comment #5) > (In reply to Xi Ruoyao from comment #4) > > (In reply to chenglulu from comment #3) > > > (In reply to Xi Ruoyao from comment #1) > > > > (In reply to Xi Ruoyao from

[Bug c/112331] New: middle-end: Fail vectorization

2023-11-01 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112331 Bug ID: 112331 Summary: middle-end: Fail vectorization Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/112112] Improper Arithmetic Type Conversion in s390x-linux-gnu-gcc

2023-11-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112112 Thomas Koenig changed: What|Removed |Added Last reconfirmed||2023-11-01 Ever confirmed|0

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #5 from chenglulu --- (In reply to Xi Ruoyao from comment #4) > (In reply to chenglulu from comment #3) > > (In reply to Xi Ruoyao from comment #1) > > > (In reply to Xi Ruoyao from comment #0) > > > > > > > I guess the easiest

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #4 from Xi Ruoyao --- (In reply to chenglulu from comment #3) > (In reply to Xi Ruoyao from comment #1) > > (In reply to Xi Ruoyao from comment #0) > > > > > I guess the easiest solution is raising the minimal GAS requirement of >

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #116 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:9693459e030977d6e906ea7eb587ed09ee4fddbd commit r14-5054-g9693459e030977d6e906ea7eb587ed09ee4fddbd Author: Gaius Mulley Date:

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread chenglulu at loongson dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #3 from chenglulu --- (In reply to Xi Ruoyao from comment #1) > (In reply to Xi Ruoyao from comment #0) > > > I guess the easiest solution is raising the minimal GAS requirement of > > bootstrapping GCC 14 on LoongArch to 2.42. >

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #2 from Xi Ruoyao --- Created attachment 56483 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56483=edit The generated assembly triggering the GAS internal error

[Bug target/112330] [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 --- Comment #1 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #0) > I guess the easiest solution is raising the minimal GAS requirement of > bootstrapping GCC 14 on LoongArch to 2.42. Another solution might be default to -mno-relax if

[Bug target/112330] New: [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41

2023-11-01 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112330 Bug ID: 112330 Summary: [14 Regression] LoongArch: LTO bootstrap failure with GAS 2.41 Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c/70954] -Wmisleading-indentation false positive on GNU "ed"

2023-11-01 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70954 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #2

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-11-01 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 --- Comment #115 from Gaius Mulley --- Created attachment 56482 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56482=edit modula2: proposed fix to fix largeconst.mod Here is a patch set for the modula2 fe which re-implements the ZTYPE

[Bug c/112328] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328 David Binderman changed: What|Removed |Added CC||rguenth at gcc dot gnu.org ---

[Bug c/112329] New: Faulty arithmetic comparison in O2, O3 of s390x-gcc

2023-11-01 Thread 22s302h0659 at sonline20 dot sen.go.kr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112329 Bug ID: 112329 Summary: Faulty arithmetic comparison in O2, O3 of s390x-gcc Product: gcc Version: 11.4.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/112328] ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328 --- Comment #1 from David Binderman --- Reduced code seems to be: int allchars, palsetup_p, palsetup_b, palsetup_e; int *palsetup_palette; void palsetup() { int g; char *s; switch (palsetup_p) case 6: s = allchars; g = 0; for

[Bug target/111720] RISC-V: Ugly codegen in RVV

2023-11-01 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111720 --- Comment #27 from Li Pan --- Hi Richard and Juzhe. I investigated this issue recently and noticed that it may be related to the array size of the constant memory. Assume we have 2 functions as below. vuint8m1_t fn_0 () { uint8_t

[Bug tree-optimization/111043] [14 regression] ICE in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1068

2023-11-01 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
version 14.0.0 20231101 (experimental) (GCC) [546] % [546] % gcctk -O2 small.c during GIMPLE pass: ch_vect small.c: In function ‘main’: small.c:21:5: internal compiler error: in adjust_loop_info_after_peeling, at tree-ssa-loop-ivcanon.cc:1069 21 | int main() { | ^~~~ 0x8736bd

[Bug tree-optimization/112320] [14 Regression] crash from insert_debug_temp_for_var_def since r14-5032-ge3da1d7bb288c8

2023-11-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112320 --- Comment #7 from David Binderman --- (In reply to Hans-Peter Nilsson from comment #4) > What target? Sorry, I should have mentioned x86_64. In my opinion, bugs in the middle end tend to occur on all targets.

[Bug c/112328] New: ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418

2023-11-01 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112328 Bug ID: 112328 Summary: ice in rdg_vertex_for_stmt, at tree-loop-distribution.cc:418 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/111835] Suboptimal codegen: zero extended load instead of sign extended one

2023-11-01 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111835 --- Comment #3 from Siarhei Volkau --- I don't think that it is duplicate of the bug 104387 because there's only one store. And this bug is simply disappears if we change the source code a bit. e.g. - change (int8_t)*src; to *(int8_t*)src; or

[Bug rtl-optimization/111384] missed optimization: GCC adds extra any extend when storing subreg#0 multiple times

2023-11-01 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111384 Siarhei Volkau changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug rtl-optimization/104387] aarch64: Redundant SXTH for “bag of bits” moves

2023-11-01 Thread lis8215 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104387 --- Comment #4 from Siarhei Volkau --- *** Bug 111384 has been marked as a duplicate of this bug. ***

[Bug c/112327] New: RVV: Redundant vmv1r for widen reduction

2023-11-01 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112327 Bug ID: 112327 Summary: RVV: Redundant vmv1r for widen reduction Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c