[Bug tree-optimization/97980] wrong code with "-O3 -fno-dce -fno-inline-functions-called-once -fno-inline-small-functions -fno-tree-ccp -fno-tree-dce -fno-tree-vrp"

2020-11-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97980 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Component|c

[Bug c/97972] [9/10/11 Regression] ICE in moving_insn_creates_bookkeeping_block_p, at sel-sched.c:2031 since r9-2064-gc4c5ad1d6d1e1e1f

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

[Bug c++/97973] [10/11 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19577 since r10-6170-g8a990ffafaaa1898

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97973 Martin Liška changed: What|Removed |Added Last reconfirmed||2020-11-25 Status|UNCONFIRMED

[Bug c++/97974] [9/10/11 Regression] ICE tree check: expected overload, have function_decl in get_class_binding_direct, at cp/name-lookup.c:1332

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

[Bug c++/97975] ICE unexpected expression '(int)A< >::b' of kind implicit_conv_expr

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

[Bug rtl-optimization/97978] [11 Regression] ICE in lra_assign, at lra-assigns.c:1648 since r11-5066-gbe39636d9f68c437

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97978 Martin Liška changed: What|Removed |Added Known to work||10.2.0 Target Milestone|---

[Bug tree-optimization/97979] [11 Regression]: Segmentation fault with "-O3 -fno-toplevel-reorder -fno-tree-ccp" since r11-5271-g4866b2f5db117f9e

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97979 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/97969] [9/10/11 Regression][ARM/Thumb] Certain combo of codegen options leads to compilation infinite loop with growing memory use

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969 Richard Biener changed: What|Removed |Added Component|c |target Keywords|

[Bug tree-optimization/97980] wrong code with "-O3 -fno-dce -fno-inline-functions-called-once -fno-inline-small-functions -fno-tree-ccp -fno-tree-dce -fno-tree-vrp" since r10-3311-gff6686d2e5f797d6

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97980 Martin Liška changed: What|Removed |Added Known to fail||10.2.0, 11.0 Known to work|

[Bug tree-optimization/97970] [11 regression] 'gcc.dg/gomp/pr82374.c scan-tree-dump-times vect "vectorized 1 loops" 2' for 32-bit x86

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

[Bug c/97971] [9/10/11 Regression] ICE in process_alt_operands, at lra-constraints.c:3110

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97971 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.4 Keywords|

[Bug rtl-optimization/97972] [9/10/11 Regression] ICE in moving_insn_creates_bookkeeping_block_p, at sel-sched.c:2031 since r9-2064-gc4c5ad1d6d1e1e1f

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97972 Richard Biener changed: What|Removed |Added Target Milestone|8.5 |9.4 Component|c

[Bug c++/97973] [10/11 Regression] ICE in tsubst_copy_and_build, at cp/pt.c:19577 since r10-6170-g8a990ffafaaa1898

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97973 Richard Biener changed: What|Removed |Added Target Milestone|--- |10.3 Priority|P3

[Bug c++/97974] [9/10/11 Regression] ICE tree check: expected overload, have function_decl in get_class_binding_direct, at cp/name-lookup.c:1332

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

[Bug gcov-profile/93680] [GCOV] "do-while" structure in case statement leads to incorrect code coverage

2020-11-25 Thread sunil.kumar3 at ltts dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93680 Sunil Kumar changed: What|Removed |Added CC||sunil.kumar3 at ltts dot com --- Comment #

[Bug c++/97976] Optimization relating to NULL pointer assumptions in gcc 9.1

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

[Bug tree-optimization/97979] [11 Regression]: Segmentation fault with "-O3 -fno-toplevel-reorder -fno-tree-ccp" since r11-5271-g4866b2f5db117f9e

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97979 --- Comment #2 from Richard Biener --- /* Fold (X {&,^,|} C2) << C1 into (X << C1) {&,^,|} (C2 << C1) (X {&,^,|} C2) >> C1 into (X >> C1) & (C2 >> C1). */ (for shift (lshift rshift) (for bit_op (bit_and bit_xor bit_ior) (simplify (shift

[Bug tree-optimization/97980] [10/11 Regression] wrong code with "-O3 -fno-dce -fno-inline-functions-called-once -fno-inline-small-functions -fno-tree-ccp -fno-tree-dce -fno-tree-vrp" since r10-3311-g

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97980 Richard Biener changed: What|Removed |Added Summary|wrong code with "-O3|[10/11 Regression] wrong

[Bug target/97981] [11 regression] 32-bit x86 'gcc.dg/atomic/c11-atomic-exec-1.c' execution test

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97981 Richard Biener changed: What|Removed |Added Keywords||needs-bisection, wrong-code

[Bug bootstrap/57076] @ in the src directory name causes failure while building of gcc.info

2020-11-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57076 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/97962] ICE in build_over_call, at cp/call.c:8976

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97962 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org,

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-25 Thread chris2553 at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #13 from Chris Clayton --- (In reply to Martin Liška from comment #9) > Ok, so the question is: does it reproduce with the current master or now? Short answer: Yes, it does. A build done this morning (after pulling the latest change

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #14 from Martin Liška --- Thank you Chris, I can really confirm that. Working on that..

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned at

[Bug c/97982] New: integer casting after abs() causes undefined behavior

2020-11-25 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97982 Bug ID: 97982 Summary: integer casting after abs() causes undefined behavior Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug middle-end/97943] [11 Regression] ICE with __builtin_clear_padding on flexible array member

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97943 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a7285c8659689e9ade53fcb996b26d874455a4f3 commit r11-5329-ga7285c8659689e9ade53fcb996b26d874455a4f3 Author: Jakub Jelinek Date: We

[Bug middle-end/97943] [11 Regression] ICE with __builtin_clear_padding on flexible array member

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97943 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c/97982] integer casting after abs() causes undefined behavior

2020-11-25 Thread mytbk920423 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97982 --- Comment #1 from Iru Cai --- Hmm, I saw in the abs(3) that "Trying to take the absolute value of the most negative integer is not defined." But it's still strange to see a uint32->uint64_t cast results in a negative value.

[Bug c/97982] integer casting after abs() causes undefined behavior

2020-11-25 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97982 Andreas Schwab changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/97936] [11 Regression] 30_threads/latch/3.cc hangs

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ad9cbcee543ecccd79fa49dafcd925532d2ce210 commit r11-5330-gad9cbcee543ecccd79fa49dafcd925532d2ce210 Author: Jonathan Wakely Date:

[Bug target/94791] aarch64: -pg profiling is broken with pac-ret

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94791 --- Comment #5 from CVS Commits --- The releases/gcc-8 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:d4fcc365700f94fd15c67b30a3051aeabbb767bc commit r8-10641-gd4fcc365700f94fd15c67b30a3051aeabbb767bc Author: Szabolcs Nagy Da

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #14 from CVS Commits --- The releases/gcc-8 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:d4fcc365700f94fd15c67b30a3051aeabbb767bc commit r8-10641-gd4fcc365700f94fd15c67b30a3051aeabbb767bc Author: Szabolcs Nagy D

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #15 from CVS Commits --- The releases/gcc-8 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:de7352725acf209ebb3e4c647cd35e176062231a commit r8-10642-gde7352725acf209ebb3e4c647cd35e176062231a Author: Szabolcs Nagy D

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #16 from CVS Commits --- The releases/gcc-8 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:d5f58a0287d2bc4c0a84bf63cade069744ce3185 commit r8-10643-gd5f58a0287d2bc4c0a84bf63cade069744ce3185 Author: Szabolcs Nagy D

[Bug target/94891] aarch64: there is no way to strip PAC from a return address in c code

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94891 --- Comment #17 from CVS Commits --- The releases/gcc-8 branch has been updated by Szabolcs Nagy : https://gcc.gnu.org/g:74bffa9a325f7360dc9d105c2fc5719fe45164d3 commit r8-10644-g74bffa9a325f7360dc9d105c2fc5719fe45164d3 Author: Szabolcs Nagy D

[Bug libstdc++/97936] [11 Regression] 30_threads/latch/3.cc hangs

2020-11-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 --- Comment #7 from Jonathan Wakely --- This one was failing too: WARNING: 30_threads/semaphore/try_acquire_for.cc execution test program timed out. FAIL: 30_threads/semaphore/try_acquire_for.cc execution test I think that should be fixed by r1

[Bug bootstrap/97983] New: [11 Regression] Bootstrap failure on s390x-linux related to vec-perm-indices.c

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97983 Bug ID: 97983 Summary: [11 Regression] Bootstrap failure on s390x-linux related to vec-perm-indices.c Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: n

[Bug bootstrap/97983] [11 Regression] Bootstrap failure on s390x-linux related to vec-perm-indices.c

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97983 --- Comment #1 from Jakub Jelinek --- Created attachment 49623 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49623&action=edit vec-perm-indices.ii.xz The preprocessed file.

[Bug bootstrap/97983] [11 Regression] Bootstrap failure on s390x-linux related to vec-perm-indices.c

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97983 Jakub Jelinek changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org Target Mil

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

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

[Bug tree-optimization/97984] New: [10/11 Regression] Worse code for -O3 than -O2 on aarch64 vector multiply-add

2020-11-25 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97984 Bug ID: 97984 Summary: [10/11 Regression] Worse code for -O3 than -O2 on aarch64 vector multiply-add Product: gcc Version: unknown Status: UNCONFIRMED Keywords:

[Bug debug/97599] [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:812258b07c1a80e8dc79a0beb3ec0e17be62f5e5 commit r10-9076-g812258b07c1a80e8dc79a0beb3ec0e17be62f5e5 Author: Jakub Jelinek D

[Bug c/97958] ICE in build2, at tree.c:4868

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97958 --- Comment #5 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1cd47144fd250f37206c8e2a0cc7d51c25ad368c commit r10-9078-g1cd47144fd250f37206c8e2a0cc7d51c25ad368c Author: Jakub Jelinek D

[Bug target/97528] [9/10 Regression] ICE in decompose_automod_address, at rtlanal.c:6298 (arm-linux-gnueabihf)

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97528 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:05a3ab76e03ec6cff0bafb8495387b3a186785cc commit r10-9077-g05a3ab76e03ec6cff0bafb8495387b3a186785cc Author: Jakub Jelinek D

[Bug libstdc++/97936] [11 Regression] 30_threads/latch/3.cc hangs

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97936 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:a5ccfd04605d940daded7e95474389f1c7dfad61 commit r11-5331-ga5ccfd04605d940daded7e95474389f1c7dfad61 Author: Jonathan Wakely Date:

[Bug rtl-optimization/97978] [11 Regression] ICE in lra_assign, at lra-assigns.c:1648 since r11-5066-gbe39636d9f68c437

2020-11-25 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97978 --- Comment #2 from Roger Sayle --- The -fno-PIC isn't required, as -Os alone is sufficient to trigger this ICE. I'm not sure if unconditionally calling __builtin_unreachable qualifies as "valid-code" (or possibly an error condition) but lra_assi

[Bug libstdc++/97985] New: Simplify

2020-11-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97985 Bug ID: 97985 Summary: Simplify Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc++ Assignee: unassigned

[Bug tree-optimization/97984] [10/11 Regression] Worse code for -O3 than -O2 on aarch64 vector multiply-add

2020-11-25 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97984 Richard Biener changed: What|Removed |Added Version|unknown |11.0 Ever confirmed|0

[Bug target/91816] [8/9 Regression] Arm generates out of range conditional branches in Thumb2

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91816 --- Comment #5 from CVS Commits --- The master branch has been updated by Stam Markianos-Wright : https://gcc.gnu.org/g:bc771e6c3a2b1fe74328639a00531fc0c3923e43 commit r11-5332-gbc771e6c3a2b1fe74328639a00531fc0c3923e43 Author: Stam Markianos-Wr

[Bug target/91816] [8/9 Regression] Arm generates out of range conditional branches in Thumb2

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91816 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Stam Markianos-Wright : https://gcc.gnu.org/g:8804b6ae3da91f3baa82da2fe28090025d5717d3 commit r10-9079-g8804b6ae3da91f3baa82da2fe28090025d5717d3 Author: Stam Mar

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fddc7f0080f1f056c4d145451608ebd3e807422a commit r11-5364-gfddc7f0080f1f056c4d145451608ebd3e807422a Author: Richard Biener Date:

[Bug tree-optimization/97579] [11 Regression] ICE in gimple_expand_vec_cond_expr, at gimple-isel.cc:201 since r11-4123-g128f43cf679e5156

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

[Bug target/95908] [AArch64] wrong code with ILP32 and -fwrapv

2020-11-25 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95908 --- Comment #1 from Richard Earnshaw --- I'm sure the code we generate doesn't match your expectations. What's more, I don't think it's really practical to meet them. To do so would require emitting a mask operation after practically every ar

[Bug rtl-optimization/90249] [9/10/11 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2020-11-25 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 Stam Markianos-Wright changed: What|Removed |Added CC||stammark at gcc dot gnu.org

[Bug rtl-optimization/90249] [9/10/11 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2020-11-25 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 Stam Markianos-Wright changed: What|Removed |Added Assignee|stammark at gcc dot gnu.org|unassigned at gcc dot gnu

[Bug rtl-optimization/90249] [9/10/11 Regression] Code size regression on thumb2 due to sub-optimal register allocation starting with r265398

2020-11-25 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90249 --- Comment #14 from Stam Markianos-Wright --- Was reminded that this was still open after many months. Have fixed the commit and am in the process of backporting to gcc-8,9.(In reply to Stam Markianos-Wright from comment #12) > Was reminded that

[Bug rtl-optimization/95862] Failure to optimize usage of __builtin_mul_overflow to small __int128-based check

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95862 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:049ce9d233e2d865dc81a5042b1c28ee21d1c9d8 commit r11-5366-g049ce9d233e2d865dc81a5042b1c28ee21d1c9d8 Author: Jakub Jelinek Date: We

[Bug rtl-optimization/95862] Failure to optimize usage of __builtin_mul_overflow to small __int128-based check

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95862 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 95862, which changed state. Bug 95862 Summary: Failure to optimize usage of __builtin_mul_overflow to small __int128-based check https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95862 What|Removed

[Bug c/97986] New: ICE in force_constant_size when applying va_arg to VLA type

2020-11-25 Thread pascal_cuoq at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97986 Bug ID: 97986 Summary: ICE in force_constant_size when applying va_arg to VLA type Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pri

[Bug inline-asm/97987] New: FAIL: gcc.c-torture/compile/asmgoto-2.c

2020-11-25 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97987 Bug ID: 97987 Summary: FAIL: gcc.c-torture/compile/asmgoto-2.c Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm

[Bug target/94993] aarch64 incompatible with -mgeneral-regs-only

2020-11-25 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94993 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/93456] No overflow check in __atomic_futex_unsigned_base::_M_futex_wait_until

2020-11-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93456 --- Comment #7 from Jonathan Wakely --- (In reply to CVS Commits from comment #3) > * testsuite/30_threads/future/members/93456.cc: ...here. This test is failing for powerpc-darwin9, probably because I added overflow checks for the f

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #15 from Martin Liška --- Created attachment 49624 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49624&action=edit debugging patch All right it will be for Richi. I suspect it's a do_hoist_insertion. reduced test-case: $ cat

[Bug tree-optimization/97953] ICE (segfault) during GIMPLE pass: loopdone compiling libgcc/config/libbid/bid128_fma.c:190:1

2020-11-25 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 --- Comment #16 from Martin Liška --- Then you will see the following diff in optimized dump: --- good2020-11-25 16:27:16.795544128 +0100 +++ bad 2020-11-25 16:26:59.723620747 +0100 @@ -17022,7 +17022,6 @@ ;; Function rewrite_use_nonli

[Bug tree-optimization/97979] [11 Regression]: Segmentation fault with "-O3 -fno-toplevel-reorder -fno-tree-ccp" since r11-5271-g4866b2f5db117f9e

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

[Bug c++/96555] "template argument involves template parameter(s)" with dot or arrow operator in partial specialization

2020-11-25 Thread gcc-bugzilla at contacts dot eelis.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96555 Eelis changed: What|Removed |Added CC||gcc-bugzilla at contacts dot eelis

[Bug c++/97988] New: [C++20] Forward-declared class type declared inside requires-expression gives weird inconsistencies

2020-11-25 Thread arthur.j.odwyer at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97988 Bug ID: 97988 Summary: [C++20] Forward-declared class type declared inside requires-expression gives weird inconsistencies Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug debug/97989] New: -g3 somehow breaks -E

2020-11-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 Bug ID: 97989 Summary: -g3 somehow breaks -E Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee:

[Bug debug/97989] -g3 somehow breaks -E

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

[Bug rtl-optimization/95862] Failure to optimize usage of __builtin_mul_overflow to small __int128-based check

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95862 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b13dacdfb315675803982ad5a3098f7b55e6357a commit r11-5369-gb13dacdfb315675803982ad5a3098f7b55e6357a Author: Jakub Jelinek Date: We

[Bug tree-optimization/97990] New: ICE: ‘verify_type’ failed

2020-11-25 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97990 Bug ID: 97990 Summary: ICE: ‘verify_type’ failed Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c++/97976] Optimization relating to NULL pointer assumptions in gcc 9.1

2020-11-25 Thread peter at int19h dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97976 Peter Bisroev changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #5 from Peter Bisroev

[Bug bootstrap/97983] [11 Regression] Bootstrap failure on s390x-linux related to vec-perm-indices.c

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97983 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-11-25 Status|UNCONFIRME

[Bug debug/97989] -g3 somehow breaks -E

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

[Bug c/97991] New: ICE in c_parser_consume_token, at c/c-parser.c:850

2020-11-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97991 Bug ID: 97991 Summary: ICE in c_parser_consume_token, at c/c-parser.c:850 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/97991] ICE in c_parser_consume_token, at c/c-parser.c:850

2020-11-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97991 G. Steinmetz changed: What|Removed |Added Target||x86_64-pc-linux-gnu Keywords|

[Bug c/97992] New: ICE in subst_asm_stack_regs, at reg-stack.c:2264

2020-11-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97992 Bug ID: 97992 Summary: ICE in subst_asm_stack_regs, at reg-stack.c:2264 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #3 from Jakub Jelinek --- Plus the -P option is documented to inhibit only line markers, not are proprocessing directives like what -dD, -dM, -dN, -dI, -dU or -g3 emit.

[Bug c++/97993] New: [11 Regression] ICE tree check: expected tree_list, have error_mark in tsubst_copy_and_build, at cp/pt.c:19834

2020-11-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97993 Bug ID: 97993 Summary: [11 Regression] ICE tree check: expected tree_list, have error_mark in tsubst_copy_and_build, at cp/pt.c:19834 Product: gcc Version: 11.0

[Bug fortran/97864] Homebrew Operator Overload ICE

2020-11-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97864 --- Comment #7 from Iain Sandoe --- (In reply to Brad Richardson from comment #6) > I recently updated to Big Sur, and have xcode version 12.2, but this > initially occurred on Catalina. I don't know exactly which version of xcode > was installed

[Bug c++/97994] New: [11 Regression] ICE in nothrow_spec_p, at cp/except.c:1183

2020-11-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97994 Bug ID: 97994 Summary: [11 Regression] ICE in nothrow_spec_p, at cp/except.c:1183 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #4 from Stas Sergeev --- Jakub, people use "cc -E -Wp,-P $CFLAGS" as a generic preprocessor. $CFLAGS is needed to specify the includes, but all other options do never affect -E. But if CFLAGS contains -g3, you suddenly can't do that!

[Bug c++/97995] New: [11 Regression] ICE tree check: expected tree that contains 'typed' structure, have 'deferred_noexcept' in unify, at cp/pt.c:23473

2020-11-25 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97995 Bug ID: 97995 Summary: [11 Regression] ICE tree check: expected tree that contains 'typed' structure, have 'deferred_noexcept' in unify, at cp/pt.c:23473 Product: gcc

[Bug c/97992] ICE in subst_asm_stack_regs, at reg-stack.c:2264

2020-11-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97992 --- Comment #1 from Uroš Bizjak --- This is expected with invalid asm.

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #5 from Jakub Jelinek --- Then they just make bad assumptions. You can do: cc -E -Wp,-P $CFLAGS -g0 instead if you are sure CFLAGS don't include the -d[DMNIU] options nor e.g. -fdirectives-only.

[Bug target/97969] [9/10/11 Regression][ARM/Thumb] Certain combo of codegen options leads to compilation infinite loop with growing memory use

2020-11-25 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97969 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org

[Bug debug/97599] [8/9 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-11-25 Summary|[8/9/10/11

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #6 from Stas Sergeev --- (In reply to Jakub Jelinek from comment #5) > Then they just make bad assumptions. You can do: > cc -E -Wp,-P $CFLAGS -g0 > instead if you are sure CFLAGS don't include the -d[DMNIU] options nor e.g. > -fdire

[Bug bootstrap/97983] [11 Regression] Bootstrap failure on s390x-linux related to vec-perm-indices.c

2020-11-25 Thread vmakarov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97983 --- Comment #3 from Vladimir Makarov --- (In reply to Jakub Jelinek from comment #1) > Created attachment 49623 [details] > vec-perm-indices.ii.xz > > The preprocessed file. I've reproduced the problem. The emitted insn got wrong bb. The patch

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #7 from Jakub Jelinek --- Created attachment 49627 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49627&action=edit gcc11-pr97989.patch That can be handled by this patch. But we can't retroactively apply it to released version

[Bug libstdc++/97935] Missing subsumption in iterator category detection

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97935 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:9d908b7fc475b351622fa5630d4874068c789d70 commit r11-5381-g9d908b7fc475b351622fa5630d4874068c789d70 Author: Jonathan Wakely Date:

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #8 from Stas Sergeev --- Thanks, but what will this patch do? Will it allow the trailing -g0, or what? For example if you implement -d0 or alike to undo the effect of previously specified -dD, will this still break the release branch

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #9 from Jakub Jelinek --- It will allow -g0 at the end to override the earlier -g3 and not add -dD in that case.

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #10 from Stas Sergeev --- Ah, cool, thanks. Should this be re-opened?

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2020-11-25 Resolution|INVALID

[Bug tree-optimization/97956] [11 Regression] ICE in build2, at tree.c:4872 since r11-2709-g866626efd749ed3e

2020-11-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97956 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:aec2d6849160f92cd45f97d6c3bdd8808ab01fa6 commit r11-5382-gaec2d6849160f92cd45f97d6c3bdd8808ab01fa6 Author: Martin Sebor Date: Wed

[Bug tree-optimization/97956] [11 Regression] ICE in build2, at tree.c:4872 since r11-2709-g866626efd749ed3e

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

[Bug tree-optimization/94846] Failure to optimize jnc+inc into adc

2020-11-25 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94846 Uroš Bizjak changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug debug/97989] -g3 somehow breaks -E

2020-11-25 Thread stsp at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97989 --- Comment #12 from Stas Sergeev --- Will your patch also fix this: $ cpp -g3 -P -xc -g0 -

  1   2   >