[Bug ipa/96503] attribute alloc_size effect lost after inlining

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96503 Sam James changed: What|Removed |Added See Also||https://github.com/systemd/

[Bug ipa/96503] attribute alloc_size effect lost after inlining

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

[Bug modula2/111955] isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 Gaius Mulley changed: What|Removed |Added Attachment #56199|0 |1 is obsolete|

[Bug modula2/111955] isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 --- Comment #2 from Gaius Mulley --- Created attachment 56199 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56199=edit Proposed fix Here is the proposed patch with a tiny regression test module. It will be applied once / if the current

[Bug modula2/111955] isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2023-10-25 Ever confirmed|0

[Bug tree-optimization/111906] ICE: segfault during GIMPLE pass: dom in gsi_prev() testsuite torture/bitint-39.c with -O1 (expensive tests)

2023-10-24 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111906 --- Comment #5 from Rimvydas (RJ) --- ICE reproducible again outside check-gcc-c testing with gcc-14-4902 build: However it still passes with "-O1 -std=gnu2x" this time.

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 Andrew Pinski changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug tree-optimization/80776] -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80776 Andrew Pinski changed: What|Removed |Added Target Milestone|13.0|---

[Bug tree-optimization/80776] -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable

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

[Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741 Bug 85741 depends on bug 80776, which changed state. Bug 80776 Summary: -Wformat-overflow false positive for %d on integer bounded by __builtin_unreachable https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80776 What|Removed

[Bug tree-optimization/111970] [14 regression] SLP for non-IFN gathers result in RISC-V test failure on gather since r14-4745-gbeab5b95c58145

2023-10-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970 --- Comment #2 from Li Pan --- Add more information about how to build and run the test cases. Build: ../__RISC-V_INSTALL___RV64/bin/riscv64-unknown-elf-gcc -march=rv64imafdcv -mabi=lp64d -ftree-vectorize -O3 --param

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #4 from Andrew Pinski --- But r1 is the argument register.

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #3 from Andrew Pinski --- D should be a pair of registers, r0 and r1.

[Bug target/108220] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108220 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #2 from Jiu Fu Guo --- It seems gcc11 is ok.

[Bug rtl-optimization/111971] ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 --- Comment #1 from Jiu Fu Guo --- This issue can be reproduced on 'ppc64' BE machine with -m32.

[Bug rtl-optimization/111971] New: ICE: maximum number of generated reload insns per insn achieved (90)

2023-10-24 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111971 Bug ID: 111971 Summary: ICE: maximum number of generated reload insns per insn achieved (90) Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c/111970] [tree-optimization] SLP for non-IFN gathers result in RISC-V test failure on gather

2023-10-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970 --- Comment #1 from Li Pan --- Created attachment 56198 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56198=edit Without this commit

[Bug c/111970] New: [tree-optimization] SLP for non-IFN gathers result in RISC-V test failure on gather

2023-10-24 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111970 Bug ID: 111970 Summary: [tree-optimization] SLP for non-IFN gathers result in RISC-V test failure on gather Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-24 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #11 from Stas Sergeev --- So if I understand correctly, before your proposal the following code was conforming: template struct B { static constexpr int off = O(); }; struct A { char a; B<[]() static constexpr ->int {

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/111895] error: invalid operands of types 'unsigned char:2' and 'int' to binary 'operator!=' on enum class bitfield cast to bool

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111895 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:6fa7284e2824310bb7204d41b5243c677ecb62d3 commit r14-4902-g6fa7284e2824310bb7204d41b5243c677ecb62d3 Author: Marek Polacek Date:

[Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 --- Comment #3 from Andrew Pinski --- Created attachment 56196 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56196=edit patch which I am testing

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-24 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #10 from Stas Sergeev --- OMG, not what I intended to get. :( All I need is to use offsetof() in templates. Last time I started to use reinterpret_cast for that, you disallowed reinterpret_cast in constexpr context. Now this... Why

[Bug c++/111923] default argument is not treated as a complete-class context of a class

2023-10-24 Thread richard-gccbugzilla at metafoo dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111923 --- Comment #9 from Richard Smith --- I don't think we intended for default arguments of class-scope lambdas to get the same complete-class context treatment as default argument of member functions, but the standard wording does currently seem

[Bug testsuite/111969] RISC-V rv32gcv: 12 grouped flaky failures

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail --- Comment #1 from

[Bug testsuite/111969] New: RISC-V rv32gcv: 12 grouped flaky failures

2023-10-24 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111969 Bug ID: 111969 Summary: RISC-V rv32gcv: 12 grouped flaky failures Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 --- Comment #2 from Andrew Pinski --- We already have patterns for -a and ~a even: /* X != C1 ? -X : C2 simplifies to -X when -C1 == C2. */ /* X != C1 ? ~X : C2 simplifies to ~X when ~C1 == C2. */ I will add one to handle abs too.

[Bug tree-optimization/111906] ICE: segfault during GIMPLE pass: dom in gsi_prev() testsuite torture/bitint-39.c with -O1 (expensive tests)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111906 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-10-24

[Bug tree-optimization/111968] ice during GIMPLE pass: dom

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

[Bug tree-optimization/111906] ICE: segfault during GIMPLE pass: dom in gsi_prev() testsuite torture/bitint-39.c with -O1 (expensive tests)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111906 Andrew Pinski changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug tree-optimization/111906] ICE: segfault during GIMPLE pass: dom in gsi_prev() testsuite torture/bitint-39.c with -O1 (expensive tests)

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

[Bug c++/111929] [14 Regression] in decompose, at wide-int.h:1049 since r14-4793-gdad311874ac3b3

2023-10-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/111919] [14 Regression] ICE: tree check: did not expect class 'type', have 'type' (integer_type) in contains_placeholder_p, at tree.cc:4144 on valid code

2023-10-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111919 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/111929] [14 Regression] in decompose, at wide-int.h:1049 since r14-4793-gdad311874ac3b3

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929 --- Comment #10 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:d80a26cca025877b7657fa355570bc301223b50b commit r14-4899-gd80a26cca025877b7657fa355570bc301223b50b Author: Patrick Palka Date:

[Bug target/111677] [12/13/14 Regression] darktable build on aarch64 fails with unrecognizable insn due to -fstack-protector changes

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #12 from

[Bug tree-optimization/101590] (len & - N) <= len is not optimized to 1

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101590 --- Comment #8 from Andrew Pinski --- So the test in the end should be: INTEGRAL_TYPE_P (TREE_TYPE (@0)) && tree_expr_nonnegative_p (@0) as it does not matter if @1 has the sign bit set or not. since nonzero & XYZ is still nonzero and in this

[Bug c++/111919] [14 Regression] ICE: tree check: did not expect class 'type', have 'type' (integer_type) in contains_placeholder_p, at tree.cc:4144 on valid code

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111919 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:51f164f76212feaf896d65616f60877d3217b701 commit r14-4898-g51f164f76212feaf896d65616f60877d3217b701 Author: Patrick Palka Date:

[Bug middle-end/111964] 13.2.1: potential GIMPLE bug in inline assempler

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111964 --- Comment #4 from Andrew Pinski --- And: v8/src/heap/base/asm/ia32/push_registers_masm.asm

[Bug lto/46820] toplevel ASM statements being moved away from the functions in the TU

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46820 Andrew Pinski changed: What|Removed |Added CC||kloczko.tomasz at gmail dot com ---

[Bug middle-end/111964] 13.2.1: potential GIMPLE bug in inline assempler

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

[Bug tree-optimization/68131] missed optimization and warning for broken overflow check

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68131 --- Comment #5 from Andrew Pinski --- (In reply to Marc Glisse from comment #3) > (In reply to Richard Biener from comment #2) > > We indeed do not have this optimization, only A + CST CMP CST to A CMP CST' > > and related. Note that _9 might

[Bug c/111968] New: ice during GIMPLE pass: dom

2023-10-24 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111968 Bug ID: 111968 Summary: ice during GIMPLE pass: dom Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug libstdc++/111948] subrange modifies a const size object

2023-10-24 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111948 --- Comment #5 from 康桓瑋 --- It shouldn't be. Is that a compiler bug? Clang compiles the same libstdc++ code without problems.(In reply to Jonathan Wakely from comment #2) > (In reply to 康桓瑋 from comment #1) > > _M_size._M_size in the function

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 --- Comment #2 from Andrew Pinski --- Created attachment 56195 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=56195=edit Patch which I am testing

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2023-10-24 Thread daniel.melendrezarmada at manchester dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Daniel Melendrez changed: What|Removed |Added CC||daniel.melendrezarmada@manc

[Bug fortran/104131] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3810

2023-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104131 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/104649] ICE in gfc_match_formal_arglist, at fortran/decl.cc:6733 since r6-1958-g4668d6f9c00d4767

2023-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104649 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/104131] ICE in gfc_conv_array_ref, at fortran/trans-array.c:3810

2023-10-24 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104131 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug tree-optimization/111967] [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all

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

[Bug tree-optimization/111967] [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111967 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4

[Bug tree-optimization/111967] New: [12/13/14 Regression] during GIMPLE pass: evrp ICE: in operator[], at vec.h:910 with -O2 -fno-tree-forwprop -fdump-tree-evrp-all

2023-10-24 Thread zsojka at seznam dot cz via Gcc-bugs
fix=/repo/gcc-trunk//binary-trunk-r14-4893-20231024164508-g99a6c1065de-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20231024 (experimental) (GCC)

[Bug other/111966] New: GCN '--with-arch=[...]' not considered for 'mkoffload' default 'elf_arch'

2023-10-24 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111966 Bug ID: 111966 Summary: GCN '--with-arch=[...]' not considered for 'mkoffload' default 'elf_arch' Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug libstdc++/111963] Predicate copied when it could be forwarded in some STL algorithms

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111963 --- Comment #1 from Jonathan Wakely --- The internal functions like __partition could just take forwarding references to the predicates, at least for C++11 and later.

[Bug libstdc++/65675] make bootstrap fails when configured with --disable-hosted-libstdcxx

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65675 --- Comment #8 from Jonathan Wakely --- libitm needs getenv, and so does libsanitizer: /home/test/src/gcc/libsanitizer/ubsan/ubsan_flags.cpp: In function ‘const char* __ubsan::GetFlag(const char*)’:

[Bug preprocessor/111965] -fno-debug-cpp does not disable -fdebug-cpp

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111965 --- Comment #4 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2011-October/325728.html I don't know if there should be a -fno-debug-cpp option. Maybe we should just reject that ...

[Bug preprocessor/111965] -fno-debug-cpp does not disable -fdebug-cpp

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111965 --- Comment #3 from Andrew Pinski --- Yes it has been broken since it was added in r0-112466-g847e697a240e6d

[Bug preprocessor/111965] -fno-debug-cpp does not disable -fdebug-cpp

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111965 --- Comment #2 from Andrew Pinski --- Easy fix replace: case OPT_fdebug_cpp: cpp_opts->debug = 1; break; With: case OPT_fdebug_cpp: cpp_opts->debug = value; break;

[Bug preprocessor/111965] -fno-debug-cpp does not disable -fdebug-cpp

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111965 Andrew Pinski changed: What|Removed |Added Known to fail||4.7.0 Last reconfirmed|

[Bug preprocessor/111965] New: -fno-debug-cpp does not disable -fdebug-cpp

2023-10-24 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111965 Bug ID: 111965 Summary: -fno-debug-cpp does not disable -fdebug-cpp Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275 since r10-2912-g70570ec192745095

2023-10-24 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104625 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #4) > Created attachment 56192 [details] > Fix for this PR I was thinking of something along these lines, but was wondering: a) there could be multiple

[Bug fortran/104625] ICE in fixup_array_ref, at fortran/resolve.cc:9275 since r10-2912-g70570ec192745095

2023-10-24 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104625 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug middle-end/111964] 13.2.1: potential GIMPLE bug in inline assempler

2023-10-24 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111964 --- Comment #2 from Tomasz Kłoczko --- (In reply to Andrew Pinski from comment #1) > There are some known issues with top-level inline-asm and lto. > > It would be better if folks moved away from toplevel inline-asm really. May I ask to drop

[Bug middle-end/111964] 13.2.1: potential GIMPLE bug in inline assempler

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111964 Andrew Pinski changed: What|Removed |Added Keywords||lto Component|c++

[Bug c++/111964] New: 13.2.1: potential GIMPLE bug in inline assempler

2023-10-24 Thread kloczko.tomasz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111964 Bug ID: 111964 Summary: 13.2.1: potential GIMPLE bug in inline assempler Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 --- Comment #1 from Andrew Pinski --- Floating point could also use the ranger too. I do wonder if we want to use the global or local ranger here ... I am going to start with the global one.

[Bug libstdc++/111963] New: Predicate copied when it could be forwarded in some STL algorithms

2023-10-24 Thread chgros at synopsys dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111963 Bug ID: 111963 Summary: Predicate copied when it could be forwarded in some STL algorithms Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/111962] New: test

2023-10-24 Thread sobrijan at byrnewear dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111962 Bug ID: 111962 Summary: test Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at

[Bug web/111961] New: test

2023-10-24 Thread sobrijan at byrnewear dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111961 Bug ID: 111961 Summary: test Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: web Assignee: unassigned at

[Bug libstdc++/65675] make bootstrap fails when configured with --disable-hosted-libstdcxx

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65675 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-10-24 Ever confirmed|0

[Bug middle-end/111959] tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

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

[Bug debug/111958] [11/12/13/14 Regression] Line number debugging information indicates wrong file

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111958 Andrew Pinski changed: What|Removed |Added Known to work|11.1.0, 5.1.0, 8.1.0|6.1.0 Known to fail|

[Bug tree-optimization/111960] New: ICE: during GIMPLE pass: rebuild_frequencies: SIGSEGV (Invalid read of size 4) with -fdump-tree-rebuild_frequencies-all

2023-10-24 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111960 Bug ID: 111960 Summary: ICE: during GIMPLE pass: rebuild_frequencies: SIGSEGV (Invalid read of size 4) with -fdump-tree-rebuild_frequencies-all Product: gcc

[Bug debug/111958] [12/13/14 Regression] Line number debugging information indicates wrong file

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111958 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-10-24 Known to fail|

[Bug libstdc++/111948] subrange modifies a const size object

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111948 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/111936] std::stacktrace cannot be used in a shared library

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.3|12.4 --- Comment #10 from Jonathan

[Bug libstdc++/111936] std::stacktrace cannot be used in a shared library

2023-10-24 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936 --- Comment #9 from vincenzo Innocente --- Thanks for the second patch. I was indeed struggling with autoconf versions (1.15 vd 1.16) Any chance to backport to gcc12 (our current production version)?

[Bug middle-end/111959] New: tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111959 Bug ID: 111959 Summary: tree_single_nonnegative_warnv_p could use tree_nonzero_bits for SSA_NAMES and int types Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug debug/111958] New: Line number debugging information indicates wrong file

2023-10-24 Thread shelmer.gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111958 Bug ID: 111958 Summary: Line number debugging information indicates wrong file Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug libstdc++/111948] subrange modifies a const size object

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111948 --- Comment #3 from Jonathan Wakely --- This compiles OK: namespace std::ranges { template class subrange { private: template struct _Size { }; template struct _Size { U _M_size; };

[Bug tree-optimization/111957] `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2023-10-24

[Bug libstdc++/111948] subrange modifies a const size object

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111948 --- Comment #2 from Jonathan Wakely --- (In reply to 康桓瑋 from comment #1) > _M_size._M_size in the function body is already const. It shouldn't be. Is that a compiler bug? Clang compiles the same libstdc++ code without problems.

[Bug tree-optimization/111957] New: `a ? abs(a) : 0` is not simplified to just abs(a)

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111957 Bug ID: 111957 Summary: `a ? abs(a) : 0` is not simplified to just abs(a) Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug tree-optimization/101590] (len & - N) <= len is not optimized to 1

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101590 --- Comment #7 from Andrew Pinski --- We could use tree_expr_nonnegative_p here . Though I noticed that tree_single_nonnegative_warnv_p could be improved to use nonzerobits if it is there to speed up things ... I will handle that part

[Bug tree-optimization/101590] (len & - N) <= len is not optimized to 1

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101590 --- Comment #6 from Andrew Pinski --- We should also handle: int foo(int len, int N) { len &= 0x; N &= 0xff; int newlen = len & ~N; return newlen <= len; } That is (TREE_UNSIGNED (TREE_TYPE (@0)) ||

[Bug libstdc++/111936] std::stacktrace cannot be used in a shared library

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936 --- Comment #8 from Jonathan Wakely --- Run autoreconf in the libstdc++-v3 dir, but you need the right versions of automake and autoconf. The effect of doing that would be this additional patch, which I didn't show (because it's just a

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

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111956 Bug ID: 111956 Summary: Many powerpc platforms do _not_ have support for IEEE754 long double Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/111951] ICE: verify_ssa failed

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

[Bug tree-optimization/111860] [14 Regression] incorrect vUSE after guard block loop skip block during vectorization.

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111860 Andrew Pinski changed: What|Removed |Added CC||19373742 at buaa dot edu.cn ---

[Bug target/111947] RISC-V vector: RTL Check: expected code 'reg', have 'const_int' in rhs_regno, at rtl.h:1934

2023-10-24 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111947 Patrick O'Neill changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug modula2/111955] New: isnan support in Builtins.def is missing

2023-10-24 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111955 Bug ID: 111955 Summary: isnan support in Builtins.def is missing Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/111929] [14 Regression] in decompose, at wide-int.h:1049 since r14-4793-gdad311874ac3b3

2023-10-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111929 --- Comment #9 from Sam James --- Hit this with libsass too.

[Bug target/111677] [12/13/14 Regression] darktable build on aarch64 fails with unrecognizable insn due to -fstack-protector changes

2023-10-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677 Alex Coplan changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug c++/70417] Unhelpful diagnostic for dependent template-name

2023-10-24 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70417 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug target/111677] [12/13/14 Regression] darktable build on aarch64 fails with unrecognizable insn due to -fstack-protector changes

2023-10-24 Thread costamagnagianfranco at yahoo dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677 --- Comment #10 from Gianfranco --- $ gcc -O3 -fstack-protector-strong -fopenmp -ffast-math -fexpensive-optimizations testcase.i -c This is the minimal cmdline to trigger the issue I could find. cat testcase.i typedef struct { int width

[Bug target/111677] [12/13/14 Regression] darktable build on aarch64 fails with unrecognizable insn due to -fstack-protector changes

2023-10-24 Thread costamagnagianfranco at yahoo dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677 --- Comment #9 from Gianfranco --- /usr/libexec/gcc/aarch64-linux-gnu/13/cc1 -quiet -imultiarch aarch64-linux-gnu -D _FORTIFY_SOURCE=2 -D NDEBUG -isystem -dumpbase -mbranch-protection=standard -mtune=generic -mlittle-endian -mabi=lp64 -g -g

[Bug target/111677] [12/13/14 Regression] darktable build on aarch64 fails with unrecognizable insn due to -fstack-protector changes

2023-10-24 Thread costamagnagianfranco at yahoo dot it via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677 --- Comment #8 from Gianfranco --- reduced testcase: typedef struct { int width } dt_bilateral_t; typedef dt_aligned_pixel_t[4]; #pragma omp declare simd void dt_bilateral_splat(dt_bilateral_t *b) { int oy = b; float *buf; long

[Bug libstdc++/111936] std::stacktrace cannot be used in a shared library

2023-10-24 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936 --- Comment #7 from vincenzo Innocente --- not explicitly in the src tree. only run configure in the build directory. what I need to run in the src tree?

[Bug libstdc++/111936] std::stacktrace cannot be used in a shared library

2023-10-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111936 --- Comment #6 from Jonathan Wakely --- The patch works for me. Did you regenerate the Makefile.in files?

  1   2   >