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

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #11 from Tamar Christina --- > > Richi the configury bits you shared once upon a time had > > -fno-unsafe-math-optimizations for 500.perlbench. Are there known issues > > with > > this test for -ffast-math that we had -fno-unsafe-m

[Bug regression/103318] Spec 2017 benchmark perlbench_r fails on PowerPC for -Ofast and -O3, passes with -O2

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

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

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 Richard Biener changed: What|Removed |Added CC||meissner at gcc dot gnu.org --- Commen

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #2 from Segher Boessenkool --- Do you maybe have some simple example (of what we generate, and what you say it should be)?

[Bug tree-optimization/102436] [11/12 Regression] Lost Load/Store Motion

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102436 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0fc859f5efcb4624a8b4ffdbf34d63972af179a8 commit r12-5394-g0fc859f5efcb4624a8b4ffdbf34d63972af179a8 Author: Richard Biener Date:

[Bug middle-end/103248] [12 Regression] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 --- Comment #12 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fb15abdc9b61a0b7fa24a37f85d19dc449cfd5bf commit r12-5395-gfb15abdc9b61a0b7fa24a37f85d19dc449cfd5bf Author: Richard Biener Date:

[Bug middle-end/103248] [12 Regression] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

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

[Bug tree-optimization/103181] [9/10/11 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 Bug 103181 depends on bug 103248, which changed state. Bug 103248 Summary: [12 Regression] ICE in operation_could_trap_helper_p, at tree-eh.c:2479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 What|Removed

[Bug middle-end/103249] [11/12 Regression] ICE in clear_padding_type

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103249 Bug 103249 depends on bug 103248, which changed state. Bug 103248 Summary: [12 Regression] ICE in operation_could_trap_helper_p, at tree-eh.c:2479 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 What|Removed

[Bug tree-optimization/102436] [11/12 Regression] Lost Load/Store Motion

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102436 Richard Biener changed: What|Removed |Added Known to work||10.3.1, 12.0 Known to fail|

[Bug libstdc++/103305] Cannot build libstdc++ with newlib on aarch64-none-elf or bfin-elf with new version of newlib

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #11 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:0e510ab53414430e93c6f5b64841e2f40031cda7 commit r12-5396-g0e510ab53414430e93c6f5b64841e2f40031cda7 Author: Tamar Christina Date

[Bug libstdc++/103305] Cannot build libstdc++ with newlib on aarch64-none-elf or bfin-elf with new version of newlib

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #12 from Tamar Christina --- Fixed on master, is this something we'd want to backport to active branches?

[Bug libstdc++/103305] Cannot build libstdc++ with newlib on aarch64-none-elf or bfin-elf with new version of newlib

2021-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103305 --- Comment #13 from Jonathan Wakely --- Yes, I think so, otherwise you can only use GCC trunk with the latest newlib. Maybe give it a week to see if anybody notices problems with the new code, then backport. Thanks!

[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a84177aff7ca86f501d6aa5ef407fac5e71f56fb commit r12-5397-ga84177aff7ca86f501d6aa5ef407fac5e71f56fb Author: Jakub Jelinek Date: Fr

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2021-11-19 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #52 from David Binderman --- (In reply to Marek Polacek from comment #51) > At last, implemented. Marvellous. I will test it by compiling Fedora rawhide and report back with any errors. Nearly 17 years is quite a wait for a fix.

[Bug c++/70796] [DR 1030] Initialization order with braced-init-lists still broken

2021-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70796 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/103326] constexpr crashing when uses with vector extensions

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103326 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:dd85c42c36a5d4e00b41ed40bca98598a2fb57c5 commit r12-5398-gdd85c42c36a5d4e00b41ed40bca98598a2fb57c5 Author: Richard Biener Date:

[Bug c++/103326] constexpr crashing when uses with vector extensions

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

[Bug tree-optimization/102988] ICE with -fharden-conditional-branches and C++ and pass by reference return value

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102988 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #4 from Alexandr

[Bug c++/103328] New: IC in remap_gimple_stmt, at tree-inline.c:1921

2021-11-19 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 Bug ID: 103328 Summary: IC in remap_gimple_stmt, at tree-inline.c:1921 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

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

2021-11-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #13 from Aldy Hernandez --- (In reply to Tamar Christina from comment #11) > Historically it has always only been for the test dataset with the problem > Aldy encountered before with the signed zeros. See > https://www.spec.org/cpu2

[Bug debug/103241] Odd 0 length entries in location lists

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103241 --- Comment #14 from Alexandre Oliva --- Hi, Will, Jakub, Martin, There's nothing particularly unusual about apparently empty ranges, especially when views are enabled, since the very point of location views is to enable multiple states to be d

[Bug c++/103329] New: [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103329 Bug ID: 103329 Summary: [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a Product: gcc Version: 12.0 Status: UNC

[Bug c++/103328] ICE in remap_gimple_stmt, at tree-inline.c:1921

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

[Bug c++/103329] [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103329 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org S

[Bug c++/103328] ICE in remap_gimple_stmt, at tree-inline.c:1921

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #2 from Richard Biener --- 1916 /* If STMT has a block defined, map it to the newly constructed block. */ 1917 if (tree block = gimple_block (copy)) 1918{ 1919 tree *n; 1920 n = id->decl_map->get

[Bug fortran/103312] [9/10/11/12 Regression] ICE in gfc_find_component since r9-1098-g3cf89a7b992d483e

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103312 Martin Liška changed: What|Removed |Added Summary|ICE in gfc_find_component |[9/10/11/12 Regression] ICE

[Bug c++/103313] nontype_argument_pack - compile error due to unsupported tree

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103313 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-19 CC|

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2021-11-19 Thread dcb314 at hotmail dot com via Gcc-bugs
llptr)) {} | ^~~ $ /home/dcb/gcc/results/bin/gcc -v gcc version 12.0.0 2029 (experimental) (0e510ab53414430e) $

[Bug tree-optimization/103322] [12 Regression] galgel from spec2000 is now broken on x86_64 with -Ofast -march=native -flto (on core)

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

[Bug tree-optimization/103321] [12 regression] ICE at tree-ssa.c:1211 after r12-5300

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103321 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 Martin Liška changed: What|Removed |Added Target Milestone|--- |11.3 Summary|ICE in remap_gim

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2021-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 --- Comment #54 from Jonathan Wakely --- Looks like it's missing a check for m_alloc having vacuous initialization, i.e. not actually needing any initialization before it's usable.

[Bug tree-optimization/102988] ICE with -fharden-conditional-branches and C++ and pass by reference return value

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102988 --- Comment #5 from Alexandre Oliva --- Created attachment 51837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51837&action=edit candidate patch under test

[Bug target/103302] wrong code with -fharden-compares

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103302 Alexandre Oliva changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot gnu.org

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #4 from Jakub Jelinek --- That is a bad bisection, just change it like: --- pr103328.C~ 2021-11-19 06:20:59.0 -0500 +++ pr103328.C 2021-11-19 06:21:57.0 -0500 @@ -530,7 +530,7 @@ void server_impl::send_message(server

[Bug ipa/103230] ipa-modref-tree.h:550:33: runtime error: load of value 255, which is not a valid value for type 'bool'

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103230 --- Comment #9 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:74a4ece02df1b1b6f396fd0e24dbbf8b0897858a commit r12-5399-g74a4ece02df1b1b6f396fd0e24dbbf8b0897858a Author: Martin Liska Date: Thu

[Bug ipa/103230] ipa-modref-tree.h:550:33: runtime error: load of value 255, which is not a valid value for type 'bool'

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

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 103230, which changed state. Bug 103230 Summary: ipa-modref-tree.h:550:33: runtime error: load of value 255, which is not a valid value for type 'bool' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103230 What

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

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #14 from Martin Liška --- > > Richi the configury bits you shared once upon a time had > > -fno-unsafe-math-optimizations for 500.perlbench. Are there known issues > > with > > this test for -ffast-math that we had -fno-unsafe-math

[Bug testsuite/103282] New test case gcc.dg/tree-ssa/modref-dse-5.c in r12-5292 fails

2021-11-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103282 Jan Hubicka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |hubicka at gcc dot gnu.org --- Co

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

2021-11-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 Aldy Hernandez changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2021-11-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 103088, which changed state. Bug 103088 Summary: [12 regression] 500.perlbench from spec 2017 fails since r12-4698 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 What|Removed |Adde

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

2021-11-19 Thread max at duempel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 --- Comment #1 from Max Kellermann --- Tested again with "g++-11 (Debian 11.2.0-10) 11.2.0", and my demo program still crashes.

[Bug tree-optimization/103321] [12 regression] ICE at tree-ssa.c:1211 after r12-5300

2021-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103321 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #8 from Andrew Pi

[Bug tree-optimization/103317] [12 regression] Spec 2017 benchmark blender_r fails with -Ofast on PowerPc (power9, power10)

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

[Bug c++/102217] co_awaiting a temporary produced by ternary operator crashes (double-free)

2021-11-19 Thread max at duempel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 --- Comment #2 from Max Kellermann --- Also crashes with "gcc version 12.0.0 2027 (experimental) [master r12-5346-gd3a9082d7ac] (Debian 12-2027-1)"

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #5 from Avi Kivity --- Sure, I'll redo the reduction.

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

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #16 from Tamar Christina --- (In reply to Martin Liška from comment #14) > > > Richi the configury bits you shared once upon a time had > > > -fno-unsafe-math-optimizations for 500.perlbench. Are there known issues > > > with > > >

[Bug libstdc++/89740] reading from cin & writing to cout sync_with_stdio(false) has race conditions

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

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #6 from Avi Kivity --- Unfortunately, clang doesn't accept the preprocessed source, only the original.

[Bug middle-end/103314] [12 regression] ICE on valid code at -O1 and above on x86_64-linux-gnu: Segmentation fault since r12-5358

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103314 --- Comment #8 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:ea2954df43d4162af23a20c84f4c5485463977ac commit r12-5400-gea2954df43d4162af23a20c84f4c5485463977ac Author: Andrew Pinski Date: Fr

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #7 from Jakub Jelinek --- So can you perhaps check that g++ -O0 -std=gnu++20 -fno-checking -fno-inline accepts it without errors while g++ -O2 -std=gnu++20 ICEs on it?

[Bug middle-end/103314] [12 regression] ICE on valid code at -O1 and above on x86_64-linux-gnu: Segmentation fault since r12-5358

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

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #8 from Avi Kivity --- Aha, I'll validate against g++ -O0.

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #9 from Avi Kivity --- btw, I also noticed these warnings: raft/server.cc: In member function ‘virtual seastar::future<> raft::server_impl::abort()’: raft/server.cc:932:1: warning: ‘raft::server_impl::abort()::_ZN4raft11server_impl5

[Bug libgomp/102838] [12 regression] Several tests SEGV in gomp_loop_ull_init

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

[Bug tree-optimization/103325] 1 << -1 is never reduced to a constant during gimple

2021-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103325 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/103149] cc1: error: inconsistent operand constraints in an 'asm' with -fharden-conditional-branches and SVE turned on

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103149 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #10 from Avi Kivity --- It's reducing with the stricter test, expect something in around 24 hours.

[Bug tree-optimization/103222] [12 Regression] wrong code at -O2 and above on x86_64-linux-gnu

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

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

2021-11-19 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #17 from Martin Liška --- > I don't mind closing this as invalid, however this isn't a known limitation, > it's a new limitation. Yes, it may be a new limitation or we may be affected by the same issue by now for ref size.

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #11 from Richard Biener --- The first stmt we complain on remains in the same function. The functions scope tree at the point of complaint is { Scope block #0 { Scope block #0 (unused) struct coroutine_handle _Coro_actor_c

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

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #18 from Tamar Christina --- (In reply to Martin Liška from comment #17) > > I don't mind closing this as invalid, however this isn't a known limitation, > > it's a new limitation. > > Yes, it may be a new limitation or we may be af

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #12 from Richard Biener --- Basically with lower_gimple_bind we re-wire the BLOCK tree to match the GIMPLE_BLOCK IL nesting. Whatever gets "unreachable" in that process is "lost". The following shows this, but it seems it is expecte

[Bug ipa/103052] [9/10/11/12 Regression] Function is found to be pure looping but has a call to a noreturn function in it

2021-11-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103052 --- Comment #10 from Jan Hubicka --- There is wrong order of conditionals in code merging previously known info with current info. IPA propagation gets state NEITHER by walking around the non-trivial cycle while function was earlier detected as

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #13 from Richard Biener --- The checking patch also trigers on coroutines.exp testing (as expected).

[Bug target/103097] ICE in move_for_stack_reg, at reg-stack.c:1186

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103097 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug target/103330] New: [12 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c by r12-5378

2021-11-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103330 Bug ID: 103330 Summary: [12 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c by r12-5378 Product: gcc Version: 12.0 Status: UNCONF

[Bug target/103330] [12 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c by r12-5378

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

[Bug target/103330] [12 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c by r12-5378

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103330 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comme

[Bug c++/103329] [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103329 --- Comment #2 from Richard Biener --- In the -fdump-tree-original=/dev/null case we have extra <1><107>: Abbrev Number: 3 (DW_TAG_structure_type) <108> DW_AT_name: (indirect string, offset: 0xb8): __is_integer <10c> DW_AT_

[Bug middle-end/100843] [12 Regression] ICE with -O1: in try_store_by_multiple_pieces, at builtins.c:6739 since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100843 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug target/100518] [12 Regression] ICE in copy_to_mode_reg with aarch64 ILP32 and memset with -mstrict-align -O2 since r12-397-gda9e6e63d1ae22e530ec7baf59f6ed028bf05776

2021-11-19 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100518 Alexandre Oliva changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug other/103331] New: There should be a rule to make build.log in the top-level Makefile

2021-11-19 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103331 Bug ID: 103331 Summary: There should be a rule to make build.log in the top-level Makefile Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: build

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #14 from Richard Biener --- Note the BLOCK is lost somewhere between CFG build (still OK as by verify_gimple_in_cfg) and free_lang_data where it is lost. Oh, so the BLOCK in question is used in two different functions BIND_EXPRs and

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #3 from Bill Schmidt --- Sure. Consider: #include vector bool __int128 foo (vector signed __int128 a, vector signed __int128 b) { return vec_cmpgt (a, b); } With gimple folding we emulate in 64-bit mode: mfvsrd 9,34

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #4 from Bill Schmidt --- Above was compiled with -O2 -mcpu=power10.

[Bug c++/94376] When nested inside a lambda body, [=] captures by const value instead of by value

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94376 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:fd740165e54151ea794fca34904f5c2e2ea1dcda commit r12-5403-gfd740165e54151ea794fca34904f5c2e2ea1dcda Author: Patrick Palka Date: Fr

[Bug c++/94376] When nested inside a lambda body, [=] captures by const value instead of by value

2021-11-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94376 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #15 from Iain Sandoe --- OK. I need to see where I slipped up - we are supposed to extract the outlined portion of the function and then wrap that in the various machinery specified in the std. However, blocks associated with parms

[Bug c++/103328] [11/12 Regression] ICE in remap_gimple_stmt, at tree-inline.c:1921 since r11-7419-g0f161cc8494cf728

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103328 --- Comment #16 from Richard Biener --- And static void verify_scope_blocks (tree block, tree supercontext) { gcc_assert (BLOCK_SUPERCONTEXT (block) == supercontext); for (tree t = BLOCK_SUBBLOCKS (block); t; t = BLOCK_CHAIN (t)) verify

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #5 from Bill Schmidt --- At first glance, this is probably because vector.md's definition of vec_cmp isn't defined for V1TImode. Probably needs to be changed to use VEC_IP rather than VEC_I and implement all the cases for 128-bit.

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #6 from Segher Boessenkool --- Ah, now I see. Thanks! Power10 has some new 128-bit insns (and p9 and p8 did before, too). I still think it would be best if Gimple did *never* split data. It simply does not know enough about the m

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #7 from Richard Biener --- (In reply to Segher Boessenkool from comment #6) > Ah, now I see. Thanks! > > Power10 has some new 128-bit insns (and p9 and p8 did before, too). > > I still think it would be best if Gimple did *never*

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #8 from Segher Boessenkool --- Btw: > mfvsrd 9,34 > mfvsrld 8,34 > mfvsrd 11,35 > mfvsrld 10,35 > li 7,1 > cmpd 0,9,11 > bgt 0,.L2 > cmpld 0,9,11 > beq 0,.L5 > .L3: > li 7,

[Bug tree-optimization/103168] [9/10/11/12 Regression] Value numbering for PRE of pure functions can be improved

2021-11-19 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 Jan Hubicka changed: What|Removed |Added Summary|Value numbering for PRE of |[9/10/11/12 Regression]

[Bug target/103316] PowerPC: Gimple folding of int128 comparisons produces suboptimal code

2021-11-19 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103316 --- Comment #9 from Segher Boessenkool --- (In reply to Richard Biener from comment #7) > > I still think it would be best if Gimple did *never* split data. It > > simply does not know enough about the machine and what the eventual > > machine

[Bug c++/101731] [9/10/11/12 Regression] ICE in cp_parser_skip_to_pragma_eol, at cp/parser.c:4055

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

[Bug tree-optimization/103311] [12 Regression] ICE in complex_mul_pattern::build(vec_info*) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103311 --- Comment #6 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:487d604b6fa0f0a981eadc216d9e481d08ed7e7b commit r12-5407-g487d604b6fa0f0a981eadc216d9e481d08ed7e7b Author: Tamar Christina Date:

[Bug target/103330] [12 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c by r12-5378

2021-11-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103330 --- Comment #2 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:487d604b6fa0f0a981eadc216d9e481d08ed7e7b commit r12-5407-g487d604b6fa0f0a981eadc216d9e481d08ed7e7b Author: Tamar Christina Date:

[Bug target/103330] [12 Regression] FAIL: gcc.target/i386/avx512fp16-vector-complex-float.c by r12-5378

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103330 Tamar Christina changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/103311] [12 Regression] ICE in complex_mul_pattern::build(vec_info*) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-19 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103311 Tamar Christina changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug tree-optimization/102436] [11 Regression] Lost Load/Store Motion

2021-11-19 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102436 --- Comment #5 from Jeffrey A. Law --- Sounds reasonable (not backporting, but holding bug open for now). I'll probably do some testing with it internally, so if you end up wanting to revisit the backporting question, reach out I may have usefu

[Bug libgomp/102838] [12 regression] Several tests SEGV in gomp_loop_ull_init

2021-11-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102838 --- Comment #21 from Jakub Jelinek --- Yeah, but clearly not in libgomp, but in the testcase, so IMNSHO we shouldn't reuse this PR for that. On x86_64-linux I see movaps into and out from the thr.1 TLS variable and in two spots to/from stack, th

[Bug tree-optimization/103332] New: Spurious -Wstringop-overflow warnings in libstdc++ tests

2021-11-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103332 Bug ID: 103332 Summary: Spurious -Wstringop-overflow warnings in libstdc++ tests Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic

[Bug tree-optimization/103332] Spurious -Wstringop-overflow warnings in libstdc++ tests

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

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

2021-11-19 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103088 --- Comment #19 from Aldy Hernandez --- Ughh, I was nerd sniped. Couldn't let it go ;-). The problem is this construct in Perl_do_ncmp: if (lnv < rnv) return -1; if (lnv > rnv) return 1; if (lnv == rnv)

[Bug c++/103333] New: [accepts-invalid] function template argument deduction for incompatible 'transformed A' / 'deduced A' pair

2021-11-19 Thread davveston at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10 Bug ID: 10 Summary: [accepts-invalid] function template argument deduction for incompatible 'transformed A' / 'deduced A' pair Product: gcc Version: 12.0 Status: UNC

[Bug testsuite/103282] New test case gcc.dg/tree-ssa/modref-dse-5.c in r12-5292 fails

2021-11-19 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103282 --- Comment #7 from seurer at gcc dot gnu.org --- Looks like it is 32 bit only.

  1   2   >