[Bug target/100432] gcc arm compilation binary output is bigger with -Os than -O2

2021-05-05 Thread xicojovor at dropjar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100432 --- Comment #2 from xicojovor at dropjar dot com --- The minimal example is: int main(void) { return 0; } void* get_self_address(void) { return (void*)get_self_address; } compiled with -marm -Os -fPIC working good (maybe not the

[Bug rtl-optimization/100342] [10/11 Regression] wrong code with -O2 -fno-dse -fno-forward-propagate -mno-sse2

2021-05-05 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100342 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment

[Bug c++/99692] Lookup for operator<< skips global scope

2021-05-05 Thread skaniskin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99692 Sergey Kaniskin changed: What|Removed |Added Component|libstdc++ |c++ --- Comment #8 from Sergey

[Bug target/100217] [11/12 Regression] ICE when building valgrind testsuite with -march=z14 since r11-7552

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100217 --- Comment #15 from CVS Commits --- The releases/gcc-11 branch has been updated by Ilya Leoshkevich : https://gcc.gnu.org/g:445ce3cfb6832ec838caa10f2337c3bd00213517 commit r11-8360-g445ce3cfb6832ec838caa10f2337c3bd00213517 Author: Ilya

[Bug target/100266] [RISCV] Provide programmatic implementation of CAS

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100266 --- Comment #2 from CVS Commits --- The master branch has been updated by Jim Wilson : https://gcc.gnu.org/g:e1fcf14f33e4f371aae8ae497ca58a760d53ca6d commit r12-527-ge1fcf14f33e4f371aae8ae497ca58a760d53ca6d Author: Christoph Muellner Date:

[Bug c++/100441] New: [ICE] output_constant_pool_2, at varasm.c:3955

2021-05-05 Thread tim at klingt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100441 Bug ID: 100441 Summary: [ICE] output_constant_pool_2, at varasm.c:3955 Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-05-05 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug bootstrap/100373] [12 Regression] Darwin, Compare-debug fail after r12-248-gb58dc0b803057

2021-05-05 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100373 --- Comment #12 from Iain Sandoe --- (In reply to Richard Biener from comment #11) > Created attachment 50759 [details] > updated patch > > Fixed missing setting of wi.stmt in lower_emutls_phi_arg I regstrapped r12-248+ first patch (I added

[Bug fortran/100440] New: allocated() gives True for unallocated variable

2021-05-05 Thread dsmith at lmu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 Bug ID: 100440 Summary: allocated() gives True for unallocated variable Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100402 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/99234] [10/11 regression] wrong result for 1.0/3.0 with -O2 -fno-omit-frame-pointer -frounding-math

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/99234] [10/11 regression] wrong result for 1.0/3.0 with -O2 -fno-omit-frame-pointer -frounding-math

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/99234] [10/11 regression] wrong result for 1.0/3.0 with -O2 -fno-omit-frame-pointer -frounding-math

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/99234] [10/11 regression] wrong result for 1.0/3.0 with -O2 -fno-omit-frame-pointer -frounding-math

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
* config/i386/i386.c (ix86_compute_frame_layout): For a SEH target, always return the establisher frame for __builtin_frame_address (0). gcc/testsuite/ * gcc.c-torture/execute/20210505-1.c: New test.

[Bug tree-optimization/100404] Unable to disable removal of null pointer checks for nonnull function arguments

2021-05-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100404 --- Comment #7 from Andrew Pinski --- There is a way from keeping the compiler from knowing what the value of the incoming pointer is to hide it behind an inline-asm which does nothing: int __attribute__ ((nonnull)) isnull(char *ptr) {

[Bug tree-optimization/100363] gcc generating wider load/store than warranted at -O3

2021-05-05 Thread ndesaulniers at google dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100363 Nick Desaulniers changed: What|Removed |Added CC||ndesaulniers at google dot com ---

[Bug fortran/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-05-05 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug fortran/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 --- Comment #7 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:d4a21a07125f73543ccc08fd96d4c41f37b6bd5d commit r9-9514-gd4a21a07125f73543ccc08fd96d4c41f37b6bd5d Author: Harald Anlauf

[Bug testsuite/100170] Gcc tests gcc.target/powerpc/ppc-{eq, ne}0-1.c fail on Power10

2021-05-05 Thread meissner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100170 Michael Meissner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |meissner at gcc dot gnu.org

[Bug fortran/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:92fef3f29917407a31c58c1c06203e4fbe7d4319 commit r10-9803-g92fef3f29917407a31c58c1c06203e4fbe7d4319 Author: Harald Anlauf

[Bug tree-optimization/100404] Unable to disable removal of null pointer checks for nonnull function arguments

2021-05-05 Thread schwab--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100404 --- Comment #6 from Andreas Schwab --- EFAULT is always optional. POSIX is clear about that: [EFAULT] Bad address. The system detected an invalid address in attempting to use an argument of a call. The reliable detection of this error cannot

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 100430, which changed state. Bug 100430 Summary: False positive for -Warray-bounds and pointers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 What|Removed |Added

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 Martin Sebor changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/100404] Unable to disable removal of null pointer checks for nonnull function arguments

2021-05-05 Thread gccgc at bithub dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100404 Philip Lorenz changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug sanitizer/100439] New: stack overflow running ubsan

2021-05-05 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100439 Bug ID: 100439 Summary: stack overflow running ubsan Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug fortran/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:ba013672f723f87f0c3b0c685dda5b3b2f1b3f3a commit r11-8357-gba013672f723f87f0c3b0c685dda5b3b2f1b3f3a Author: Harald Anlauf

[Bug libstdc++/100438] `_serialize` macro clashes with user defined identifiers

2021-05-05 Thread heinzisoft at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100438 --- Comment #1 from heinzisoft at web dot de --- - https://bugs.gentoo.org/788403

[Bug libstdc++/100438] New: `_serialize` macro clashes with user defined identifiers

2021-05-05 Thread heinzisoft at web dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100438 Bug ID: 100438 Summary: `_serialize` macro clashes with user defined identifiers Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug c++/99893] C++20 unexpanded parameter packs falsely not detected (lambda is involved)

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99893 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug target/91400] __builtin_cpu_supports conjunction is optimized poorly

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91400 --- Comment #3 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:a0b4e09ab0102d9c0a5e6d603a080cb78600c40d commit r12-524-ga0b4e09ab0102d9c0a5e6d603a080cb78600c40d Author: Ivan Sorokin Date: Mon May 3

[Bug target/86387] [RISCV][ABI] GCC fails to sign/zero-ext integers as necessary for passing/returning int+fp structs on hard-float ABIs

2021-05-05 Thread wilson at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86387 Jim Wilson changed: What|Removed |Added Resolution|--- |WONTFIX Status|ASSIGNED

[Bug demangler/100437] New: libiberty: Support more characters for function clones

2021-05-05 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100437 Bug ID: 100437 Summary: libiberty: Support more characters for function clones Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/98694] GCC produces incorrect code for loops with -O3 for skylake-avx512 and icelake-server

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

[Bug libstdc++/100436] std::views::iota(0, true) is well-formed

2021-05-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100436 --- Comment #3 from 康桓瑋 --- (In reply to 康桓瑋 from comment #2) > (In reply to 康桓瑋 from comment #1) > > Oh, I see, the reason is that std::ranges::__detail::__is_integer_like > > is set to false since gcc-11. > > This is just the implementation

[Bug libstdc++/100436] std::views::iota(0, true) is well-formed

2021-05-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100436 康桓瑋 changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug middle-end/98503] [11/12 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

2021-05-05 Thread w at 1wt dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98503 --- Comment #14 from Willy Tarreau --- (In reply to Martin Sebor from comment #13) > The patch was rejected so we'll have to live with a confusing warning. sadly it's not the first one and I don't count the number of bugs I have introduced in

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

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

[Bug tree-optimization/85741] [meta-bug] bogus/missing -Wformat-overflow

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85741 Bug 85741 depends on bug 100325, which changed state. Bug 100325 Summary: missing warning with -O0 on sprintf overflow with pointer plus offset https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 What|Removed

[Bug middle-end/100325] missing warning with -O0 on sprintf overflow with pointer plus offset

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug middle-end/100325] missing warning with -O0 on sprintf overflow with pointer plus offset

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100325 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:2254b3233b5bfa690e8c6e6fa923e4626a6a93d3 commit r12-523-g2254b3233b5bfa690e8c6e6fa923e4626a6a93d3 Author: Martin Sebor Date: Wed

[Bug middle-end/98503] [11/12 regression] -Warray-bounds false positive with global variables at -O2 since r11-3306-g3f9a497d1b0dd9da

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

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 --- Comment #4 from Jens Maurer --- Thanks. My take-away from the discussion is that -Warray-bounds triggers when there might be a code path with bad behavior. Whether such a code path is detected depends very much on the details of

[Bug c++/96745] [concepts] internal compiler error: in type_memfn_rqual, at cp/typeck.c:10389

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96745 Patrick Palka changed: What|Removed |Added CC||gcc_report_187375@mailfence

[Bug c++/100421] Internal compiler error when overload resolution fails for prospective destructors.

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100421 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/100423] Internal compiler error when evaluating a requires-expression referencing variables from outer scope in a function invocation.

2021-05-05 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100423 Patrick Palka changed: What|Removed |Added Last reconfirmed||2021-05-05

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug libstdc++/100429] threading support on windows. _GLIBCXX_HAS_GTHREADS macro is not 1 but libgcc is correct

2021-05-05 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100429 cqwrteur changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/100436] std::views::iota(0, true) is well-formed

2021-05-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100436 --- Comment #1 from 康桓瑋 --- Oh, I see, the reason is that std::ranges::__detail::__is_integer_like is set to false since gcc-11.

[Bug libstdc++/100436] New: std::views::iota(0, true) is well-formed

2021-05-05 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100436 Bug ID: 100436 Summary: std::views::iota(0, true) is well-formed Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/97903] [ARM NEON] Missed optimization in lowering test operation

2021-05-05 Thread prathamesh3492 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97903 --- Comment #2 from prathamesh3492 at gcc dot gnu.org --- Fixed in https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=d9937da063e5847f45f7f1f7a02bed7dbc8fb2f6

[Bug target/100402] [10.3 regression] crash with setjmp/longjmp and SEH

2021-05-05 Thread ssbssa at yahoo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100402 --- Comment #11 from Hannes Domani --- > Your testcase does not compile with the C compiler: > > Compiling it with the C++ compiler works for me: Sorry about the c/c++ confusion. > Created attachment 50754 [details] > Tentative fix > >

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #16 from CVS Commits --- The releases/gcc-8 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:06d75273ff7bb7af72ae83abef858c079245b602 commit r8-10952-g06d75273ff7bb7af72ae83abef858c079245b602 Author:

[Bug rtl-optimization/100342] [10/11 Regression] wrong code with -O2 -fno-dse -fno-forward-propagate -mno-sse2

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100342 --- Comment #12 from Jakub Jelinek --- Created attachment 50761 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50761=edit gcc11-pr100342.patch Untested fix. But what do I know about regcprop?

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #15 from CVS Commits --- The releases/gcc-9 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:d7bd91c7e059ee24bcf991d503bcd9856618a670 commit r9-9513-gd7bd91c7e059ee24bcf991d503bcd9856618a670 Author:

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:a3a6a7f0dcd3e0775c700b4a06320ac911a2c5b5 commit r10-9801-ga3a6a7f0dcd3e0775c700b4a06320ac911a2c5b5 Author:

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:fcad2894215879b740dce74e72247b6efa326397 commit r11-8355-gfcad2894215879b740dce74e72247b6efa326397 Author:

[Bug rtl-optimization/100263] [11/12 Regression] RTL optimizers miscompile loop

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100263 --- Comment #12 from CVS Commits --- The master branch has been updated by Stefan Schulze Frielinghaus : https://gcc.gnu.org/g:bb283170e7a1f39bf533651418daf10ad18eccfc commit r12-518-gbb283170e7a1f39bf533651418daf10ad18eccfc Author: Stefan

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:dcb23f439f3cf5601fb8bf49889accd16f3b30a1 commit r11-8354-gdcb23f439f3cf5601fb8bf49889accd16f3b30a1 Author: Eric Botcazou

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #9 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:dfd2c92f3f5d204619bd218aa72b162997690796 commit r12-517-gdfd2c92f3f5d204619bd218aa72b162997690796 Author: Eric Botcazou Date:

[Bug tree-optimization/100417] False positive -Wmaybe-uninitalized with malloc.

2021-05-05 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100417 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug preprocessor/100435] New: oddity in hash table use in libcpp

2021-05-05 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100435 Bug ID: 100435 Summary: oddity in hash table use in libcpp Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/100432] gcc arm compilation binary output is bigger with -Os than -O2

2021-05-05 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100432 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #8 from Eric Botcazou --- > Does this affect other `-mtune=` values too? I am thinking about > `--with-tune=ivybridge`. It's accidental, so only testing can give the answer.

[Bug rtl-optimization/100411] [11 regression] bootstrap failure on 64-bit Windows with --with-tune=nocona

2021-05-05 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100411 --- Comment #7 from Liu Hao --- Does this affect other `-mtune=` values too? I am thinking about `--with-tune=ivybridge`.

[Bug tree-optimization/100434] DSE fails to DSE aggregate LHS.

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100434 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Blocks|

[Bug tree-optimization/100434] New: DSE fails to DSE aggregate LHS.

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100434 Bug ID: 100434 Summary: DSE fails to DSE aggregate LHS. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/44462] Redundant looping pure functions whose return value is dead are not optimized out

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44462 --- Comment #5 from Richard Biener --- So we now (GCC 8+ at least) get : _1 = i_am_pure (5); a_8 = _1 * 2; i_am_pure (8); return a_8; after early DCE. This is because we now do FRE before the first DCE which 4.5 didn't have (4.8

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #9 from Andrew Stubbs --- I found a couple of other places to put force_operand and the full case works now. Running more tests

[Bug target/98218] [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector

2021-05-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98218 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/98375] [meta bug] GCC 12 pending patches

2021-05-05 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98375 Bug 98375 depends on bug 98218, which changed state. Bug 98218 Summary: [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98218 What|Removed

[Bug middle-end/48335] [4.6/4.7 Regression] ICE in convert_move

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48335 Bug 48335 depends on bug 48358, which changed state. Bug 48358 Summary: TREE_ADDRESSABLE overloading issues https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48358 What|Removed |Added

[Bug middle-end/48358] TREE_ADDRESSABLE overloading issues

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48358 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug fortran/100274] [9/10/11/12 Regression] ICE in gfc_conv_procedure_call, at fortran/trans-expr.c:6131

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100274 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:a8b79cc939d6786293f654c42a2d1b0ab040de0e commit r12-515-ga8b79cc939d6786293f654c42a2d1b0ab040de0e Author: Harald Anlauf Date:

[Bug target/98218] [TARGET_MMX_WITH_SSE] Miss vec_cmpmn/vcondmn expander for 64bit vector

2021-05-05 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98218 --- Comment #4 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:f3661f2d63fbc5fd30c24d22137691e16b0a0a17 commit r12-514-gf3661f2d63fbc5fd30c24d22137691e16b0a0a17 Author: Uros Bizjak Date: Wed

[Bug sanitizer/100379] cyclades.h is removed from linux kernel header files

2021-05-05 Thread vvinayag at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 vvinayag at arm dot com changed: What|Removed |Added CC||vvinayag at arm dot com ---

[Bug c/90219] Wrong source location for "cannot convert to a pointer type" warning

2021-05-05 Thread tbaeder at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90219 Timm Bäder changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/100433] New: [modules] segfault with optimization greater than -O0

2021-05-05 Thread gavrilikhin.daniil at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100433 Bug ID: 100433 Summary: [modules] segfault with optimization greater than -O0 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/91598] [8/9 regression] 60% speed drop on neon intrinsic loop

2021-05-05 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91598 --- Comment #8 from Christophe Lyon --- All intrinsics have been re-implemented, and I can see no asm version in arm_neon.h as of r12-513.

[Bug jit/87808] gcc_lib_dir is missing from libgccjit's search path when driver is not installed

2021-05-05 Thread leonard at lausen dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87808 --- Comment #8 from leonard at lausen dot nl --- Is there any blocker preventing the patch to be merged? This bug can be easily reproduced by masquerading gcc binary with ccache compiler cache. ln -s ccache /usr/local/bin/gcc See

[Bug c/100432] New: gcc arm compilation binary output is bigger with -Os than -O2

2021-05-05 Thread xicojovor at dropjar dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100432 Bug ID: 100432 Summary: gcc arm compilation binary output is bigger with -Os than -O2 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread mrsam--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #8 from Sam Varshavchik --- If the warning is spurious, then changing vector.tcc won't, of course, keep it from popping up elsewhere when the same sequence of events get triggered. Here, it drew my attention to the missed

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #8 from Jakub Jelinek --- That is weird. I think normally during expansion all the needed clobbers are added while expanding RTL, rather than waiting until the first pass that calls recog (that is during the vregs pass I think).

[Bug libstdc++/100429] threading support on windows. _GLIBCXX_HAS_GTHREADS macro is not 1 but libgcc is correct

2021-05-05 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100429 --- Comment #2 from Jonathan Wakely --- (In reply to cqwrteur from comment #0) > It looks like libgcc DOES provide threading support for windows. However, > _GLIBCXX_HAS_GTHREADS does not get defined for libstdc++, I guess it is > another

[Bug bootstrap/100373] [12 Regression] Darwin, Compare-debug fail after r12-248-gb58dc0b803057

2021-05-05 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100373 Richard Biener changed: What|Removed |Added Attachment #50756|0 |1 is obsolete|

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 --- Comment #7 from Tobias Burnus --- (In reply to Jakub Jelinek from comment #5) > - emit_move_insn (rem, plus_constant (ptr_mode, rem, -blksize)); > + rtx rem_minus_blksize = plus_constant (ptr_mode, rem, -blksize); > +

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

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

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2021-05-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 --- Comment #3 from Tom de Vries --- The ptx code looks a lot like the cuda reproducer in PR99932 comment 4, so I'm going to retest this once I get a driver where that one is fixed.

[Bug tree-optimization/100430] False positive for -Warray-bounds and pointers

2021-05-05 Thread jens.maurer at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100430 --- Comment #2 from Jens Maurer --- Why does the warning go away with -O3, then? If it's intentional, it should be consistent once the optimization level is sufficient for the necessary static analysis.

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2021-05-05 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 Tom de Vries changed: What|Removed |Added Target||nvptx --- Comment #2 from Tom de Vries

[Bug bootstrap/100431] Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 --- Comment #1 from Joey Dumont --- Created attachment 50758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50758=edit Workaround for -Wno-format flag injected during build process.

[Bug bootstrap/100431] New: Fixes to enable compiling with -Werror=format-security

2021-05-05 Thread joey.dumont at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100431 Bug ID: 100431 Summary: Fixes to enable compiling with -Werror=format-security Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/100418] [12 Regression][gcn] since r12-397 bootstrap fails: error: unrecognizable insn: in extract_insn, at recog.c:2770

2021-05-05 Thread ams at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100418 Andrew Stubbs changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #7 from Marc Glisse --- It seems to help if we save the values before the allocation in vector.tcc, although I cannot promise it won't pessimize something else... And that's just a workaround, not a solution. @@ -766,13 +766,16 @@

[Bug tree-optimization/100366] spurious warning - std::vector::clear followed by std::vector::insert(vec.end(), ...) with -O2

2021-05-05 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100366 --- Comment #6 from Marc Glisse --- So, apart from the small missed PHI optimization, this is probably the common issue that since operator new is replacable, we can't really assume that it does not clobber anything, and that hurts

[Bug rtl-optimization/100342] [10/11 Regression] wrong code with -O2 -fno-dse -fno-forward-propagate -mno-sse2

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

  1   2   >