[Bug analyzer/97668] [11 Regression] ICE in cmp_cst, at analyzer/svalue.cc:283

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

[Bug inline-asm/97667] [11 Regression] a bug in asm_operand_ok() recog.c:1801

2020-11-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97667 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug tree-optimization/97666] [11 Regression] bootstrap fail for powerpc-darwin while building libgfortran after r11-4485

2020-11-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97666 Richard Biener changed: What|Removed |Added Target Milestone|--- |11.0 --- Comment #1 from Richard Biener

[Bug ipa/97660] [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

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

[Bug middle-end/97656] Specify that there is no address arithmetic on a pointer

2020-11-01 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97656 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug tree-optimization/96967] [11 Regression] ICE in decompose, at wide-int.h:984

2020-11-01 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 Christophe Lyon changed: What|Removed |Added CC||clyon at gcc dot gnu.org --- Comment #

[Bug target/96767] -mpure-code produces indirect loads for thumb-1

2020-11-01 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96767 Christophe Lyon changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/97650] ICE: tree check: expected ssa_name, have addr_expr in vect_get_and_check_slp_defs, at tree-vect-slp.c:533 with "-Os -ftree-slp-vectorize -fallow-store-data-races"

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

[Bug target/96770] -mpure-code produces suboptimal code for relocations with small offset for thumb-1

2020-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96770 --- Comment #2 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:c3c3e2c9e88e25a410a2fe089782b094e911bb39 commit r11-4599-gc3c3e2c9e88e25a410a2fe089782b094e911bb39 Author: Christophe Lyon Date:

[Bug tree-optimization/96967] [11 Regression] ICE in decompose, at wide-int.h:984

2020-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96967 --- Comment #4 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:4d9af90d6a216822fe117337fb9836ba656dc3af commit r11-4598-g4d9af90d6a216822fe117337fb9836ba656dc3af Author: Christophe Lyon Date:

[Bug analyzer/97668] New: [11 Regression] ICE in cmp_cst, at analyzer/svalue.cc:283

2020-11-01 Thread asolokha at gmx dot com via Gcc-bugs
nternal compiler error: in cmp_cst, at analyzer/svalue.cc:283 0x71ef8e cmp_cst /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha20201101/work/gcc-11-20201101/gcc/analyzer/svalue.cc:283 0x18aca58 cmp1 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-11.0.0_alpha202011

[Bug inline-asm/97667] New: a bug in asm_operand_ok() recog.c:1801

2020-11-01 Thread huntazhang at tencent dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97667 Bug ID: 97667 Summary: a bug in asm_operand_ok() recog.c:1801 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: inline-asm

[Bug tree-optimization/97666] [11 Regression] bootstrap fail for powerpc-darwin while building libgfortran after r11-4485

2020-11-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97666 Iain Sandoe changed: What|Removed |Added Keywords||ice-on-valid-code Target|

[Bug tree-optimization/97666] New: [11 Regression] bootstrap fail for powerpc-darwin while building libgfortran after r11-4485

2020-11-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97666 Bug ID: 97666 Summary: [11 Regression] bootstrap fail for powerpc-darwin while building libgfortran after r11-4485 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/97665] constexpr union array member incorrectly rejected as non-constexpr

2020-11-01 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97665 --- Comment #1 from Luke Dalessandro --- (In reply to Luke Dalessandro from comment #0) > GCC currently rejects the following code snippet, where it infers the > constexpr definition of V as non-constexpr. The definition of `v`, not the type `V

[Bug c++/97665] New: constexpr union array member incorrectly rejected as non-constexpr

2020-11-01 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97665 Bug ID: 97665 Summary: constexpr union array member incorrectly rejected as non-constexpr Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/97660] [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

2020-11-01 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97660 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain Buclaw : https://gcc.gnu.org/g:895fdc1f4c9ff1dfb18b80af838aa353363edb40 commit r11-4592-g895fdc1f4c9ff1dfb18b80af838aa353363edb40 Author: Iain Buclaw Date: Sun No

[Bug c++/97663] [c++17] Function with return type 'unsigned' in nested namespace misinterpreted as deduction guide

2020-11-01 Thread ville.voutilainen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97663 Ville Voutilainen changed: What|Removed |Added CC||jason at redhat dot com

[Bug ipa/97660] [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

2020-11-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97660 --- Comment #4 from Iain Buclaw --- Suggested fix https://gcc.gnu.org/pipermail/gcc-patches/2020-November/557691.html

[Bug ipa/97660] [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

2020-11-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97660 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #2 from

[Bug ipa/97660] [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

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

[Bug bootstrap/97662] [11 Regression] r11-4587 breaks non-bootstrap build

2020-11-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97662 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug target/97025] In -m32 mode the alignment of pointers returned by malloc or operator new is less than alignof(std::max_align_t)

2020-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97025 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/97664] New: constexpr evaluation incorrectly accepts non-constant destruction

2020-11-01 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97664 Bug ID: 97664 Summary: constexpr evaluation incorrectly accepts non-constant destruction Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug c++/97663] New: [c++17] Function with return type 'unsigned' in nested namespace misinterpreted as deduction guide

2020-11-01 Thread hans.dembinski at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97663 Bug ID: 97663 Summary: [c++17] Function with return type 'unsigned' in nested namespace misinterpreted as deduction guide Product: gcc Version: 10.2.0 Status: UNCONFIRMED

[Bug c/97578] ice during IPA pass: inline

2020-11-01 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97578 --- Comment #5 from Jan Hubicka --- Hi, this patch fixes the ICE, though I think we do have a design issue here while producing debug info across ltrans boundary. Martin, Jakub: as discussed on IRC it would be nice to add predicate when the body

Re: [Bug c/97578] ice during IPA pass: inline

2020-11-01 Thread Jan Hubicka
Hi, this patch fixes the ICE, though I think we do have a design issue here while producing debug info across ltrans boundary. Martin, Jakub: as discussed on IRC it would be nice to add predicate when the body is really needed and avoid materializing if it is not. Can you add one? Something like

[Bug bootstrap/97662] New: [11 Regression] r11-4587 breaks non-bootstrap build

2020-11-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97662 Bug ID: 97662 Summary: [11 Regression] r11-4587 breaks non-bootstrap build Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/97661] New: Bogus error message about initializing a using declaration

2020-11-01 Thread markus.boeck02 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97661 Bug ID: 97661 Summary: Bogus error message about initializing a using declaration Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prio

[Bug ipa/97660] [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

2020-11-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97660 --- Comment #1 from Iain Buclaw --- The call statement being looked at by cgraph_edge::redirect_call_stmt_to_callee is: # .MEM = VDEF <.MEM> _47 = __sync_val_compare_and_swap_8 (ptr_45, 0, new_node.0_46); cgraph_node::get returns NULL on

[Bug c++/96504] [coroutines] Use after free in std::__n4861::coroutine_handle::done()

2020-11-01 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96504 --- Comment #5 from Iain Sandoe --- (In reply to H.J. Lu from comment #4) > __builtin_coro_resume and __builtin_coro_destroy delete the memory. > Everything goes downhill after it. thanks for the analysis - I will hopefully take a look later.

[Bug c++/96504] [coroutines] Use after free in std::__n4861::coroutine_handle::done()

2020-11-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96504 H.J. Lu changed: What|Removed |Added Target Milestone|--- |10.3

[Bug c++/96504] [coroutines] Use after free in std::__n4861::coroutine_handle::done()

2020-11-01 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96504 --- Comment #4 from H.J. Lu --- __builtin_coro_resume and __builtin_coro_destroy delete the memory. Everything goes downhill after it.

[Bug ipa/97660] New: [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587

2020-11-01 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97660 Bug ID: 97660 Summary: [11 Regression] ICE: Segmentation fault in function_summary::get(cgraph_node*) since r11-4587 Product: gcc Version: 11.0 Status

[Bug fortran/97655] gcc/fortran/openmp.c:4133: possible cut'n'paste error ?

2020-11-01 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97655 --- Comment #3 from Tobias Burnus --- (In reply to Jakub Jelinek from comment #2) > Guess the second condition should be !c->capture. I concur. > Now, something I have clearly missed in the review, why is capture not part > of atomic_op? capt

[Bug libstdc++/97659] Invalid pointer subtraction in vector::insert() (reported by pointer-subtract AddressSanitizer)

2020-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97659 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/97659] Invalid pointer subtraction in vector::insert() (reported by pointer-subtract AddressSanitizer)

2020-11-01 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97659 --- Comment #5 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #3) > That sanitizer diagnoses > http://eel.is/c++draft/expr.add#5.3 > which still seems UB. Not since http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0593r

[Bug libstdc++/97659] Invalid pointer subtraction in vector::insert() (reported by pointer-subtract AddressSanitizer)

2020-11-01 Thread chfast at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97659 --- Comment #4 from Paweł Bylica --- I'd like to explain some things here (to my best knowledge): 1. The "pointer-subtract" checks is ASan extension, not enabled by default. When running with this check enabled in my application I have not detec

[Bug bootstrap/96735] --enable-maintainer-mode broken

2020-11-01 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96735 Thomas Koenig changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING