[Bug target/109317] -Os generates bigger code than -O2 on 32-bit ARM

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109317 Richard Biener changed: What|Removed |Added Keywords||missed-optimization, ra --- Comment #1

[Bug c++/109319] [13 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3793

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109319 Richard Biener changed: What|Removed |Added Keywords||ice-checking --- Comment #2 from Richa

[Bug tree-optimization/109327] ICE on valid code at -O1 and above with "-fno-tree-ccp": Segmentation fault

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109327 Richard Biener changed: What|Removed |Added Version|unknown |13.0 Last reconfirmed|

[Bug c++/109283] Destructor of co_yield conditional argument called twice

2023-03-29 Thread StevenSun2021 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109283 Steven Sun changed: What|Removed |Added CC||StevenSun2021 at hotmail dot com --- Comm

[Bug target/109329] New: rs6000: New testcases {mul,div}ic3* should run on systems without QP

2023-03-29 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109329 Bug ID: 109329 Summary: rs6000: New testcases {mul,div}ic3* should run on systems without QP Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug target/109329] rs6000: New testcases {mul,div}ic3* should run on systems without QP

2023-03-29 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109329 Segher Boessenkool changed: What|Removed |Added Priority|P3 |P4 Target|

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2023-03-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 --- Comment #7 from Xi Ruoyao --- (In reply to Richard Biener from comment #6) > (In reply to Xi Ruoyao from comment #5) > > The test fails on loongarch64-linux-gnu. foo is kept in 114t.threadfull1, > > but removed in 135t.forwprop3. > > > > D

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2023-03-29 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 --- Comment #8 from Xi Ruoyao --- Created attachment 54783 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54783&action=edit threadfull1 dump on LoongArch

[Bug ipa/109318] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-03-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 Martin Liška changed: What|Removed |Added Summary|csmith: -fipa-cp seems to |csmith: -fipa-cp seems to

[Bug tree-optimization/109327] ICE on valid code at -O1 and above with "-fno-tree-ccp": Segmentation fault

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109327 --- Comment #2 from Richard Biener --- It's really an old issue I think. We record a lattice in forwprop, marking stmts to be removed. But the early forwprop phase runs on the IL with the stmt operands not substituted, instead relying on old g

[Bug ipa/109318] [12/13 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-03-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug ipa/109318] [12/13 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 Richard Biener changed: What|Removed |Added Priority|P1 |P2 Known to fail|

[Bug sanitizer/109330] New: ASAN since GCC-9 missed a stack-use-after-scope at -O3

2023-03-29 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109330 Bug ID: 109330 Summary: ASAN since GCC-9 missed a stack-use-after-scope at -O3 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug ipa/109318] [12/13 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 --- Comment #7 from Richard Biener --- With -O2 -fno-early-inlining it can be simplified: #pragma pack(1) struct S { signed : 31; unsigned f4 : 20; }; static struct S global; static struct S func_16(struct S *ptr) { return *ptr; } int ma

[Bug libstdc++/106608] [12/13 Regression] std::optional requires unavailable dtor

2023-03-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 --- Comment #7 from Jonathan Wakely --- (In reply to Egor Pugin from comment #1) > All major compilers (MSVC, GCC, Clang) of all (tried) modern versions (in > case of GCC — before 12) build this code without problems. Is this a GCC > regression?

[Bug tree-optimization/109327] ICE on valid code at -O1 and above with "-fno-tree-ccp": Segmentation fault

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109327 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:7fd1d28d2436065da7fc0fe01d787fcdf3c14b83 commit r13-6926-g7fd1d28d2436065da7fc0fe01d787fcdf3c14b83 Author: Richard Biener Date:

[Bug ipa/109318] [12/13 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-03-29 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug tree-optimization/109327] ICE on valid code at -O1 and above with "-fno-tree-ccp": Segmentation fault

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109327 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Keywords|

[Bug libstdc++/106608] std::optional requires unavailable dtor when compiled with clang

2023-03-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106608 Jonathan Wakely changed: What|Removed |Added Summary|[12/13 Regression] |std::optional requires

[Bug fortran/92960] ICE tree check: expected tree that contains 'decl minimal' structure, have 'component_ref' in add_decl_as_local, at fortran/trans-decl.c:261

2023-03-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92960 Paul Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/87477] [meta-bug] [F03] issues concerning the ASSOCIATE statement

2023-03-29 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87477 Bug 87477 depends on bug 92960, which changed state. Bug 92960 Summary: ICE tree check: expected tree that contains 'decl minimal' structure, have 'component_ref' in add_decl_as_local, at fortran/trans-decl.c:261 https://gcc.gnu.org/bugzilla/sho

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #22 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #21 from ro at CeBiTec dot Uni-Bielefeld.DE Uni-Bielefeld.DE> --- >> --- Comment #20 from Jakub Jelinek --- >> Tried valgrind on the cross d21 on x86_64 and didn't see a

[Bug c/109331] New: ice: definition in block 7 does not dominate use in block 8

2023-03-29 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109331 Bug ID: 109331 Summary: ice: definition in block 7 does not dominate use in block 8 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal P

[Bug tree-optimization/108357] [13 Regression] Dead Code Elimination Regression at -O2 since r13-4607-g2dc5d6b1e7ec88

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108357 --- Comment #9 from Richard Biener --- (In reply to Xi Ruoyao from comment #7) > (In reply to Richard Biener from comment #6) > > (In reply to Xi Ruoyao from comment #5) > > > The test fails on loongarch64-linux-gnu. foo is kept in 114t.threadf

[Bug target/109332] New: Bug in gcc (13.0.1) support for ARM SVE, which randomly ignore the predict register

2023-03-29 Thread wumingchuan1992 at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109332 Bug ID: 109332 Summary: Bug in gcc (13.0.1) support for ARM SVE, which randomly ignore the predict register Product: gcc Version: 13.0 Status: UNCONFIRMED Seve

[Bug libstdc++/109333] New: Use std::move in std::accumulate etc. for std::string for C++11/14/17

2023-03-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109333 Bug ID: 109333 Summary: Use std::move in std::accumulate etc. for std::string for C++11/14/17 Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-o

[Bug tree-optimization/109331] ice: definition in block 7 does not dominate use in block 8

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109331 Richard Biener changed: What|Removed |Added Component|c |tree-optimization Assignee|u

[Bug target/109332] Bug in gcc (13.0.1) support for ARM SVE, which randomly ignore the predict register

2023-03-29 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109332 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #23 from Jakub Jelinek --- Ugh, that sounds like an uninitialized use of something somewhere, unfortunately if it is really my commit, I don't understand how it could cause it. All it changes is that when tree_versioning is called, t

[Bug tree-optimization/109334] New: tree-object-size: Improve size computation in arguments

2023-03-29 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109334 Bug ID: 109334 Summary: tree-object-size: Improve size computation in arguments Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/104970] [12 Regression] ICE in execute_todo, at passes.cc:2133 since r12-6480-gea19c8f33a3a8d2b

2023-03-29 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104970 --- Comment #14 from Siddhesh Poyarekar --- (In reply to Martin Uecker from comment #13) > This fix seem too radical. It now prevents this from working even when there > is an explicit attribute but there is also a VLA bound. Also I think it >

[Bug tree-optimization/107561] [13 Regression] g++.dg/pr71488.C and [g++.dg/warn/Warray-bounds-16.C -m32] regression due to -Wstringop-overflow problem

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

[Bug tree-optimization/107561] [13 Regression] g++.dg/pr71488.C and [g++.dg/warn/Warray-bounds-16.C -m32] regression due to -Wstringop-overflow problem

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107561 --- Comment #24 from Richard Biener --- Created attachment 54784 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54784&action=edit another hack

[Bug c++/109319] [12/13 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3793 since r12-5510

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109319 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Summary|[13 Regression] I

[Bug tree-optimization/109331] ice: definition in block 7 does not dominate use in block 8

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109331 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:86efc490ab86bfa00720479b4714da23cd7df797 commit r13-6928-g86efc490ab86bfa00720479b4714da23cd7df797 Author: Richard Biener Date:

[Bug tree-optimization/109331] ice: definition in block 7 does not dominate use in block 8

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109331 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-03-29 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #31 from Costas Argyris --- This was initially done only for the 64-bit mingw Windows host (x86_64-*-mingw*). This is the patch that extended it to the 32-bit version as well (i[34567]86-*-mingw32*): https://gcc.gnu.org/git/?p=gcc.

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-03-29 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #32 from Costas Argyris --- Followed by: https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e70e36cbef4f01e7d32bafe17698c3bf3e4624b8

[Bug driver/108865] gcc on Windows fails with Unicode path to source file

2023-03-29 Thread costas.argyris at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108865 --- Comment #33 from Costas Argyris --- It should be noted that with the current implementation, windres (part of binutils) is mandatory when building for the mingw (Windows) hosts, both 32 and 64-bit versions. That is, a build failure will occ

[Bug sanitizer/109330] ASAN since GCC-9 missed a stack-use-after-scope at -O3

2023-03-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109330 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/109310] --enable-link-mutex is quite duplicate to --enable-link-serialization

2023-03-29 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109310 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug bootstrap/109310] --enable-link-mutex is quite duplicate to --enable-link-serialization

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109310 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2 commit r13-6929-g8b2766e87dbf0d20808bc92d8e6ee7f876d19ab2 Author: Martin Liska Date: Wed

[Bug tree-optimization/106511] [13 Regression] New -Werror=maybe-uninitialized since r13-1268-g8c99e307b20c502e

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106511 Richard Biener changed: What|Removed |Added Known to work||12.2.0 --- Comment #4 from Richard Bie

[Bug middle-end/106008] [11/12/13 Regression] warning: ‘(((char *)loadcmds.113_68 + _933 + 16))[329406144173384849].mapend’ may be used uninitialized [-Wmaybe-uninitialized]

2023-03-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106008 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Keywords|missed-optimizat

[Bug c++/109319] [12/13 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3793 since r12-5510

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

[Bug target/109324] Genrecog reports "source missing a mode?" for H8

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109324 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug analyzer/109335] New: -Wanalyzer-malloc-leak false positives and false negatives

2023-03-29 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109335 Bug ID: 109335 Summary: -Wanalyzer-malloc-leak false positives and false negatives Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Pr

[Bug modula2/109336] New: The -fmod= and -fdef= options do not work.

2023-03-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109336 Bug ID: 109336 Summary: The -fmod= and -fdef= options do not work. Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modul

[Bug modula2/109336] The -fmod= and -fdef= options do not work.

2023-03-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109336 Gaius Mulley changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #24 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #23 from Jakub Jelinek --- [...] > Perhaps try to undo my patch in a different way, like > --- gcc/tree-inline.cc 2023-03-17 18:59:50.226199917 +0100 > +++ gcc/tree-inli

[Bug tree-optimization/109213] [13 Regression] -Os generates significantly more code since r13-723

2023-03-29 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109213 --- Comment #8 from Jan Hubicka --- We have large-stack-frame-growth that is relative, so yes, increasing stack size of caller makes gcc to think that it is heavy and making it event heavier will not hurt that much. We originally ran into stack

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #25 from Jakub Jelinek --- (In reply to r...@cebitec.uni-bielefeld.de from comment #24) > > --- Comment #23 from Jakub Jelinek --- > [...] > > Perhaps try to undo my patch in a different way, like > > --- gcc/tree-inline.cc 2023-03

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-29 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #26 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #25 from Jakub Jelinek --- > (In reply to r...@cebitec.uni-bielefeld.de from comment #24) >> > --- Comment #23 from Jakub Jelinek --- >> [...] >> So far, I've tried both

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #27 from Jakub Jelinek --- Thanks. It is a mystery so far :(.

[Bug ipa/109303] [13 Regression] ICE in push_agg_values_from_plats, at ipa-cp.cc:1458 since r13-3358-ge0403e95689af7d5

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109303 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/109283] Destructor of co_yield conditional argument called twice

2023-03-29 Thread ncm at cantrip dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109283 --- Comment #2 from ncm at cantrip dot org --- Betting this one is fixed by deleting code.

[Bug tree-optimization/109331] [13 Regression] ice: definition in block 7 does not dominate use in block 8

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109331 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|--

[Bug c/108896] provide "element_count" attribute to give more context to __builtin_dynamic_object_size() and -fsanitize=bounds

2023-03-29 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108896 --- Comment #34 from Martin Uecker --- Created attachment 54787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54787&action=edit patch for C FE to add size expressions to VM types in structs Here is a preliminary patch for C FE just to s

[Bug ipa/109303] [13 Regression] ICE in push_agg_values_from_plats, at ipa-cp.cc:1458 since r13-3358-ge0403e95689af7d5

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109303 --- Comment #3 from Jakub Jelinek --- And the problem is similar to PR108605, most of IPA uses unsigned int as type for byte offsets and while some spots check for offsets while bit offsets are typically using HOST_WIDE_INT. So, some larger bit

[Bug modula2/109336] The -fmod= and -fdef= options do not work.

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109336 --- Comment #1 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:3be4e43a6a0f429648ea188c8e110b74268fed27 commit r13-6931-g3be4e43a6a0f429648ea188c8e110b74268fed27 Author: Gaius Mulley Date: Wed

[Bug modula2/109315] typo: inconsistant

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109315 --- Comment #2 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:3be4e43a6a0f429648ea188c8e110b74268fed27 commit r13-6931-g3be4e43a6a0f429648ea188c8e110b74268fed27 Author: Gaius Mulley Date: Wed

[Bug modula2/109315] typo: inconsistant

2023-03-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109315 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/109303] [13 Regression] ICE in push_agg_values_from_plats, at ipa-cp.cc:1458 since r13-3358-ge0403e95689af7d5

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109303 --- Comment #4 from Jakub Jelinek --- --- gcc/ipa-cp.cc.jj2023-03-14 19:12:19.949553036 +0100 +++ gcc/ipa-cp.cc 2023-03-29 18:32:34.14423 +0200 @@ -3117,7 +3117,9 @@ propagate_aggs_across_jump_function (str { HOST

[Bug modula2/109336] The -fmod= and -fdef= options do not work.

2023-03-29 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109336 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/59498] [DR 1430][10/11/12/13 Regression] Pack expansion error in template alias

2023-03-29 Thread ncm at cantrip dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59498 --- Comment #22 from ncm at cantrip dot org --- CWG 1430 seems to be about disallowing a construct that requires capturing an alias declaration into a name mangling. This bug and at least some of those referred to it do not ask for any such action

[Bug fortran/109322] -fc-prototypes does not correctly translate INTEGER(KIND=C_SIZE_T), and other sizes

2023-03-29 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109322 kargl at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement Priorit

[Bug analyzer/107396] [13 regression] new test case gcc.dg/analyzer/pipe-glibc.c in r13-3466-g792f039fc37faa fails with excess errors

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107396 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/91645] Missed optimization with sqrt(x*x)

2023-03-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91645 --- Comment #9 from Aldy Hernandez --- It looks like what we want for this test is actually !isgreaterequal() not isless(), since we want to exclude the possibility of a NAN. Like this: float test (float x) { if (!__builtin_isgreaterequal (x,

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2023-03-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 Aldy Hernandez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/91645] Missed optimization with sqrt(x*x)

2023-03-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91645 Aldy Hernandez changed: What|Removed |Added CC||llvm at rifkin dot dev --- Comment #10

[Bug fortran/109322] -fc-prototypes does not correctly translate INTEGER(KIND=C_SIZE_T), and other sizes

2023-03-29 Thread emr-gnu at hev dot psu.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109322 --- Comment #2 from Eric Reischer --- I can't point to a specific standard that says, "thou shalt generate output with these types..."; it's more of a "we probably should be doing this"-type thing. If you are compiling Fortran and C on the same

[Bug analyzer/106573] Missing -Wanalyzer-use-of-uninitialized-value on calls handled by state machines

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106573 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:62a565e56763c65ec9e134735aa780cf2b1c3cfa commit r12-9354-g62a565e56763c65ec9e134735aa780cf2b1c3cfa Author: David Malcolm

[Bug analyzer/106573] Missing -Wanalyzer-use-of-uninitialized-value on calls handled by state machines

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106573 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:c63e5a234d0193e1f41024cf0eee840998e04c7f commit r12-9355-gc63e5a234d0193e1f41024cf0eee840998e04c7f Author: David Malcolm

[Bug analyzer/107345] -Wanalyzer-null-dereference false positive with giving weird path infomation

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107345 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:111fb5d3cafd0f7f2a0d01aa9e1213013fa0cc83 commit r12-9357-g111fb5d3cafd0f7f2a0d01aa9e1213013fa0cc83 Author: David Malcolm

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:e7f7483d50069fede8450091449714d122c58fca commit r12-9358-ge7f7483d50069fede8450091449714d122c58fca Author: David Malcolm

[Bug analyzer/105784] -Wanalyzer-use-of-uninitialized-value false positive on partly initialized array

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105784 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:1c66f1c6d69dbe0a855f7adb61df8d92ca523899 commit r12-9359-g1c66f1c6d69dbe0a855f7adb61df8d92ca523899 Author: David Malcolm

[Bug analyzer/108704] Many -Wanalyzer-use-of-uninitialized-value false positives seen in qemu's softfloat.c

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108704 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:5da2126c4df8d83c2b2f9de7bb393ab4f5832840 commit r12-9364-g5da2126c4df8d83c2b2f9de7bb393ab4f5832840 Author: David Malcolm

[Bug analyzer/107948] GCC Static Analyzer doesn't realize `0 - width <= 0` is always true when `width > 0` and `width is int` type,

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107948 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:a7cc8ecefb72f06368b055fa60f5a2ff2eb6dfdb commit r12-9360-ga7cc8ecefb72f06368b055fa60f5a2ff2eb6dfdb Author: David Malcolm

[Bug analyzer/108968] fanalyzer false positive with the uninitalised-ness of the stack pointer

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108968 --- Comment #19 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:833d822ff0e83478a4fe536d55dfb22cde8ddc40 commit r12-9366-g833d822ff0e83478a4fe536d55dfb22cde8ddc40 Author: David Malcolm

[Bug analyzer/106325] -Wanalyzer-null-dereference false positive due to analyzer not making assumptions for `__attribute__((nonnull))`

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106325 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:02fbda165b74179469d9eae436fed613aa6a6ebb commit r12-9362-g02fbda165b74179469d9eae436fed613aa6a6ebb Author: David Malcolm

[Bug analyzer/108733] -Wanalyzer-use-of-uninitialized-value false positives seen with __attribute__((cleanup))

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108733 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:98558117ba870d47398927f2066e469e47f39c16 commit r12-9365-g98558117ba870d47398927f2066e469e47f39c16 Author: David Malcolm

[Bug target/109328] [13 Regression] Build fail in RISC-V port

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109328 --- Comment #3 from Andrew Pinski --- Created attachment 54788 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54788&action=edit Patch which improves the depedencies Note I am not 100% sure this is all the way. But you should get the idea

[Bug analyzer/109094] Uninit false positive from -fanalyzer when longjmp unwinds frames with return stmts

2023-03-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by David Malcolm : https://gcc.gnu.org/g:7903e0bca003840751c109cfa41e5a1528ece12a commit r12-9367-g7903e0bca003840751c109cfa41e5a1528ece12a Author: David Malcolm

[Bug target/109328] [13 Regression] Build fail in RISC-V port

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109328 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Summary|Build fail in R

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2023-03-29 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 --- Comment #6 from Jeremy R. --- Thanks!

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2023-03-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug c++/109337] New: c++2a test concepts4.C passes when it should fail

2023-03-29 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337 Bug ID: 109337 Summary: c++2a test concepts4.C passes when it should fail Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug c++/109337] c++2a test concepts4.C passes when it should fail

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

[Bug c++/109338] New: `S auto>` isn't valid C++20

2023-03-29 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109338 Bug ID: 109338 Summary: `S auto>` isn't valid C++20 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Ass

[Bug c++/109337] c++2a test concepts4.C passes when it should fail

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337 --- Comment #2 from Andrew Pinski --- Reduced testcase: ``` template concept A42b = true; template concept R42c = A42b; static_assert (R42c); ``` GCC does the right thing for too: ``` template bool A42b = true; template concept R42c = A42

[Bug c++/100248] ICE with global "default" keyword

2023-03-29 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100248 Arthur O'Dwyer changed: What|Removed |Added CC||arthur.j.odwyer at gmail dot com ---

[Bug c++/109338] `S auto>` isn't valid C++20

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109338 --- Comment #1 from Andrew Pinski --- Testcase: ``` template concept C = true; template struct A {}; void f(A auto >) {} ``` Please place the testcase in the comment or attach it; don't just link to godbolt.

[Bug c++/109337] c++2a test concepts4.C passes when it should fail

2023-03-29 Thread cjdb.ns at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337 --- Comment #3 from Christopher Di Bella --- This is apparently a Clang bug: the RHS of `R42c` isn't evaluated because of short-circuiting. Apologies for the noise and thanks for helping me work through it.

[Bug c++/109337] c++2a test concepts4.C passes when it should fail

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug c++/109337] c++2a test concepts4.C passes when it should fail

2023-03-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109337 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|NEW Resolution|INVALID

[Bug analyzer/109094] Uninit false positive from -fanalyzer when longjmp unwinds frames with return stmts

2023-03-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109094 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/105784] -Wanalyzer-use-of-uninitialized-value false positive on partly initialized array

2023-03-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105784 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/107345] -Wanalyzer-null-dereference false positive with giving weird path infomation

2023-03-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107345 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/108562] [meta-bug] tracker bug for issues with -Wanalyzer-null-dereference

2023-03-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108562 Bug 108562 depends on bug 107345, which changed state. Bug 107345 Summary: -Wanalyzer-null-dereference false positive with giving weird path infomation https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107345 What|Removed

[Bug analyzer/107582] - -Wanalyzer-use-of-uninitialized-value false positive with while loop in pthread_cleanup_push

2023-03-29 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107582 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

  1   2   >