[Bug target/59062] poor code generated at -Os (affecting all gcc versions): 10+ sec vs. 1 sec at -O0

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

Re: [PATCH] PR fortran/99351 - ICE in gfc_finish_var_decl, at fortran/trans-decl.c:695

2021-08-14 Thread Tobias Burnus
Der Harald, hi all, On 11.08.21 21:25, Harald Anlauf via Fortran wrote: the checks for the STAT= and ERRMSG= arguments to the coarray SYNC statements did not properly handle several cases, such as named constants (parameters). While fixing this, I adjusted the code similarly to what was

[Bug target/59968] Unused BT patterns

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59968 --- Comment #20 from Andrew Pinski --- I think most of these have been fixed. For an example comment #19 was fixed in r12-1525

[Bug target/53228] [4.6/4.7/4.8 Regression] target attributes in libcpp/lex.c cause illegal instructions to be used elsewhere

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53228 Andrew Pinski changed: What|Removed |Added CC||michael at talosis dot ca --- Comment

[Bug target/48326] Target attribute leaks from function pointers

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48326 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #8 from Andrew

[Bug target/53228] [4.6/4.7/4.8 Regression] target attributes in libcpp/lex.c cause illegal instructions to be used elsewhere

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53228 Andrew Pinski changed: What|Removed |Added CC||aivchenk at gmail dot com --- Comment

[Bug target/55816] Options from command line are added to target arch attribute eventhough they are in contradiction with that target

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55816 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/56298] wmmintrin.h aborts compilation on the machines without AES

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

[Bug libstdc++/56538] no way to disable shared_ptr's use of atomics

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56538 Andrew Pinski changed: What|Removed |Added Component|target |libstdc++ Summary|No option

[Bug target/55803] SSE2 double negation less efficient than explicit xor

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

[Bug target/58044] -mno-see2avx does not seems to work

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

[Bug target/41202] -mno-mmx doesn't turn off sse*

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41202 Andrew Pinski changed: What|Removed |Added Keywords||documentation --- Comment #2 from

[Bug target/53133] XOR AL,AL to zero lower 8 bits of EAX/RAX causes partial register stall (Intel Core 2)

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53133 Andrew Pinski changed: What|Removed |Added Known to fail||5.5.0 Status|NEW

[Bug target/49839] Use constants in registers preferably to inline constants (-Os)

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49839 Andrew Pinski changed: What|Removed |Added Severity|minor |enhancement Ever confirmed|0

[Bug target/48970] Inaccurate comments for processor_costs

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48970 --- Comment #2 from Andrew Pinski --- const int sse_load[5];/* cost of loading SSE register in 32bit, 64bit, 128bit, 256bit and 512bit */ const int sse_store[5]; /* cost of storing SSE

[Bug target/28808] Alignment problem in __gthread_once_t in vxWorks

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

[Bug target/33587] INIT_SECTION_ASM_OP defined twice in tm.texi

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

Contents of PO file 'cpplib-11.1-b20210207.de.po'

2021-08-14 Thread Translation Project Robot
cpplib-11.1-b20210207.de.po.gz Description: Binary data The Translation Project robot, in the name of your translation coordinator.

New German PO file for 'cpplib' (version 11.1-b20210207)

2021-08-14 Thread Translation Project Robot
Hello, gentle maintainer. This is a message from the Translation Project robot. A revised PO file for textual domain 'cpplib' has been submitted by the German team of translators. The file is available at: https://translationproject.org/latest/cpplib/de.po (This file,

[Bug target/34967] internal compiler error: in frv_print_operand, at config/frv/frv.c:3057

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

[Bug target/32097] m32c: ICE in expand_builtin_apply, at builtins.c:1525 building libobjc

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

[committed] Improve many SImode shifts on the H8/300H.

2021-08-14 Thread Jeff Law via Gcc-patches
As I've mentioned before, the H8/300H can only shift a single bit position at a time.  Naturally this means many shifts are implemented as loops.  There's a variety of special cases that we can do without loops by using rotates, sub-word moves, etc.  The general guidance for the port has been

[Bug target/27055] Structures are copied byte by byte into function arguments

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27055 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug target/86084] trunk/gcc/config/m32c/m32c.c:4368: suspicious comparison ?

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86084 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/90103] ICE building Glibc's e_atan2f.c with -O2 -mcpu=hs38_linux -frounding-math

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

[Bug target/91591] Arc: ICE in trunc_int_for_mode, at explow.c:60

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

[Bug target/25690] error: unrecognizable insn - failed to assign [1] if a is a struct

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25690 Andrew Pinski changed: What|Removed |Added CC||r.slater at freescale dot com ---

[Bug target/31702] Pointer Arithmetic Crash When Optimizing

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31702 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug middle-end/91883] Division by a constant could be optimized for known variables value range

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

[Bug middle-end/92574] Inefficient code for multidimensional array assess

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92574 Andrew Pinski changed: What|Removed |Added Depends on||85017 --- Comment #3 from Andrew Pinski

[Bug tree-optimization/85017] Missed constant propagation to index of array reference

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85017 Andrew Pinski changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #2

[Bug middle-end/87055] Unoptimal address calculation

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

[Bug middle-end/87055] Unoptimal address calculation

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87055 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2018-08-22 00:00:00 |2021-8-14 Severity|normal

Re: [PATCH] Objective-C: fix crash with -fobjc-nilcheck

2021-08-14 Thread Matt Jacobson via Gcc-patches
> On Aug 14, 2021, at 5:25 AM, Iain Sandoe wrote: > > 1/ please can you either post using a mailer that doesn’t mangle patches or > put the patch as a plain text attachment > (pushing to a git branch somewhere public also works for me, but maybe not > for all reviewers) > - for small

[Bug middle-end/82153] missed optimization: double truncating

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82153 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-09-12 00:00:00 |2021-8-14 Severity|normal

[Bug middle-end/80342] useless outermost conversions not fully elided by genmatch generated code

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80342 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-04-06 00:00:00 |2021-8-14 CC|

Re: libgo patch committed: Update to Go1.17rc2 release

2021-08-14 Thread Ian Lance Taylor via Gcc-patches
On Fri, Aug 13, 2021 at 2:08 PM Rainer Orth wrote: > > unfortunately, things are considerably worse: syscall.lo fails to build > and go1 even ICEs: > > /vol/gcc/src/hg/master/local/libgo/go/syscall/libcall_posix_utimesnano.go:13:1: > error: redefinition of ‘UtimesNano’ >13 | func

[Bug tree-optimization/96912] Failure to optimize pblendvb pattern

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96912 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-09-03 00:00:00 |2021-8-14 Severity|normal

[Bug tree-optimization/97464] Missed redundant store optimization opportunity

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97464 Andrew Pinski changed: What|Removed |Added Depends on||88854 Last reconfirmed|2020-10-19

[Bug tree-optimization/95929] Failure to optimize tautological comparisons of comparisons to a single one

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

[Bug tree-optimization/95926] Failure to optimize xor pattern when using temporary variable

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95926 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-06-29 00:00:00 |2021-8-14 Severity|normal

[Bug tree-optimization/95424] Failure to optimize division with numerator of 1

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

[Bug tree-optimization/94920] Failure to optimize abs pattern from arithmetic with selected operands based on comparisons with 0

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94920 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-05-04 00:00:00 |2021-8-14 Severity|normal

[Bug tree-optimization/94914] Failure to optimize check of high part of 64-bit result of 32 by 32 multiplication into overflow check

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94914 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Last

[Bug middle-end/19987] [meta-bug] fold missing optimizations in general

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19987 Bug 19987 depends on bug 94877, which changed state. Bug 94877 Summary: Failure to simplify ~(x + 1) to -2 - x https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877 What|Removed |Added

[Bug tree-optimization/94877] Failure to simplify ~(x + 1) to -2 - x

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94877 Andrew Pinski changed: What|Removed |Added Depends on||96685 Target Milestone|---

[Bug tree-optimization/89749] Very odd vector constructor

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89749 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/58497] SLP vectorizes identical operations

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58497 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/89749] Very odd vector constructor

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89749 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Known to fail|

[Bug tree-optimization/88605] vector extensions: Widening or conversion generates inefficient or scalar code.

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

[Bug middle-end/85559] [meta-bug] Improve conditional move

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85559 Bug 85559 depends on bug 65492, which changed state. Bug 65492 Summary: Bad optimization in -O3 due to if-conversion and/or unrolling https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65492 What|Removed |Added

[Bug tree-optimization/65492] Bad optimization in -O3 due to if-conversion and/or unrolling

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

[Bug tree-optimization/79958] Missed tree DSE

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79958 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-03-10 00:00:00 |2021-8-14 Severity|normal

[Bug tree-optimization/84712] Missed evaluating to constant at tree level

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

gcc-11-20210814 is now available

2021-08-14 Thread GCC Administrator via Gcc
Snapshot gcc-11-20210814 is now available on https://gcc.gnu.org/pub/gcc/snapshots/11-20210814/ 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 tree-optimization/83544] Missed optimization opportunity for constant folding

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

Re: [PATCH v2 0/2] OpenRISC support for cmodel=large

2021-08-14 Thread Giulio Benetti
On 8/15/21 12:25 AM, Stafford Horne wrote: On Sun, Aug 15, 2021 at 12:05:37AM +0200, Giulio Benetti wrote: On 8/15/21 12:03 AM, Stafford Horne wrote: On Sat, Aug 14, 2021 at 11:01:16PM +0200, Giulio Benetti wrote: Hi All, On 5/1/21 11:11 PM, Stafford Horne wrote: Changes from v1: -

[Bug middle-end/101913] -Wstrict-overflow -O3 false alarm on tzdb localtime.c

2021-08-14 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101913 --- Comment #3 from eggert at cs dot ucla.edu --- (In reply to Andrew Pinski from comment #1) > >-1L << 63 is LONG_MIN > No it is undefined and has an overflow bit on it. > You want (long)(-1UL << 63) for it be correct. > But the warning is

[Bug tree-optimization/94802] Failure to recognize identities with __builtin_clz

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

[Bug tree-optimization/97964] Missed optimization opportunity for VRP

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

Re: [PATCH v2 0/2] OpenRISC support for cmodel=large

2021-08-14 Thread Stafford Horne via Gcc-patches
On Sun, Aug 15, 2021 at 12:05:37AM +0200, Giulio Benetti wrote: > On 8/15/21 12:03 AM, Stafford Horne wrote: > > On Sat, Aug 14, 2021 at 11:01:16PM +0200, Giulio Benetti wrote: > > > Hi All, > > > > > > On 5/1/21 11:11 PM, Stafford Horne wrote: > > > > Changes from v1: > > > >- Added patch to

[Bug tree-optimization/83544] Missed optimization opportunity for constant folding

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83544 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Known to fail|

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #4 from CVS Commits --- The master branch has been updated by Stafford Horne : https://gcc.gnu.org/g:da8a9d695b3c4b9397b5d9a27660bfa48af8d707 commit r12-2910-gda8a9d695b3c4b9397b5d9a27660bfa48af8d707 Author: Stafford Horne Date:

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #3 from CVS Commits --- The master branch has been updated by Stafford Horne : https://gcc.gnu.org/g:eff8110674ef193481d3657456a262beeb9951ff commit r12-2909-geff8110674ef193481d3657456a262beeb9951ff Author: Stafford Horne Date:

[Bug middle-end/101913] -Wstrict-overflow -O3 false alarm on tzdb localtime.c

2021-08-14 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101913 eggert at cs dot ucla.edu changed: What|Removed |Added Attachment #51304|0 |1 is obsolete|

[Bug tree-optimization/54345] jump threading leaks e->aux heap memory

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54345 --- Comment #6 from Andrew Pinski --- There has been so many changes to this code since GCC 4.8.0 dealing with the allocations of this pointer. I can't tell if this has been fixed really.

Re: [PATCH v2 0/2] OpenRISC support for cmodel=large

2021-08-14 Thread Giulio Benetti
On 8/15/21 12:03 AM, Stafford Horne wrote: On Sat, Aug 14, 2021 at 11:01:16PM +0200, Giulio Benetti wrote: Hi All, On 5/1/21 11:11 PM, Stafford Horne wrote: Changes from v1: - Added patch to enabled cmodle=large on crtstuff This series fixes some bugs found when linking large binaries,

Re: [PATCH v2 0/2] OpenRISC support for cmodel=large

2021-08-14 Thread Stafford Horne via Gcc-patches
On Sat, Aug 14, 2021 at 11:01:16PM +0200, Giulio Benetti wrote: > Hi All, > > On 5/1/21 11:11 PM, Stafford Horne wrote: > > Changes from v1: > > - Added patch to enabled cmodle=large on crtstuff > > > > This series fixes some bugs found when linking large binaries, both in > > buildroot > >

[Bug c/101916] New: SH4 ICE: Segmentation fault signal terminated program cc1

2021-08-14 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101916 Bug ID: 101916 Summary: SH4 ICE: Segmentation fault signal terminated program cc1 Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/49064] [x86/x64]: broken alias analysis leads vectorizer to emit poor code

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49064 Andrew Pinski changed: What|Removed |Added Keywords||alias, missed-optimization

[Bug lto/48475] gcc.dg/initpri3.c FAILs with -flto -O2 --param partial-inlining-entry-probability=100

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48475 Andrew Pinski changed: What|Removed |Added CC||marxin at gcc dot gnu.org Known to

[PATCH] Use builtin bool instead of creating new bool types for ComparisonExpr

2021-08-14 Thread Mark Wielaard
The TypeCheckExpr creates a new TyTy::BoolType for a ComparisonExpr. This new BoolType is unknown to TyTyResolveCompile which causes a crash when trying to compile the inferred new BoolType. The new "bools_eq.rs" testcase uses several bools which show this issue. Resolve this by looking up the

[Bug rtl-optimization/45026] struct passed as argument in memory compiles to dead stores

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45026 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/45026] struct passed as argument in memory compiles to dead stores

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45026 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug rtl-optimization/83827] vector load/store with struct in registers

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

[Bug tree-optimization/95731] Failure to optimize a >= 0 && b >= 0 to (a | b) >= 0

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95731 Andrew Pinski changed: What|Removed |Added CC||bugzilla@poradnik-webmaster

[Bug rtl-optimization/83123] Int compare - different asm code for different return type

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

[Bug tree-optimization/95731] Failure to optimize a >= 0 && b >= 0 to (a | b) >= 0

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

[Bug rtl-optimization/83123] Int compare - different asm code for different return type

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83123 --- Comment #3 from Andrew Pinski --- This is now optimized at the gimple level to just: _7 = a_3(D) & b_4(D); _8 = _7 < 0;

[Bug rtl-optimization/83123] Int compare - different asm code for different return type

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

[Bug rtl-optimization/82454] Possible future performance regression in x86 for 64-bit constant expansions

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

[Bug rtl-optimization/82729] adjacent small objects can be initialized with a single store (but aren't for char a[] = "a")

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82729 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #6 from Andrew

[Bug c/101915] New: Microblaze ICE: in extract_insn, at recog.c:2770

2021-08-14 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101915 Bug ID: 101915 Summary: Microblaze ICE: in extract_insn, at recog.c:2770 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/82356] auto-vectorizing pack of 16->8 has a redundant AND after a shift

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82356 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |rtl-optimization

[Bug rtl-optimization/52781] duplicate pass names, rtl dce

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52781 --- Comment #2 from Andrew Pinski --- 4.7.0+, uses ud_dce and rtl_dce as the name of the RTL dumps now.

[Bug rtl-optimization/52781] duplicate pass names, rtl dce

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

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-08-14 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 Giulio Benetti changed: What|Removed |Added CC||giulio.benetti@benettiengin

[Bug c++/101914] New: internal compiler error: in tsubst, at cp/pt.c:15553

2021-08-14 Thread accounts at prantare dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101914 Bug ID: 101914 Summary: internal compiler error: in tsubst, at cp/pt.c:15553 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

Re: [PATCH v2 0/2] OpenRISC support for cmodel=large

2021-08-14 Thread Giulio Benetti
Hi All, On 5/1/21 11:11 PM, Stafford Horne wrote: Changes from v1: - Added patch to enabled cmodle=large on crtstuff This series fixes some bugs found when linking large binaries, both in buildroot and glibc testing. Stafford Horne (2): or1k: Add mcmodel option to handle large GOTs

[Bug target/45434] x86 missed optimization: use high register (ah, bh, ch, dh) when available to make comparisons

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45434 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target Target|

[Bug tree-optimization/49028] Missed optimization of pointer arithmetic

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49028 Andrew Pinski changed: What|Removed |Added Severity|minor |enhancement

[Bug middle-end/101913] -Wstrict-overflow -O3 false alarm on tzdb localtime.c

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101913 --- Comment #1 from Andrew Pinski --- >-1L << 63 is LONG_MIN No it is undefined and has an overflow bit on it. You want (long)(-1UL << 63) for it be correct. But the warning is still there. I thought -fsanitize=undefined enabled -fwrapv too

[Bug c/101913] New: -Wstrict-overflow -O3 false alarm on tzdb localtime.c

2021-08-14 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101913 Bug ID: 101913 Summary: -Wstrict-overflow -O3 false alarm on tzdb localtime.c Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/101911] Type cannot be defined inside of the lambda in unevaluated context

2021-08-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101911 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-08-14

[Bug c/22249] GCC does not reject an incompatible type declaration

2021-08-14 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22249 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #2

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

2021-08-14 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29970 --- Comment #12 from Martin Uecker --- Another version of the patch: https://gcc.gnu.org/pipermail/gcc-patches/2021-August/577402.html

[PATCH v2] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-14 Thread Uecker, Martin
Here is an update version of the patch. I now reorder only the gimplification and not other preparation so that replacing PLACEHOLDER_EXPRs for Ada should continue to work. I also removed a call to gimplify_type_sizes somewhere else, which also caused some similar problemes. This seems to fix

[Bug middle-end/100406] bogus/missing -Wmismatched-new-delete

2021-08-14 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100406 Bug 100406 depends on bug 101791, which changed state. Bug 101791 Summary: missing warning on a mismatch between scalar and array forms of new and delete https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101791 What|Removed

[Bug middle-end/101791] missing warning on a mismatch between scalar and array forms of new and delete

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

[Bug middle-end/101791] missing warning on a mismatch between scalar and array forms of new and delete

2021-08-14 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101791 --- Comment #1 from CVS Commits --- The master branch has been updated by Martin Sebor : https://gcc.gnu.org/g:96194a07bdbc57dd9733892a791d87dbe25f0802 commit r12-2908-g96194a07bdbc57dd9733892a791d87dbe25f0802 Author: Martin Sebor Date:

  1   2   >