[Bug c++/99274] [modules] Error compiling some system headers: "wrong number of template arguments (1, should be 2)"

2021-03-12 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
._M_put(__ws, __len); | ^~ /usr/local/include/c++/11.0.1/regex: At global scope: /usr/local/include/c++/11.0.1/regex: warning: not writing module ‘/usr/local/include/c++/11.0.1/regex’ due to errors g++ (GCC) 11.0.1 20210312 (experimental) Copyright (C) 2021 Free Software Fou

[Bug c++/99558] wrong argument types reported for "no matching function" error message if ctor argument is a variable

2021-03-12 Thread jfhart085 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99558 --- Comment #2 from J. Hart --- Thank you very much for your kind attention and assistance. I had thought it was indicating a reference rather than an lvalue. Your correction is most useful and appreciated. I deliberately introduced the sec

[Bug c++/99283] [modules] ICE in assert_definition, at cp/module.cc:4608

2021-03-12 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
rce if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210312 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-03-12 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99238, which changed state. Bug 99238 Summary: [modules] internal compiler error: segmentation fault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238 What|Removed |Added --

[Bug c++/99238] [modules] internal compiler error: segmentation fault

2021-03-12 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210312 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. Th

[Bug other/89863] [meta-bug] Issues in gcc that other static analyzers (cppcheck, clang-static-analyzer, PVS-studio) find that gcc misses

2021-03-12 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89863 Bug 89863 depends on bug 99553, which changed state. Bug 99553 Summary: libgo/misc/cgo/testcarchive/testdata/main_unix.c:39: suspicious compare ? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99553 What|Removed

[Bug go/99553] libgo/misc/cgo/testcarchive/testdata/main_unix.c:39: suspicious compare ?

2021-03-12 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99553 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/99571] New: ICE for NTTP with pointer to array of union

2021-03-12 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99571 Bug ID: 99571 Summary: ICE for NTTP with pointer to array of union Product: gcc Version: 11.0 URL: https://godbolt.org/z/rsc6fs Status: UNCONFIRMED Keywords: ice-on-

[Bug go/99553] libgo/misc/cgo/testcarchive/testdata/main_unix.c:39: suspicious compare ?

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99553 --- Comment #2 from CVS Commits --- The master branch has been updated by Ian Lance Taylor : https://gcc.gnu.org/g:3972574f11e5d49f12ad88faf2346f77ffc6e523 commit r11-7655-g3972574f11e5d49f12ad88faf2346f77ffc6e523 Author: Ian Lance Taylor Date

[Bug target/99570] New: internal error in extract_constrain_insn

2021-03-12 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99570 Bug ID: 99570 Summary: internal error in extract_constrain_insn Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/99569] New: segfault when running a module

2021-03-12 Thread ryan.burn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99569 Bug ID: 99569 Summary: segfault when running a module Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ As

[Bug c++/99543] ICE module compilation ../../gcc/toplev.c:327

2021-03-12 Thread ryan.burn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99543 ryan.burn at gmail dot com changed: What|Removed |Added Resolution|--- |FIXED Status|WAI

[Bug c++/99543] ICE module compilation ../../gcc/toplev.c:327

2021-03-12 Thread ryan.burn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99543 --- Comment #2 from ryan.burn at gmail dot com --- it worked with root@15a43977d8e1:/t/hdr-mod# g++ --version g++ (GCC) 11.0.1 20210311 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for co

[Bug c++/99568] New: ICE when compiling basic module: internal compiler error: in module_may_redeclare, at cp/module.cc:18453

2021-03-12 Thread ryan.burn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99568 Bug ID: 99568 Summary: ICE when compiling basic module: internal compiler error: in module_may_redeclare, at cp/module.cc:18453 Product: gcc Version: unknown Status: UNCO

[Bug fortran/93762] Truncation of deferred-length string when passing as optional

2021-03-12 Thread neil.n.carlson at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93762 --- Comment #4 from Neil Carlson --- It would be great if somebody possessing the necessary skills could invest the time to fix this. For me this is bug breaks a common usage pattern of including optional stat, errmsg arguments to procedure inter

[Bug analyzer/95188] analyzer-unsafe-call-within-signal-handler shows wrong statement for signal registration event

2021-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95188 David Malcolm changed: What|Removed |Added Blocks||99390 --- Comment #13 from David Malcolm

[Bug analyzer/96894] State explosion on gdb's fibheap.c

2021-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96894 David Malcolm changed: What|Removed |Added Blocks||99390 --- Comment #4 from David Malcolm

[Bug analyzer/95758] Various issues when compiling glibc regex.c

2021-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95758 David Malcolm changed: What|Removed |Added Blocks||99390 Summary|-Wanalyzer-use-

[Bug fortran/99112] [11 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2646

2021-03-12 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99112 --- Comment #4 from anlauf at gcc dot gnu.org --- A simple one-liner on top of Paul's patch fixes it: diff --git a/gcc/fortran/trans-intrinsic.c b/gcc/fortran/trans-intrinsic.c index 9cf3642f694..5e53d1162fa 100644 --- a/gcc/fortran/trans-intrins

[Bug rtl-optimization/99567] New: internal error in extract_constrain_insn with asan-stack

2021-03-12 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99567 Bug ID: 99567 Summary: internal error in extract_constrain_insn with asan-stack Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Prior

[Bug c++/99566] New: designated initialization rejects explicit constructor

2021-03-12 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99566 Bug ID: 99566 Summary: designated initialization rejects explicit constructor Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug analyzer/93355] Analyzer -Wanalysis-too-complex on intl/localealias.c due to poor call summarization

2021-03-12 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93355 David Malcolm changed: What|Removed |Added Summary|Missing diagnostic for |Analyzer |missing fclo

[Bug c++/99565] New: Bogus identical branches warning when returning references to union members

2021-03-12 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99565 Bug ID: 99565 Summary: Bogus identical branches warning when returning references to union members Product: gcc Version: 11.0 URL: https://godbolt.org/z/9qaz9W

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/99561] gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 --- Comment #3 from Steve Kargl --- On Fri, Mar 12, 2021 at 06:39:49PM +, kargl at gcc dot gnu.org wrote: > --- Comment #1 from kargl at gcc dot gnu.org --- > (In reply to Michal Paszta from comment #0) > > In this line of code: > > > > INTE

[Bug fortran/99561] gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 --- Comment #2 from kargl at gcc dot gnu.org --- (In reply to kargl from comment #1) > (In reply to Michal Paszta from comment #0) > > In this line of code: > > > > INTEGER(KIND=1) :: var8 = 257_2 > > > > we try to cast an integer of kind 2 (16

[Bug fortran/99561] gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 kargl at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |INVALID Status|UNC

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99238, which changed state. Bug 99238 Summary: [modules] internal compiler error: segmentation fault https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238 What|Removed |Added --

[Bug c++/99238] [modules] internal compiler error: segmentation fault

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/99238] [modules] internal compiler error: segmentation fault

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238 --- Comment #5 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:6e885ad3287388192e52e9b524dbaa408507c0a4 commit r11-7651-g6e885ad3287388192e52e9b524dbaa408507c0a4 Author: Nathan Sidwell Date:

[Bug lto/58203] memset/memcpy are discarded with -flto

2021-03-12 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58203 Andrew Pinski changed: What|Removed |Added CC||kabel at blackhole dot sk --- Comment #3

[Bug lto/99559] LTO with -Os -ffreestanding -nodefaultlibs may generate call to memcpy, but fail linking even though memcpy is defined

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

[Bug target/99422] [11 Regression] ICE in extract_constrain_insn building glibc pthread_create

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99422 --- Comment #28 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:d8b84e2771fc2495493d0c66c3cba714484757d7 commit r11-7650-gd8b84e2771fc2495493d0c66c3cba714484757d7 Author: Eric Botcazou Date: F

[Bug target/99563] [10/11 Regression] Code miscompilation caused by _mm256_zeroupper()

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99563 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Prior

[Bug target/99564] New: [nvptx] FAIL: libgomp.oacc-fortran/derivedtypes-arrays-1.f90 -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 (test for excess errors)

2021-03-12 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99564 Bug ID: 99564 Summary: [nvptx] FAIL: libgomp.oacc-fortran/derivedtypes-arrays-1.f90 -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 (test f

[Bug sanitizer/96307] [10 Regression] ICE in sanopt on riscv64 since r11-2283-g2ca1b6d009b194286c3ec91f9c51cc6b0a475458

2021-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96307 Andreas Schwab changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug other/99496] [11 regression] g++.dg/modules/xtreme-header-3_c.C ICEs after r11-7557

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99496 --- Comment #10 from Nathan Sidwell --- thanks, sadly even that's not triggering it for me on a ppc system. I think I'm going to have to make the specialization hasher really stupid

[Bug debug/99562] Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated.

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

[Bug target/99563] New: Code miscompilation caused by _mm256_zeroupper()

2021-03-12 Thread andysem at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99563 Bug ID: 99563 Summary: Code miscompilation caused by _mm256_zeroupper() Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/99562] Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated.

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99562 --- Comment #2 from Jakub Jelinek --- Caused by the (IMHO incorrect) PR66728 changes. We have 2 spots that fill in dw_loc_oprnd?.v.val_wide: mem_loc_result = new_loc_descr (dwarf_OP (DW_OP_const_type), 0, 0); mem_loc_result->d

[Bug target/99555] [OpenMP/nvptx] Execution-time hang for simple nested OpenMP 'target'/'parallel'/'task' constructs

2021-03-12 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99555 --- Comment #1 from Tom de Vries --- I see this as well: ... PASS: libgomp.c/../libgomp.c-c++-common/task-detach-6.c (test for excess errors) WARNING: program timed out. ...

[Bug debug/99562] Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated.

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99562 --- Comment #1 from Jakub Jelinek --- Indeed: .LLST40: .quad .LVL14 # Location list begin address (*.LLST40) .quad .LVL24 # Location list end address (*.LLST40) .value 0x12# Location expression size .byt

[Bug debug/99562] Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated.

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

[Bug debug/99562] New: Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated.

2021-03-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99562 Bug ID: 99562 Summary: Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated. Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/96749] [coroutines] unexpected 'warning: statement has no effect [-Wunused-value]'

2021-03-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96749 Iain Sandoe changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug fortran/99514] incorrect Error: Threadprivate at (1) isn't SAVEd ( implicit save via DATA initialization )

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99514 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:d0655763483008a421608d059cf26c93077621a9 commit r11-7649-gd0655763483008a421608d059cf26c93077621a9 Author: Tobias Burnus Date: Fr

[Bug fortran/98858] OpenMP offload target data ICE at use_device_ptr

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98858 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0b5437510c13dc0879349a4f259c800d2ce02eb2 commit r11-7648-g0b5437510c13dc0879349a4f259c800d2ce02eb2 Author: Tobias Burnus Date: Fr

[Bug c++/98704] coroutine_handle::done() == false after promise's unhandled_exception() has thrown

2021-03-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98704 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/88899] Derived type IO in conjunction with openmp fails with invalid memory read

2021-03-12 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88899 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug c++/98480] [coroutines] ICE on co_await in for-loop end condition.

2021-03-12 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98480 Iain Sandoe changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |iains at gcc dot gnu.org Last rec

[Bug sanitizer/96307] [10 Regression] ICE in sanopt on riscv64 since r11-2283-g2ca1b6d009b194286c3ec91f9c51cc6b0a475458

2021-03-12 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96307 --- Comment #10 from Andreas Schwab --- This disables the CC_HAS_KASAN_GENERIC config of the kernel, making KASAN unavailable.

[Bug c++/99238] [modules] internal compiler error: segmentation fault

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99238 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/99560] aarch64: ICE (segfault) in LRA with SVE intrinsics

2021-03-12 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99560 ktkachov at gcc dot gnu.org changed: What|Removed |Added Component|target |rtl-optimization Last rec

[Bug target/99321] [11 Regression] ICE: in extract_constrain_insn, at recog.c:2670: insn does not satisfy its constraints: {*uminv16qi3} since r11-7121-g37876976b0511ec9

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

[Bug target/99321] [11 Regression] ICE: in extract_constrain_insn, at recog.c:2670: insn does not satisfy its constraints: {*uminv16qi3} since r11-7121-g37876976b0511ec9

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99321 --- Comment #9 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:3bb345c9313ad8f6a6c24abd7d5eaa11413bbe22 commit r11-7646-g3bb345c9313ad8f6a6c24abd7d5eaa11413bbe22 Author: Jakub Jelinek Date: Fr

[Bug fortran/99561] New: gfortran reports an error for a truncation that is permitted by the standard

2021-03-12 Thread michal.paszta at mobica dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99561 Bug ID: 99561 Summary: gfortran reports an error for a truncation that is permitted by the standard Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: n

[Bug lto/99559] LTO with -Os -ffreestanding -nodefaultlibs may generate call to memcpy, but fail linking even though memcpy is defined

2021-03-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99559 Richard Biener changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99240, which changed state. Bug 99240 Summary: [modules] ICE in get_merge_kind, at cp/module.cc:10169 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99240 What|Removed |Added -

[Bug c++/99240] [modules] ICE in get_merge_kind, at cp/module.cc:10169

2021-03-12 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99240 Nathan Sidwell changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug ipa/93385] [10/11 Regression] wrong code with u128 modulo at -O2 -fno-dce -fno-ipa-cp -fno-tree-dce

2021-03-12 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93385 --- Comment #40 from Martin Jambor --- I have adjusted the patches a little and re-posted them as https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566681.html and https://gcc.gnu.org/pipermail/gcc-patches/2021-March/566682.html .

[Bug c++/99240] [modules] ICE in get_merge_kind, at cp/module.cc:10169

2021-03-12 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99240 --- Comment #2 from Alexander Lelyakin --- Not seen anymore in version 20210311.

[Bug fortran/96495] [gfortran] Composition of user-defined operators does not copy ALLOCATABLE property of derived type

2021-03-12 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96495 Martin Liška changed: What|Removed |Added CC||here.is.a.gcc.bug at gmail dot com --- C

[Bug fortran/99549] Segfault when scalar argument of elemental function is both derived type with allocatable component and a function result

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

[Bug target/99542] [9/10/11 Regression] ICE in exact_div, at poly-int.h:2219

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99542 --- Comment #3 from Jakub Jelinek --- Created attachment 50374 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50374&action=edit gcc11-pr99542.patch Untested fix. There is another difference from i386, for !TREE_PUBLIC (node->decl) the i38

[Bug tree-optimization/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

2021-03-12 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 --- Comment #5 from rguenther at suse dot de --- On Fri, 12 Mar 2021, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 > > --- Comment #4 from Jakub Jelinek --- > Created attachment 50373 > --> https://gcc

[Bug target/99542] [9/10/11 Regression] ICE in exact_div, at poly-int.h:2219

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99542 --- Comment #2 from Jakub Jelinek --- (In reply to Arseny Solokha from comment #0) > (Is it the exact reason the testcase has /* { dg-options "-O0 -fno-openmp > -fno-openmp-simd" } */?) No, the reason for that is that it is the auxiliary source

[Bug target/99542] [9/10/11 Regression] ICE in exact_div, at poly-int.h:2219

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

[Bug target/99560] aarch64: ICE (segfault) in LRA with SVE intrinsics

2021-03-12 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99560 Alex Coplan changed: What|Removed |Added Target Milestone|--- |10.3 Keywords|

[Bug tree-optimization/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 --- Comment #4 from Jakub Jelinek --- Created attachment 50373 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50373&action=edit gcc11-pr99544.patch Patch that implements the *.pd part but not the expansion part (perhaps that can be done in

[Bug tree-optimization/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

2021-03-12 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 --- Comment #3 from Richard Biener --- (In reply to Jakub Jelinek from comment #2) > I think this is another case that the PR98287 proposed patch would fix, > again after vec lowering some pass (seems vrp2 in this case), this time it > is the > /

[Bug target/99560] New: aarch64: ICE (segfault) in LRA with SVE intrinsics

2021-03-12 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99560 Bug ID: 99560 Summary: aarch64: ICE (segfault) in LRA with SVE intrinsics Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99544 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/99307] FAIL: gfortran.dg/class_assign_4.f90 execution test

2021-03-12 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99307 --- Comment #7 from Dominique d'Humieres --- The patch works for me. Thanks!

[Bug target/99544] [11 Regression] ICE in expand_mult, at expmed.c:3582

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

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-03-12 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #2 from Alexander Lelyakin --- There is a shorter sequence: g++ -std=c++20 -fmodules-ts -x c++-system-header unordered_map g++ -std=c++20 -fmodules-ts -x c++-system-header deque g++ -std=c++20 -fmodules-ts -x c++-system-header condit

[Bug lto/99559] New: LTO with -Os -ffreestanding -nodefaultlibs may generate call to memcpy, but fail linking even though memcpy is defined

2021-03-12 Thread kabel at blackhole dot sk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99559 Bug ID: 99559 Summary: LTO with -Os -ffreestanding -nodefaultlibs may generate call to memcpy, but fail linking even though memcpy is defined Product: gcc Version

[Bug c++/99558] wrong argument types reported for "no matching function" error message if ctor argument is a variable

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

[Bug debug/99490] [11 Regression] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.0 Summary|-gdwarf-5 -gspli

[Bug c++/99507] Can't return static address from immediate function

2021-03-12 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99507 --- Comment #3 from Jakub Jelinek --- Fixed on the trunk so far. Should be backported to 10 later.

[Bug c++/99507] Can't return static address from immediate function

2021-03-12 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99507 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:425afe1f0c907e6469cef1672160c9c95177e71a commit r11-7645-g425afe1f0c907e6469cef1672160c9c95177e71a Author: Jakub Jelinek Date: Fr

[Bug debug/99490] -gdwarf-5 -gsplit-dwarf puts .debug_rnglists to main file, not .dwo file

2021-03-12 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99490 --- Comment #17 from Jan Kratochvil --- Yes, the testcase TestTypeCompletion.py category 'dwo' is now fixed with the patch from Comment 15.

[Bug c++/99558] New: wrong argument types reported for "no matching function" error message if ctor argument is a variable

2021-03-12 Thread jfhart085 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99558 Bug ID: 99558 Summary: wrong argument types reported for "no matching function" error message if ctor argument is a variable Product: gcc Version: 10.2.0 Status: UNCONFIR