[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #13 from Richard Biener --- (In reply to JuzheZhong from comment #12) > OK. It seems it has data dependency issue: > > missed: not vectorized, possible dependence between data-refs a[i_15] and > a[_4] > > a[i_15] = _3; STMT 1 >

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug ipa/113665] [11/12/13/14 regression] Regular for Loop results in Endless Loop with -O2 since r11-4987-g602c6cfc79ce4a

2024-01-30 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113665 --- Comment #9 from Richard Biener --- (In reply to Jan Hubicka from comment #8) > > Honza - ICF seems to fixup points-to sets when merging variables, so there > > should be a way to kill off flow-sensitive info inside prevailing bodies > > as

[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2024-01-30 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #12 from JuzheZhong --- OK. It seems it has data dependency issue: missed: not vectorized, possible dependence between data-refs a[i_15] and a[_4] a[i_15] = _3; STMT 1 _4 = i_15 + 2; _5 = a[_4];STMT 2 STMT2 should not

[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2024-01-30 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #11 from JuzheZhong --- It seems that we should fix this case (Richard gave) first which I think it's not the SCEV or value-numbering issue: double a[1024]; void foo () { for (int i = 0; i < 1022; i += 2) { double tem =

[Bug c++/113531] [14 Regression] AddressSanitizer: stack-use-after-scope when iterating over initializer list since r14-1500-g4d935f52b0d5c0

2024-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113531 --- Comment #2 from Jason Merrill --- Reduced: #include void f(int) { } void g() { for (auto i : { 1, 2, 3 }) f (i); f(42); } int main() { g(); g(); }

[Bug debug/113394] ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -fstrub=internal -g

2024-01-30 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113394 Alexandre Oliva changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug debug/113394] ICE: 'verify_type' failed: type variant with 'TYPE_ALIAS_SET_KNOWN_P' with -fstrub=internal -g

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113394 --- Comment #2 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:d826596acb02edf41ac4f76af2aed5efa3b8c698 commit r14-8643-gd826596acb02edf41ac4f76af2aed5efa3b8c698 Author: Alexandre Oliva

[Bug middle-end/112917] Most strub execution tests FAIL on SPARC

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112917 --- Comment #8 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:320fb976e933e8892af905e68de65492568f2a49 commit r14-8642-g320fb976e933e8892af905e68de65492568f2a49 Author: Alexandre Oliva

[Bug middle-end/113100] [14 regression] many strub tests fail after r14-6737-g4e0a467302fea5

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113100 --- Comment #5 from GCC Commits --- The master branch has been updated by Alexandre Oliva : https://gcc.gnu.org/g:320fb976e933e8892af905e68de65492568f2a49 commit r14-8642-g320fb976e933e8892af905e68de65492568f2a49 Author: Alexandre Oliva

[Bug tree-optimization/113091] Over-estimate SLP vector-to-scalar cost for non-live pattern statement

2024-01-30 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113091 Feng Xue changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/113678] New: SLP misses up vec_concat

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113678 Bug ID: 113678 Summary: SLP misses up vec_concat Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug tree-optimization/113677] Missing `VEC_PERM_EXPR <{a, CST}, CST, {0, 1, 2, ...}>` optimization

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113677 Andrew Pinski changed: What|Removed |Added Target|x86_64 |x86_64 aarch64 --- Comment #2 from

[Bug tree-optimization/113677] Missing `VEC_PERM_EXPR <{a, CST}, CST, {0, 1, 2, ...}>` optimization

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113677 Andrew Pinski changed: What|Removed |Added Target||x86_64 --- Comment #1 from Andrew

[Bug tree-optimization/113677] New: Missing `VEC_PERM_EXPR <{a, CST}, CST, {0, 1, 2, ...}>` optimization

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113677 Bug ID: 113677 Summary: Missing `VEC_PERM_EXPR <{a, CST}, CST, {0, 1, 2, ...}>` optimization Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc

2024-01-30 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99395 --- Comment #10 from JuzheZhong --- I think the root cause is we think i_16 and _1 are alias due to scalar evolution: (get_scalar_evolution (scalar = i_16) (scalar_evolution = {0, +, 2}_1)) (get_scalar_evolution (scalar = _1)

[Bug c/111911] [11/12/13 Regression] ICE with integer overflow converting to _Bool

2024-01-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111911 Joseph S. Myers changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression] ICE

[Bug c/111059] [11/12/13 Regression] ICE: in gimplify_expr, at gimplify.cc:17253

2024-01-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111059 Joseph S. Myers changed: What|Removed |Added Summary|[11/12/13/14 Regression]|[11/12/13 Regression] ICE:

[Bug c/111911] [11/12/13/14 Regression] ICE with integer overflow converting to _Bool

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111911 --- Comment #7 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:35de88e2ed0aa78f6e3306c8560cd6bb15ce0ffe commit r14-8641-g35de88e2ed0aa78f6e3306c8560cd6bb15ce0ffe Author: Joseph Myers Date:

[Bug rtl-optimization/113495] RISC-V: Time and memory awful consumption of SPEC2017 wrf benchmark

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

[Bug c/111059] [11/12/13/14 Regression] ICE: in gimplify_expr, at gimplify.cc:17253

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111059 --- Comment #6 from GCC Commits --- The master branch has been updated by Joseph Myers : https://gcc.gnu.org/g:35de88e2ed0aa78f6e3306c8560cd6bb15ce0ffe commit r14-8641-g35de88e2ed0aa78f6e3306c8560cd6bb15ce0ffe Author: Joseph Myers Date:

[Bug tree-optimization/113676] [11/12 Regression] Miscompilation tree-vrp __builtin_unreachable

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113676 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.4 Keywords|

[Bug analyzer/113509] ICE: SIGSEGV in c_tree_printer (c-objc-common.cc:341) with -fanalyzer -fanalyzer-verbose-state-changes

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113509 --- Comment #3 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:18aabe7d203aa1276e6cbacfb3ffc8d8fcb14966 commit r14-8640-g18aabe7d203aa1276e6cbacfb3ffc8d8fcb14966 Author: David Malcolm Date:

[Bug tree-optimization/113676] New: Miscompilation tree-vrp __builtin_unreachable

2024-01-30 Thread magnus.hegdahl at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113676 Bug ID: 113676 Summary: Miscompilation tree-vrp __builtin_unreachable Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/113495] RISC-V: Time and memory awful consumption of SPEC2017 wrf benchmark

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113495 --- Comment #33 from GCC Commits --- The master branch has been updated by Pan Li : https://gcc.gnu.org/g:9dd10de15b183f7b662905e1383fdc3a08755f2e commit r14-8639-g9dd10de15b183f7b662905e1383fdc3a08755f2e Author: Juzhe-Zhong Date: Mon Jan

[Bug target/105576] x86: Support a machine constraint to get raw symbol name

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.0 --- Comment #12 from Andrew

[Bug target/105576] x86: Support a machine constraint to get raw symbol name

2024-01-30 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576 Fangrui Song changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/105576] x86: Support a machine constraint to get raw symbol name

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576 --- Comment #10 from GCC Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:d7250100381b817114447d91fff4748526d4fb21 commit r14-8637-gd7250100381b817114447d91fff4748526d4fb21 Author: Fangrui Song Date: Thu

[Bug target/113675] %p modifier doesn't work with PIC

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113675 --- Comment #3 from Andrew Pinski --- Actually the issue is not %p but rather the constraint. Anyways it is still a dup.

[Bug target/113675] %p modifier doesn't work with PIC

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113675 --- Comment #2 from Andrew Pinski --- That is %z was in the process of being reviewed and added: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/642580.html

[Bug target/113675] %p modifier doesn't work with PIC

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

[Bug target/105576] x86: Support a machine constraint to get raw symbol name

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105576 Andrew Pinski changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug target/113675] New: %p modifier doesn't work with PIC

2024-01-30 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113675 Bug ID: 113675 Summary: %p modifier doesn't work with PIC Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug target/113607] [14] RISC-V rv64gcv vector: Runtime mismatch at -O3

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113607 --- Comment #22 from Andrew Pinski --- (In reply to Robin Dapp from comment #19) > What seems odd to me is that in fre5 we simplify > > _429 = .COND_SHL (mask_patt_205.47_276, vect_cst__262, vect_cst__262, { 0, > ... }); >

[Bug c/111911] [11/12/13/14 Regression] ICE with integer overflow converting to _Bool

2024-01-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111911 Joseph S. Myers changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jsm28 at gcc dot gnu.org

[Bug c/111059] [11/12/13/14 Regression] ICE: in gimplify_expr, at gimplify.cc:17253

2024-01-30 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111059 Joseph S. Myers changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jsm28 at gcc dot gnu.org

[Bug target/113607] [14] RISC-V rv64gcv vector: Runtime mismatch at -O3

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113607 --- Comment #21 from Andrew Pinski --- (In reply to JuzheZhong from comment #20) > Does ARM SVE have the same issue too ? Since I think we should be using same > folding optimization as ARM SVE. I could not reproduce it with SVE, see comment

[Bug target/113607] [14] RISC-V rv64gcv vector: Runtime mismatch at -O3

2024-01-30 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113607 --- Comment #20 from JuzheZhong --- (In reply to Robin Dapp from comment #19) > What seems odd to me is that in fre5 we simplify > > _429 = .COND_SHL (mask_patt_205.47_276, vect_cst__262, vect_cst__262, { 0, > ... }); >

[Bug preprocessor/105608] [11/12/13/14 Regression] ICE: in linemap_add with a really long defined macro on the command line r11-338-g2a0225e47868fbfc

2024-01-30 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105608 --- Comment #13 from Lewis Hyatt --- I think I understand why it is platform dependent. The location being assigned to the restored macros is pfile->directive_line, which was stored relative to the original line map instance, before replacing

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

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674 Marek Polacek changed: What|Removed |Added Summary|[[attr]] causes |[11/12/13/14 Regression]

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

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113674 Bug ID: 113674 Summary: [[attr]] causes internal compiler error: in decl_attributes, at attribs.cc:776 Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/113607] [14] RISC-V rv64gcv vector: Runtime mismatch at -O3

2024-01-30 Thread rdapp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113607 --- Comment #19 from Robin Dapp --- What seems odd to me is that in fre5 we simplify _429 = .COND_SHL (mask_patt_205.47_276, vect_cst__262, vect_cst__262, { 0, ... }); vect_prephitmp_129.51_282 = _429; vect_iftmp.55_287 = VEC_COND_EXPR ;

[Bug fortran/113671] Passing allocatable character(:) slices with negative stride: invalid memory access / segfault

2024-01-30 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113671 --- Comment #2 from anlauf at gcc dot gnu.org --- Another reduced variant: program arrays10 implicit none character(5), allocatable :: a(:) character(:), allocatable :: b(:) a = [ character(5) :: "one", "two", "three"] b = [

[Bug analyzer/113509] ICE: SIGSEGV in c_tree_printer (c-objc-common.cc:341) with -fanalyzer -fanalyzer-verbose-state-changes

2024-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113509 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #2 from David

[Bug tree-optimization/113673] [12/13/14 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Ever confirmed|0

[Bug tree-optimization/113673] [12/13/14 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113673 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target

[Bug libgcc/113403] [14 Regression] __builtin_nested_func_ptr_created, __builtin_nested_func_ptr should be dynamically linked by default

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

[Bug tree-optimization/113673] New: [12/13/14 Regression] ICE: verify_flow_info failed: BB 5 cannot throw but has an EH edge with -Os -finstrument-functions -fnon-call-exceptions -ftrapv

2024-01-30 Thread zsojka at seznam dot cz via Gcc-bugs
/repo/gcc-trunk//binary-trunk-r14-8635-20240130094253-g24d5e0bf19f-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240130 (experimental) (GCC)

[Bug analyzer/113509] ICE: SIGSEGV in c_tree_printer (c-objc-common.cc:341) with -fanalyzer -fanalyzer-verbose-state-changes

2024-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113509 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug libstdc++/113663] [MinGW] std::filesystem::hard_link_count always returns 1

2024-01-30 Thread lennoxhoe at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113663 --- Comment #4 from Lennox Ho --- Oh right, thanks for pointing that out. Let me try to put something together.

[Bug fortran/113671] Passing allocatable character(:) slices with negative stride: invalid memory access / segfault

2024-01-30 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113671 kargl at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug analyzer/111881] [14 Regression] analyzer: ICE in ensure_closed, at analyzer/constraint-manager.cc:130 with -Ofast

2024-01-30 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111881 David Malcolm changed: What|Removed |Added Last reconfirmed||2024-01-30 Target Milestone|---

[Bug target/113657] [14 Regression] ICE Segmentation fault with -mstrict-align and __arm_data512_t since r14-1187-gd6b756447cd58b

2024-01-30 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113657 Andrew Pinski changed: What|Removed |Added Keywords||patch URL|

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #18 from Marek Polacek --- Should be. Let me know if some are still not fixed.

[Bug regression/113672] New: [14 Regression] FAIL: g++.dg/pch/line-map-3.C -g -I. -Dwith_PCH (test for excess errors)

2024-01-30 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113672 Bug ID: 113672 Summary: [14 Regression] FAIL: g++.dg/pch/line-map-3.C -g -I. -Dwith_PCH (test for excess errors) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug rtl-optimization/113656] [x86] ICE in simplify_const_unary_operation, at simplify-rtx.cc:1954 with new -mavx10.1

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113656 --- Comment #6 from Jakub Jelinek --- Created attachment 57265 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57265=edit gcc14-pr113656.patch Untested fix.

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-01-30 Thread lopresti at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 --- Comment #17 from Patrick J. LoPresti --- Are all of the "duplicate" bugs also fixed by this change?

[Bug target/113656] [x86] ICE in simplify_const_unary_operation, at simplify-rtx.cc:1954 with new -mavx10.1

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113656 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Last

[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 --- Comment #5 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f2061b2a9641c2228d4e2d86f19532ad7e93d627 commit r14-8636-gf2061b2a9641c2228d4e2d86f19532ad7e93d627 Author: Marek Polacek Date:

[Bug c++/109640] Spurious Wdangling-reference for argument to temporary lambda cast to rvalue reference

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109640 --- Comment #7 from GCC Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:f2061b2a9641c2228d4e2d86f19532ad7e93d627 commit r14-8636-gf2061b2a9641c2228d4e2d86f19532ad7e93d627 Author: Marek Polacek Date:

[Bug c++/113531] [14 Regression] AddressSanitizer: stack-use-after-scope when iterating over initializer list since r14-1500-g4d935f52b0d5c0

2024-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113531 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org Last

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 --- Comment #6 from Jakub Jelinek --- But then vnresult->result of (what is correctly believed to be in *i at the start of the function) is different from rhs of and so it doesn't return res; So, I'm afraid I don't know what's going on.

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 --- Comment #5 from Jakub Jelinek --- This vn_reference_lookup_2 call from vn_reference_lookup_3 has been added for PR23094 in r8-4877-gd7a160a45ea7ed09.

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 --- Comment #4 from Jakub Jelinek --- (In reply to Richard Biener from comment #2) > Hmm, so we look for a *(int **) here, reach the toplevel vop, skipping *j = > ? > That should have conflicted. Seems we actually saw that.

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

2024-01-30 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111677 --- Comment #25 from Alex Coplan --- Proposed fix for GCC 13: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/644459.html

[Bug c++/67898] rejects-valid on overloaded function as non-type template argument of dependent type

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67898 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:1a4c47e10e8ba06f04de2d41a040ba1494843a01 commit r14-8634-g1a4c47e10e8ba06f04de2d41a040ba1494843a01 Author: Patrick Palka Date:

[Bug ipa/113665] [11/12/13/14 regression] Regular for Loop results in Endless Loop with -O2 since r11-4987-g602c6cfc79ce4a

2024-01-30 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113665 --- Comment #8 from Jan Hubicka --- > Honza - ICF seems to fixup points-to sets when merging variables, so there > should be a way to kill off flow-sensitive info inside prevailing bodies > as well. But would that happen before inlining the

[Bug ipa/111444] [14 Regression] Wrong code at -O2/3/s on x86_64-gnu since r14-3226-gd073e2d75d9

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111444 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/112846] [14 Regression] nvptx: 'FAIL: g++.dg/abi/anon6.C -std=c++20 scan-assembler _Z5dummyIXtl8wrapper1IdEtlNS1_Ut_Edi9RightNametlNS2_Ut_Edi9RightNameLd405ec00000000000EEEEEEvv'

2024-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112846 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/112846] [14 Regression] nvptx: 'FAIL: g++.dg/abi/anon6.C -std=c++20 scan-assembler _Z5dummyIXtl8wrapper1IdEtlNS1_Ut_Edi9RightNametlNS2_Ut_Edi9RightNameLd405ec00000000000EEEEEEvv'

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112846 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:209fc1e5f6c67e55e579b69f617b0b678b1bfdf0 commit r14-8633-g209fc1e5f6c67e55e579b69f617b0b678b1bfdf0 Author: Jason Merrill Date:

[Bug debug/113637] ICE: in as_a, at machmode.h:381 with extern function declaration and _BitInt() used as VLA size

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

[Bug tree-optimization/113639] ICE: in handle_operand_addr, at gimple-lower-bitint.cc:2265 at -O with _BitInt() in a struct

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113639 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/113512] Incorrect results for std::format("{:#.3g}", flt)

2024-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113512 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/113649] ICE: nested template class template argument deduction

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113649 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org,

[Bug c++/112846] [14 Regression] nvptx: 'FAIL: g++.dg/abi/anon6.C -std=c++20 scan-assembler _Z5dummyIXtl8wrapper1IdEtlNS1_Ut_Edi9RightNametlNS2_Ut_Edi9RightNameLd405ec00000000000EEEEEEvv'

2024-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112846 Jason Merrill changed: What|Removed |Added Last reconfirmed||2024-01-30

[Bug c++/110075] Bogus -Wdangling-reference

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110075 --- Comment #7 from Marek Polacek --- It's hard to decide. It seems that once we've covered std::span-like classes, in practice the warning points out real issues. I would hope that code like you posted is actually fairly rare. But it's

[Bug c++/113451] [14 regression] 32-bit g++.dg/abi/mangle-regparm1a.C FAILs

2024-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113451 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/113451] [14 regression] 32-bit g++.dg/abi/mangle-regparm1a.C FAILs

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113451 --- Comment #2 from GCC Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:dd7aa986fd12fc24e9d2efb8a8b267acb2bf19ea commit r14-8632-gdd7aa986fd12fc24e9d2efb8a8b267acb2bf19ea Author: Jason Merrill Date:

[Bug c++/113443] GCC rejects valid program involving parameter packs with in between class type

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113443 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/113451] [14 regression] 32-bit g++.dg/abi/mangle-regparm1a.C FAILs

2024-01-30 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113451 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/113671] New: Passing allocatable character(:) slices with negative stride: invalid memory access / segfault

2024-01-30 Thread orbisvicis+gcc at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113671 Bug ID: 113671 Summary: Passing allocatable character(:) slices with negative stride: invalid memory access / segfault Product: gcc Version: 13.2.0 Status: UNCONFIRMED

[Bug c++/113300] GCC rejects valid program involving copy list initialization A a = {} of a class with explicit and non explicit default constructors

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113300 --- Comment #5 from Marek Polacek --- Not a regression so I think it has to wait until GCC 15. I'd like to take a look then. I've updated https://gcc.gnu.org/projects/cxx-dr-status.html

[Bug c++/81271] gcc/cp/lex.c:116: wrong condition ?

2024-01-30 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81271 --- Comment #5 from David Binderman --- (In reply to Jason Merrill from comment #4) > What tool did this warning come from? Looks like cppcheck to me.

[Bug c++/110358] requesting nicer suppression for Wdangling-reference

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110358 --- Comment #4 from Marek Polacek --- Patch for [[gnu::non_owning]] posted: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643998.html Not sure how important it is to accept the optional argument.

[Bug c++/113582] incorrect warning about unused label with `pragma GCC diagnostic` around the unused label

2024-01-30 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113582 --- Comment #6 from Marek Polacek --- Patch approved for GCC 15: https://gcc.gnu.org/pipermail/gcc-patches/2024-January/643999.html

[Bug tree-optimization/113670] ICE with vectors in named registers and -fno-vect-cost-model

2024-01-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113670 --- Comment #2 from Xi Ruoyao --- Quoting the observation from Richard: > We end up with the invalid > > _28 = (sizetype)

[Bug tree-optimization/113670] ICE with vectors in named registers and -fno-vect-cost-model

2024-01-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113670 Xi Ruoyao changed: What|Removed |Added Known to fail|13.2.0 | --- Comment #1 from Xi Ruoyao --- It's

[Bug tree-optimization/113670] New: ICE with vectors in named registers and -fno-vect-cost-model

2024-01-30 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113670 Bug ID: 113670 Summary: ICE with vectors in named registers and -fno-vect-cost-model Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug c++/113640] 'deducing this' lambda invoked multiple times unexpectedly

2024-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113640 Patrick Palka changed: What|Removed |Added Target Milestone|--- |14.0 Keywords|

[Bug c++/113640] 'deducing this' lambda invoked multiple times unexpectedly

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113640 --- Comment #2 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:0857a00fe3226db8801384743b6d44353dcac9da commit r14-8631-g0857a00fe3226db8801384743b6d44353dcac9da Author: Patrick Palka Date:

[Bug sanitizer/113669] -fsanitize=undefined failed to check a signed integer overflow

2024-01-30 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113669 --- Comment #1 from Jakub Jelinek --- This is because already the FE optimizes it, when it sees that ((int)(g_B * g_A[1])) & (g_A[1] & g_A[0]) | g_A[0] is just being added to unsigned char element, the upper bits of it aren't needed, so the

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

2024-01-30 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 Keywords||patch --- Comment #24 from Alex Coplan

[Bug libstdc++/113500] Using std::format with float or double based std::chrono::time_point causes error: no match for 'operator<<'

2024-01-30 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113500 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/113644] [14 regression] ICE when building libcxxabi-16.0.6 since r14-6520

2024-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113644 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/113644] [14 regression] ICE when building libcxxabi-16.0.6 since r14-6520

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113644 --- Comment #6 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:af37bef86199e50368cbfbc97befe0622a07f12f commit r14-8630-gaf37bef86199e50368cbfbc97befe0622a07f12f Author: Patrick Palka Date:

[Bug c++/113640] 'deducing this' lambda invoked multiple times unexpectedly

2024-01-30 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113640 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug sanitizer/113669] New: -fsanitize=undefined failed to check a signed integer overflow

2024-01-30 Thread jiajing_zheng at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113669 Bug ID: 113669 Summary: -fsanitize=undefined failed to check a signed integer overflow Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/113500] Using std::format with float or double based std::chrono::time_point causes error: no match for 'operator<<'

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113500 --- Comment #12 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a5aca83ca9c7fac895d10eb7b3e14b1927ec1eac commit r13-8263-ga5aca83ca9c7fac895d10eb7b3e14b1927ec1eac Author: Jonathan

[Bug libstdc++/113512] Incorrect results for std::format("{:#.3g}", flt)

2024-01-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113512 --- Comment #2 from GCC Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:1bb2e52cc69902c7bf00fbdd094e948803222946 commit r13-8261-g1bb2e52cc69902c7bf00fbdd094e948803222946 Author: Jonathan

  1   2   >