[Bug fortran/99711] Crash when reading an allocated character array in namelist

2021-03-23 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 --- Comment #10 from Steve Kargl --- On Wed, Mar 24, 2021 at 05:35:31AM +, sgk at troutmask dot apl.washington.edu wrote: > > What does -ftree-dump-original show? I wonder if gfortran is doing a > re-allocation on assignment when it

[Bug fortran/99711] Crash when reading an allocated character array in namelist

2021-03-23 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 --- Comment #9 from Steve Kargl --- On Wed, Mar 24, 2021 at 02:41:08AM +, jvdelisle at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 > > --- Comment #7 from Jerry DeLisle --- > Digging further within

[Bug c++/99745] New: ICE when parameter pack not expanded in bit field

2021-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99745 Bug ID: 99745 Summary: ICE when parameter pack not expanded in bit field Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/99711] Crash when reading an allocated character array in namelist

2021-03-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 --- Comment #8 from Jerry DeLisle --- I see nowhere in resolve.c (resolve_allocate_expr) any attempt to resolve the chraracter length. I think it has been missed. I have cc'ed Paul to see if he has any thoughts.

[Bug target/99744] New: __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99744 Bug ID: 99744 Summary: __attribute__ ((target("general-regs-only"))) doesn't work with GPR intrinsics Product: gcc Version: 11.0 Status: UNCONFIRMED Severity:

[Bug fortran/99711] Crash when reading an allocated character array in namelist

2021-03-23 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 --- Comment #7 from Jerry DeLisle --- Digging further within gfc_resolve_dt which is resolving the READ statement, one can find: (gdb) p *e->symtree.n.sym.ts.u.cl $31 = {length = 0x0, next = 0x0, length_from_typespec = false, backend_decl =

[Bug c++/99743] New: ICE Segmentation fault when use lambda init-capture in requires clause

2021-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99743 Bug ID: 99743 Summary: ICE Segmentation fault when use lambda init-capture in requires clause Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/99718] [11 regression] ICE in new test case gcc.target/powerpc/pr98914.c for 32 bits

2021-03-23 Thread luoxhu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99718 --- Comment #4 from luoxhu at gcc dot gnu.org --- Thanks, Jakub. It tested pass on both m32/m64, is this a reasonable fix? @segher, will make it a patch if so. git diff diff --git a/gcc/config/rs6000/predicates.md

[Bug c++/99742] New: Parameter packs not expanded with nested requirements

2021-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99742 Bug ID: 99742 Summary: Parameter packs not expanded with nested requirements Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #31 from Worx --- I use this Gentoo configuration : CHOST="i586-pc-linux-gnu" CFLAGS="-march=c3 -m3dnow -O2 -pipe -fomit-frame-pointer" CXXFLAGS="${CFLAGS}" Here you are a comment shared in the below link : Warning: Do not use any

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #30 from Worx --- (In reply to H.J. Lu from comment #28) > (In reply to Worx from comment #27) > > (gdb) disass/r (0x0804f547 - 2), +32 > > Dump of assembler code from 0x804f545 to 0x804f565: > >0x0804f545: 00 00 add

[Bug target/99733] darwin: missing ':' in error message about munmap

2021-03-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 --- Comment #3 from Roland Illig --- (In reply to Iain Sandoe from comment #2) > Personally, I would have preferred "'pch_address_space' : " but that > triggers another warning about punctuation in diagnostics. So I left the > colon out (on

[Bug target/97329] POWER9 default cache and line sizes appear to be wrong

2021-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97329 --- Comment #10 from Segher Boessenkool --- GCC 11 stage 4 will be fine. I doubt you can ever measure a difference, but you can try :-)

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #29 from Jakub Jelinek --- I think not i586 but i486, at least unless processor_alias_table is inaccurate. c3 with mmx/3dnow and not sse is {"c3", PROCESSOR_I486, CPU_NONE, PTA_MMX | PTA_3DNOW, 0, P_NONE},

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #28 from H.J. Lu --- (In reply to Worx from comment #27) > (gdb) disass/r (0x0804f547 - 2), +32 > Dump of assembler code from 0x804f545 to 0x804f565: >0x0804f545: 00 00 add%al,(%eax) > => 0x0804f547: 0f 44 44 24 14 cmove

[Bug libfortran/99740] floating point exception in rand() in gfortran

2021-03-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99740 kargl at gcc dot gnu.org changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug target/99581] [11 Regression] internal compiler error: during RTL pass: final - void QTWTF::TCMalloc_PageHeap::scavengerThread() since r11-7526

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99581 --- Comment #18 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:be70bb5e4babdf9d3d33e8f4658452038407fa8e commit r11-7807-gbe70bb5e4babdf9d3d33e8f4658452038407fa8e Author: Vladimir N. Makarov

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #27 from Worx --- (gdb) disass/r (0x0804f547 - 2), +32 Dump of assembler code from 0x804f545 to 0x804f565: 0x0804f545: 00 00 add%al,(%eax) => 0x0804f547: 0f 44 44 24 14 cmove 0x14(%esp),%eax 0x0804f54c: c7 04 24 18

[Bug libfortran/99740] floating point exception in rand() in gfortran

2021-03-23 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99740 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2021-03-23 Ever

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #26 from Worx --- worx@c3eden ~ $ grep "^flags" /proc/cpuinfo | head -1 flags : fpu de tsc msr cx8 mtrr pge mmx 3dnow cpuid

[Bug target/99727] [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 since r11-6616-g25bef689

2021-03-23 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99727 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #25 from H.J. Lu --- (In reply to Worx from comment #24) > worx@c3eden ~ $ gdb ./sample.bin > GNU gdb (Gentoo 10.1 vanilla) 10.1 > Copyright (C) 2020 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later

[Bug c/99741] dllexport attribute is not compatible with c99 inline

2021-03-23 Thread aladjev.andrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99741 --- Comment #1 from Andrew Aladjev --- PS https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89088 is another issue that may be related to this one.

[Bug c/99741] New: dllexport attribute is not compatible with c99 inline

2021-03-23 Thread aladjev.andrew at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99741 Bug ID: 99741 Summary: dllexport attribute is not compatible with c99 inline Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #24 from Worx --- worx@c3eden ~ $ gdb ./sample.bin GNU gdb (Gentoo 10.1 vanilla) 10.1 Copyright (C) 2020 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free

[Bug target/99724] [11 Regression] CE in in extract_insn, at recog.c:2770

2021-03-23 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99724 --- Comment #6 from Christophe Lyon --- Looks good to me, thanks

[Bug libfortran/99740] New: floating point exception in rand() in gfortran

2021-03-23 Thread pvoytas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99740 Bug ID: 99740 Summary: floating point exception in rand() in gfortran Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/99739] New: [11 Regression] missing optimization of a repeated conditional

2021-03-23 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99739 Bug ID: 99739 Summary: [11 Regression] missing optimization of a repeated conditional Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #2) > Also, I think we're missing a warning about "fp" possibly being NULL, for > the case where the fopen fails. I've filed this as bug 99738.

[Bug analyzer/99738] New: RFE: analyzer should complain about unchecked FILE *

2021-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99738 Bug ID: 99738 Summary: RFE: analyzer should complain about unchecked FILE * Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-23 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #3 from Segher Boessenkool --- The only such __SIZEOF_* macro that is not about a standards-required type is for int128. Not the best example ;-) There are not predefines for __SIZEOF_FLOAT128__ etc. either. In an ideal world the

[Bug c++/99737] New: [modules] malloc(): smallbin double linked list corrupted

2021-03-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
Please submit a full bug report, with preprocessed 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 20210323 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This i

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

2021-03-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
list corrupted double-linked list g++: internal compiler error: Aborted signal terminated program cc1plus Please submit a full bug report, with preprocessed source if appropriate. See <https://gcc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210323 (experimental) Copyright (C) 202

[Bug c++/97848] [missed optimization] tls init function check emitted for consinit thread_local variables (C++20)

2021-03-23 Thread avi--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97848 --- Comment #1 from Avi Kivity --- Still bad on trunk. Clang gets this right: foo_good(): # @foo_good() movqx@GOTTPOFF(%rip), %rax movl%fs:(%rax), %eax retq set_foo(int):

[Bug translation/40883] [meta-bug] Translation breakage with trivial fixes

2021-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40883 Bug 40883 depends on bug 99733, which changed state. Bug 99733 Summary: darwin: missing ':' in error message about munmap https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 What|Removed |Added

[Bug target/99733] darwin: missing ':' in error message about munmap

2021-03-23 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 Iain Sandoe changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/99724] [11 Regression] CE in in extract_insn, at recog.c:2770

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

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #23 from H.J. Lu --- Created attachment 50464 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50464=edit A program Please run this and upload its output. If it fails to run, please show me the output of $ grep "^flags"

[Bug target/99733] darwin: missing ':' in error message about munmap

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 --- Comment #1 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:7af8ec508f8105a4c4ea94246c1c4c25596cf6a5 commit r11-7805-g7af8ec508f8105a4c4ea94246c1c4c25596cf6a5 Author: Iain Sandoe Date: Tue

[Bug c/29970] mixing ({...}) with VLA leads to massive breakage

2021-03-23 Thread tunagul29 at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 --- Comment #7 from Tuna Gül --- I guess i can post a workaround here This code doesnt compile: """ int main() { ({ unsigned int len = 10; struct { int array[len];

[Bug middle-end/99736] Statement expression (gcc extension) cannot return struct with variable length array

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

[Bug c/29970] mixing ({...}) with VLA leads to massive breakage

2021-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 Andrew Pinski changed: What|Removed |Added CC||tunagul29 at icloud dot com --- Comment

[Bug c/99736] Statement expression (gcc extension) cannot return struct (with variable length array) object

2021-03-23 Thread tunagul29 at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99736 --- Comment #1 from Tuna Gül --- Sorry for wrong compiler output This should be the compiler output (I dont know how to edit the original description) """ test.c: In function ‘main’: test.c:2:3: internal compiler error: in

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

2021-03-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283 --- Comment #7 from Nathan Sidwell --- found while reducing testcase * bd71889b901 2021-03-23 | c++: Note duplicates in symbol table [PR 99283]

[Bug fortran/99602] [11 regression] runtime error: pointer actual argument not associated

2021-03-23 Thread juergen.reuter at desy dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99602 --- Comment #32 from Jürgen Reuter --- Ready for merge?

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

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99283 --- Comment #6 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:bd71889b9017751e1a06970d20b28b9fe9479bdc commit r11-7804-gbd71889b9017751e1a06970d20b28b9fe9479bdc Author: Nathan Sidwell Date:

[Bug c/99736] New: Statement expression (gcc extension) cannot return struct with variable length array

2021-03-23 Thread tunagul29 at icloud dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99736 Bug ID: 99736 Summary: Statement expression (gcc extension) cannot return struct with variable length array Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[Bug target/99733] darwin: missing ':' in error message about munmap

2021-03-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug c++/99729] Tweak -Wdeprecated-declarations with namespaces

2021-03-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99729 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug testsuite/99731] g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory

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

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #55 from Jakub Jelinek --- Created attachment 50462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50462=edit gcc11-pr98860-2.patch And the noisy variant this.

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 Jakub Jelinek changed: What|Removed |Added Attachment #50460|0 |1 is obsolete|

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #53 from Jakub Jelinek --- Comment on attachment 50460 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50460 Slightly adjusted patch to fix errors Thanks for fixing my bugs, but there is another one: if (TARGET_PECOFF &&

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
algorithms: zlib gcc version 11.0.1 20210323 (experimental) (GCC) COLLECT_GCC_OPTIONS='-mno-gnu-attribute' '-mabi=ibmlongdouble' '-Wall' '-static-libgcc' '-v' '-dumpdir' 'a-' /home/test/gcc/ieee/libexec/gcc/powerpc64le-unknown-linux-gnu/11.0.1/cc1 -quiet -v 97653.c -quiet -dumpdir a- -dumpbase 97653.c

[Bug target/97653] Incorrect long double calculation with -mabi=ibmlongdouble

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97653 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #52 from jyong at gcc dot gnu.org --- Oops I need retest with optimizations enabled to see the debug sections emitted. On the other hand, the new adjusted patch detects the binutils bug fine, tested with new and old binutils.

[Bug testsuite/99731] g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory

2021-03-23 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99731 Nathan Sidwell changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment

[Bug debug/99334] Generated DWARF unwind table issue while on instructions where rbp is pointing to callers stack frame

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99334 --- Comment #8 from Jakub Jelinek --- I wonder about: --- gcc/dwarf2cfi.c.jj 2021-03-02 11:25:47.217727061 +0100 +++ gcc/dwarf2cfi.c 2021-03-23 17:34:58.240281522 +0100 @@ -2705,12 +2705,15 @@ scan_trace (dw_trace_info *trace, bool e

[Bug c++/99735] New: [modules] in system headers: non-template type ‘rebind_alloc’ used as a template

2021-03-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
mplate type ‘rebind_alloc’ used as a template 1133 | basic_string, _Alloc2> __str(__a); | ^ /usr/local/include/c++/11.0.1/bits/fs_path.h:1133:66: error: non-template type ‘rebind_alloc’ used as a template /usr/local/include/c++/11.0.1/filesystem: warning: not writing

[Bug c++/99730] gcc cannot choose the best overload resolution with constrained function

2021-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99730 --- Comment #3 from 康桓瑋 --- Really appreciate your reply and explanation.

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 jyong at gcc dot gnu.org changed: What|Removed |Added Attachment #50459|0 |1 is obsolete|

[Bug c++/99732] gcc accepts overload a member function without ref-qualifier with a member function with a ref-qualifier

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99732 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug target/99733] darwin: missing ':' in error message about munmap

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/99734] [modules] ICE in most_specialized_instantiation

2021-03-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
se_file() ../../gcc/gcc/c-family/c-opts.c:1218 Please submit a full bug report, with preprocessed 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 20210323 (experimental) Copyright

[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-23 Thread rjones at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 --- Comment #3 from Richard W.M. Jones --- FYI the original code is: https://github.com/libguestfs/libguestfs/blob/e0a11061035d47b118c95706240bcc17fd576edc/tests/mount-local/test-parallel-mount-local.c#L299-L335

[Bug c++/99734] New: [modules] ICE in most_specialized_instantiation

2021-03-23 Thread alexander.lelyakin at googlemail dot com via Gcc-bugs
cc.gnu.org/bugs/> for instructions. g++ (GCC) 11.0.1 20210323 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[Bug target/99733] New: darwin: missing ':' in error message about munmap

2021-03-23 Thread roland.illig at gmx dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99733 Bug ID: 99733 Summary: darwin: missing ':' in error message about munmap Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/99730] gcc cannot choose the best overload resolution with constrained function

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99730 --- Comment #2 from Jonathan Wakely --- See https://wg21.link/p2113 which was implemented in r11-1571

[Bug c++/99730] gcc cannot choose the best overload resolution with constrained function

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

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #50 from jyong at gcc dot gnu.org --- I'll try testing it out over the next few days, thanks for the patch.

[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 David Malcolm changed: What|Removed |Added Last reconfirmed||2021-03-23 Ever confirmed|0

[Bug c++/99732] New: gcc accepts overload a member function without ref-qualifier with a member function with a ref-qualifier

2021-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99732 Bug ID: 99732 Summary: gcc accepts overload a member function without ref-qualifier with a member function with a ref-qualifier Product: gcc Version: 11.0

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #49 from Jakub Jelinek --- Created attachment 50459 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50459=edit gcc11-pr98860.patch In that case this completely untested patch which could work, but no way to really test it

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #22 from H.J. Lu --- (In reply to Worx from comment #21) > Sorry about the dumb question, but how to know ? Run it under gdb and disassemble. It should show which instruction caused the problem.

[Bug testsuite/99731] New: g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99731 Bug ID: 99731 Summary: g++.dg/modules/alias-1_a.H: error: failed to read compiled module: No such file or directory Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #21 from Worx --- Sorry about the dumb question, but how to know ?

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #20 from H.J. Lu --- (In reply to Worx from comment #19) > It's seems that the patch fix the issue. > > Unfortunately, I have another error, but it's maybe i do not proper > configure "-march=c3" > > > > make[3]: Leaving

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #48 from jyong at gcc dot gnu.org --- Now that's an interesting trick I never thought of. There's LLVM based mingw, but I have never used nor do I know if it is relevant here. Gold is ELF only as far as I know, so it would never be

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-23 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #19 from Worx --- It's seems that the patch fix the issue. Unfortunately, I have another error, but it's maybe i do not proper configure "-march=c3" make[3]: Leaving directory '/opt/gcc/host-i686-pc-linux-gnu/libdecnumber'

[Bug c++/99730] New: gcc cannot choose the best overload resolution with constrained function

2021-03-23 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99730 Bug ID: 99730 Summary: gcc cannot choose the best overload resolution with constrained function Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug target/99593] [11 Regression] arm Neon ICE when compiling firefox (skia) since r11-6708

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99593 --- Comment #19 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6b1f841ce0ccf30eda7896ba5ab0aa94c72307b2 commit r11-7799-g6b1f841ce0ccf30eda7896ba5ab0aa94c72307b2 Author: Jakub Jelinek Date:

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #47 from Jakub Jelinek --- Does mingw/cygwin always use GNU binutils? At least for ld.bfd, a quick and reliable test could be $gcc_cv_ld --verbose 2>&1 | grep -q '\.debug_loclists.*BLOCK.*__section_alignment__.*NOLOAD.*:' &&

[Bug c++/99729] Tweak -Wdeprecated-declarations with namespaces

2021-03-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99729 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/99729] New: Tweak -Wdeprecated-declarations with namespaces

2021-03-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99729 Bug ID: 99729 Summary: Tweak -Wdeprecated-declarations with namespaces Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/99728] code pessimization when using wrapper classes around SIMD types

2021-03-23 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #8 from Jonathan Wakely --- It's landed r11-6935 aka g:2bcceb6fc59fcdaf51006d4fcfc71c2d26761396

[Bug c++/99318] [10 Regression] -Wdeprecated-declarations where non-should be?

2021-03-23 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99318 Marek Polacek changed: What|Removed |Added Summary|[10/11 Regression] |[10 Regression]

[Bug c++/99318] [10/11 Regression] -Wdeprecated-declarations where non-should be?

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99318 --- Comment #2 from CVS Commits --- The master branch has been updated by Marek Polacek : https://gcc.gnu.org/g:831f9f768eb1fbf9a31d9a89591188b1487b6376 commit r11-7789-g831f9f768eb1fbf9a31d9a89591188b1487b6376 Author: Marek Polacek Date:

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #46 from jyong at gcc dot gnu.org --- Is there a machine parsable output from objdump? I'm not sure if using gawk would be OK. Such a test also won't work in build != host conditions. I'm considering just having a notice in the

[Bug fortran/93660] Decl mismatch between fndecl TYPE and used arglist / ICE in ipa_simd_modify_function_body, at omp-simd-clone.c:993

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93660 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:212f4988f37ccf788c8c72b1dc952980bc9be3b7 commit r11-7788-g212f4988f37ccf788c8c72b1dc952980bc9be3b7 Author: Tobias Burnus Date:

[Bug middle-end/99714] warn about alloca/dealloc mismatches based on calls with same object in different functions

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

[Bug c++/99728] code pessimization when using wrapper classes around SIMD types

2021-03-23 Thread martin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #7 from Martin Reinecke --- Thanks! (BTW, I'm aware your code and will immediately switch to it once it lands in gcc! But for the time being I try to make do with my poor man's version to avoid the external dependency.)

[Bug c++/99728] code pessimization when using wrapper classes around SIMD types

2021-03-23 Thread kretz at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #6 from Matthias Kretz (Vir) --- > I guess I need it for unaligned loads/stores, correct? Otherwise __v4df > should work everywhere. 1. You can freely reinterpret_cast by value between all the different [[gnu::vector_size(N)]]

[Bug c++/99728] code pessimization when using wrapper classes around SIMD types

2021-03-23 Thread martin--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #5 from Martin Reinecke --- (In reply to Matthias Kretz (Vir) from comment #4) > FWIW, using std::experimental::native_simd also does not hoist the > stores out of the loop. However, if you pass d by value and return d, the > issue

[Bug target/99727] [11 Regression] MVE: ICE (segfault) in arm_print_operand at -O3 since r11-6616-g25bef689

2021-03-23 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99727 Alex Coplan changed: What|Removed |Added CC||clyon at gcc dot gnu.org

[Bug target/99582] No intrinsics to access rcl or rcr instruction on x86_64

2021-03-23 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99582 --- Comment #4 from cqwrteur --- (In reply to Alexander Monakov from comment #3) > RCL and RCR are supported via microcode sequencer on Intel and involve many > (9) uops on modern AMD, so they are quite slow in comparison to simple >

[Bug target/99582] No intrinsics to access rcl or rcr instruction on x86_64

2021-03-23 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99582 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug c++/99728] code pessimization when using wrapper classes around SIMD types

2021-03-23 Thread kretz at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99728 --- Comment #4 from Matthias Kretz (Vir) --- FWIW, using std::experimental::native_simd also does not hoist the stores out of the loop. However, if you pass d by value and return d, the issue goes away. So I guess this is an aliasing

[Bug bootstrap/98860] [11 Regression] bootstrap failure on MinGW-w64 windows 10

2021-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98860 --- Comment #45 from Jakub Jelinek --- I have tried the mingw gcc/binutils crosses we have in Fedora (gcc 10.2.1) and get: i686-w64-mingw32-objdump -h ./pr98860.exe ./pr98860.exe: file format pei-i386 Sections: Idx Name Size

[Bug target/99540] [10/11 Regression] ICE: Segmentation fault in aarch64_add_offset

2021-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99540 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:d7cea7ceff9a2be7436108030c598628c51fba0f commit r11-7787-gd7cea7ceff9a2be7436108030c598628c51fba0f Author: Richard Sandiford

[Bug analyzer/99714] warn about alloca/dealloc mismatches based on calls with same object in different functions

2021-03-23 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99714 --- Comment #1 from David Malcolm --- The C case in comment #0 doesn't look like what I think you meant to write, and the analyzer (correctly IMHO) complains about a leak: : In function 'init': :22:61: warning: leak of 'p' [CWE-401]

  1   2   >