[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 Jakub Jelinek changed: What|Removed |Added CC||xry111 at mengyan1223 dot wang --- Comm

[Bug middle-end/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/103307] Unused "%!" before return

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103307 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 Richard Biener changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug c++/103303] compiler have trouble to point to the correct destructor address while for large align objects with complex inheritance while destructing object

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103303 Richard Biener changed: What|Removed |Added Known to fail||11.2.0, 8.2.0 Version|8.2.0

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 --- Comment #6 from Zdenek Sojka --- With 04c5a91d068c4ca2f09c2bc206fce00db9d1790b reverted, the output is: $ grep -C5 'Cannot access ' gcccompile-REVERT.log Applying io_quotes_useto xorg/xorgVersion.h Applying io_quotes_use

[Bug tree-optimization/103300] [12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103300 Richard Biener changed: What|Removed |Added Version|unknown |12.0 Priority|P3

[Bug c++/103299] [11/12 Regression] accessing incorrect storage for designated init of anonymous union at constexpr context

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103299 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug tree-optimization/103298] [12 regressions] regressions on arm after r12-5301

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103298 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug libstdc++/103295] constexpr std::string does not work for clang

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295 Richard Biener changed: What|Removed |Added Target Milestone|12.0|---

[Bug c++/103291] [11/12 Regression] #pragma gcc visibility is lost for external decls declared inside a function

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103291 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/103287] [12 Regression] ICE in argument_rank_mismatch, at fortran/interface.c:2240

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103287 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/103285] [DEC] ICE in output_constructor_regular_field, at varasm.c:5514

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103285 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-11-18 Ever confirmed|0

[Bug tree-optimization/103278] [12 Regression] Recent change to cddce inhibits switch optimization

2021-11-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103278 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/103252] questionable codegen with kmovd

2021-11-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103252 --- Comment #10 from Hongtao.liu --- (In reply to Andrew Pinski from comment #4) > (In reply to Jason A. Donenfeld from comment #2) > > Here's a more minimal test case: https://gcc.godbolt.org/z/15hnsb6of > > kmovd k0, ecx > m

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 --- Comment #5 from Zdenek Sojka --- $ make --version GNU Make 4.3 Built for x86_64-pc-linux-gnu Copyright (C) 1988-2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free so

[Bug target/103275] [11/12 Regression] don't generate kmov with IE model relocations

2021-11-17 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103275 --- Comment #14 from Hongtao.liu --- (In reply to H.J. Lu from comment #11) > (In reply to Hongtao.liu from comment #10) > > I'm working on a patch which adds a new memory constraint "Bk" which will > > exclude TLS UNSPECs for mask register alte

[Bug c++/55227] designated initializer for char array by string constant

2021-11-17 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 Will Wray changed: What|Removed |Added Attachment #51828|0 |1 is obsolete|

[Bug c++/55227] designated initializer for char array by string constant

2021-11-17 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55227 Will Wray changed: What|Removed |Added Attachment #51737|0 |1 is obsolete|

[Bug libstdc++/100427] canadian compile for mingw-w64 copies the wrong dlls for mingw-w64 multilibs

2021-11-17 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 --- Comment #8 from cqwrteur --- Created attachment 51827 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51827&action=edit Patch for fixing this issue LOL. it bloats my mind. WHY WHY WHY are # DLL is installed to $(libdir)/../bin by

[Bug target/103197] ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2021-11-17 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #7 fro

[Bug c/103310] null comparison with a weak symbol eliminated

2021-11-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103310 Martin Sebor changed: What|Removed |Added Component|middle-end |c --- Comment #1 from Martin Sebor ---

[Bug libstdc++/103295] constexpr std::string does not work for clang

2021-11-17 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295 --- Comment #16 from cqwrteur --- (In reply to Jonathan Wakely from comment #15) > Reopened :-( > > I have a patch to make clang happy, but I think what we really want is a > language change. hi jwakely. i am trying to add a new patch to ignor

[Bug libstdc++/103295] constexpr std::string does not work for clang

2021-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295 Jonathan Wakely changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug other/102664] contrib/gcc-git-customization.sh uses echo -n, which isn't portable

2021-11-17 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102664 --- Comment #3 from Eric Gallager --- Along these lines, there's also some non-portable usage of `expr` in the file, too (which I brought up on IRC), but I forget what exactly it was...

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

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

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 Bug 55177 depends on bug 103228, which changed state. Bug 103228 Summary: [9/10/11/12 Regression] missed optimization with |^ at the gimple level https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103228 What|Removed

[Bug tree-optimization/103228] [9/10/11/12 Regression] missed optimization with |^ at the gimple level

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

[Bug tree-optimization/55177] missed optimizations with __builtin_bswap

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55177 --- Comment #24 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:32221357007666124409ec3ee0d3a1cf263ebc9e commit r12-5358-g32221357007666124409ec3ee0d3a1cf263ebc9e Author: Andrew Pinski Date: Mo

[Bug tree-optimization/103228] [9/10/11/12 Regression] missed optimization with |^ at the gimple level

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103228 --- Comment #7 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:32221357007666124409ec3ee0d3a1cf263ebc9e commit r12-5358-g32221357007666124409ec3ee0d3a1cf263ebc9e Author: Andrew Pinski Date: Mo

[Bug middle-end/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 --- Comment #5 from H.J. Lu --- (In reply to Andrew Pinski from comment #4) > (In reply to H.J. Lu from comment #3) > > I first ran into it with r12-5074. I am using GCC 11.2.1 from Fedora 35 > > and binutils master branch. For r12-5074, the

[Bug middle-end/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 --- Comment #4 from Andrew Pinski --- (In reply to H.J. Lu from comment #3) > I first ran into it with r12-5074. I am using GCC 11.2.1 from Fedora 35 > and binutils master branch. For r12-5074, the only change on the machine > is the GCC sour

[Bug middle-end/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 --- Comment #3 from H.J. Lu --- I first ran into it with r12-5074. I am using GCC 11.2.1 from Fedora 35 and binutils master branch. For r12-5074, the only change on the machine is the GCC source.

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

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

[Bug middle-end/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 Andrew Pinski changed: What|Removed |Added Status|NEW |WAITING Component|bootstrap

[Bug go/79281] gccgo: Binaries using goroutines crash on m68k

2021-11-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79281 Jeffrey A. Law changed: What|Removed |Added CC||law at gcc dot gnu.org Stat

[Bug preprocessor/103026] Implement warning for Unicode bidi override characters [CVE-2021-42574]

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103026 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:bef32d4a28595e933f24fef378cf052a30b674a7 commit r12-5356-gbef32d4a28595e933f24fef378cf052a30b674a7 Author: David Malcolm Date: T

[Bug middle-end/98503] [11/12 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2021-11-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 Martin Sebor changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comment #16

[Bug middle-end/103292] [12 regression] xorg-server-1.20.13 -Werror=array-bounds false positive on unions

2021-11-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103292 Martin Sebor changed: What|Removed |Added Resolution|INVALID |DUPLICATE Component|c

[Bug preprocessor/103026] Implement warning for Unicode bidi override characters [CVE-2021-42574]

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103026 --- Comment #6 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:1a7f2c0774129750fdf73e9f1b78f0ce983c9ab3 commit r12-5355-g1a7f2c0774129750fdf73e9f1b78f0ce983c9ab3 Author: David Malcolm Date: T

[Bug tree-optimization/103300] [12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103300 --- Comment #3 from Andrew Pinski --- (In reply to hubicka from comment #2) > Needs -O2 -floop-unroll-and-jam --param early-inlining-insns=14 > to fail, so I guess it may be issue with unrol-and-jam. The major difference I see between GCC 11

[Bug tree-optimization/102759] [12 Regression] ICE: Segmentation fault in maybe_check_access_sizes since r12-2976-gb48d4e6818674898

2021-11-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102759 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/102759] [12 Regression] ICE: Segmentation fault in maybe_check_access_sizes since r12-2976-gb48d4e6818674898

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102759 --- Comment #5 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:ea9e0d6c27405d256b4888e9e860e469037c911d commit r12-5354-gea9e0d6c27405d256b4888e9e860e469037c911d Author: Martin Sebor Date: Wed

[Bug c++/103303] compiler have trouble to point to the correct destructor address while for large align objects with complex inheritance while destructing object

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103303 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew P

[Bug middle-end/103310] New: null comparison with a weak symbol eliminated

2021-11-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103310 Bug ID: 103310 Summary: null comparison with a weak symbol eliminated Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: mi

[Bug c/103292] [12 regression] xorg-server-1.20.13 -Werror=array-bounds false positive on unions

2021-11-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103292 --- Comment #2 from Sergei Trofimovich --- (In reply to Martin Sebor from comment #1) > The warning is intended. The program allocates an object of a size that's > smaller than the size of the type used to access it: > >pPicture->pSour

[Bug target/103197] ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2021-11-17 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 --- Comment #6 from Segher Boessenkool --- Not only is this a missed-optimization, it also is a regression (in GCC 10 already). It seems like the root cause here may be the same as in PR102169.

[Bug tree-optimization/103298] [12 regressions] regressions on arm after r12-5301

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103298 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Keywords|

[Bug target/102952] New code-gen options for retpolines and straight line speculation

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952 --- Comment #27 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:53a643f8568067d7700a9f2facc8ba39974973d3 commit r12-5353-g53a643f8568067d7700a9f2facc8ba39974973d3 Author: H.J. Lu Date: Wed Oct 27 0

[Bug fortran/101329] ICE: Invalid expression in gfc_element_size

2021-11-17 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101329 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/103307] Unused "%!" before return

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103307 --- Comment #1 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:8e410de43ce039bbe08f1e0195e3b6ec24f68cae commit r12-5352-g8e410de43ce039bbe08f1e0195e3b6ec24f68cae Author: H.J. Lu Date: Wed Nov 17 11

[Bug tree-optimization/100740] [9/10/11/12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r9-4145-ga81e2c6240655f60

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100740 Andrew Pinski changed: What|Removed |Added CC||pallansson at gmail dot com --- Comment

[Bug tree-optimization/103308] gcc regression after version 8, simple double loop exiting early with optimizations

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

[Bug bootstrap/103309] [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 --- Comment #3 from Zdenek Sojka --- Thank you for having a look at this. I am using btrfs. I will re-check with ccache disabled if this commit is really the one causing the issue for me.

[Bug analyzer/103032] false positive diagnostic from -fanalyzer about double-free

2021-11-17 Thread rhialto at falu dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103032 --- Comment #2 from Olaf 'Rhialto' Seibert --- I tried my case on a different system with a later gcc version, and it didn't show the problems I reported. It did however show the diagnostics you showed, and I think it is correct. strdup() could

[Bug analyzer/102779] gcc.dg/analyzer/capacity-1.c etc.FAIL

2021-11-17 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102779 Rainer Orth changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug ipa/103246] [12 Regression] 416.gamess miscompare with -O2 -g -flto=auto since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103246 --- Comment #21 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:425369bf3068a9f840d1c2f04a4d4c38e924d4dc commit r12-5351-g425369bf3068a9f840d1c2f04a4d4c38e924d4dc Author: Jan Hubicka Date: Wed

[Bug bootstrap/103309] New: [12 Regression] Random gcc/system.h:784:34: error: section type conflict

2021-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103309 Bug ID: 103309 Summary: [12 Regression] Random gcc/system.h:784:34: error: section type conflict Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug c/103308] gcc regression after version 8, simple double loop exiting early with optimizations

2021-11-17 Thread pallansson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103308 --- Comment #1 from Per Allansson --- Created attachment 51826 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51826&action=edit early loop exit example

[Bug c/103308] New: gcc regression after version 8, simple double loop exiting early with optimizations

2021-11-17 Thread pallansson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103308 Bug ID: 103308 Summary: gcc regression after version 8, simple double loop exiting early with optimizations Product: gcc Version: 11.1.1 Status: UNCONFIRMED Se

[Bug analyzer/101713] -Wanalyzer-malloc-leak false positive with GNU coreutils hash table code

2021-11-17 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101713 --- Comment #2 from eggert at cs dot ucla.edu --- (In reply to David Malcolm from comment #1) > Am I right in thinking that there's a cast somewhere inside the hash table > code that at some point casts away the const from the pointer and frees

[Bug tree-optimization/103168] Value numbering for PRE of pure functions can be improved

2021-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #3 from Jan Hubicka --- This is simple (and fairly common) case we don't optimize struct a { int a; static __attribute__ ((noinline)) int ret (int v) {return v;} __attribute__ ((noinline)) int

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 --- Comment #2 from Andrew Pinski --- Plus this change removes code which was questionable 🤔. And replaces it with an abort. If the access is failing, then something is really wrong.

[Bug bootstrap/103306] parallel build hangs since r12-5234-g04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 --- Comment #1 from Andrew Pinski --- I have done a -j16 and -j24 build after this change on x86_64-linux with the build directory on nfs mounted filesystem and got no hang. What file system are you using?

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 Aldy Hernandez changed: What|Removed |Added Last reconfirmed||2021-11-17 Status|UNCONFIR

[Bug target/103307] New: Unused "%!" before return

2021-11-17 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103307 Bug ID: 103307 Summary: Unused "%!" before return Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assig

[Bug tree-optimization/103255] [11 Regression] optimization breaks address of struct member since r11-4984-g47923622c663ffad

2021-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103255 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] |[11 Regression] |opti

[Bug ipa/103246] [12 Regression] 416.gamess miscompare with -O2 -g -flto=auto since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103246 --- Comment #20 from Jan Hubicka --- linking with --dbg-cnt=ipa_cp_values:10 -flto-partition=one --disable-tree-modref2 --dbg-cnt=ipa_mod_ref:836 -fdump-tree-all-details -fdump-ipa-all-details is first that produces different results. Diff to 83

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #17 from Aldy Hernandez --- The .s files on my cross versus the AWS instance or not even remotely the same: --- j.s 2021-11-17 14:13:19.979883609 -0500 +++ j.s.bad 2021-11-17 14:13:12.083828127 -0500 @@ -5,79 +5,78 @@ .global _

[Bug bootstrap/103306] New: parallel build hangs since 04c5a91d068c4ca2f09c2bc206fce00db9d1790b

2021-11-17 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103306 Bug ID: 103306 Summary: parallel build hangs since 04c5a91d068c4ca2f09c2bc206fce00db9d1790b Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

2021-11-17 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #6 from seurer at gcc dot gnu.org --- I am still seeing the failure on powerpc64 with current trunk (r12-5320), too.

[Bug ipa/103246] [12 Regression] 416.gamess miscompare with -O2 -g -flto=auto since r12-5223-gecdf414bd89e6ba251f6b3f494407139b4dbae0e

2021-11-17 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103246 --- Comment #19 from Jan Hubicka --- I was too optimistic - the patch does not help. The problem is related to modref. With lto-partition=max the problem triggers while lto-partition=one hides it becuase late tree modref recomputes summaries a

[Bug c/101702] [12 Regression] ICE: in handle_argspec_attribute, at c-family/c-attribs.c:3623

2021-11-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101702 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/101702] [12 Regression] ICE: in handle_argspec_attribute, at c-family/c-attribs.c:3623

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101702 --- Comment #6 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:2c2148d8c144d7388abcb7c34b782be647fe81c9 commit r12-5347-g2c2148d8c144d7388abcb7c34b782be647fe81c9 Author: Martin Sebor Date: Wed

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #16 from Aldy Hernandez --- (In reply to Jeffrey A. Law from comment #15) > Re: c#13. You were so close :-) Add "-msim" to your command line. THat's > one of the things the baseboards file does for you when you run things under >

[Bug bootstrap/103305] [12 Regression] Cannot build C++ with newlib on aarch64-none-elf or bfin-elf

2021-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #6 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #5) > static const mask blank= space; We might want to use blank = _ISspace | _ISblank for this last one, but I don't really understand what newlib defin

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #15 from Jeffrey A. Law --- Re: c#13. You were so close :-) Add "-msim" to your command line. THat's one of the things the baseboards file does for you when you run things under dejagnu on bfin-elf... I've sent Aldy instructions

[Bug bootstrap/103305] [12 Regression] Cannot build C++ with newlib on aarch64-none-elf or bfin-elf

2021-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #5 from Jonathan Wakely --- This should work: --- a/libstdc++-v3/config/os/newlib/ctype_base.h +++ b/libstdc++-v3/config/os/newlib/ctype_base.h @@ -41,6 +41,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // NB: Offsets into ctype::_M_ta

[Bug bootstrap/103305] [12 Regression] Cannot build C++ with newlib on aarch64-none-elf or bfin-elf

2021-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #4 from Tamar Christina --- Looks like that commit moved the short named to ctype_.h instead of ctype.h. I'm however unsure if this is something GCC needs to adapt to or if newlib needs to fix this. They claim it now matches glibc.

[Bug bootstrap/103305] [12 Regression] Cannot build C++ with newlib on aarch64-none-elf or bfin-elf

2021-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #3 from Tamar Christina --- logs indicate that this started happening between 3ba1bd0d9dbc..2ec453b566ac on Nov 12. However that range contains a suspicious newlib commit https://github.com/bminor/newlib/commit/3ba1bd0d9dbc015c14a0a

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #14 from Tamar Christina --- (In reply to Aldy Hernandez from comment #12) > (In reply to Tamar Christina from comment #9) > > (In reply to Aldy Hernandez from comment #8) > > > (In reply to Tamar Christina from comment #7) > > > > J

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

2021-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #5 from Tamar Christina --- (In reply to Aldy Hernandez from comment #4) > Is this still an issue with the latest trunk? There have been a few changes > in this space (phi ordering, loop header copying, etc). At least on aarch64 our

[Bug tree-optimization/103088] [12 regression] 500.perlbench from spec 2017 fails since r12-4698

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #4 from Aldy Hernandez --- Is this still an issue with the latest trunk? There have been a few changes in this space (phi ordering, loop header copying, etc).

[Bug libstdc++/103240] std::type_info::before gives wrong answer for ARM EABI

2021-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103240 --- Comment #2 from Jonathan Wakely --- Fixed on trunk, backports to follow.

[Bug libstdc++/103295] constexpr std::string does not work for clang

2021-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/103295] constexpr std::string does not work for clang

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103295 --- Comment #13 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6afa1083c6ee7b31629fb0c16299b952cb17868c commit r12-5343-g6afa1083c6ee7b31629fb0c16299b952cb17868c Author: Jonathan Wakely Date

[Bug libstdc++/103240] std::type_info::before gives wrong answer for ARM EABI

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103240 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:054bf99841aad3869c70643b2ba2d9f85770c980 commit r12-5342-g054bf99841aad3869c70643b2ba2d9f85770c980 Author: Jonathan Wakely Date:

[Bug bootstrap/103305] [12 Regression] Cannot build C++ with newlib on aarch64-none-elf or bfin-elf

2021-11-17 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 Jonathan Wakely changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #13 from Aldy Hernandez --- (In reply to Jeffrey A. Law from comment #11) > Aldy, I could also set up a cross toolchain, ready for debugging in an AWS > instance if that would be helpful. Ok, I give up. I configured and installed t

[Bug bootstrap/103305] [12 Regression] Cannot build C++ with newlib on aarch64-none-elf or bfin-elf

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 Aldy Hernandez changed: What|Removed |Added Target|aarch64-none-elf|aarch64-none-elf, bfin-elf

[Bug preprocessor/103130] [11 Regression] \*/ is not detected as the end of a comment with -fdirectives-only since r11-206-gb224c3763e018e8b

2021-11-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] \*/ is |[11 Regression] \*/ is not

[Bug preprocessor/103130] [11/12 Regression] \*/ is not detected as the end of a comment with -fdirectives-only since r11-206-gb224c3763e018e8b

2021-11-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:049f0efeaa77b43a508172161ca040feb6bb5622 commit r12-5340-g049f0efeaa77b43a508172161ca040feb6bb5622 Author: Jakub Jelinek Date: W

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #12 from Aldy Hernandez --- (In reply to Tamar Christina from comment #9) > (In reply to Aldy Hernandez from comment #8) > > (In reply to Tamar Christina from comment #7) > > > Just a note, in our case the error seems to cause stage2

[Bug fortran/103115] [12 Regression] reallocation of character array fails when appending a constant size 4 array

2021-11-17 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103115 --- Comment #7 from Thomas Koenig --- (In reply to Jürgen Reuter from comment #6) > Really interesting, I don't get an ICE with the following setup: > ../configure --prefix=/usr/local/ --with-gmp=/usr/local/ > --with-mpfr=/usr/local/ --with-mp=

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #11 from Jeffrey A. Law --- Aldy, I could also set up a cross toolchain, ready for debugging in an AWS instance if that would be helpful.

[Bug tree-optimization/102756] [12 Regression] Complete unrolling is too senative to PRE; c-c++-common/torture/vector-compare-2.c

2021-11-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102756 --- Comment #5 from Jeffrey A. Law --- Ignore last comment. Meant for a different BZ.

[Bug tree-optimization/102756] [12 Regression] Complete unrolling is too senative to PRE; c-c++-common/torture/vector-compare-2.c

2021-11-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102756 --- Comment #4 from Jeffrey A. Law --- I could also set up a toolchain ready-to-debug in an AWS instance that you could use if that would be helpful.

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #10 from Jeffrey A. Law --- Aldy, the trick is to not build the C++ runtime ;-) So instead of "make" use "make all-gcc && make all-target-libgcc" to build the compiler and libgcc runtime. Then use "make install-gcc install-target-l

[Bug tree-optimization/103226] [12 Regression] Recent change to copy-headers causes execution failure for gcc.dg/torture/pr80974

2021-11-17 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103226 --- Comment #9 from Tamar Christina --- (In reply to Aldy Hernandez from comment #8) > (In reply to Tamar Christina from comment #7) > > Just a note, in our case the error seems to cause stage2 build to fail. > > Please file a PR for it and ind

  1   2   >