[Bug c/97598] -Wself-init alone fails to warn of a pointless assignment

2020-10-27 Thread philiprbrenan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97598 --- Comment #1 from Philip R Brenan --- Created attachment 49454 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49454=edit Test case

[Bug c++/97601] New: ICE when using type determined by std::tuple_element_t<...>, on tuple generated from type id stored in std::array

2020-10-27 Thread milasudril at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97601 Bug ID: 97601 Summary: ICE when using type determined by std::tuple_element_t<...>, on tuple generated from type id stored in std::array Product: gcc Version:

[Bug libfortran/97581] libgfortran/intrinsics/random.c:754: bad array size ?

2020-10-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97581 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug rtl-optimization/97497] gcse wrong code generation with partial register clobbers

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97497 --- Comment #8 from CVS Commits --- The master branch has been updated by Andreas Krebbel : https://gcc.gnu.org/g:2b3e722a3ca1b9dcfff1c016e651d0d681de1af0 commit r11-4460-g2b3e722a3ca1b9dcfff1c016e651d0d681de1af0 Author: Andreas Krebbel Date:

[Bug preprocessor/97602] New: #line overflow check incomplete

2020-10-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97602 Bug ID: 97602 Summary: #line overflow check incomplete Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal Priority: P3

[Bug libstdc++/97600] New: [ranges] result of static assertion depends on unrelated statement

2020-10-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97600 Bug ID: 97600 Summary: [ranges] result of static assertion depends on unrelated statement Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/97592] Incorrectly set pointer remapping with array pointer argument to CONTIGUOUS dummy

2020-10-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97592 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/97491] Wrong restriction for VALUE arguments of pure procedures

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a764c40079a493826a3678174f908941a383644e commit r11-4459-ga764c40079a493826a3678174f908941a383644e Author: Harald Anlauf Date:

[Bug libstdc++/97600] [ranges] result of static assertion depends on unrelated statement

2020-10-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97600 --- Comment #2 from Patrick Palka --- I think all views whose begin()/end() has a placeholder return type and performs direct initialization of a _Iterator/_Sentinel from *this are affected by some variant of this issue. A library-side

[Bug libstdc++/97600] [ranges] result of static assertion depends on unrelated statement

2020-10-27 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97600 Patrick Palka changed: What|Removed |Added Known to fail||10.2.0, 11.0 --- Comment #1 from

[Bug fortran/97491] Wrong restriction for VALUE arguments of pure procedures

2020-10-27 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97491 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread aoliva at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #17 from Alexandre Oliva --- Created attachment 49456 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49456=edit fix for riscv targets > Still broken Sorry, it's the first I hear of this problem on riscv. The fix is

[Bug target/97606] New: internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-10-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97606 Bug ID: 97606 Summary: internal compiler error: in extract_constrain_insn, at recog.c:2196 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/97608] New: -Wanalyzer-malloc-leak false positive when returning p+1 instead of p

2020-10-27 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97608 Bug ID: 97608 Summary: -Wanalyzer-malloc-leak false positive when returning p+1 instead of p Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug preprocessor/97604] New: Bad digit separators accepted in pp-numbers

2020-10-27 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97604 Bug ID: 97604 Summary: Bad digit separators accepted in pp-numbers Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: rejects-valid Severity: normal

[Bug rtl-optimization/97607] New: Spurious sign extension

2020-10-27 Thread elronnd at elronnd dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97607 Bug ID: 97607 Summary: Spurious sign extension Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization

[Bug target/96892] [ARM]Wrong __stack_chk_guard for comparison

2020-10-27 Thread dongjianqiang2 at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96892 --- Comment #3 from John Dong --- (In reply to Thomas Preud'homme from comment #2) > Wouldn't it be enough to add: > > "emit_move_insn (operands[3], gen_rtx_MEM(SImode, operands[3]));" > > just before the line "if (TARGET_32BIT)" in

[Bug gcov-profile/97461] [11 Regression] allocate_gcov_kvp() deadlocks in firefox LTO+PGO build (overridden malloc() recursion)

2020-10-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97461 --- Comment #13 from Sergei Trofimovich --- Tried firefox-82 with LTO+PGO today on gcc-11-4428-g4a369d199bf. It gets a lot more forward, but still gets stuck. This time on free()->allocate_gcov_kvp ()->alloc() deadloc. The backtrace: (gdb) bt

[Bug driver/97574] Allow for nul output with Windows

2020-10-27 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97574 --- Comment #4 from Tamar Christina --- Submitted a patch to get the driver to stop mangling nul so it makes it easier for binutils to detect. That said Jonathan is right in that there's still a binutils bug here. I had forgotten that even

[Bug tree-optimization/97603] New: Failure to optimize out compare into reuse of subtraction result

2020-10-27 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97603 Bug ID: 97603 Summary: Failure to optimize out compare into reuse of subtraction result Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/97605] New: unused conditionally freed allocation not eliminated

2020-10-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97605 Bug ID: 97605 Summary: unused conditionally freed allocation not eliminated Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/97606] internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-10-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97606 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

[Bug tree-optimization/97609] New: [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708

2020-10-27 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97609 Bug ID: 97609 Summary: [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708

[Bug tree-optimization/97603] Failure to optimize out compare into reuse of subtraction result

2020-10-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97603 --- Comment #1 from Hongtao.liu --- Shouldn't it be marked as target issue for x86?

[Bug tree-optimization/97603] Failure to optimize out compare into reuse of subtraction result

2020-10-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97603 --- Comment #2 from Hongtao.liu --- (In reply to Hongtao.liu from comment #1) > Shouldn't it be marked as target issue for x86? Or you means that middle-end should transform code to int g(); int f(int a, int b) { int c = a - b; if (c)

[Bug c++/97610] New: [10/11] template argument deduction fails for function with defaulted lambda as non-type-template parameter

2020-10-27 Thread lutztonineubert at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97610 Bug ID: 97610 Summary: [10/11] template argument deduction fails for function with defaulted lambda as non-type-template parameter Product: gcc Version: 11.0 Status:

[Bug tree-optimization/97472] [11 Regression] Another EVRP problem since r11-3685-gfcae5121154d1c33

2020-10-27 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97472 --- Comment #2 from Arseny Solokha --- I cannot reproduce it w/ gcc-11.0.0-alpha20201025 snapshot.

[Bug target/97457] [10/11 Regression] SVE: wrong code since r10-4752-g2d56600c

2020-10-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97457 rsandifo at gcc dot gnu.org changed: What|Removed |Added Ever confirmed|0 |1

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #16 from Eric Botcazou --- > It's actually a partial cross compiler (-m32), please take a look at the > build log. What's this beast exactly? I'm afraid the build log is useless here, it would be better to post the configure line

[Bug rtl-optimization/97540] [11 Regression] ICE in lra_set_insn_recog_data, at lra.c:1004 since r11-4202-g4de7b010038933dd

2020-10-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97540 --- Comment #4 from Hongtao.liu --- Created attachment 49445 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49445=edit Don't extract memory from operand for normal memory constraint. I'm testing this patch.

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560 --- Comment #5 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:18cb6195fda69ea8ab8b8a5290dd8c9f8d52b0e6 commit r11-4404-g18cb6195fda69ea8ab8b8a5290dd8c9f8d52b0e6 Author: Aldy Hernandez Date:

[Bug target/97532] [11 Regression] Error: insn does not satisfy its constraints, internal compiler error: in extract_constrain_insn, at recog.c:2196

2020-10-27 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97532 --- Comment #10 from Hongtao.liu --- Created attachment 49444 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49444=edit Fix invalid address for special memory constraint I'm testing this patch.

[Bug gcov-profile/97461] [11 Regression] allocate_gcov_kvp() deadlocks in firefox LTO+PGO build (overridden malloc() recursion)

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97461 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:14e19b82c1e67ead60c3095ac23347317298904b commit r11-4423-g14e19b82c1e67ead60c3095ac23347317298904b Author: Martin Liska Date:

[Bug gcov-profile/97461] [11 Regression] allocate_gcov_kvp() deadlocks in firefox LTO+PGO build (overridden malloc() recursion)

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97461 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #14 from seurer at gcc dot gnu.org --- Builds fine for me on powerpc64 LE and BE.

[Bug tree-optimization/80928] SLP vectorization does not handle induction in outer loop vectorization

2020-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80928 --- Comment #31 from Richard Biener --- The following is a testcase triggering the /* FORNOW: outer loop induction with SLP not supported. */ if (STMT_SLP_TYPE (stmt_info)) return false; test: double image[40]; void foo

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #13 from Eric Botcazou --- This builds for me on powerpc64-linux, so I gather it's on powerpc64le-linux?

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #12 from Eric Botcazou --- > It still fails for me with g:2118438f49f0c193abe3fa3def350a8129045746 > Commit Date: Mon Oct 26 19:05:53 2020 +0100 The PowerPC64 issue is different, let me have a quick look at it.

[Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #10 from Jan Hubicka --- Hi, this is patch that moves updates to WPA time. Does it work for you? Honza

Re: [Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread Jan Hubicka
Hi, this is patch that moves updates to WPA time. Does it work for you? Honza 2020-10-27 Jan Hubicka * ipa-modref.c (modref_summaries_lto::duplicate): Check that no clones happens after modref. (modref_transform): Rename to ... (update_signature): ... this

[Bug other/97417] RISC-V Unnecessary andi instruction when loading volatile bool

2020-10-27 Thread jiawei at iscas dot ac.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #4 from jiawei --- I had did some tests with this problem and find: foo.c #include extern volatile bool active; int foo(void) { if (!active) { return 42; } else { return -42; } } code generated in foo.s foo:

[Bug tree-optimization/97567] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-27 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 --- Comment #4 from H.J. Lu --- (In reply to CVS Commits from comment #3) > The master branch has been updated by Andrew Macleod : > > https://gcc.gnu.org/g:48722d158cbf692c24025e345ec570f66aa5 > > commit

[Bug fortran/97589] New: Segementation fault when allocating coarrays.

2020-10-27 Thread toon at moene dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97589 Bug ID: 97589 Summary: Segementation fault when allocating coarrays. Product: gcc Version: coarray_native Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #5 from Martin Liška --- One can trigger it only with one debug counter value: -fdbg-cnt=ipa_mod_ref:869-869 (and multiple LTRANS partitions). The only changed function is in: comp_unit_maybe_decode_line_info (struct comp_unit *

Re: [Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread Jan Hubicka
> So the _bfd_safe_read_leb128.constprop removes the first unused argument: > ... > > But the analysis is bogus: > > ipa-modref: call to _bfd_safe_read_leb128.constprop/17919 does not clobber > ref: > bytes_read alias sets: 7->7 > > The _read is always modified in the function (if it's

[Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #8 from Jan Hubicka --- > So the _bfd_safe_read_leb128.constprop removes the first unused argument: > ... > > But the analysis is bogus: > > ipa-modref: call to _bfd_safe_read_leb128.constprop/17919 does not clobber > ref: >

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-27 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #2 from Bernd Edlinger --- Thanks for reporting this. The expansion of assignments to misaligned ssa names does not handle the case of misaligned stores, which would result in incorrect code without the assertion. I have an

[Bug tree-optimization/97588] Overzealous SRA of boolean bitfields

2020-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97588 Richard Biener changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #7 from Martin Liška --- So the _bfd_safe_read_leb128.constprop removes the first unused argument: bfd_vma _bfd_safe_read_leb128 (bfd *abfd ATTRIBUTE_UNUSED, bfd_byte *data, unsigned int

[Bug libfortran/97581] libgfortran/intrinsics/random.c:754: bad array size ?

2020-10-27 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97581 --- Comment #2 from David Binderman --- (In reply to anlauf from comment #1) > No, this would be definitely wrong. Agreed. > If the original code does not make you happy, do you think sth. along > > #define SZ (SZU64 * (sizeof (uint64_t) /

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto=jobserver since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Summary|[11 Regression]

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2020-10-27 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 --- Comment #12 from Rimvydas (RJ) --- Missing #include in testsuite gives /z/gg/libstdc++-v3/testsuite/experimental/memory_resource/new_delete_resource.cc: In function 'bool aligned(void*)':

[Bug tree-optimization/97588] New: Overzealous SRA of boolean bitfields

2020-10-27 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97588 Bug ID: 97588 Summary: Overzealous SRA of boolean bitfields Product: gcc Version: 10.2.1 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #4 from Martin Liška --- So e.g. addr2line is miscompiled: $ as --32 --compress-debug-sections -o compress.o /tmp/binutils-gdb/gas/testsuite/gas/i386/dw2-compress-2.s The .s file is part of the test-suite. $ ./addr2line 0x0

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #6 from Martin Liška --- Points to the following statements: ../bfd/../../bfd/dwarf2.c:2321:13 https://sourceware.org/git/?p=binutils-gdb.git;a=blob;f=bfd/dwarf2.c;h=977bf43a6a181d97fa3ae71329478f9f263b090f;hb=HEAD#l2321

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-27 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #3 from rguenther at suse dot de --- On Tue, 27 Oct 2020, bernd.edlinger at hotmail dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 > > --- Comment #2 from Bernd Edlinger --- > Thanks for reporting this. > >

[Bug tree-optimization/87952] Missed optimization for std::get_if on std::variant

2020-10-27 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87952 Giuseppe D'Angelo changed: What|Removed |Added CC||dangelog at gmail dot com ---

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto=jobserver

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #2 from Martin Liška --- I'm going to analyze it.

[Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #9 from Martin Liška --- > There is code in modref-transform that is supposed to update the > summary. It produces debug output about it, but to be honest I am not > sure where it will land since we now materialize lazily. Can you

[Bug lto/97586] [11 Regression] "make check" failures in binutils with -flto=jobserver

2020-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment

[Bug analyzer/97568] -fanalyzer assumes that an extern const pointer is NULL

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97568 --- Comment #3 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:16ad9ae85bb5b9acf80f9d1cf2be5a989ef7ba49 commit r11-4437-g16ad9ae85bb5b9acf80f9d1cf2be5a989ef7ba49 Author: David Malcolm Date:

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||zhonghao at pku dot org.cn ---

[Bug c++/86577] non-ADL name lookup for operator<< at instantiation time?

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86577 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug analyzer/97568] -fanalyzer assumes that an extern const pointer is NULL

2020-10-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97568 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/97592] New: Incorrectly set pointer remapping with array pointer argument to CONTIGUOUS dummy

2020-10-27 Thread reubendb at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97592 Bug ID: 97592 Summary: Incorrectly set pointer remapping with array pointer argument to CONTIGUOUS dummy Product: gcc Version: og10 (devel/omp/gcc-10) Status:

[Bug tree-optimization/97567] [11 Regression] wrong code at -Os and above on x86_64-pc-linux-gnu

2020-10-27 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97567 --- Comment #5 from Andrew Macleod --- Created attachment 49448 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49448=edit Adjust test case for 32 bit change the testcase type to long long to avoid issues on 32 bit targets.

[Bug middle-end/92942] missing -Wstringop-overflow for allocations with a negative lower bound size

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92942 --- Comment #3 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:c0b09c1296d5334d1d264ba4d39ca932f9572330 commit r11-4441-gc0b09c1296d5334d1d264ba4d39ca932f9572330 Author: Martin Sebor Date: Tue

[Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #11 from Jan Hubicka --- > Hi, > this is patch that moves updates to WPA time. Does it work for you? Actually it won't help, since it updates only non-lto summary. I am testing better patch, sorry for that. Honza

Re: [Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread Jan Hubicka
> Hi, > this is patch that moves updates to WPA time. Does it work for you? Actually it won't help, since it updates only non-lto summary. I am testing better patch, sorry for that. Honza

[Bug ipa/97593] [11 Regression] ICE in gt_pch_nx, at symbol-summary.h:290 since r11-4329-g67f3791f7d133214

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97593 --- Comment #1 from Martin Liška --- The original commit was sent here: https://gcc.gnu.org/legacy-ml/gcc-patches/2019-10/msg01745.html Git commit: g:315d42482cf3

[Bug testsuite/97590] New: new test case g++.dg/pr97560.C compilation errors

2020-10-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97590 Bug ID: 97590 Summary: new test case g++.dg/pr97560.C compilation errors Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug testsuite/97590] new test case g++.dg/pr97560.C compilation errors

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97590 --- Comment #2 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:31ec7242e1ff1e8da376ec9ffef10b07ac562881 commit r11-4430-g31ec7242e1ff1e8da376ec9ffef10b07ac562881 Author: Jakub Jelinek Date:

[Bug tree-optimization/97560] [11 Regression] ICE: tree check: expected tree that contains 'decl common' structure, have 'component_ref' in tree_could_trap_p, at tree-eh.c:2708 since r11-3685

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97560 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:31ec7242e1ff1e8da376ec9ffef10b07ac562881 commit r11-4430-g31ec7242e1ff1e8da376ec9ffef10b07ac562881 Author: Jakub Jelinek Date:

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 --- Comment #14 from Jonathan Wakely --- P.S. if that failure only appeared recently it would be more useful to mail the libstdc++ list than to add a comment to an old bug that hasn't been touched in years.

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug c++/70099] Function found by ADL, but shouldn't be visible at point of definition

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70099 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||tonvandenheuvel at gmail dot com ---

[Bug c++/83035] Using decltype fails with an operator using non-ADL lookup

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83035 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug analyzer/96608] Build failure due to cast to type long on MinGW

2020-10-27 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96608 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/97591] Segmentation fault by non-type template parameters

2020-10-27 Thread v.stiff at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97591 --- Comment #1 from Vladimir Meremyanin --- g++-10 -v Using built-in specs. COLLECT_GCC=/usr/local/Cellar/gcc/10.2.0/bin/g++-10 COLLECT_LTO_WRAPPER=/usr/local/Cellar/gcc/10.2.0/libexec/gcc/x86_64-apple-darwin19/10.2.0/lto-wrapper Target:

[Bug c++/97591] New: Segmentation fault by non-type template parameters

2020-10-27 Thread v.stiff at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97591 Bug ID: 97591 Summary: Segmentation fault by non-type template parameters Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/97593] [11 Regression] ICE in gt_pch_nx, at symbol-summary.h:290 since r11-4329-g67f3791f7d133214

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

[Bug middle-end/92942] missing -Wstringop-overflow for allocations with a negative lower bound size

2020-10-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92942 Martin Sebor changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug ipa/97593] New: [11 Regression] ICE in gt_pch_nx, at symbol-summary.h:290 since r11-4329-g67f3791f7d133214

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97593 Bug ID: 97593 Summary: [11 Regression] ICE in gt_pch_nx, at symbol-summary.h:290 since r11-4329-g67f3791f7d133214 Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2020-10-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 92942, which changed state. Bug 92942 Summary: missing -Wstringop-overflow for allocations with a negative lower bound size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92942 What|Removed

[Bug other/97594] New: new test case gcc.dg/tree-prof/pr97461.c execution failure

2020-10-27 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97594 Bug ID: 97594 Summary: new test case gcc.dg/tree-prof/pr97461.c execution failure Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug ada/97504] [11 Regression] Ada bootstrap error after r11-4029

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97504 --- Comment #15 from Martin Liška --- Created attachment 49451 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49451=edit Build log It's actually a partial cross compiler (-m32), please take a look at the build log.

[Bug target/97205] arm: Compiler fails with an ICE for -O0 on Trunk and GCC-10 for _Generic feature.

2020-10-27 Thread sripar01 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97205 --- Comment #4 from SRINATH PARVATHANENI --- (In reply to Bernd Edlinger from comment #2) > Thanks for reporting this. > > The expansion of assignments to misaligned ssa names > does not handle the case of misaligned stores, which > would

[Bug c++/97584] ADL inconsistency when calling the stream operator with x << y or with operator<<(x,y)

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

[Bug c++/51577] dependent name lookup finds operator in global namespace

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 Jonathan Wakely changed: What|Removed |Added CC||andrea_iob at hotmail dot com ---

[Bug c++/97591] Segmentation fault by non-type template parameters

2020-10-27 Thread v.stiff at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97591 --- Comment #2 from Vladimir Meremyanin --- Program source: // /usr/local/Cellar/gcc/10.2.0/bin/g++-10 -std=c++20 type-level-routes.cpp #include #include // FixedString from

[Bug ipa/97593] [11 Regression] ICE in gt_pch_nx, at symbol-summary.h:290 since r11-4329-g67f3791f7d133214

2020-10-27 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97593 --- Comment #2 from Jan Hubicka --- Hmm, this is anoying: we can not store summary to PCH. I guess we want to collect thunks to a vector and annotate them to callgraph at finalization time :(

[Bug c++/86465] [8/9/10/11 Regression] C++17 triggers: ‘’ may be used uninitialized in this function

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86465 --- Comment #10 from Jonathan Wakely --- Created attachment 49449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49449=edit preprocessed source, unreduced, gzipped Here's another example that produces this kind of warning, this time from

[Bug ipa/97586] [11 Regression] "make check" failures in binutils with -flto since r11-3641-gc34db4b6f8a5d803

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #12 from Martin Liška --- (In reply to Jan Hubicka from comment #11) > > Hi, > > this is patch that moves updates to WPA time. Does it work for you? > Actually it won't help, since it updates only non-lto summary. I am > testing

[Bug testsuite/97590] new test case g++.dg/pr97560.C compilation errors

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

[Bug libstdc++/70940] pmr::resource_adaptor requires optional allocator requirements and incorrectly aligns returned pointers.

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70940 --- Comment #13 from Jonathan Wakely --- Should be fixed at g:01079b6a9236bd467b445fafaff2659840789a85

[Bug analyzer/97514] [11 Regression] ICE in add_function_entry, at analyzer/engine.cc:1958

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97514 --- Comment #5 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:ea0ae4e77a89d4a0492dcbbc13e9cbc19bcc2361 commit r11-4433-gea0ae4e77a89d4a0492dcbbc13e9cbc19bcc2361 Author: David Malcolm Date:

[Bug c++/95291] ICE in resolve_args at gcc/cp/call.c:4482

2020-10-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95291 Marek Polacek changed: What|Removed |Added CC||v.stiff at gmail dot com --- Comment #6

  1   2   >