[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 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 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) / siz

[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] "ma

[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*)': /z/gg/libstdc++-v3/testsuite/experimental/memory_res

[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 Prio

[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 0x10

[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 untested

[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 #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 * unit

[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 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 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. > > The

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 &bytes_read is always modified in the function (if it's n

[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: > bytes

[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 --- Commen

[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 do

[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 #11

[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 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: Mon

[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 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 r11-4393-g48722d158cbf692c24025e345

[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 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 Compo

[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 one

[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 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 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 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 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: Tu

[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: Tu

[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 result

[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: Tu

[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++/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 --- Comm

[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 --- Comment

[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 Status|UNCONFIRM

[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: Tu

[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 Status|UNCONFIRM

[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 --- Comm

[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++/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 Componen

[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: x86_64-

[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 https://www.reddit.com/r/cpp/comments/bhxx49/c20_string_literals_a

[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 c++/97591] Segmentation fault by non-type template parameters

2020-10-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97591 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[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

[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: UNCONFIRMED

[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&action=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 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 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 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 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 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 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 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 #3 from Martin Liška --- (In reply to Jan Hubicka from comment #2) > 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 :( I se

[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 bet

[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&action=edit preprocessed source, unreduced, gzipped Here's another example that produces this kind of warning, this time

[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 Prio

[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 #13 from Jan Hubicka --- > Yes, I noticed that right now :) Please attach me the patch here. Sorry for bogus patch. This one has chance to work. Honza

[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&action=edit Build log It's actually a partial cross compiler (-m32), please take a look at the build log.

[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 #14 from Martin Liška --- (In reply to Jan Hubicka from comment #13) > Created attachment 49450 [details] > fix > > > Yes, I noticed that right now :) Please attach me the patch here. > Sorry for bogus patch. This one has chance to

[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 #15 from Jan Hubicka --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 > > --- Comment #14 from Martin Liška --- > (In reply to Jan Hubicka from comment #13) > > Created attachment 49450 [details] > > fix > > > > > Yes, I no

[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 ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97593 --- Comment #4 from Jan Hubicka --- > I see. > Can you please take care of it? I will - as a natural punishment for cleaning this up :))

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

2020-10-27 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51577 --- Comment #17 from Nathan Sidwell --- ah, the logic to squirrel away lookups on a magic attribute list, records that nothing is found. But we don't preserve that negative lookup when injecting these lookups into the parameter binding. So we'l

[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 #4 from Vladimir Meremyanin --- Maybe but in the #95291 crash occurs when access member, and here when operator() is called. So probably both issues have a single cause.

[Bug gcov-profile/97594] [11 Regression] new test case gcc.dg/tree-prof/pr97461.c execution failure

2020-10-27 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97594 Richard Biener changed: What|Removed |Added Summary|new test case |[11 Regression] new test

[Bug gcov-profile/97594] [11 Regression] new test case gcc.dg/tree-prof/pr97461.c execution failure

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

[Bug tree-optimization/97595] New: [11 Regression] warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97595 Bug ID: 97595 Summary: [11 Regression] warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] Product: gcc Version: 11.0 Status: UNCONFIRMED Sev

[Bug tree-optimization/97595] [11 Regression] warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97595 --- Comment #2 from Jonathan Wakely --- Reduced: #include template void std::basic_iostream::swap(basic_iostream&); The preprocessed code is no smaller, but this should only generate code for the problematic function, not the entire class and

[Bug tree-optimization/97596] New: [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1535

2020-10-27 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97596 Bug ID: 97596 Summary: [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1535 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug tree-optimization/97595] [11 Regression] warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]

2020-10-27 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97595 --- Comment #1 from Jonathan Wakely --- Created attachment 49452 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=49452&action=edit preprocessed source, unreduced, gzipped

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

2020-10-27 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97417 --- Comment #5 from Jim Wilson --- Yes, the volatile is the problem. We need to disable some optimizations like the combiner to avoid breaking the semantics of volatile. However, if you try looking at other ports, like arm, you can see that the

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

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97586 --- Comment #16 from CVS Commits --- The master branch has been updated by Jan Hubicka : https://gcc.gnu.org/g:fe90c504416e6423c6a56f37a9265deabdb03de9 commit r11-4445-gfe90c504416e6423c6a56f37a9265deabdb03de9 Author: Jan Hubicka Date: Tue O

[Bug gcov-profile/97594] [11 Regression] new test case gcc.dg/tree-prof/pr97461.c execution failure

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97594 --- Comment #2 from Martin Liška --- (In reply to Martin Liška from comment #1) > Mine, I see a strange error: > > $ Program received signal SIGBUS, Bus error. > 0x3fffb7ceddbc in __GI__IO_link_in () from /lib64/libc.so.6 > Missing separate

[Bug c++/97597] New: [11 Regression] ICE in build_over_call, at cp/call.c:9034

2020-10-27 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Bug ID: 97597 Summary: [11 Regression] ICE in build_over_call, at cp/call.c:9034 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034

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

[Bug c++/97597] [11 Regression] ICE in build_over_call, at cp/call.c:9034

2020-10-27 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97597 Marek Polacek changed: What|Removed |Added CC||jason at gcc dot gnu.org Prior

[Bug tree-optimization/97596] [11 Regression] ICE in wide_int_to_tree_1, at tree.c:1535 r11-3685-gfcae5121154d1c33

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

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

2020-10-27 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97579 --- Comment #2 from Martin Liška --- (In reply to Richard Biener from comment #1) > So we have used_vec_cond_exprs == 1 and a V16SI eq/ne compare with a > vector(16) HImode result. We fall into > > gcc_assert (known_eq (GET_MODE_SIZE (mode),

[Bug c/97598] New: -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 Bug ID: 97598 Summary: -Wself-init alone fails to warn of a pointless assignment Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/97595] [11 Regression] bogus -Wstringop-overflow due to DECL_SIZE_UNIT underreporting field size

2020-10-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97595 Martin Sebor changed: What|Removed |Added CC||jason at gcc dot gnu.org Summa

[Bug target/97535] [9/10/11 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-10-27 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 --- Comment #5 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:0f801e0b6cc9f67c9a8983127e23161f6025c5b6 commit r11-4453-g0f801e0b6cc9f67c9a8983127e23161f6025c5b6 Author: Tamar Christina Date:

[Bug middle-end/19430] taking address of a var causes missing uninitialized warning (virtual PHI with MEM)

2020-10-27 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #35

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

2020-10-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 Bug ID: 97599 Summary: [8/9/10/11 Regression] missing unspecified_parameters DIE in DWARF for functions with variable arguments Product: gcc Version: 11.0 Status: UNCONFI

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

2020-10-27 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97599 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |8.5 CC|

[Bug target/97535] [9/10 Regression] On AArch64 memcpy expansion cannot handle length > 32-bit signed int max

2020-10-27 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97535 Tamar Christina changed: What|Removed |Added Summary|[9/10/11 Regression] On |[9/10 Regression] On

[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 Assignee|unass

[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 an

[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 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

  1   2   >