[Bug fortran/114825] [11 Regression] Compiler error using gfortran and OpenMP since r5-1190

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114825 --- Comment #11 from GCC Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0ff2aad2f7242fffa646d06b3da7d28191e1c788 commit r11-11509-g0ff2aad2f7242fffa646d06b3da7d28191e1c788 Author: Jakub Jelinek

[Bug c/114493] [11 Regression] internal compiler error: in fld_incomplete_type_of with may_alias

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 --- Comment #17 from GCC Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5736bc05ea1546328cad9b6cefb5a389d2a2994e commit r11-11515-g5736bc05ea1546328cad9b6cefb5a389d2a2994e Author: Jakub Jelinek

[Bug rtl-optimization/110079] [11 Regression] ICE with -freorder-blocks-and-partition and inline-asm goto

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110079 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/115556] error: this operation requires the SVE ISA extension

2024-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556 --- Comment #2 from Richard Biener --- Same with 14.1.0 - how's this a GCC bug and not a highway bug (google likely only tests llvm)?

[Bug rtl-optimization/115092] [14/15 Regression] wrong code at -O1 with "-fgcse -ftree-pre -fno-tree-dominator-opts -fno-tree-fre -fno-guess-branch-probability" on x86_64-linux-gnu since r14-4810

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115092 --- Comment #16 from GCC Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:82bb4ee090342f2b787661420f701f2e0bf6624a commit r11-11512-g82bb4ee090342f2b787661420f701f2e0bf6624a Author: Jakub Jelinek

[Bug middle-end/108789] __builtin_(add|mul|sub)_overflow methods generate duplicate operations if both operands are const which in turn causes wrong code due to overlapping arguments

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108789 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug middle-end/110027] [11 regression] Stack objects with extended alignments (vectors etc) misaligned on detect_stack_use_after_return

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110027 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/113122] Assembler messages: Error: operand type mismatch for `movabs' / bad expression / invalid use of register with -fprofile -mcmodel=large -masm=intel

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113122 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug testsuite/66005] libgomp make check time is excessive

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 Bug 66005 depends on bug 113192, which changed state. Bug 113192 Summary: [11 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 Wh

[Bug libgomp/113192] [11 Regression] ERROR: couldn't execute "../../../gcc/libgomp/testsuite/flock": no such file or directory

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113192 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug driver/115440] unrecognized command-line option '--c++17'; did you mean '--stdc++17'?

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115440 --- Comment #8 from GCC Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a0dac8fdf477f0ee7fa4f54bbfc4cafec944b042 commit r11-11516-ga0dac8fdf477f0ee7fa4f54bbfc4cafec944b042 Author: Jakub Jelinek

[Bug middle-end/111422] Wrong code at -O3 on x86_64-linux-gnu

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111422 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.5 CC|

[Bug middle-end/110115] [11 Regression] Wrong code at -O1 on x86_64-linux-gnu

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110115 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug c/113262] [11 Regression] ICE when using [[gnu::copy("")]] attribute

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113262 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115557] New: initializing reference property inside template context - error is not recognized

2024-06-20 Thread nmmm at nmmm dot nu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115557 Bug ID: 115557 Summary: initializing reference property inside template context - error is not recognized Product: gcc Version: 14.1.1 Status: UNCONFIRMED Seve

[Bug target/115556] error: this operation requires the SVE ISA extension

2024-06-20 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556 --- Comment #3 from Mathieu Malaterre --- (In reply to Richard Biener from comment #2) > Same with 14.1.0 - how's this a GCC bug and not a highway bug (google likely > only tests llvm)? This was indicated upstream: * https://github.com/google/

[Bug c++/113674] [11 Regression] [[____attr____]] causes internal compiler error: in decl_attributes, at attribs.cc:776

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/114310] [11 Regression] [aarch64] __sync_val_compare_and_swap fails on __int128_t with newval = 0

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114310 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/114493] [11 Regression] internal compiler error: in fld_incomplete_type_of with may_alias

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114493 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libquadmath/114533] libquadmath: printf: fix misaligned access on args

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114533 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 114537, which changed state. Bug 114537 Summary: bit_cast does not work NSDMI of bitfields https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114537 What|Removed |Added ---

[Bug c++/114537] bit_cast does not work NSDMI of bitfields

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114537 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug tree-optimization/114566] [11 Regression] Misaligned vmovaps when compiling with stack-protector-strong for znver4

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114566 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/114572] [OpenMP] "internal compiler error: in assign_temp" with assignment operator and lastprivate clause

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114572 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/114634] [11 Regression] Crash Issue Encountered in GCC Compilation of Template Code with Aligned Attribute since r9-1745

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114634 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/114876] [11 Regression] -fprintf-return-value mishandles %lc with a '\0' argument.

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114876 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/114691] [11 Regression] Bogus ignoring loop annotation warning

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114691 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug sanitizer/114956] [11 Regression] Segmentation fault with -fsanitize=address -fsanitize=null -O2 when attribute no_sanitize_address is enabled since r9-5742

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114956 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug driver/115440] unrecognized command-line option '--c++17'; did you mean '--stdc++17'?

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115440 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.5 Resolution|---

[Bug fortran/114825] [11 Regression] Compiler error using gfortran and OpenMP since r5-1190

2024-06-20 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114825 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115558] New: Trivial noexcept(false) default constructor does not make value initialization potentially throwing

2024-06-20 Thread mital at mitalashok dot co.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558 Bug ID: 115558 Summary: Trivial noexcept(false) default constructor does not make value initialization potentially throwing Product: gcc Version: 15.0 Status: UNCONFIRME

[Bug c++/115558] Trivial noexcept(false) default constructor does not make value initialization potentially throwing

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115558 --- Comment #1 from Andrew Pinski --- See https://gcc.gnu.org/legacy-ml/gcc-patches/2019-09/msg00311.html .

[Bug c++/115558] Trivial noexcept(false) default constructor does not make value initialization potentially throwing

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

[Bug c++/114844] A trivial but noexcept(false) destructor is incorrectly considered non-throwing

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114844 --- Comment #2 from Andrew Pinski --- https://cplusplus.github.io/CWG/issues/2886.html The DR report is still have not been accepted here ...

[Bug fortran/115559] New: [OpenMP] 'link' clause of 'declare target' causes link errors

2024-06-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115559 Bug ID: 115559 Summary: [OpenMP] 'link' clause of 'declare target' causes link errors Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: openmp, rejects-

[Bug libstdc++/51452] [DR 2116] is_nothrow_.*constructible bugs

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51452 --- Comment #18 from Andrew Pinski --- Related to https://cplusplus.github.io/CWG/issues/2886.html also.

[Bug target/115556] error: this operation requires the SVE ISA extension

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556 --- Comment #4 from Andrew Pinski --- The trunk error message might be better: ``` In file included from /opt/compiler-explorer/libs/highway/trunk/hwy/highway.h:588, from /opt/compiler-explorer/libs/highway/trunk/hwy/contrib/mat

[Bug target/115556] error: this operation requires the SVE ISA extension

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556 Andrew Pinski changed: What|Removed |Added Depends on||109753 --- Comment #5 from Andrew Pinsk

[Bug target/115556] error: this operation requires the SVE ISA extension

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115556 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109753] [13/14 Regression] pragma GCC target causes std::vector not to compile (always_inline on constructor)

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109753 Andrew Pinski changed: What|Removed |Added CC||malat at debian dot org --- Comment #20

[Bug fortran/115559] [OpenMP] 'link' clause of 'declare target' causes link errors

2024-06-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115559 --- Comment #1 from Tobias Burnus --- Looks as if offload_vars is empty in case of Fortran; the variables are tagged as 'declare variant link' in the FE but varpool_node::get_create has: if ((flag_openacc || flag_openmp) && lookup_attri

[Bug c++/115560] New: ICE: in type_dependent_expression_p, at cp/pt.cc:28576

2024-06-20 Thread iamanonymous.cs at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115560 Bug ID: 115560 Summary: ICE: in type_dependent_expression_p, at cp/pt.cc:28576 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug ipa/115533] [12/13/14/15 regression] flac miscompiled with -O3 -march=znver2 -fipa-pta -fno-vect-cost-model

2024-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533 --- Comment #8 from Sam James --- (In reply to Richard Biener from comment #5) > I wonder if it's the badly tested interaction between IPA opts and IPA PTA, > I assume -O2 -ftree-vectorize instead of -O3 isn't enough to reproduce? > It isn't,

[Bug ipa/115533] [12/13/14/15 regression] flac miscompiled with -O3 -march=znver2 -fipa-pta -fno-vect-cost-model

2024-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533 --- Comment #7 from Sam James --- Created attachment 58471 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58471&action=edit test.c Attached a first cut of a reduction, I still have more to do though.

[Bug libstdc++/90276] PSTL tests fail in Debug Mode

2024-06-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90276 --- Comment #16 from Jonathan Wakely --- Two patches posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655274.html https://gcc.gnu.org/pipermail/gcc-patches/2024-June/655273.html

[Bug libstdc++/109150] std::fill should use __gnu_cxx::__is_scalar overloads for all scalars

2024-06-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109150 Jonathan Wakely changed: What|Removed |Added Keywords||patch URL|

[Bug libstdc++/115497] [15 Regression] __is_pointer doesn't compile with clang since 014879ea4c86b3b8ab6b61a1226ee5b31e816c8b

2024-06-20 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115497 Jonathan Wakely changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug c++/115561] New: [14/15 Regression] ICE checking constraints when a local class is involved

2024-06-20 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115561 Bug ID: 115561 Summary: [14/15 Regression] ICE checking constraints when a local class is involved Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: n

[Bug target/115562] New: RISC-V: ICE because of reused fndecl with target-arch attribute

2024-06-20 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115562 Bug ID: 115562 Summary: RISC-V: ICE because of reused fndecl with target-arch attribute Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug target/115562] RISC-V: ICE because of reused fndecl with target-arch attribute

2024-06-20 Thread cmuellner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115562 --- Comment #1 from Christoph Müllner --- This issue was discovered while analyzing a build issue with a patchset to introduce optimized string processing routines for RISC-V in glibc. See also: https://sourceware.org/pipermail/libc-alpha/202

[Bug middle-end/115555] [Ranger] deduce 'a >= 0' from 'b << a'

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug middle-end/115555] [Ranger] deduce 'a >= 0' from 'b << a'

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

[Bug tree-optimization/85316] [meta-bug] VRP range propagation missed cases

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85316 Bug 85316 depends on bug 11, which changed state. Bug 11 Summary: [Ranger] deduce 'a >= 0' from 'b << a' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11 What|Removed |Added -

[Bug tree-optimization/31178] VRP can infer a range for b in a >> b and a << b

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31178 Andrew Pinski changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #2

[Bug c++/115561] [14/15 Regression] ICE checking constraints when a local class is involved since r14-9659

2024-06-20 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115561 Patrick Palka changed: What|Removed |Added Known to fail||14.1.0, 15.0 CC|

[Bug fortran/115559] [OpenMP] 'link' clause of 'declare target' causes link errors

2024-06-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115559 --- Comment #2 from Tobias Burnus --- For C, it is actually handled in the FE for tree at1 = lookup_attribute ("omp declare target", DECL_ATTRIBUTES (t)); tree at2 = lookup_attribute ("omp declare target link",

[Bug target/115526] [14/15 regression] invalid assember emitted for alpha, "Error: duplicate !tlsgd!62"

2024-06-20 Thread dilfridge at gentoo dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115526 --- Comment #4 from Andreas K. Huettel --- Here's what cvise came up with as minimal test case. 1) compile command: alpha-unknown-linux-gnu-gcc -c -fno-strict-overflow -Wsign-compare -mieee -DNDEBUG -mieee -pipe -O2 -mcpu=ev4 -fwrapv -std=c

[Bug fortran/115563] New: Unnecessary brackets prevent fortran vectorisation

2024-06-20 Thread mjr19 at cam dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563 Bug ID: 115563 Summary: Unnecessary brackets prevent fortran vectorisation Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/115563] Unnecessary brackets prevent fortran vectorisation

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug fortran/115563] Unnecessary brackets prevent fortran vectorisation

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 Andrew Pinski changed: What|Removed |Added CC||mjr19 at cam dot ac.uk --- Comment #4 fr

[Bug fortran/115563] Unnecessary brackets prevent fortran vectorisation

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563 --- Comment #3 from Andrew Pinski --- Note the full IR: _9 = COMPLEX_EXPR <_15, _14>; _11 = ((_9)); _19 = REALPART_EXPR <_11>; _20 = IMAGPART_EXPR <_11>; REALPART_EXPR <(*a_7(D))[_6]> = _19; IMAGPART_EXPR <(*a_7(D))[_6]> = _20; Yes

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 --- Comment #5 from Andrew Pinski --- Note a good testcase for this is (with `-O3 -ffast-math -fopenmp-simd`): ``` subroutine foo(a,n) complex (kind(1d0)) :: a(*) integer :: i,n !$OMP SIMD do i=1,n a(i)=(a(i)+(6d0,1d0)) enddo end

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 --- Comment #6 from Andrew Pinski --- I wonder if lower complex should do a better job in the first place: that is from: _9 = _8 + __complex__ (6.0e+0, 1.0e+0); _11 = ((_9)); (*a_7(D))[_6] = _11; instead of producing: _9 = COMPLEX_EXPR <

[Bug rtl-optimization/115495] [15 Regression] ICE in smallest_mode_for_size, at stor-layout.cc:356 during combine on RISC-V rv64gcv_zvl256b at -O3 since r15-1042-g68b0742a49d

2024-06-20 Thread patrick at rivosinc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115495 Patrick O'Neill changed: What|Removed |Added Summary|[15 Regression] ICE in |[15 Regression] ICE in

[Bug analyzer/115564] New: -Wanalyzer-infinite-loop false negative when there are no source locations

2024-06-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115564 Bug ID: 115564 Summary: -Wanalyzer-infinite-loop false negative when there are no source locations Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 --- Comment #4 from GCC Commits --- The releases/gcc-14 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:e77f314ccd422ffa05c6c06837e2cb94c25f2bba commit r14-10331-ge77f314ccd422ffa05c6c06837e2cb94c25f2bba Author: Matthias Kret

[Bug libstdc++/115454] std::experimental::find_last_set is buggy on x86-64-v4

2024-06-20 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115454 --- Comment #5 from GCC Commits --- The releases/gcc-11 branch has been updated by Matthias Kretz : https://gcc.gnu.org/g:a0b92a530ad61389c0cdeb8d8ece4677e019c28e commit r11-11517-ga0b92a530ad61389c0cdeb8d8ece4677e019c28e Author: Matthias Kret

[Bug fortran/115559] [OpenMP] 'link' clause of 'declare target' causes link errors

2024-06-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115559 Tobias Burnus changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 --- Comment #8 from Andrew Pinski --- Note the handling of PAREN_EXPR in tree-complex.c has been inefficient since the tree code was added back in r0-85884-gdedd42d511b6e4 .

[Bug fortran/115559] [OpenMP] 'link' clause of 'declare target' causes link errors

2024-06-20 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115559 --- Comment #4 from Tobias Burnus --- NOTE to self: This code now adds the attribute unconditionally. For COMMON and MODULE it makes sense; but for programm/subroutine/function, it needs to be rechecked whether that variable is actually used. A

[Bug rtl-optimization/115565] New: [4.0/4.1/4.2/4.3/4.4/4.5/4.6/4.7/4.8/4.9/5/6/7/8/9/10/11/12/13/14/15 Regression] CSE: Comparison incorrectly evaluated as constant causing optimization to produce wr

2024-06-20 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115565 Bug ID: 115565 Summary: [4.0/4.1/4.2/4.3/4.4/4.5/4.6/4.7/4.8/4.9/5/6/7/8/9/10/ 11/12/13/14/15 Regression] CSE: Comparison incorrectly evaluated as constant causing optimization to pro

[Bug rtl-optimization/115565] [4.0/4.1/4.2/4.3/4.4/4.5/4.6/4.7/4.8/4.9/5/6/7/8/9/10/11/12/13/14/15 Regression] CSE: Comparison incorrectly evaluated as constant causing optimization to produce wrong c

2024-06-20 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115565 --- Comment #1 from Maciej W. Rozycki --- Created attachment 58474 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58474&action=edit Reduced reproducer and correct code + RTL dumps produced with commit 4cd26879f758

[Bug rtl-optimization/115565] [4.0/4.1/4.2/4.3/4.4/4.5/4.6/4.7/4.8/4.9/5/6/7/8/9/10/11/12/13/14/15 Regression] CSE: Comparison incorrectly evaluated as constant causing optimization to produce wrong c

2024-06-20 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115565 --- Comment #2 from Maciej W. Rozycki --- Created attachment 58475 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58475&action=edit Reduced reproducer and incorrect code + RTL dumps produced with commit 08a692679fb8

[Bug rtl-optimization/115565] [11/12/13/14/15 Regression] CSE: Comparison incorrectly evaluated as constant causing optimization to produce wrong code

2024-06-20 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115565 Roger Sayle changed: What|Removed |Added Last reconfirmed||2024-06-20 Status|UNCONFIRMED

[Bug c++/95763] Feature request: compiler warning if line width exceeds N symbols

2024-06-20 Thread mlevine55 at bloomberg dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95763 Michael Levine changed: What|Removed |Added CC||mlevine55 at bloomberg dot net --- Comm

[Bug c/115566] New: Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 Bug ID: 115566 Summary: Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23) Product: gcc

[Bug c/115566] Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 --- Comment #1 from Andrew Pinski --- /* If TYPE is an array type and EXPR is a parenthesized string constant, warn if pedantic that EXPR is being used to initialize an object of type TYPE. */ void maybe_warn_string_init (location_t loc,

[Bug c++/115567] New: Internal Compiler Error: Segmentation Fault during build

2024-06-20 Thread jjleksmi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115567 Bug ID: 115567 Summary: Internal Compiler Error: Segmentation Fault during build Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/115568] New: wrong code at -O2 with "-fno-tree-sink -fno-tree-ter -fschedule-insns" on x86_64-linux-gnu

2024-06-20 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
p --enable-checking=yes --prefix=/local/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 15.0.0 20240620 (experimental) (GCC) [525] % [525] % gcctk -O2 small.

[Bug analyzer/115564] -Wanalyzer-infinite-loop false negative when there are no source locations

2024-06-20 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115564 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/115569] New: Internal Compiler Error: Segmentation Fault during build

2024-06-20 Thread jjleksmi at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115569 Bug ID: 115569 Summary: Internal Compiler Error: Segmentation Fault during build Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/115567] Internal Compiler Error: Segmentation Fault during build

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115567 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/115568] wrong code at -O2 with "-fno-tree-sink -fno-tree-ter -fschedule-insns" on x86_64-linux-gnu

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115568 --- Comment #1 from Andrew Pinski --- I wonder if the scheduler is moving the divide (by zero) incorrectly.

[Bug ipa/115533] [12/13/14/15 regression] flac miscompiled with -O3 -march=znver2 -fipa-pta -fno-vect-cost-model since r12-3893-g6390c5047adb75

2024-06-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115533 Sam James changed: What|Removed |Added Keywords|needs-bisection | Summary|[12/13/14/15 regression

[Bug c/115566] Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 --- Comment #2 from Andrew Pinski --- >. Clang accepts this, even with -std=c89 -pedantic. Well that is definitely a clang issue. See PR 11250 which added this warning.

[Bug c/115566] Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug c/115566] Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 --- Comment #4 from Andrew Pinski --- Note HP's aCC errored out on this code even. So it was not just something GCC added to be extra pedantic either (this was mentioned in PR 11250 too).

[Bug c/115566] Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 --- Comment #5 from Andrew Pinski --- https://gcc.gnu.org/pipermail/gcc-patches/2004-July/144923.html

[Bug c/115566] Arrays of character type initialized with parenthesized string literals shouldn't be diagnosed with -pedantic (at least in C23)

2024-06-20 Thread luigighiron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115566 --- Comment #6 from Halalaluyafail3 --- (In reply to Andrew Pinski from comment #3) > C11 still has it: > > 6.7.9/14: > An array of character type may be initialized by a character string literal > orUTF−8 string literal, optionally enclosed in

[Bug target/115408] regression between gcc 13.3.0 and 14.1.0 using -mips16 and -minterlink-mips16

2024-06-20 Thread broly at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408 --- Comment #11 from gagan sidhu (broly) --- dear lad(ettes), i just want to take this opportunity to contrast this scenario, had the equivalent occurred on the inferior, unjustifiably hyped, ARM architecture's "thumb" mode, which is arguably a

[Bug target/115408] regression between gcc 13.3.0 and 14.1.0 using -mips16 and -minterlink-mips16

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408 --- Comment #12 from Andrew Pinski --- (In reply to gagan sidhu (broly) from comment #11) > dear lad(ettes), > > i just want to take this opportunity to contrast this scenario, had the > equivalent occurred on the inferior, unjustifiably hyped,

[Bug target/115408] regression between gcc 13.3.0 and 14.1.0 using -mips16 and -minterlink-mips16

2024-06-20 Thread broly at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115408 --- Comment #13 from gagan sidhu (broly) --- oh i see, i didn't realise that thumb was pure 16 bit. my apologies. so i guess i meant thumb2, which would have the same effect of the mips16/minterlink-mips16 flags that i use to "collapse" 32 bit

[Bug middle-end/115528] [15 regression] segmentation fault in legacy F77 code since r15-1238-g1fe55a1794863b

2024-06-20 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115528 --- Comment #19 from Jürgen Reuter --- Created attachment 58476 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58476&action=edit First independent reproducer

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 --- Comment #9 from Andrew Pinski --- C version of the same: ``` void foo(_Complex float *a, int n) { for(int i = 0; i < n; i++) { _Complex float t; t = a[i]; t += 6.0; t = __builtin_assoc_barrier(t); a[i] = t; } } ```

[Bug middle-end/68855] PAREN_EXPR not "ignored" where possible

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68855 --- Comment #10 from Andrew Pinski --- Created attachment 58477 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58477&action=edit Patch which I am testing

[Bug fortran/115563] Unnecessary brackets prevent fortran vectorisation

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115563 --- Comment #4 from Andrew Pinski --- Note I have a fix for this which I attached to PR 68855 and will be submitting it after the bootstrap/test finishes. Thanks again for the testcase and the decent bug report. It definitely was useful.

[Bug c/115570] New: array subscript 'long unsigned int[0]' is partly outside array bounds of 'unsigned char[4]'

2024-06-20 Thread Curt.Blank at curtronics dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115570 Bug ID: 115570 Summary: array subscript 'long unsigned int[0]' is partly outside array bounds of 'unsigned char[4]' Product: gcc Version: 13.3.0 Status: UNCONFIRMED

[Bug middle-end/115570] array subscript 'long unsigned int[0]' is partly outside array bounds of 'unsigned char[4]'

2024-06-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115570 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

<    1   2   3   4   5   >