[Bug c++/106863] ICE in write_template_arg_literal, at cp/mangle.cc:3678 since r12-4782-geca767aa51d1f696

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106863 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5f9fac6ca86458ef21ab91ca471429d63f954003 commit r13-3429-g5f9fac6ca86458ef21ab91ca471429d63f954003 Author: Jakub Jelinek Date: F

[Bug tree-optimization/107323] [10/11/12 Regression] Loop distribute issue

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 --- Comment #7 from Richard Biener --- Created attachment 53740 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53740&action=edit tentative patch When implementing that I noticed that the set of DRs we use for versioning are _not_ enough t

[Bug tree-optimization/54346] combine permutations

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54346 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fa553ff26d96f6fecaa8f1b00649cfdc6cda5f5a commit r13-3430-gfa553ff26d96f6fecaa8f1b00649cfdc6cda5f5a Author: Jakub Jelinek Date: Fr

[Bug c++/107340] New: std::unordered_map and completeness of nested classes

2022-10-21 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107340 Bug ID: 107340 Summary: std::unordered_map and completeness of nested classes Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/107339] RISC V -mstrict-align

2022-10-21 Thread yy172179 at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107339 --- Comment #4 from yy --- It works to use "uint32_t_ua", but it still works to use "uint32_t" and just change the function parameter from the structure pointer to the structure. "The following is the assembly code 0: 00154703

[Bug c++/107340] std::unordered_map and completeness of nested classes

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

[Bug c++/107022] error: use of deleted function 'std::unordered_map

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 Andrew Pinski changed: What|Removed |Added CC||jens.maurer at gmx dot net --- Comment

[Bug c++/107340] std::unordered_map and completeness of nested classes

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107340 --- Comment #2 from Andrew Pinski --- Also nested classes are completed at the end of the outer most class.

[Bug target/107339] RISC V -mstrict-align

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107339 --- Comment #5 from Andrew Pinski --- That is because with the non pointer case gcc can figure out the alignment without having to assume via pointers. Note the original code is also undefined by the c standard even the non pointer case you gav

[Bug tree-optimization/107323] [10/11/12 Regression] Loop distribute issue

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 --- Comment #8 from Richard Biener --- OK, so I think I found an alternate fix for PR94125 that makes more sense. When deciding to merge SCCs rather than breaking them we have to make sure to _not_ ignore the alias edges in those SCCs when doi

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-21 Thread kaploceh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #3 from Carlos E --- (In reply to Richard Biener from comment #2) > Please attach preprocessed source and maybe try GCC 10.4 which contains many > bugfixes. I downloaded GCC 10.4 and it's compiling now. Will try it out. Thanks. Whe

[Bug c/107341] New: RISCV User Stack Frame error with -fno-omit-frame-pointer on GCC 10.2.0

2022-10-21 Thread yangwang at nj dot iscas.ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107341 Bug ID: 107341 Summary: RISCV User Stack Frame error with -fno-omit-frame-pointer on GCC 10.2.0 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/107341] RISCV User Stack Frame error with -fno-omit-frame-pointer on GCC 10.2.0

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107341 --- Comment #1 from Andrew Pinski --- Are you sure this is not a perf issue?

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #4 from Martin Liška --- > When you say to attach a preprocessed source, what would be the most > accepted command that I should be running which can reliably show whatever > was preprocessed? Just append -E to the existing comma

[Bug target/107337] -march docs for nocona are missing CX16

2022-10-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107337 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Last reconfi

[Bug tree-optimization/107342] New: Optimization opportunity where integer '/' corresponds to '>>'

2022-10-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342 Bug ID: 107342 Summary: Optimization opportunity where integer '/' corresponds to '>>' Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimiza

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-21 Thread kaploceh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #5 from Carlos E --- Created attachment 53743 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53743&action=edit internal compiler error: in tsubst_pack_expansion

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-21 Thread kaploceh at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #6 from Carlos E --- (In reply to Martin Liška from comment #4) > > When you say to attach a preprocessed source, what would be the most > > accepted command that I should be running which can reliably show whatever > > was preproces

[Bug c++/107343] New: GCC accepts ill-formed out of class definition program

2022-10-21 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107343 Bug ID: 107343 Summary: GCC accepts ill-formed out of class definition program Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c++/107343] GCC accepts ill-formed out of class definition program

2022-10-21 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107343 --- Comment #1 from Jason Liam --- The complete quote at the end of my original post is as follows: > For a member function of a non-template class, the default arguments are > allowed on the out-of-class definition, and are combined with the

[Bug tree-optimization/107323] [10/11/12 Regression] Loop distribute issue

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:09f9814dc02c161ed78604c6df70b19b596f7524 commit r13-3432-g09f9814dc02c161ed78604c6df70b19b596f7524 Author: Richard Biener Date:

[Bug tree-optimization/107323] [10/11/12 Regression] Loop distribute issue

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 --- Comment #10 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:19a9b5e587e87f524425864dba989eeef8bfffbb commit r12-8855-g19a9b5e587e87f524425864dba989eeef8bfffbb Author: Richard Biene

[Bug tree-optimization/107323] [10/11 Regression] Loop distribute issue

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 Richard Biener changed: What|Removed |Added Known to work||12.2.1 Summary|[10/11/12 Re

[Bug target/107344] New: GCC/nvptx SESE region optimization

2022-10-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107344 Bug ID: 107344 Summary: GCC/nvptx SESE region optimization Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: openacc Severity: normal Priority: P3

[Bug tree-optimization/107195] [13 Regression] wrong code with "-O1 -fno-tree-ccp" on x86_64-linux-gnu since r13-3090-gdf4c584c567263fd

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107195 --- Comment #10 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:436c4a210e8ff936063579dab3641632c06c8a7d commit r13-3433-g436c4a210e8ff936063579dab3641632c06c8a7d Author: Thomas Schwinge Date

[Bug tree-optimization/107195] [13 Regression] wrong code with "-O1 -fno-tree-ccp" on x86_64-linux-gnu since r13-3090-gdf4c584c567263fd

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107195 --- Comment #11 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:a9de836c2b22f878cff592b96e11c1b95d4d36ee commit r13-3434-ga9de836c2b22f878cff592b96e11c1b95d4d36ee Author: Thomas Schwinge Date

[Bug target/107344] GCC/nvptx SESE region optimization

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107344 --- Comment #1 from CVS Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:a9de836c2b22f878cff592b96e11c1b95d4d36ee commit r13-3434-ga9de836c2b22f878cff592b96e11c1b95d4d36ee Author: Thomas Schwinge Date:

[Bug target/107344] GCC/nvptx SESE region optimization

2022-10-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107344 Thomas Schwinge changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/107315] support 128bit long double on aarch64 darwin

2022-10-21 Thread hengxu at bao dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107315 --- Comment #2 from hengxu010 --- (In reply to Andrew Pinski from comment #1) Thank you Andrew, for replying and explain this question very clearly. Can I ask that do you have any plan to add support for 128bit long double or just maintain th

[Bug testsuite/107338] new test case gcc.dg/vect/vect-bitfield-read-7.c in r13-3413-ge10ca9544632db fails

2022-10-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107338 Kewen Lin changed: What|Removed |Added Last reconfirmed||2022-10-21 Status|UNCONFIRMED

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

2022-10-21 Thread geoffreydgr at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107345 Bug ID: 107345 Summary: - -Wanayzer-null-dereference false positive with giving weird path infomation Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity

[Bug tree-optimization/107346] New: gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 Bug ID: 107346 Summary: gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug libstdc++/93687] Add mcf thread model to GCC on windows for supporting C++11 std::thread?

2022-10-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93687 --- Comment #4 from Jonathan Wakely --- LH's patch has been submitted here: https://gcc.gnu.org/pipermail/gcc-patches/2022-October/603181.html

[Bug tree-optimization/107346] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 avieira at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |avieira at gcc dot g

[Bug fortran/102241] ICE when declaring derived type with a parameterized derived type member

2022-10-21 Thread massoustephane at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102241 Stéphane Massou changed: What|Removed |Added CC||massoustephane at gmail dot com --- C

[Bug c++/107327] internal compiler error: in tsubst_pack_expansion, at cp/pt.c:12930

2022-10-21 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107327 --- Comment #7 from Martin Liška --- (In reply to Carlos E from comment #6) > (In reply to Martin Liška from comment #4) > > > When you say to attach a preprocessed source, what would be the most > > > accepted command that I should be running w

[Bug c++/107340] std::unordered_map and completeness of nested classes

2022-10-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107340 --- Comment #3 from Jonathan Wakely --- And the standard says it's undefined to use incomplete classes with unordered_map.

[Bug testsuite/107338] new test case gcc.dg/vect/vect-bitfield-read-7.c in r13-3413-ge10ca9544632db fails

2022-10-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107338 --- Comment #3 from avieira at gcc dot gnu.org --- Hi Kewen, I believe you are right. I was waiting for a powerpc machine in the board farm, but I suspect I can reproduce this with an aarch64 BE target and I should be able to confirm. But your

[Bug tree-optimization/107346] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #2 from Richard Biener --- I think the issue was probably latent and the function assumes that bitfield accesses are rejected earlier but now are no longer(?). vect_analyze_data_refs is usually responsible for that, eventually we al

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 Richard Biener changed: What|Removed |Added Summary|gnat.dg/loop_optimization23 |[13 Regression] |_pk

[Bug target/107344] GCC/nvptx SESE region optimization

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107344 --- Comment #3 from Richard Biener --- I guess the reorg pass has to be simply enhanced to deal with "distorted" regions, or alternatively those regions need to be protected somehow. I'm just guessing that jump threading messes things up here?

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #3 from avieira at gcc dot gnu.org --- I am wondering whether I should try to support this, or bail out of vect_check_gather_scatter if pbitpos is not a multiple of BITS_PER_UNIT. The latter obviously feels safer.

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #4 from avieira at gcc dot gnu.org --- Funnily enough, if I transform the Int24 into a 32-bit integer in the testcase and disable all bitfield lowering just to make sure, I get the same failure. I tried using __attribute__((packed)) i

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #5 from Eric Botcazou --- > But I am having trouble debugging this as I cant' seem to break on > vect_recog_bit_insert_pattern and I haven't figured out how to get gnat1 to > create dumps :( There are no differences between gnat1 an

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #6 from avieira at gcc dot gnu.org --- > There are no differences between gnat1 and cc1/cc1plus as far as dumps are > concerned, e.g. -fdump-tree-optimized creates the .optimized dump. This was my bad, I'm not used to using cc1 dire

[Bug tree-optimization/107346] [13 Regression] gnat.dg/loop_optimization23_pkg.ad failure afer r13-3413-ge10ca9544632db

2022-10-21 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107346 --- Comment #7 from Eric Botcazou --- > I am wondering whether I should try to support this, or bail out of > vect_check_gather_scatter if pbitpos is not a multiple of BITS_PER_UNIT. The > latter obviously feels safer. Probably the way to go in

[Bug tree-optimization/100756] [12/13 Regression] vect: Superfluous epilog created on s390x

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100756 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-10-21 Ever confirmed|0

[Bug target/107336] [10 regression] ICE segfault expand_expr_real_1 on sparc-sun-solaris2.11 with -m32 -mcpu=niagara4 -O3

2022-10-21 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107336 --- Comment #8 from Andrew Paprocki --- (In reply to Eric Botcazou from comment #6) > Created attachment 53739 [details] > Tentative fix > > Totally untested. Tested, confirmed releases/gcc-10 branch with this patch fixes the issue. Thanks An

[Bug target/105421] GCN offloading, raised '-mgang-private-size': 'HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION'

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105421 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:dd2fdf114b59db1b0bfb0de497fc3ab11f034d89 commit r12-8856-gdd2fdf114b59db1b0bfb0de497fc3ab11f034d89 Author: Julian Brown

[Bug target/105421] GCN offloading, raised '-mgang-private-size': 'HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION'

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105421 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:b582496f205c1c3517d8415047fd78321f2c1cdf commit r12-8857-gb582496f205c1c3517d8415047fd78321f2c1cdf Author: Thomas Schwin

[Bug target/105421] GCN offloading, raised '-mgang-private-size': 'HSA_STATUS_ERROR_MEMORY_APERTURE_VIOLATION'

2022-10-21 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105421 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/107338] new test case gcc.dg/vect/vect-bitfield-read-7.c in r13-3413-ge10ca9544632db fails

2022-10-21 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107338 Kewen Lin changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug target/107347] New: Sun Studio 12.6 assembler emits "warning: use of DCTI couples is deprecated" on sparc-sun-solaris2.11

2022-10-21 Thread andrew at ishiboo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107347 Bug ID: 107347 Summary: Sun Studio 12.6 assembler emits "warning: use of DCTI couples is deprecated" on sparc-sun-solaris2.11 Product: gcc Version: 12.1.0 Status: UNCONF

[Bug tree-optimization/107176] [10/11/12/13 Regression] Wrong code at -Os on x86_64-pc-linux-gnu since r7-2012-g43aabfcfd4139e4c

2022-10-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107176 --- Comment #5 from Richard Biener --- [local count: 1073741824]: # b_lsm.8_15 = PHI <0(2), _3(3)> # b_lsm_flag.9_17 = PHI <0(2), 1(3)> if (b_lsm.8_15 <= 0) goto ; [89.00%] else goto ; [11.00%] [local count: 955630225]: _1 = (unsigned int

[Bug c++/107022] error: use of deleted function 'std::unordered_map

2022-10-21 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 --- Comment #8 from Jens Maurer --- I understand we're in a tangled web of partially-complete class rules here, but the standard does give you the expectation that the inner class is complete at its closing brace: [class.pre] p2 says: "A class

[Bug target/107336] [10 regression] ICE segfault expand_expr_real_1 on sparc-sun-solaris2.11 with -m32 -mcpu=niagara4 -O3

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107336 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:5076eefe23b96279e34351a2a044858bae3251ae commit r10-11052-g5076eefe23b96279e34351a2a044858bae3251ae Author: Eric Botcazou

[Bug target/107336] [10 regression] ICE segfault expand_expr_real_1 on sparc-sun-solaris2.11 with -m32 -mcpu=niagara4 -O3

2022-10-21 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107336 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/107348] New: documentation: __builtin_classify_type() undocumented

2022-10-21 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107348 Bug ID: 107348 Summary: documentation: __builtin_classify_type() undocumented Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Co

[Bug c/107348] documentation: __builtin_classify_type() undocumented

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

[Bug c/107348] documentation: __builtin_classify_type() undocumented

2022-10-21 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107348 --- Comment #2 from Alejandro Colomar --- Being a builtin, I expected that you could just do "compiler magic" to avoid the decay.

[Bug c/107348] documentation: __builtin_classify_type() undocumented

2022-10-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107348 --- Comment #3 from Jakub Jelinek --- Most of the builtins don't do such special magic. It is true that some, mostly newer added, builtins do have such magic, but I think __builtin_classify_type is one of the first builtins added to GCC (certain

[Bug c/107348] documentation: __builtin_classify_type() undocumented

2022-10-21 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107348 --- Comment #4 from Alejandro Colomar --- Hmm. Then I wonder if array_type_class is being used at all, or if it's unused code.

[Bug c++/107022] error: use of deleted function 'std::unordered_map

2022-10-21 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107022 --- Comment #9 from Jonathan Wakely --- For the example in comment 0 the default-initializer for things_{} is the problem, removing the {} allows it to compile. For the example in Bug 107340 the problem is the default-initializer x = 0 in the n

[Bug c/107348] documentation: __builtin_classify_type() undocumented

2022-10-21 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107348 --- Comment #5 from Jakub Jelinek --- Most likely. I think char_type_class, function_type_class, method_type_class, string_type_class most likely too (function and methods also decay to pointers to pointer to members), string has the same issue

[Bug c/107348] documentation: __builtin_classify_type() undocumented

2022-10-21 Thread colomar.6.4.3 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107348 --- Comment #6 from Alejandro Colomar --- Thanks! Maybe a working __builtin_classify_type2() would be useful... Maybe not... BTW, maybe it's worth checking all the code in gcc that is comparing the result against 14, and see if it should be r

[Bug c++/107295] [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107295 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2cc41601d9a948e8d612a21c3b9a44ce0b977747 commit r13-3438-g2cc41601d9a948e8d612a21c3b9a44ce0b977747 Author: Jakub Jelinek Date: F

[Bug c++/107295] [13 Regression] Rejected code in libreoffice with -m32 since r13-3290-g98e341130f87984a

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

[Bug middle-end/106818] code is genereated differently with or without 'extern'

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106818 --- Comment #10 from Andrew Pinski --- Created attachment 53745 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53745&action=edit Testcase

[Bug target/106818] riscv produces bad low_sum while doing expansion of strict aligned stores/load

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106818 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-10-21 Status|UNCONFIRM

[Bug target/106818] riscv produces bad low_sum while doing expansion of strict aligned stores/load

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106818 --- Comment #12 from Andrew Pinski --- MIPS also does the correct thing (it has store left/right): (insn 10 9 11 (set (reg/f:SI 196) (lo_sum:SI (reg:SI 194) (symbol_ref:SI ("array") [flags 0x40] ))) "/app/example.cpp":10:10

[Bug target/107322] ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with __bf16 compare

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107322 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:5792208f5124f687376f25798668d105d7ddb270 commit r13-3439-g5792208f5124f687376f25798668d105d7ddb270 Author: Jakub Jelinek Date: F

[Bug target/106742] ICE in gen_lowpart_general, at rtlhooks.cc:57, or ICE in expand_vec_perm_broadcast_1, at config/i386/i386-expand.cc:21870

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106742 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Keywords|ice-on-invalid

[Bug analyzer/107349] New: [13 Regression] ICE in get_va_copy_arg, at analyzer/varargs.cc:175

2022-10-21 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107349 Bug ID: 107349 Summary: [13 Regression] ICE in get_va_copy_arg, at analyzer/varargs.cc:175 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102241] [PDT] ICE when declaring derived type with a parameterized derived type member

2022-10-21 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102241 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug c++/94845] DWARF function name doesn't match demangled name in base type template parameters

2022-10-21 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94845 --- Comment #10 from Tom Tromey --- See also bug #49130 and bug #49537, which we filed when gdb hit these same problems.

[Bug middle-end/107350] New: [OpenMP] linear clause with non-scalar list items

2022-10-21 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107350 Bug ID: 107350 Summary: [OpenMP] linear clause with non-scalar list items Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Prio

[Bug fortran/100097] Unlimited polymorphic pointers and allocatables have incorrect rank

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100097 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4cfdaeb2755121ac1069f09898def56469b0fb51 commit r13-3440-g4cfdaeb2755121ac1069f09898def56469b0fb51 Author: José Rui Faustino de Sou

[Bug fortran/100098] Polymorphic pointers and allocatables have incorrect rank

2022-10-21 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100098 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4cfdaeb2755121ac1069f09898def56469b0fb51 commit r13-3440-g4cfdaeb2755121ac1069f09898def56469b0fb51 Author: José Rui Faustino de Sou

[Bug c++/107351] New: Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

2022-10-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107351 Bug ID: 107351 Summary: Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '700101' to

[Bug c++/107351] Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107351 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-10-21 Status|UNCONFIRM

[Bug c++/107352] New: polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread justus at opentransactions dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 Bug ID: 107352 Summary: polymorphic class with destroying delete operator defined causes internal compiler error Product: gcc Version: 12.2.1 Status: UNCONFIRMED

[Bug c++/107352] polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread justus at opentransactions dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 --- Comment #1 from Justus Ranvier --- Created attachment 53747 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53747&action=edit preprocessed source

[Bug c++/107352] polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread justus at opentransactions dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 --- Comment #2 from Justus Ranvier --- Created attachment 53748 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53748&action=edit another example

[Bug c++/107351] Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

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

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-10-21 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 --- Comment #6 from H.J. Lu --- This diff --git a/gcc/config/i386/i386-features.cc b/gcc/config/i386/i386-features.cc index e357294bc4e..aca34d730a8 100644 --- a/gcc/config/i386/i386-features.cc +++ b/gcc/config/i386/i386-features.cc @@ -1449,6

[Bug analyzer/107349] [13 Regression] ICE in get_va_copy_arg, at analyzer/varargs.cc:175

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

[Bug tree-optimization/107342] Optimization opportunity where integer '/' corresponds to '>>'

2022-10-21 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342 Aldy Hernandez changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/107342] Optimization opportunity where integer '/' corresponds to '>>'

2022-10-21 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107342 --- Comment #2 from Aldy Hernandez --- Created attachment 53749 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53749&action=edit untested patch I'm sure somebody smarter could handle other shift amounts that are not powers of 2, but this

[Bug c++/107352] polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread justus at opentransactions dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 --- Comment #4 from Justus Ranvier --- This is a commit in the project where the ice manifests: https://github.com/justusranvier/opentxs/commit/051fccf04492ceccee34062fcb406d1b830b55f6 This is a commit where I confirmed that not using destroy

[Bug c++/107351] Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

2022-10-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107351 --- Comment #3 from Sergei Trofimovich --- Created attachment 53750 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53750&action=edit gcc-13.0.0-build.log.xz

[Bug c++/107351] Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

2022-10-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107351 --- Comment #4 from Sergei Trofimovich --- Attached the build log. I completely forgot about the fact that I was using gcc source from "normalized" filesystem which intentionally resets all timestamps (it's one of the build modes for my distrib

[Bug c++/107351] Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107351 --- Comment #5 from Andrew Pinski --- -DMODULE_VERSION='(700101U)' Hmm. The date command is not listed in the build log either (debugging make here is going to be "hard").

[Bug fortran/104352] ICE in gfc_conv_intrinsic_anyall, at fortran/trans-intrinsic.cc:4481 (etc.)

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

[Bug c++/105322] [modules] ICE with constexpr object of local class type from another function

2022-10-21 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105322 Patrick Palka changed: What|Removed |Added Last reconfirmed||2022-10-21 Ever confirmed|0

[Bug c++/107352] polymorphic class with destroying delete operator defined causes internal compiler error

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107352 --- Comment #3 from Andrew Pinski --- Reducing ...

[Bug c++/107351] Bootstrap fails when gcc is built with gcc-13-master: error: conversion from 'long unsigned int' to 'unsigned int' changes value from '7001010000' to '2706042704'

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107351 --- Comment #6 from Andrew Pinski --- (In reply to Sergei Trofimovich from comment #4) > Attached the build log. > > I completely forgot about the fact that I was using gcc source from > "normalized" filesystem which intentionally resets all ti

[Bug middle-end/106823] #pragma GCC diagnostic ignored "-Wattribute-warning" doesn't work for -flto

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106823 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/106821] Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821 --- Comment #1 from Andrew Pinski --- Created attachment 53751 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53751&action=edit testcase 1

[Bug c++/106821] Incorrect behavior when using type alias template containing unevaluated lambda expression in a template context

2022-10-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106821 --- Comment #2 from Andrew Pinski --- Created attachment 53752 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53752&action=edit testcase 2

[Bug other/107353] [13 regression] Numerous ICEs after 13-3416-g1d561e1851c466

2022-10-21 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107353 seurer at gcc dot gnu.org changed: What|Removed |Added Build||powerpc64le-linux-gnu

  1   2   >