[Bug debug/101669] error reading variable from debug information when compiling with -O2

2021-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101669 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Version|11.0

[Bug tree-optimization/101668] BB vectorizer doesn't handle lowpart of existing vector

2021-07-29 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101668 --- Comment #2 from Hongtao.liu --- > it looks like there's no V8SI->V8DI conversion optab or we choose V4DI > for some other reason as prefered vector mode. We have, just need to add -mprefer-vector-width=512, the we'll get bar_s32_s64: vp

[Bug c++/84583] -fdirectives-only does not handle CRLF properly

2021-07-29 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84583 Boris Kolpackov changed: What|Removed |Added Component|preprocessor|c++ Version|7.2.0

[Bug target/100952] [12 regression] several test case failures after r12-1202

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #10 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:f0529d96f56758e56151f409c55bab3034163210 commit r12-2592-gf0529d96f56758e56151f409c55bab3034163210 Author: Haochen Gui Date: Thu

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

2021-07-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101660 Tobias Burnus changed: What|Removed |Added CC||sandra at gcc dot gnu.org --- Comment #

[Bug tree-optimization/100499] [9/10/11/12 Regression] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-07-29 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #34 from Eric Botcazou --- > The user I'm most worried about is stor-layout.c:place_field which > uses multiple_of_p to optimize DECL_OFFSET_ALIGN, where losing that > might have severe impact on Ada. Indeed, this might measurably i

[Bug fortran/101660] [12 Regression] FAIL: gfortran.dg/bind_c_array_params_3.f90

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

[Bug tree-optimization/101641] Bogus redundant store removal

2021-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 --- Comment #2 from Richard Biener --- And the DOM copy has been split out to refs_same_for_tbaa_p, now also used by RTL CSE and DSE (which do the same transform), see the fix for PR93946.

[Bug debug/101669] error reading variable from debug information when compiling with -O2

2021-07-29 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101669 --- Comment #2 from Jiu Fu Guo --- Similar to what Richard said, tested with gdb, use -gdwarf-4 with trunk, the msg also disappears.

[Bug tree-optimization/101641] Bogus redundant store removal

2021-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 --- Comment #3 from Richard Biener --- With union punning we've basically opened up a way to change the dynamic type of storage in a way that expects us from generating no code from a "virtual" read-write cycle involving the previous and the nex

[Bug tree-optimization/101641] Bogus redundant store removal

2021-07-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 --- Comment #4 from Richard Biener --- Just some more brain-dumps from thinking about a fix. - we can annotate the alias_set_entry with a flag whether it was created for a union type and use that to improve the logic - we can introduce some

[Bug libstdc++/101659] _GLIBCXX_DEBUG mode for std::optional ?

2021-07-29 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101659 --- Comment #1 from Marc Glisse --- I already see some "__glibcxx_assert(this->_M_is_engaged());" in the code, which IIUC should be enabled by _GLIBCXX_ASSERTIONS (and a fortiori by _GLIBCXX_DEBUG). Did you actually try it?

[Bug objc/101616] Objective-C frontend should not emit vtable/fixup messages (at least, not by default)

2021-07-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101616 --- Comment #4 from Iain Sandoe --- (In reply to Matt Jacobson from comment #3) > As it happens, I'm targeting the NeXT v2 runtime, but I'm *not* actually > targeting Darwin. So `flag_next_runtime` is just 1 for me--not an OS > version value l

[Bug debug/101669] error reading variable from debug information when compiling with -O2

2021-07-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101669 --- Comment #3 from Jakub Jelinek --- This is weird. There is no .debug_loc section with DWARF 5 at all, only .debug_loclists. I don't see any complains from readelf: readelf --debug-dump=loc pr101669 >/dev/null (binutils 2.36.1). And no errors

[Bug middle-end/101671] New: pr83510 fails because threader confuses -Warray-bounds

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101671 Bug ID: 101671 Summary: pr83510 fails because threader confuses -Warray-bounds Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug d/101672] New: d: Allow use of classes without the runtime if they only contain static members

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101672 Bug ID: 101672 Summary: d: Allow use of classes without the runtime if they only contain static members Product: gcc Version: 12.0 Status: UNCONFIRMED Severity

[Bug middle-end/101673] New: shorter unprofitable jump thread path inhibits threading of larger path

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101673 Bug ID: 101673 Summary: shorter unprofitable jump thread path inhibits threading of larger path Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: minor

[Bug middle-end/101674] New: gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 Bug ID: 101674 Summary: gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/101675] New: analyzer/pr94851-2.c marked XFAIL because it fails with new jump threader

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101675 Bug ID: 101675 Summary: analyzer/pr94851-2.c marked XFAIL because it fails with new jump threader Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norm

[Bug target/101609] no right shift pattern for vector(2) long long on aarch64

2021-07-29 Thread belagod at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101609 --- Comment #3 from Tejas Belagod --- > .. but still doesn't generate 'vector code' for the example shown here. Actually, it does. I was looking in the wrong place.

[Bug tree-optimization/101667] GNAT bug detected in op1_range in range-op.cc during GIMPLE pass evrp

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
compression algorithms: zlib zstd gcc version 12.0.0 20210729 (experimental) (GCC) $ make gnatmake -gnatVa -gnata -O1 -ftree-vrp src/egl-objects-displays.adb gcc -c -Isrc/ -gnatVa -gnata -O1 -ftree-vrp -I- src/egl-objects-displays.adb gcc -c -Isrc/ -gnatVa -gnata -O1 -ftree-vrp -I- src/egl.adb gcc

[Bug tree-optimization/101667] GNAT bug detected in op1_range in range-op.cc during GIMPLE pass evrp

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101667 --- Comment #3 from Aldy Hernandez --- Works on 11.2.1 as well: tor:~/tmp/tree-vrp-test$ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/opt/notnfs/aldyh/bld/threader/ada/install/bin/../libexec/gcc/x86_64-pc-linux-gnu/11.2.1/l

[Bug middle-end/81596] backwards threader misses simple copy within the same BB

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

[Bug libstdc++/101659] _GLIBCXX_DEBUG mode for std::optional ?

2021-07-29 Thread simon.marchi at polymtl dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101659 Simon Marchi changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/101659] _GLIBCXX_DEBUG mode for std::optional ?

2021-07-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101659 --- Comment #3 from Jonathan Wakely --- Indeed. Marc added them in r8-711.

[Bug libstdc++/101659] _GLIBCXX_DEBUG mode for std::optional ?

2021-07-29 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101659 --- Comment #4 from Jonathan Wakely --- It might be nice to add them to std::experimental::optional too though.

[Bug testsuite/101647] [12 regression] excess error in g++.dg/cpp0x/initlist48.C after r12-2534

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101647 --- Comment #1 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7d014f7b224cb41e9570284d125f4c605cb0ab0a commit r12-2594-g7d014f7b224cb41e9570284d125f4c605cb0ab0a Author: Jakub Jelinek Date: T

[Bug fortran/98411] [10/11] Pointless: Array larger than ‘-fmax-stack-var-size=’, moved from stack to static storage for main program variables

2021-07-29 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98411 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment #1

[Bug testsuite/101647] [12 regression] excess error in g++.dg/cpp0x/initlist48.C after r12-2534

2021-07-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101647 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug tree-optimization/101676] New: ^ not changed to | if the non-zero don't overlap

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101676 Bug ID: 101676 Summary: ^ not changed to | if the non-zero don't overlap Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug target/101543] extra zeroing of empty struct argument/return value

2021-07-29 Thread belagod at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543 Tejas Belagod changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/101543] extra zeroing of empty struct argument/return value

2021-07-29 Thread belagod at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101543 Tejas Belagod changed: What|Removed |Added Status|ASSIGNED|UNCONFIRMED Ever confirmed|1

[Bug target/101609] no right shift pattern for vector(2) long long on aarch64

2021-07-29 Thread belagod at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101609 Tejas Belagod changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug middle-end/101665] -fno-delete-null-pointer checks ineffective for attribute nonnull parameters

2021-07-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101665 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-07-29 Status|UNCONFIRME

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-07-29 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 Matt Thompson changed: What|Removed |Added CC||matthew.thompson at nasa dot gov --- C

[Bug d/101656] d: Don't escape quoted format strings in escape_d_format

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101656 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:cd4bda42979cb40860a9cd2c0ed188b9a0948cd4 commit r12-2595-gcd4bda42979cb40860a9cd2c0ed188b9a0948cd4 Author: Iain Buclaw Date: Mon J

[Bug d/101657] d: di header file created even if errors occur

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101657 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:75f2e3f6cbbb79421b12e399498e9c14241359e7 commit r12-2596-g75f2e3f6cbbb79421b12e399498e9c14241359e7 Author: Iain Buclaw Date: Mon J

[Bug d/96435] d: Returning boolean in a union violates @safe code

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96435 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:5c9b7408dc578cb2ae142a5c1b724c183497bdb2 commit r12-2597-g5c9b7408dc578cb2ae142a5c1b724c183497bdb2 Author: Iain Buclaw Date: Mon Ju

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:7616ed6307c90b5bbf1bf53550d33cc674ab4b6f commit r12-2598-g7616ed6307c90b5bbf1bf53550d33cc674ab4b6f Author: Iain Buclaw Date: Mon J

[Bug d/101672] d: Allow use of classes without the runtime if they only contain static members

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101672 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20 commit r12-2599-g3c13cf479ba81c4d29b202e9b8c6a7f0031a8b20 Author: Iain Buclaw Date: Mon J

[Bug d/96435] d: Returning boolean in a union violates @safe code

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96435 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:22589586940439fb5878180a7c586ea753d179f6 commit r11-8816-g22589586940439fb5878180a7c586ea753d179f6 Author: Iain Buclaw Date:

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 --- Comment #2 from CVS Commits --- The releases/gcc-11 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:0a3f1c2402c87533d38e1016fcf842a5493e8806 commit r11-8817-g0a3f1c2402c87533d38e1016fcf842a5493e8806 Author: Iain Buclaw Date

[Bug d/96435] d: Returning boolean in a union violates @safe code

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96435 --- Comment #3 from CVS Commits --- The releases/gcc-10 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:10490b7a453159f9b602b7f273f0aa6b4caebca7 commit r10-10012-g10490b7a453159f9b602b7f273f0aa6b4caebca7 Author: Iain Buclaw Date

[Bug d/96435] d: Returning boolean in a union violates @safe code

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96435 --- Comment #4 from CVS Commits --- The releases/gcc-9 branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:c848c0ec7fab0c0a220683ad234c8842939941cf commit r9-9653-gc848c0ec7fab0c0a220683ad234c8842939941cf Author: Iain Buclaw Date:

[Bug testsuite/101531] [11 regression] gcc.target/powerpc/pr101129.c has excess errors after r11-8780

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101531 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by William Schmidt : https://gcc.gnu.org/g:868cb29b1ddebc4128e9e4b84d92f4473aa3389c commit r11-8818-g868cb29b1ddebc4128e9e4b84d92f4473aa3389c Author: Bill Schmidt

[Bug d/101672] d: Allow use of classes without the runtime if they only contain static members

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101672 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/101657] d: di header file created even if errors occur

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101657 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/101656] d: Don't escape quoted format strings in escape_d_format

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101656 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 Iain Buclaw changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug d/96435] d: Returning boolean in a union violates @safe code

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96435 Iain Buclaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug testsuite/101531] [11 regression] gcc.target/powerpc/pr101129.c has excess errors after r11-8780

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101531 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by William Schmidt : https://gcc.gnu.org/g:e925336ec309e581317f9b198207db915402b83f commit r10-10013-ge925336ec309e581317f9b198207db915402b83f Author: Bill Schmidt

[Bug testsuite/101531] [11 regression] gcc.target/powerpc/pr101129.c has excess errors after r11-8780

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101531 --- Comment #6 from CVS Commits --- The releases/gcc-9 branch has been updated by William Schmidt : https://gcc.gnu.org/g:49a2cbb3f5906ac20d7a4619d5d3112584d46cf7 commit r9-9654-g49a2cbb3f5906ac20d7a4619d5d3112584d46cf7 Author: Bill Schmidt D

[Bug testsuite/101531] [11 regression] gcc.target/powerpc/pr101129.c has excess errors after r11-8780

2021-07-29 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101531 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/100651] Weird memory corruption with multiple triggers

2021-07-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #3 f

[Bug middle-end/101674] gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

2021-07-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Target|ppc64*-*-*

[Bug target/100340] Bootstrap fails with Clang 12.0.5 (XCode 12.5)

2021-07-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100340 --- Comment #11 from Iain Sandoe --- (In reply to Matt Thompson from comment #10) > Query from someone who I believe just encountered this trying to build 11.2 > on macOS 11.5.1 with XCode 12.5: What is the best method to work around this > for

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 --- Comment #4 from Andrew Pinski --- (In reply to Iain Buclaw from comment #0) > C++ constructors return void, even though the front-end semantic treats them > as implicitly returning `this'. But on some targets they actually do return this. Y

[Bug middle-end/101674] gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

2021-07-29 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 --- Comment #2 from Aldy Hernandez --- (In reply to Martin Sebor from comment #1) > I can confirm the test fails (despite the xfail): > > FAIL: gcc.dg/uninit-pred-9_b.c bogus warning (test for bogus messages, line > 25) > > The xfail target sh

[Bug d/101664] d: Return the correct value for C++ constructor calls

2021-07-29 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664 --- Comment #5 from Iain Buclaw --- (In reply to Andrew Pinski from comment #4) > (In reply to Iain Buclaw from comment #0) > > C++ constructors return void, even though the front-end semantic treats them > > as implicitly returning `this'. > >

[Bug c++/101677] New: [11 Regression] Concept with use of incomplete type succeeds on GCC 10.3.0, fails on GCC 11 onward

2021-07-29 Thread joeloser93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101677 Bug ID: 101677 Summary: [11 Regression] Concept with use of incomplete type succeeds on GCC 10.3.0, fails on GCC 11 onward Product: gcc Version: 11.1.0 Status: UNCONFIRM

[Bug middle-end/101671] pr83510 fails with -Os because threader confuses -Warray-bounds

2021-07-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101671 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org Last reconfi

[Bug fortran/100651] Weird memory corruption with multiple triggers

2021-07-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 Iain Sandoe changed: What|Removed |Added Target||x86_64-linux-gnu, |

[Bug c++/101670] Internal compiler error with concepts

2021-07-29 Thread joeloser93 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101670 Joe Loser changed: What|Removed |Added CC||joeloser93 at gmail dot com --- Comment #1

[Bug middle-end/101674] gcc.dg/uninit-pred-9_b.c fails after jump threading rewrite

2021-07-29 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101674 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:2f6bdd51cfe15403085b69c133065ebda4af9bb9 commit r12-2600-g2f6bdd51cfe15403085b69c133065ebda4af9bb9 Author: Martin Sebor Date: Thu

[Bug middle-end/101671] pr83510 fails with -Os because threader confuses -Warray-bounds

2021-07-29 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101671 --- Comment #2 from Aldy Hernandez --- Yeah, that would be great. Thanks! On Thu, Jul 29, 2021 at 6:05 PM msebor at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101671 > > Martin Sebor changed: > >What

[Bug debug/101669] error reading variable from debug information when compiling with -O2

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101669 --- Comment #4 from Andrew Pinski --- What version of gdb are you using?

[Bug fortran/101627] List-directed read with trailing characters after quotes

2021-07-29 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101627 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/101678] New: [12 regression] many fortran errors afterr r12-2553

2021-07-29 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101678 Bug ID: 101678 Summary: [12 regression] many fortran errors afterr r12-2553 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/71538] Missing removal of null pointer check

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71538 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Ever confirmed|0

[Bug c/97892] [10/11/12 Regression] ICE in tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2946

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

[Bug c/101171] [10 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:3006

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101171 Andrew Pinski changed: What|Removed |Added CC||doko at debian dot org --- Comment #9 f

[Bug c/93574] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2925

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

[Bug c/101171] [10 Regression] ICE: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:3006

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101171 Andrew Pinski changed: What|Removed |Added CC||changochen1 at gmail dot com --- Commen

[Bug c/92428] Crash on conflicting types

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92428 Andrew Pinski changed: What|Removed |Added Known to work||11.0 Status|UNCONFIRMED

[Bug c/97882] [8/9/10/11 Regression] Segmentation Fault on improper redeclaration of function

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Andrew Pinski changed: What|Removed |Added CC||dpotapov at gmail dot com --- Comment #8

[Bug objc/67694] ICE on returning undefined enum in must_pass_in_stack_var_size_or_pad

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67694 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-08-09 00:00:00 |2021-7-29 See Also|

[Bug target/89932] ICE in must_pass_in_stack_var_size_or_pad, at calls.c:5824

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89932 --- Comment #4 from Andrew Pinski --- Actually this one has been fixed while PR 67694 has not. THis is a dup of bug 97882. *** This bug has been marked as a duplicate of bug 97882 ***

[Bug c/97882] [8/9/10/11 Regression] Segmentation Fault on improper redeclaration of function

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97882 Andrew Pinski changed: What|Removed |Added CC||gs...@t-online.de --- Comment #9 from An

[Bug c/37187] please provide a way to treat -pedantic as warning when using -Werror

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37187 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |5.0 Status|NEW

[Bug c/60139] Imprecise column number for -pedantic on non-computable initializer element

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60139 Andrew Pinski changed: What|Removed |Added CC||edwin+bugs at etorok dot eu --- Comment

[Bug fortran/100651] Weird memory corruption with multiple triggers

2021-07-29 Thread matthew.thompson at nasa dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 --- Comment #5 from Matt Thompson --- Iain, The Linux system would be SUSE Linux Enterprise Server 12 SP3. The macOS system is macOS 11.5.1. On the Linux machine, I can confirm the error with (I only have some versions of GCC available): * 8.

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0

[Bug c/63878] Variables of incomplete type can be defined with -fno-fat-lto-objects

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

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 Andrew Pinski changed: What|Removed |Added CC||hristo at venev dot name --- Comment #8

[Bug middle-end/101679] New: duplicate warning offset outside bounds of constant string

2021-07-29 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101679 Bug ID: 101679 Summary: duplicate warning offset outside bounds of constant string Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/101641] Bogus redundant store removal

2021-07-29 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101641 --- Comment #5 from Martin Uecker --- (In reply to Richard Biener from comment #3) > > What we know from the union read is that the dynamic type is either the > union type (so the read can pun) or the dynamic type is the union member > type (the

[Bug fortran/100651] [9/10/11/12 Regression] Weird memory corruption with multiple triggers

2021-07-29 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100651 Iain Sandoe changed: What|Removed |Added Summary|Weird memory corruption |[9/10/11/12 Regression]

[Bug testsuite/101517] Some testcases were lost when tree-ssa was merged

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101517 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug testsuite/16230] Spurious test failures with --disable-static

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16230 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Resolution|---

[Bug testsuite/37628] gcc.c-torture/execute/pr35456.c is not generic

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37628 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-07-29 Severity|normal

[Bug testsuite/45068] g++.dg/debug/dwarf2/nested-2.C failed on Linux/ia64

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

[Bug testsuite/43495] gcc.c-torture/execute/20000603-1.c fails with -fpic/-fPIC

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43495 Andrew Pinski changed: What|Removed |Added Known to work|| Status|NEW

[Bug rtl-optimization/14319] incorrect optimization of union of structs with common initial sequences

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14319 Andrew Pinski changed: What|Removed |Added CC||ghazi at gcc dot gnu.org --- Comment #19

[Bug fortran/98411] [10/11/12 Regression] Pointless: Array larger than ‘-fmax-stack-var-size=’, moved from stack to static storage for main program variables

2021-07-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98411 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[10/11] Pointless: Array|[10/11/12 Regression]

[Bug libfortran/98076] Increase speed of integer I/O

2021-07-29 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|11.3|--- --- Comment #3 from anlau

[Bug testsuite/97826] internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:6453

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

[Bug c++/65573] 13908.C:20:33: internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5527

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65573 Andrew Pinski changed: What|Removed |Added CC||vladimir.kokovic at gmail dot com --- C

[Bug testsuite/97824] internal compiler error: in gimplify_expr, at gimplify.c:14531

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

[Bug target/65572] ptrmem5.C:7:26: internal compiler error: in gimplify_expr, at gimplify.c:8629

2021-07-29 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65572 Andrew Pinski changed: What|Removed |Added CC||vladimir.kokovic at gmail dot com --- C

[Bug target/65568] ptrmem8.C:9:9: internal compiler error: in build_ptrmemfunc, at cp/typeck.c:7940

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

  1   2   >