[Bug tree-optimization/111950] New: ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c

2023-10-24 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111950 Bug ID: 111950 Summary: ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/111937] [RISCV][lto][offload] When `NUM_POLY_INT_COEFFS` > 1, the `poly_xxx` made `lto_input_mode_table` unable to parse binary gimple data.

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

[Bug target/111937] [RISCV][lto][offload] When `NUM_POLY_INT_COEFFS` > 1, the `poly_xxx` made `lto_input_mode_table` unable to parse binary gimple data.

2023-10-24 Thread mxlol233 at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111937 --- Comment #5 from Xiao Ma --- yes. handle the lto reading process is simple: just make the binary block jump steps is same as the host's num_poly value. 获取Outlook for Android From:

[Bug other/109668] 'python' vs. 'python3'

2023-10-24 Thread piannetta at kalrayinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109668 Paul Iannetta changed: What|Removed |Added CC||piannetta at kalrayinc dot com --- Comm

[Bug target/111935] gcc ICE with risc-v vector intrinsics

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111935 --- Comment #2 from CVS Commits --- The master branch has been updated by Li Xu : https://gcc.gnu.org/g:b44d4ff7b43ff6a34d5c074c7ade03c4a38974fa commit r14-4879-gb44d4ff7b43ff6a34d5c074c7ade03c4a38974fa Author: xuli Date: Tue Oct 24 07:39:0

[Bug tree-optimization/111950] [14 Regression] ICE in compute_live_loop_exits, at tree-ssa-loop-manip.cc:250 since r14-4786-gd118738e71c

2023-10-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111950 Richard Biener changed: What|Removed |Added Blocks||111000 Ever confirmed|0

[Bug target/111905] -O3 vectorization terribly pessimizes the code for an already unrolled loop

2023-10-24 Thread kamkaz at windowslive dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111905 --- Comment #6 from Kamil Kaznowski --- :42:13: optimized: loop versioned for vectorization because of possible aliasing That's exactly the issue here! There should be no versioning here. There is no possible aliasing, and with -O2 it doesn't

[Bug target/111908] Port CheriBSD-specific compiler warnings to GCC

2023-10-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111908 --- Comment #3 from Eric Gallager --- (In reply to Alex Coplan from comment #2) > Indeed, you can see an example of the CHERI warnings in the Morello GCC port > here: https://godbolt.org/z/eWPfqYYYo Where do the sources for the Morello GCC port

[Bug c/111951] New: ICE: verify_ssa failed

2023-10-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111951 Bug ID: 111951 Summary: ICE: verify_ssa failed Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: una

[Bug c/111951] ICE: verify_ssa failed

2023-10-24 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111951 --- Comment #1 from CTC <19373742 at buaa dot edu.cn> --- A reduced testcase: int a; int b() {return 0;} void c(int d) { int e; for (;;) { if (a) return; if (d) a = e = 0; for (; e != 27; e++) b() && (d = 1);

[Bug c++/111934] ICE internal compiler error: in discriminator_for_local_entity, at cp/mangle.cc:2065

2023-10-24 Thread vincenzo.innocente at cern dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111934 --- Comment #3 from vincenzo Innocente --- with gcc version 14.0.0 20231024 (experimental) [master r14-4877-g724badcadf8] (GCC) I get the same ICE. Please note that one needs to include "iostream" (in my test compile with "-DI

[Bug target/111908] Port CheriBSD-specific compiler warnings to GCC

2023-10-24 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111908 --- Comment #4 from Alex Coplan --- (In reply to Eric Gallager from comment #3) > (In reply to Alex Coplan from comment #2) > > Indeed, you can see an example of the CHERI warnings in the Morello GCC port > > here: https://godbolt.org/z/eWPfqYYY

[Bug target/100265] [RISCV] Use proper fences for atomic load/store

2023-10-24 Thread christophm30 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100265 Christoph Müllner changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/111952] New: Allocatable of derived type with DTIO is not deallocated going out of scope

2023-10-24 Thread federico.perini at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111952 Bug ID: 111952 Summary: Allocatable of derived type with DTIO is not deallocated going out of scope Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity:

[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 #5 from vincenzo Innocente --- My bad, long time I'm not using archive libraries and forgot about the order rule. The issue is indeed missing -fPIC. Thanks for the fast action. I applied the patch but it seems not sufficient. If

[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 #8 from Stas Sergeev --- Added a few experts who can probably answer that. While I do not doubt that Andrew is right, I am sure having the properly spelled explanation will help.

[Bug preprocessor/111953] New: stringify operator # rejects "\" but not "\ \" as input

2023-10-24 Thread stephan.stiller at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111953 Bug ID: 111953 Summary: stringify operator # rejects "\" but not "\ \" as input Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/111913] [14 Regression] ICE with __builtin_popcount(X) + __builtin_popcount(Y) simplification

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111913 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:452c4f32373feb6b2c1c1d91b5ec6fe7e7ce commit r14-4888-g452c4f32373feb6b2c1c1d91b5ec6fe7e7ce Author: Andrew Pinski Date: Mo

[Bug tree-optimization/111913] [14 Regression] ICE with __builtin_popcount(X) + __builtin_popcount(Y) simplification

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

[Bug tree-optimization/101541] Missing ABSU detection at gimple

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101541 --- Comment #11 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:0fc13e8c0e39c51e82deb93f324d9d86ad8d7460 commit r14-4889-g0fc13e8c0e39c51e82deb93f324d9d86ad8d7460 Author: Andrew Pinski Date: S

[Bug tree-optimization/104376] Failure to optimize clz equivalent to clz

2023-10-24 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104376 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:0fc13e8c0e39c51e82deb93f324d9d86ad8d7460 commit r14-4889-g0fc13e8c0e39c51e82deb93f324d9d86ad8d7460 Author: Andrew Pinski Date: Su

[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 #6 from Gianfranco --- @Andrew, can you please get it from the build log? https://buildd.debian.org/status/fetch.php?pkg=darktable&arch=arm64&ver=4.4.2-1%2Bb1&stamp=1696847922&raw=0 there are the === BEGIN GCC DUMP === and === END

[Bug tree-optimization/101822] Codegen bug for popcount

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

[Bug tree-optimization/104376] Failure to optimize clz equivalent to clz

2023-10-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104376 Bug 104376 depends on bug 101822, which changed state. Bug 101822 Summary: Codegen bug for popcount https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822 What|Removed |Added --

[Bug preprocessor/111953] stringify operator # rejects "\" but not "\ \" as input

2023-10-24 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111953 --- Comment #1 from Andreas Schwab --- str(\ \ \) is warned again.

[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 #7 from Gianfranco --- I'm reducing it, 8.2%

[Bug target/111698] Narrow memory access of compare to byte width

2023-10-24 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111698 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at

[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?

[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 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 offsets[

[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 -O2

[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 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 Resolu

[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++/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 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: modula2

[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 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 --- Comment

[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 Status|UNCONFIRME

[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 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 generated

[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)) || (signbi

[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 seperate

[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: enhancem

[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] `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 Status|UNCONFIRM

[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 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 Co

[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 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 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 Wa

[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 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 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 Vers

[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 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 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 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 gc

[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 gc

[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 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 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 Compone

[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 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 s

[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 --- Comme

[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 nest

[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: prep

[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] -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 --- 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 #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 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*)’: /home/test/src/gcc/libsanitizer/ubsan/ubsan_fl

[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 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: open

[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
--disable-libstdcxx-pch --prefix=/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 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] [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 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 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 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 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 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&action=edit Patch which I am testing

[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 b

[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 Assig

[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 be

[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 --- Comm

[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 Status|UNCONFIRME

[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 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: T

[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 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 An

[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 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 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 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 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/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 Status|UNCONFIRME

[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 Status|UNCONFIRM

[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 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: testsu

  1   2   >