[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #6 from Jiu Fu Guo --- cut.. > 0xa5a5a5a5a5a5a5a means the location has been GC'ed already; either from > ggc_free or from a previous ggc_collect. > What you can try is run with the following options: > --param ggc-min-expand=1

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #5 from Jiu Fu Guo --- build command is: configure --enable-languages=c,c++,fortran,objc,obj-c++,go --with-cpu=native --disable-multilib --with-long-double-128 --prefix=$HOME/xx --with-build-config=bootstrap-O3 make -j

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #4 from Jiu Fu Guo --- Created attachment 50787 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50787=edit t.ii /home/guojiufu/gcc/build/gcc-mainline-test/./prev-gcc/xg++

[Bug tree-optimization/100511] Fail to remove dead code in loop

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100511 --- Comment #3 from Andrew Pinski --- (In reply to Jiangning Liu from comment #2) > Then why gcc can't optimize this case either? sizeof (XX) <> sizeof(g) here. The second case is a VRP issue which really should be filed seperately. -O3 case

[Bug jit/64949] jit linking fails when building with in-tree libraries (mpc etc...)

2021-05-10 Thread yumeyao at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64949 YumeYao changed: What|Removed |Added CC||yumeyao at gmail dot com --- Comment #2 from

[Bug bootstrap/100506] bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'.

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100506 Andrew Pinski changed: What|Removed |Added CC||seurer at gcc dot gnu.org --- Comment

[Bug ada/100514] [12 regression] Error in Ada build in bootstrap after r12-648

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100514 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/100511] Fail to remove dead code in loop

2021-05-10 Thread jiangning.liu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100511 --- Comment #2 from Jiangning Liu --- Then why gcc can't optimize this case either? sizeof (XX) <> sizeof(g) here. #include int a; typedef struct { int b; int count; } XX; int g; __attribute__((noinline)) void f(XX *x) { int c1

[Bug ada/100514] New: [12 regression] Error in Ada build in bootstrap after r12-648

2021-05-10 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100514 Bug ID: 100514 Summary: [12 regression] Error in Ada build in bootstrap after r12-648 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #3 from Andrew Pinski --- (In reply to Jiu Fu Guo from comment #1) > The error is raised after ipa “inlining” pass, when doing ggc_collect at > stage 2. > > At code: > xlimit = ((*xlimit).next); > > The value of xlimit becomes

[Bug tree-optimization/100511] Fail to remove dead code in loop

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100511 Andrew Pinski changed: What|Removed |Added Keywords||alias, missed-optimization

[Bug tree-optimization/100512] [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os)

2021-05-10 Thread haoxintu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100512 --- Comment #1 from Haoxin Tu --- (In reply to Haoxin Tu from comment #0) > $gcc -w -O2 Sorry, it's an incomplete command here. It should be "gcc -w -O2 small.c".

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #2 from Jiu Fu Guo --- There is a similar bug fixed for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99447. it may be a different issue.

[Bug ipa/100513] ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 --- Comment #1 from Jiu Fu Guo --- The error is raised after ipa “inlining” pass, when doing ggc_collect at stage 2. At code: xlimit = ((*xlimit).next); The value of xlimit becomes 0xa5a5a5a5a5a5a5a5 before crash. 0xa5 may comes from

[Bug ipa/100513] New: ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3

2021-05-10 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100513 Bug ID: 100513 Summary: ICE: Segmentation fault (in lookup_page_table_entry) for bootstrap-O3 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/100512] New: [12 Regression] ICE during GIMPLE pass: cddce in mark_operand_necessary, at tree-ssa-dce.c:173 (under -O2 to -Os)

2021-05-10 Thread haoxintu at gmail dot com via Gcc-bugs
Target: x86_64-pc-linux-gnu Configured with: ../configure --prefix=/home/tuhaoxin/compilers/gcc/build/ --enable-bootstrap --enable-checking=release --enable-languages=c,c++ -disable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210510 (experimental) (G

[Bug tree-optimization/100511] New: Fail to remove dead code in loop

2021-05-10 Thread jiangning.liu at amperecomputing dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100511 Bug ID: 100511 Summary: Fail to remove dead code in loop Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/51577] dependent name lookup finds operator in global namespace

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #20 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:6ab1176667734bd6de20833f8d263c03a418c452 commit r12-702-g6ab1176667734bd6de20833f8d263c03a418c452 Author: Patrick Palka Date:

[Bug c++/100138] ICE with constructor constrained (C++20 Concepts) by parameter pack length

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100138 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:e7a9f085ffd34b0d7bc4b803c182b41494f609aa commit r12-701-ge7a9f085ffd34b0d7bc4b803c182b41494f609aa Author: Patrick Palka Date:

[Bug bootstrap/100506] bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'.

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

[Bug bootstrap/100506] bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'.

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100506 --- Comment #3 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:0c54d25a7686406a11f44f58261a9e63821022b7 commit r12-699-g0c54d25a7686406a11f44f58261a9e63821022b7 Author: Martin Liska Date:

[Bug middle-end/100477] Bogus -Wstringop-overflow warning on memset

2021-05-10 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 --- Comment #7 from andysem at mail dot ru --- (In reply to Martin Sebor from comment #6) > In C/C++ the size of the largest object is PTRDIFF_MAX - 1 bytes. This is > necessary so that the difference between the address of its first byte and >

[Bug target/100108] [10 Regression] powerpc: recognize 32-bit CPU as POWER9 with -misel option

2021-05-10 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100108 Segher Boessenkool changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/100108] [10 Regression] powerpc: recognize 32-bit CPU as POWER9 with -misel option

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100108 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:5f665c1ca452673e9812cd92b07bd31441c0ac5b commit r10-9814-g5f665c1ca452673e9812cd92b07bd31441c0ac5b Author: Segher

[Bug middle-end/100477] Bogus -Wstringop-overflow warning on memset

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 --- Comment #6 from Martin Sebor --- In C/C++ the size of the largest object is PTRDIFF_MAX - 1 bytes. This is necessary so that the difference between the address of its first byte and that just past its last byte fits in ptrdiff_t. A number

[Bug tree-optimization/100417] False positive -Wmaybe-uninitalized with malloc.

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100417 Martin Sebor changed: What|Removed |Added CC||jochen447 at concept dot de --- Comment

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 100496, which changed state. Bug 100496 Summary: False positive with -Wmaybe-uninitialized https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100496 What|Removed |Added

[Bug c/100496] False positive with -Wmaybe-uninitialized

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100496 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug tree-optimization/100509] ICE at -O3: in fold_convert_loc with variable (attribute) alias of different types

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100509 --- Comment #1 from Andrew Pinski --- (In reply to Chengnian Sun from comment #0) > Not sure whether this is a dup of PR96131. It is unrelated.

[Bug debug/100446] GDB has problems reading GCC's debugging info level -g3

2021-05-10 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100446 Tom Tromey changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #6

[Bug ada/100486] Ada build fails for 32bit Windows

2021-05-10 Thread ofv at wanadoo dot es via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100486 ofv at wanadoo dot es changed: What|Removed |Added CC||ofv at wanadoo dot es ---

[Bug libstdc++/100444] std::random_device isn't random on AMD

2021-05-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100444 --- Comment #11 from Jonathan Wakely --- We could use a different function for AMD, rather than __x86_rdrand. If it reads a -1 value it could try again a few more times, and if it gets -1 every time assume it's broken (and throw?), maybe after

[Bug middle-end/100425] missing -Walloca-larger-than with -O0

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100425 Martin Sebor changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/100510] bogus -Wvla-large-than with -Walloca

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

[Bug tree-optimization/100510] bogus -Wvla-large-than with -Walloca

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100510 Bug 100510 depends on bug 100425, which changed state. Bug 100425 Summary: missing -Walloca-larger-than with -O0 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100425 What|Removed |Added

[Bug middle-end/100425] missing -Walloca-larger-than with -O0

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100425 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug middle-end/100425] missing -Walloca-larger-than with -O0

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100425 --- Comment #1 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:f974b54b8a0c330e9dd2b43ebc940100d601df0f commit r12-690-gf974b54b8a0c330e9dd2b43ebc940100d601df0f Author: Martin Sebor Date: Mon

[Bug tree-optimization/100510] bogus -Wvla-large-than with -Walloca

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100510 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:f974b54b8a0c330e9dd2b43ebc940100d601df0f commit r12-690-gf974b54b8a0c330e9dd2b43ebc940100d601df0f Author: Martin Sebor Date: Mon

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #8 from Tobias Burnus --- I am wondering whether it has something to do with shfl now requiring .sync, especially for sm_70. (Non-sync version was deprecated in ISA 6.0 and for sm_70 removed in ISA 6.4.) Cross ref: PR96005.

[Bug tree-optimization/100510] bogus -Wvla-large-than with -Walloca

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100510 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org

[Bug tree-optimization/100510] New: bogus -Wvla-large-than with -Walloca

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100510 Bug ID: 100510 Summary: bogus -Wvla-large-than with -Walloca Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/100509] New: ICE at -O3: in fold_convert_loc, at fold-const.c:2552

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
algorithms: zlib gcc version 12.0.0 20210510 (experimental) [master revision :fb3a8fb4a:25f9f35a85ffee808fc1482b14d91176df59751b] (GCC) $ cat mutant.c struct X { int a; }; const a = 0; static struct X A __attribute__((alias("a"))); foo() { struct X b = A; } $ gcc-trunk -O3 mutant.c mu

[Bug c/100508] New: ICE with '-g -O3': in expand_debug_locations, at cfgexpand.c:5618

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: zlib gcc version 12.0.0 20210510 (experimental) [master revision :fb3a8fb4a:25f9f35a85ffee808fc1482b14d91176df59751b] (GCC) $ cat mutant.c typedef __attribute__((__vector_size__(32))) V; V j; __attribute__((simd)) foo() { V m = j; } $ gcc-trunk -g -O3 mutant.c mutant.c:1:46: warning: type defaults

[Bug bootstrap/100506] bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'.

2021-05-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100506 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/100496] False positive with -Wmaybe-uninitialized

2021-05-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100496 Andrew Pinski changed: What|Removed |Added Depends on||100417 --- Comment #1 from Andrew

[Bug c++/100507] [10/11/12 Regression] ICE on invalid: tree check expects tree that contains 'decl common'

2021-05-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100507 Jakub Jelinek changed: What|Removed |Added Summary|ICE on invalid: tree check |[10/11/12 Regression] ICE

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 Tom de Vries changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org ---

[Bug middle-end/100477] Bogus -Wstringop-overflow warning on memset

2021-05-10 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 --- Comment #5 from andysem at mail dot ru --- (In reply to Martin Sebor from comment #4) > The case of _size being very large and n very small may be handled correctly > by the original code thanks to the check for _capacity but because its

[Bug tree-optimization/100299] [11/12 Regression] cc1plus taking all RAM in EVRP

2021-05-10 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100299 Jason Merrill changed: What|Removed |Added Component|c++ |tree-optimization CC|

[Bug tree-optimization/100503] A possible divide by zero problem in function do_rpo_vn

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

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #6 from Tobias Burnus --- (In reply to Tom de Vries from comment #5) > Does it pass with GOMP_NVPTX_JIT=-O0 ? This does not seem to help either way. (In reply to Tom de Vries from comment #4) > Can anything be deduced from driver

[Bug c++/100507] New: ICE on invalid: tree check expects tree that contains 'decl common'

2021-05-10 Thread sand at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100507 Bug ID: 100507 Summary: ICE on invalid: tree check expects tree that contains 'decl common' Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/100506] bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'.

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100506 Martin Sebor changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug bootstrap/100506] New: bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'.

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100506 Bug ID: 100506 Summary: bootstrap error: No rule to make target 'gcc/version.c', needed by 'ada/stamp-sdefault'. Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/100477] Bogus -Wstringop-overflow warning on memset

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100477 Martin Sebor changed: What|Removed |Added Blocks||88443 --- Comment #4 from Martin Sebor

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #5 from Tom de Vries --- Does it pass with GOMP_NVPTX_JIT=-O0 ?

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #4 from Tom de Vries --- (In reply to Tobias Burnus from comment #2) > See below, fails with 4 systems, works with 3 others. Can anything be deduced from driver versions? Or card architecture?

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #3 from Tom de Vries --- Doesn't fail for me unfortunately. I've tried with GOMP_NVPTX_JIT=-O0..-O4, no luck.

[Bug c++/100485] False positive in -Wmismatched-new-delete

2021-05-10 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485 --- Comment #7 from fiesh at zefix dot tv --- Thanks for the outline! We'll turn off -Wmismatched-new-delete with GCC 11 and try to switch to the selective opt-out with pragmas in 12. That's a good workaround for now. On a random related

[Bug middle-end/100471] #pragma omp taskloop with custom reduction

2021-05-10 Thread tom.vanderaa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100471 --- Comment #5 from Tom Vander Aa --- This seems also to fix the original code, which I used to derive the test case. (patch applied on master)

[Bug c++/100485] False positive in -Wmismatched-new-delete

2021-05-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100485 --- Comment #6 from Martin Sebor --- That does sound frustrating, sorry. The #pragma has a limitation that can make it difficult to use in inlining contexts. I submitted a patch for it for GCC 11 but it got pushed to GCC 12 (see pr98465

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

2021-05-10 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 Status|NEW |ASSIGNED

[Bug c/100505] ICE: in record_in_finally_tree, at tree-eh.c:213

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100505 --- Comment #2 from Chengnian Sun --- Should I avoid reporting test programs with __GIMPLE or __RTL?

[Bug c/100505] ICE: in record_in_finally_tree, at tree-eh.c:213

2021-05-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100505 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/100503] A possible divide by zero problem in function do_rpo_vn

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

[Bug c/100505] New: ICE: in record_in_finally_tree, at tree-eh.c:213

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
: x86_64-pc-linux-gnu Configured with: /tmp/tmp.FRQzt2wMfl-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210510

[Bug c/100504] New: ICE: tree check: expected string_cst, have integer_cst in get_attr_len, at multiple_target.c:198

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
Supported LTO compression algorithms: zlib gcc version 12.0.0 20210510 (experimental) [master revision :fb3a8fb4a:25f9f35a85ffee808fc1482b14d91176df59751b] (GCC) $ cat mutant.c __attribute__((target_clones(0))) foo() {} $ gcc-trunk mutant.c mutant.c:1:35: warning: return type defaults to ‘int

[Bug tree-optimization/100503] New: A possible divide by zero problem in function do_rpo_vn

2021-05-10 Thread yguoaz at cse dot ust.hk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100503 Bug ID: 100503 Summary: A possible divide by zero problem in function do_rpo_vn Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/100495] constexpr virtual destructor incorrectly reports memory leak

2021-05-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100495 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #2 from Tobias Burnus --- (In reply to Tom de Vries from comment #1) > Can you post a minimal version? See below, fails with 4 systems, works with 3 others. #define N 1024 int main () { _Complex float orfc = 0; // _Complex

[Bug c++/100502] New: ICE in enforce_access at cp/semantics.c:368

2021-05-10 Thread raffael at casagrande dot ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100502 Bug ID: 100502 Summary: ICE in enforce_access at cp/semantics.c:368 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/100487] A possible divide by zero bug in jump_table_cluster::emit

2021-05-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100487 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug target/97792] ICE in extract_insn, at recog.c:2315

2021-05-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97792 Martin Liška changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/100413] [11/12 Regression] ICE: failed to reclaim unneeded function with custom flags

2021-05-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100413 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-05-10 Ever confirmed|0

[Bug tree-optimization/96915] ICE in tree-switch-conversion

2021-05-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96915 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/42587] bswap not recognized for memory

2021-05-10 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/100393] [9/10/11/12 Regression] Very slow compilation of switch statement with thousands of cases

2021-05-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100393 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org

[Bug tree-optimization/42587] bswap not recognized for memory

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42587 --- Comment #14 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:1f94ed3b4c308c9da7baf59ecbc0f953e994f9c4 commit r12-664-g1f94ed3b4c308c9da7baf59ecbc0f953e994f9c4 Author: H.J. Lu Date: Sat May 8

[Bug c/100501] New: ICE: segmentation fault on embedded asm code

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
-linux-gnu Configured with: /tmp/tmp.FRQzt2wMfl-gcc-builder/gcc/configure --enable-languages=c,c++,lto --enable-checking-yes --enable-multiarch --prefix=/scratch/software/gcc-trunk --disable-bootstrap Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210510

[Bug c/100500] New: ICE with local label in OpenACC 'loop' region

2021-05-10 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100500 Bug ID: 100500 Summary: ICE with local label in OpenACC 'loop' region Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openacc Severity:

[Bug c/91193] ICE on invalid: tree check: expected class ‘type’, have ‘declaration’ (function_decl) in grokdeclarator, at c/c-decl.c:5956

2021-05-10 Thread cnsun at uwaterloo dot ca via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91193 Chengnian Sun changed: What|Removed |Added CC||cnsun at uwaterloo dot ca --- Comment

[Bug fortran/64763] [OpenACC] !$acc region not implemented

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

[Bug middle-end/100471] #pragma omp taskloop with custom reduction

2021-05-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100471 --- Comment #4 from Jakub Jelinek --- Created attachment 50785 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50785=edit gcc12-pr100471.patch Untested fix.

[Bug d/100324] gcc-10.2.0 (and earlier) fails to build on x86_64, but has builds just fine aarch64

2021-05-10 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100324 --- Comment #8 from Iain Buclaw --- (In reply to Tor from comment #6) > Built with -j 256 on aarch64 Cavium Tx2 CN9980 nodes. Worked like a charm. > > Not sure why "dash" is ok, while "bash" is not!? Do you? > > I will set default shell to

[Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs

2021-05-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/100452] g++.dg/vect/slp-pr99971.cc FAILs

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100452 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:cce4471bb45f72820eb6c15b4a75e67f704b209e commit r12-662-gcce4471bb45f72820eb6c15b4a75e67f704b209e Author: Richard Biener Date:

[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 Richard Biener changed: What|Removed |Added Known to work||11.1.0 Ever confirmed|0

[Bug tree-optimization/100492] [10/11/12 Regression] wrong code at -O3 (generated code hangs)

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100492 --- Comment #7 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:60af2db18013a0339302928ba98fee893ccc1957 commit r12-661-g60af2db18013a0339302928ba98fee893ccc1957 Author: Richard Biener Date:

[Bug target/100497] [OpenMP][nvptx] libgomp.c-c++-common/reduction-5.c - fails on some nvptx systems

2021-05-10 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100497 --- Comment #1 from Tom de Vries --- Can you post a minimal version?

[Bug middle-end/100471] #pragma omp taskloop with custom reduction

2021-05-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100471 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug tree-optimization/100499] New: Different results with -fpeel-loops -ftree-loop-vectorize options

2021-05-10 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 Bug ID: 100499 Summary: Different results with -fpeel-loops -ftree-loop-vectorize options Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94695] Implement -Wrange-loop-analysis

2021-05-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94695 Jonathan Wakely changed: What|Removed |Added CC||antoshkka at gmail dot com ---

[Bug c++/80542] Warn about accidental copying of data in range based for

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

[Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool

2021-05-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485 Jonathan Wakely changed: What|Removed |Added CC||wolfgang.roe...@gi-de.com --- Comment

[Bug c++/100498] SFINAE and static inline function

2021-05-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100498 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug tree-optimization/100464] [11 Regression] emitted binary code changes when -g is enabled at -O3

2021-05-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 Richard Biener changed: What|Removed |Added Known to fail|11.0|11.1.0 Summary|[11/12

[Bug tree-optimization/44462] Redundant looping pure functions whose return value is dead are not optimized out

2021-05-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44462 Bug 44462 depends on bug 100434, which changed state. Bug 100434 Summary: DSE fails to DSE aggregate LHS. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100434 What|Removed |Added

[Bug tree-optimization/100434] DSE fails to DSE aggregate LHS.

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

[Bug tree-optimization/100492] [10/11/12 Regression] wrong code at -O3 (generated code hangs)

2021-05-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100492 Richard Biener changed: What|Removed |Added Target Milestone|12.0|10.4 Summary|[12

[Bug tree-optimization/100464] [11/12 Regression] emitted binary code changes when -g is enabled at -O3

2021-05-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100464 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a076632e274abe344ca7648b7c7f299273d4cbe0 commit r12-657-ga076632e274abe344ca7648b7c7f299273d4cbe0 Author: Richard Biener Date:

  1   2   >