[Bug target/42599] arm-elf-gcc 4.4.2 internal compiler error in expand_expr_addr_1 at expr.c:6835

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42599 --- Comment #3 from Andrew Pinski --- We stopped ICEing in GCC 6 it seems but accept the code now.

[Bug c/67665] ICE when passing two empty files directly to cc1 with -g

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67665 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Resolution|---

[Bug middle-end/54896] optimization slowness on large basic blocks

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54896 --- Comment #12 from Andrew Pinski --- Note I think -O3 (and now -O2) is much worse recently due to vector SLP taking a long time too.

[Bug middle-end/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 Andrew Pinski changed: What|Removed |Added Depends on||54896 Keywords|

[Bug middle-end/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 --- Comment #6 from Andrew Pinski --- fillLUTDIV is basically one big function (one BB) which does: inp[...] = ...; 1019 times fillLUTNEGEXP does the same thing 33659 times. I assume these are generated functions. It might be better to have

[Bug middle-end/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |middle-end --- Comment #5 from Andrew

[Bug tree-optimization/97717] compilation with -O(1/2/3) flag failed while -O0 succeeds

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97717 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Keywords|

[Bug c++/93297] internal compiler error: in set_constraints, at cp/constraint.cc:

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93297 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Status|WAITING

[Bug tree-optimization/41137] inefficient zeroing of an array

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137 --- Comment #22 from Andrew Pinski --- Note this is even at -O2 for GCC 10 and above.

[Bug libfortran/38654] Fortran I/O speedup

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38654 Bug 38654 depends on bug 41137, which changed state. Bug 41137 Summary: inefficient zeroing of an array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137 What|Removed |Added

[Bug tree-optimization/41137] inefficient zeroing of an array

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41137 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68484 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #9) > Fixed for GCC 7 by r7-5301 (aka PR 70118). - *(long long *)__P = ((__v2di)__B)[0]; + *(__m64_u *)__P = (__m64) ((__v2di)__B)[0];

[Bug target/88918] [meta-bug] x86 intrinsic issues

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88918 Bug 88918 depends on bug 68484, which changed state. Bug 68484 Summary: _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68484 What|Removed

[Bug target/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68484 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target See Also|

[Bug tree-optimization/68484] _mm_storel_epi64((__m128i *)x, m); does nothing if "x" is a "volatile" ptr

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68484 Andrew Pinski changed: What|Removed |Added Known to work||12.0, 7.1.0, 7.2.0, 8.1.0

[Bug c++/63650] conflicting type attributes specified for ‘virtual..'

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63650 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid

[Bug tree-optimization/77511] internal compiler error: in get_ptr_info

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77511 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug tree-optimization/77511] internal compiler error: in get_ptr_info

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77511 --- Comment #8 from Andrew Pinski --- Created attachment 52058 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52058=edit preprocessed source This is the preprocessed source just in case the dropbox ever does not work any more.

[Bug tree-optimization/77511] internal compiler error: in get_ptr_info

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77511 --- Comment #7 from Andrew Pinski --- I tried this under GCC 7.5.0 as provided by Ubuntu (targetting still linux) and I don't get an ICE. That does not mean it was fixed, just I could not reproduce it using that compiler version and targeting

[Bug middle-end/60944] a10 pcduino compiling mono

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

[Bug libbacktrace/87653] Calling null pointer in multi-threaded applications

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

[Bug middle-end/88599] ICE in make_decl_rtl, at varasm.c:1337

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

[Bug tree-optimization/71867] Optimizer generates code dereferencing a null pointer

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71867 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug lto/41565] using -m32 with LTO causes an ICE when the object files were compiled with 64bit

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41565 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-08-07 00:00:00 |2021-12-25 --- Comment #16 from Andrew

[Bug tree-optimization/88527] ICE: tree check: expected integer_cst, have error_mark in equal, at tree.c:1464; or tree check: expected integer_cst, have identifier_node in equal, at tree.c:1464

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

[Bug c++/82360] [8 Regression] tree check fail in get_inner_reference, at expr.c:6996

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82360 Andrew Pinski changed: What|Removed |Added CC||uruwi at protonmail dot com --- Comment

[Bug c++/83716] tree check: expected tree that contains ‘decl common’ structure, have ‘identifier_node’ in get_inner_reference

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

[Bug lto/41526] gimple bytecode streams are not portable between different hosts

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41526 Andrew Pinski changed: What|Removed |Added CC||daniel.f.starke at freenet dot de ---

[Bug lto/69394] [5.3] ICE when linking with lto

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

[Bug lto/52405] undefined references in shared library when linking the shared library with -flto

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52405 Andrew Pinski changed: What|Removed |Added Keywords||link-failure Status|WAITING

[Bug middle-end/47334] g++.dg/torture/pr31863.C -O2 -flto FAILs without visibility

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47334 --- Comment #5 from Andrew Pinski --- Can someone test the patch in https://gcc.gnu.org/bugzilla/attachment.cgi?id=52057 ?

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823 --- Comment #6 from Andrew Pinski --- Created attachment 52057 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52057=edit Patch to test Can you try this patch?

[Bug testsuite/103823] g++.dg/torture/pr31863.C fails on darwin with "using serial compilation of 2 LTRANS jobs"

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103823 --- Comment #5 from Andrew Pinski --- (In reply to Francois-Xavier Coudert from comment #3) > Any reason not to move the test to the lto testsuite? Most likely should have been when PR 47334 was filed but since the failure only showed up on

[Bug driver/69711] Wrong suggestion for -ftree-ivopts

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69711 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug tree-optimization/55157] Missed VRP with != 0 and multiply

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55157 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-06-08 00:00:00 |2021-12-25 --- Comment #3 from Andrew

[Bug tree-optimization/18940] Loop is not vectorized when it should be (VRP)

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18940 Andrew Pinski changed: What|Removed |Added Blocks|53947 |26731 --- Comment #6 from Andrew Pinski

[Bug tree-optimization/18940] Loop is not vectorized when it should be (VRP)

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18940 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #5 from Andrew Pinski

gcc-11-20211225 is now available

2021-12-25 Thread GCC Administrator via Gcc
Snapshot gcc-11-20211225 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20211225/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 11 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug target/52572] suboptimal assignment to avx element

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52572 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug ipa/24169] Address (full struct) escapes even though the called function does not cause it to escape

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24169 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org

[Bug rtl-optimization/103829] [9/10/11/12 Regression] missing shrink wrapping for simple/obvious code

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103829 Andrew Pinski changed: What|Removed |Added Known to fail||9.1.0 Known to work|

[Bug rtl-optimization/103829] New: [9/10/11/12 Regression] missing shrink wrapping for simple/obvious code

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103829 Bug ID: 103829 Summary: [9/10/11/12 Regression] missing shrink wrapping for simple/obvious code Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

Re: [PATCH] Make integer output faster in libgfortran

2021-12-25 Thread Thomas Koenig via Gcc-patches
Hi fX, right now I don’t have a Linux system with 32-bit support. I’ll see how I can connect to gcc45, but if someone who is already set up to do can fire a quick regtest, that would be great;) I tested this on x86_64-pc-linux-gnu with make -k -j8 check-fortran

[Bug c++/103653] GCC rejected int x = 0; auto(x); in C++23

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103653 --- Comment #3 from Andrew Pinski --- >But I think auto(x) should also be well-formed. it is well formed as a declaration. auto(x) = 1; Unless something changed in that part of C++ standard too. The following does work as expected too:

[Bug middle-end/89543] Don't modify TREE_NO_WARNING during folding in place

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89543 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|NEW --- Comment #6 from Andrew Pinski

[Bug fortran/103828] Type generated for CHARACTER(C_CHAR), VALUE arguments is wrong

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103828 --- Comment #1 from Francois-Xavier Coudert --- The condition for being treated as a special CHARACTER case in gfc_sym_type() is: if (sym->ts.type == BT_CHARACTER && ((sym->attr.function && sym->attr.is_bind_c) ||

[Bug middle-end/89543] Don't modify TREE_NO_WARNING during folding in place

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89543 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > [apinski@xeond2 upstream-gcc-git]$ gdb --args ./gcc/objdir/stage1-gcc/cc1 > /home/apinski/src/upstream-gcc-git/gcc/gcc/testsuite/gcc.dg/Wstringop- > overread-6.c

Re: [PATCH][Hashtable 6/6] PR 68303 small size optimization

2021-12-25 Thread François Dumont via Gcc-patches
On 23/12/21 2:03 pm, Jonathan Wakely wrote: On 21/12/21 07:07 +0100, François Dumont wrote: Hi ??? Is there a chance for this patch to be integrated for next gcc release ? Yes, I think this can still make it for GCC 12 (the patch was first posted long ago in stage 1 and it's just me being

[Bug target/31263] addressing modes are not selected correcly for x86 always

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31263 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-25 Severity|minor

[Bug middle-end/89543] Don't modify TREE_NO_WARNING during folding in place

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89543 --- Comment #4 from Andrew Pinski --- [apinski@xeond2 upstream-gcc-git]$ gdb --args ./gcc/objdir/stage1-gcc/cc1 /home/apinski/src/upstream-gcc-git/gcc/gcc/testsuite/gcc.dg/Wstringop-overread-6.c (gdb) p debug_generic_expr(expr) strlen

[Bug fortran/103828] Type generated for CHARACTER(C_CHAR), VALUE arguments is wrong

2021-12-25 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103828 Iain Sandoe changed: What|Removed |Added Keywords||wrong-code Last reconfirmed|

[Bug fortran/103828] New: Type generated for CHARACTER(C_CHAR), VALUE arguments is wrong

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103828 Bug ID: 103828 Summary: Type generated for CHARACTER(C_CHAR), VALUE arguments is wrong Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug d/103728] Allow to run unittests before main()

2021-12-25 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103728 --- Comment #3 from Iain Buclaw --- (In reply to Pierrick Bouvier from comment #2) > Problem with command line approach is that it implies to patch all our > scripts, which is *really* boring. At this point, manually adding rt_options > string

[Bug middle-end/89543] Don't modify TREE_NO_WARNING during folding in place

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89543 Andrew Pinski changed: What|Removed |Added Target Milestone|12.0|--- --- Comment #3 from Andrew Pinski

[Bug c++/103653] GCC rejected int x = 0; auto(x); in C++23

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

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 99191, which changed state. Bug 99191 Summary: sanitizer detects undefined behaviour in libgfortran https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99191 What|Removed |Added

[Bug libfortran/99191] sanitizer detects undefined behaviour in libgfortran

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99191 Francois-Xavier Coudert changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug libfortran/81986] sanitizer detects negation of large number in string.c

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81986 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

Re: [PATCH] Make integer output faster in libgfortran

2021-12-25 Thread FX via Gcc-patches
Hi Thomas, > There are two possibilities: Either use gcc45 on the compile farm, or > run it with > make -k -j8 check-fortran RUNTESTFLAGS="--target_board=unix'{-m32,-m64}'" Thanks, right now I don’t have a Linux system with 32-bit support. I’ll see how I can connect to gcc45, but if someone who

Re: [PATCH] Make integer output faster in libgfortran

2021-12-25 Thread Thomas Koenig via Gcc-patches
Hi FX, The patch has been bootstrapped and regtested on two 64-bit targets: aarch64-apple-darwin21 (development branch) and x86_64-pc-gnu-linux. I would like it to be tested on a 32-bit target without 128-bit integer type. Does someone have access to that? There are two possibilities:

[Bug target/103785] [12 Regression] Ada bootstrap ICEs on i?86

2021-12-25 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 --- Comment #11 from H.J. Lu --- The v3 patch is posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587364.html

[PATCH v3] i386: Check AX input in any_mul_highpart peepholes

2021-12-25 Thread H.J. Lu via Gcc-patches
When applying peephole optimization to transform mov imm, %reg0 mov %reg1, %AX_REG imul %reg0 to mov imm, %AX_REG imul %reg1 disable peephole optimization if reg1 == AX_REG. gcc/ PR bootstrap/103785 * config/i386/i386.md: Swap operand

Re: [PATCH] Simplify integer output-related functions in libgfortran

2021-12-25 Thread Thomas Koenig via Gcc-patches
First merry Christmas to all! Bootstrapped and regtested on x86_64-pc-linux-gnu. OK to commit? OK. Thanks for the (preliminary) patch!

[Bug libfortran/81986] sanitizer detects negation of large number in string.c

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81986 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug libfortran/99191] sanitizer detects undefined behaviour in libgfortran

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99191 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

[Bug libfortran/98076] Increase speed of integer I/O

2021-12-25 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98076 --- Comment #8 from Francois-Xavier Coudert --- Patch posted at https://gcc.gnu.org/pipermail/fortran/2021-December/057219.html

[PATCH] Make integer output faster in libgfortran

2021-12-25 Thread FX via Gcc-patches
Hi, Integer output in libgfortran is done by passing values as the largest integer type available. This is what our gfc_itoa() function for conversion to decimal form uses, as well, performing series of divisions by 10. On targets with a 128-bit integer type (which is most targets, really,

[Bug c++/70723] Missed optimization opportunity for lambda converted to fun-ptr

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70723 --- Comment #4 from Andrew Pinski --- With -std=c++17 (which is the default now), the code is optimized as expected. With -std=c++14, the dynamic initializer comes into play; there are a few other bugs dealing with that already too.

[Bug c++/84411] Missed optimization: static guard variable generated for empty virtual destructor

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84411 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug libstdc++/87502] Poor code generation for std::string("c-style string")

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87502 --- Comment #8 from Andrew Pinski --- (In reply to Marc Glisse from comment #3) > (In reply to M Welinder from comment #2) > > The destruction still stinks: the full destructor is inlined instead of > > the small-string-only version (i.e., a

[PATCH] Simplify integer output-related functions in libgfortran

2021-12-25 Thread FX via Gcc-patches
Merry Christmas! The code related to integer output in libgfortran has accumulated some… oddities over the years. I will soon post a finalized patch for faster integer-to-decimal conversion (see https://gcc.gnu.org/pipermail/fortran/2021-December/057201.html), but while working on that I

[Bug c++/103827] New: function which takes an argument via (hidden) reference should assume the argument does not escape or is only read from

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103827 Bug ID: 103827 Summary: function which takes an argument via (hidden) reference should assume the argument does not escape or is only read from Product: gcc

[Bug tree-optimization/87355] missed comparison optimizations (grep DFA, x86-64)

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87355 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org

[Bug target/86131] powerpc: gcc uses costly multiply instead of shift left

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86131 --- Comment #2 from Andrew Pinski --- The cost has been 2 since the day -mcpu=860 was added back in 1996 (r0-10828).

[Bug target/86693] inefficient atomic_fetch_xor

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86693 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug rtl-optimization/51982] Shrink-wrapping opportunity

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51982 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-01-24 00:00:00 |2021-12-25

[Bug c++/103826] Bogus shift-negative-value warning in C++20 mode

2021-12-25 Thread manx-bugzilla at problemloesungsmaschine dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103826 --- Comment #2 from Jörn Heusipp --- (In reply to Andrew Pinski from comment #1) > Note I notice clang warns about: > int main() { > return (0x7000') << 4; > } It's valid, but clang complains here about shifting bits out of the range

[Bug tree-optimization/36011] Loop interchange not performed, data dependence analysis defect

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36011 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2008-12-28 06:32:01 |2021-12-25 --- Comment #2 from Andrew

[Bug tree-optimization/36010] Loop interchange not performed

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36010 --- Comment #4 from Andrew Pinski --- This is still true, you need still need -fno-tree-pre -fno-tree-loop-im to get the loop to interchanged. -O2 -fno-tree-pre -fno-tree-loop-im -floop-interchange works while just -O2 -floop-interchange does

[Bug c++/24928] static const objects should go to .rodata

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24928 --- Comment #5 from Andrew Pinski --- With -fimplicit-constexpr, GCC do the optimization, maybe this will become part of the C++ standard in the future

[Bug c++/103826] Bogus shift-negative-value warning in C++20 mode

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103826 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/103826] New: Bogus shift-negative-value warning in C++20 mode

2021-12-25 Thread manx-bugzilla at problemloesungsmaschine dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103826 Bug ID: 103826 Summary: Bogus shift-negative-value warning in C++20 mode Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/103221] evrp removes |SIGN but does not propagate the ssa name

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103221 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/77893] VRP simplify_bit_ops_using_ranges should be applied during propagation

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

[Bug ipa/56139] [9/10/11/12 Regression] unmodified static data could go in .rodata, not .data

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56139 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |ipa Target Milestone|---

[Bug ipa/63533] Function splitter causes unnecessary splits

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

[Bug tree-optimization/55846] Cannot sink conditional code

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55846 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-08-14 00:00:00 |2021-12-25 --- Comment #2 from Andrew

[Bug middle-end/66872] fold a & ((1 << b) - 1) to a & ~(-1 << b)

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66872 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-07-15 00:00:00 |2021-12-25 --- Comment #5 from Andrew

[Bug tree-optimization/70527] Missed fold for "(long int) x * 12 - (long int)(x + 1) * 12"

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70527 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug tree-optimization/56355] abs and multiplication

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56355 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2016-07-24 00:00:00 |2021-12-25 --- Comment #6 from Andrew

[Bug target/66664] gcc misses optimization emits subtraction where relocation arithmetic would suffice

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-25 Ever confirmed|0

[Bug tree-optimization/70868] Assigning constructed temporary of class with nontrivial constructor uses unnecessary temporary

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70868 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/67418] resolution to constant fails between pointer on stack and pointer within argument structure

2021-12-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67418 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Resolution|---