[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 --- Comment #7 from Andrew Pinski --- Created attachment 52151 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52151=edit Patch which is in testing

Re: [RFC][PATCH 3/N] lto-plugin: Port to C++

2022-01-09 Thread Richard Biener via Gcc-patches
On Wed, Jan 5, 2022 at 2:28 PM Martin Liška wrote: > > Hello. > > I'm working on some changes that will be needed for support of ld.mold. > And I would like to have the plugin in C++. Having that, we can utilize basic > contains like std::vector (instead of xrealloc(foo, len + 1)...). > > I split

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 --- Comment #6 from Andrew Pinski --- One more testcase where we get folding now: /* { dg-do compile } */ /* { dg-options "-O2 -fdump-tree-optimized" } */ /* { dg-final { scan-tree-dump-times ".SQRT" 0 "optimized" } } */ /* { dg-final {

[Bug target/103959] New: float64x1_t not using fmov to generate some float values

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103959 Bug ID: 103959 Summary: float64x1_t not using fmov to generate some float values Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization

RE: [PATCH] [i386] Remove register restriction on operands for andnot insn

2022-01-09 Thread Jiang, Haochen via Gcc-patches
Hi Hongtao, I have changed that message in this patch. Ok for trunk? Thx, Haochen -Original Message- From: Hongtao Liu Sent: Monday, January 10, 2022 3:25 PM To: Jiang, Haochen Cc: GCC Patches ; Liu, Hongtao Subject: Re: [PATCH] [i386] Remove register restriction on operands for

Re: [PATCH] [i386] Remove register restriction on operands for andnot insn

2022-01-09 Thread Hongtao Liu via Gcc-patches
On Mon, Jan 10, 2022 at 2:23 PM Haochen Jiang via Gcc-patches wrote: > > Hi all, > > This patch removes the register restriction on operands for andnot insn so > that it can be used from memory. > > Regtested on x86_64-pc-linux-gnu. Ok for trunk? > > BRs, > Haochen > > gcc/ChangeLog: > >

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > I am going to fix this but maybe not until stage 1. > > I think this is enough too: It is. A testcase too: /* { dg-do compile } */ /* { dg-options

[Bug rtl-optimization/63281] powerpc64le creates 64 bit constants from scratch instead of loading them

2022-01-09 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63281 --- Comment #22 from Jiu Fu Guo --- On power10, loading constant only needs 1 instruction, like: pld 9,.LC0@pcrel And, as tests, it seems nearly as fast as using 1 instruction to build const.

[PATCH] [i386] Remove register restriction on operands for andnot insn

2022-01-09 Thread Haochen Jiang via Gcc-patches
Hi all, This patch removes the register restriction on operands for andnot insn so that it can be used from memory. Regtested on x86_64-pc-linux-gnu. Ok for trunk? BRs, Haochen gcc/ChangeLog: PR target/53652 * config/i386/sse.md (*andnot3): Remove register restriction.

Re: What's wrong with this RTL?

2022-01-09 Thread Andrew Pinski via Gcc
On Sun, Jan 9, 2022 at 8:49 PM Andras Tantos wrote: > > All! > > I'm trying to port GCC to a new target, I call 'brew'. I've based it on > the Moxie target mostly because of it's simplicity. > > I must be doing something horribly wrong as the following C code crokes > in the LRA path: > >long

Ping: [PATCH] rs6000: powerpc suboptimal boolean test of contiguous bits [PR102239]

2022-01-09 Thread Xionghu Luo via Gcc-patches
Ping, thanks. On 2021/12/13 13:16, Xionghu Luo wrote: > Add specialized version to combine two instructions from > > 9: {r123:CC=cmp(r124:DI&0x6,0);clobber scratch;} >REG_DEAD r124:DI > 10: pc={(r123:CC==0)?L15:pc} > REG_DEAD r123:CC > > to: > > 10:

Ping: [PATCH] rs6000: Add split pattern to replace

2022-01-09 Thread Xionghu Luo via Gcc-patches
Gentle ping, thanks. On 2021/12/29 09:27, Xionghu Luo wrote: > 7: r120:V4SI=const_vector > 8: r121:V4SI=unspec[r120:V4SI,r120:V4SI,0xc] 260 > > with r121:v4SI = r120:V4SI when r120 is a vector with same element. > > Bootstrapped and regtested pass on powerpc64le-linux-gnu {P10, P9} > and

What's wrong with this RTL?

2022-01-09 Thread Andras Tantos
All! I'm trying to port GCC to a new target, I call 'brew'. I've based it on the Moxie target mostly because of it's simplicity. I must be doing something horribly wrong as the following C code crokes in the LRA path: long long foo (long long a, long long *w) { return

Ping^1 [PATCH] Modify combine pattern by a pseudo AND with its nonzero bits [PR93453]

2022-01-09 Thread HAO CHEN GUI via Gcc-patches
Hi, Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/586304.html Thanks On 7/12/2021 下午 4:28, HAO CHEN GUI wrote: > Hi, > This patch modifies the combine pattern with a helper - > change_pseudo_and_mask when recog fails. > The helper converts a single

Ping^1 [PATCH, rs6000] new split pattern for TI to V1TI move [PR103124]

2022-01-09 Thread HAO CHEN GUI via Gcc-patches
Hi, Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587051.html Thanks On 17/12/2021 上午 9:55, HAO CHEN GUI wrote: > Hi, >This patch defines a new split pattern for TI to V1TI move. The pattern > concatenates two subreg:DI of > a TI to a V2DI. With the

Ping^1 [PATCH, rs6000] Fix ICE on expand bcd__ [PR100736]

2022-01-09 Thread HAO CHEN GUI via Gcc-patches
Hi, Gentle ping this: https://gcc.gnu.org/pipermail/gcc-patches/2021-December/587253.html Thanks On 21/12/2021 下午 4:19, HAO CHEN GUI wrote: > Hi, > This patch fixes the ICE in PR100736. It adds a reverse condition > comparison when the > condition code can be reversed and

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2022-01-09 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #36 from Hongtao.liu --- (In reply to pthaugen from comment #33) > (In reply to rsand...@gcc.gnu.org from comment #32) > > Created attachment 52102 [details] > > Alternative patch > > > > This patch is a squash of several ira tweaks

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

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

[Bug target/64821] [AArch64] Improve target folding for vsqrt_f64 intrinsic

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64821 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2015-02-16 00:00:00 |2022-1-9 --- Comment #3 from Andrew

[Bug c++/103954] GCC did not generate correct code for template function with O2

2022-01-09 Thread woodhead99 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103954 --- Comment #2 from Ming Zhi --- thanks for your great answer! I did not know the effect of strict aliasing till today. It looks I need to update my knowledge base about c++ right now. Get Outlook for Android

[Bug target/72738] internal compiler error: in expand_shift_1, at expmed.c:2318

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72738 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection | --- Comment #6 from Andrew Pinski ---

[Bug target/72738] internal compiler error: in expand_shift_1, at expmed.c:2318

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

[Bug target/72738] internal compiler error: in expand_shift_1, at expmed.c:2318

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72738 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code, |

[Bug target/64154] enable fipa-ra for Thumb1

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64154 Andrew Pinski changed: What|Removed |Added Keywords||FIXME Last reconfirmed|2014-12-12

[Bug target/56898] stack smashing protector for alpha

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56898 Andrew Pinski changed: What|Removed |Added Target||alpha*-*-* Severity|normal

[Bug target/65651] Redundant cmp with zero instruction in loop for x86 target.

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

[Bug target/63402] ICE when using log10l() with -m96bit-long-double

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63402 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX See Also|

[Bug target/47867] lto language is not supported on 32-bit HP-UX

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47867 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2011-10-24 00:00:00 |2022-01-09

[Bug middle-end/33164] Texinfo markup problems in tm.texi

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33164 Andrew Pinski changed: What|Removed |Added Target Milestone|5.0 |4.5.0 --- Comment #3 from Andrew Pinski

[Bug middle-end/33164] Texinfo markup problems in tm.texi

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

[Bug debug/103958] New: the target hook TARGET_DWARF_CALLING_CONVENTION is nested inside target macro DWARF2_DWARF2_DEBUGGING_INFO

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103958 Bug ID: 103958 Summary: the target hook TARGET_DWARF_CALLING_CONVENTION is nested inside target macro DWARF2_DWARF2_DEBUGGING_INFO Product: gcc Version: 12.0

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Known to fail|

[Bug fortran/92621] Problems with memory handling with allocatable intent(out) arrays with bind(c)

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92621 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/92482] BIND(C) with array-descriptor mishandled for type character

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92482 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/94070] Assumed-rank arrays – bounds mishandled, SIZE/SHAPE/UBOUND/LBOUND

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/101309] Bind(C): gfortran creates invalid C descriptor for result of TRANSPOSE intrinsic

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101309 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/101308] Bind(C): gfortran does not create C descriptors for scalar pointer/allocatable arguments

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101308 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/92189] Fortran-written bind(C) function with allocatable argument does not update C descriptor on exit

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92189 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/102086] [F2008][TS29113] Accepts invalid scalar TYPE(*) as actual argument to assumed-rank

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102086 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/101635] FAIL: gfortran.dg/PR93963.f90 – alias-handling issue with BIND(C)'s _gfortran_cfi_desc_to_gfc_desc

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101635 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/98472] internal compiler error: in gfc_conv_expr_descriptor, at fortran/trans-array.c:7352

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98472 Andrew Pinski changed: What|Removed |Added CC||ffadrique at gmail dot com --- Comment

[Bug fortran/103957] ICE passing return value from elemental type bound procedure

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103957 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/103957] ICE passing return value from elemental type bound procedure

2022-01-09 Thread ffadrique at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103957 --- Comment #1 from Fran Martinez Fadrique --- Created attachment 52150 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52150=edit Main program where the error appears

[Bug fortran/103957] New: ICE passing return value from elemental type bound procedure

2022-01-09 Thread ffadrique at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103957 Bug ID: 103957 Summary: ICE passing return value from elemental type bound procedure Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal

[Bug libcc1/67590] libcc1 cannot find objdump when cross build native

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67590 Tom Tromey changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #2

[Bug bootstrap/65763] tm.h: No such file or directory

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65763 Tom Tromey changed: What|Removed |Added CC||townsend at astro dot wisc.edu --- Comment

[Bug libcc1/64320] Missing config.h during findcomp.cc compilation when srcdir=objdir

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64320 Tom Tromey changed: What|Removed |Added Status|NEW |RESOLVED CC|

gcc-12-20220109 is now available

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

[Bug libcc1/63792] libcc1 doesn't built i386 multilib

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63792 Tom Tromey changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libcc1/65817] libcc1: ICE: SEGV: c_incomplete_type_error()

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65817 Tom Tromey changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug tree-optimization/95140] [10/11/12 Regression] bogus -Wstringop-overflow for a loop unrolled past the end of an array

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95140 Andrew Pinski changed: What|Removed |Added CC||martin at martin dot st --- Comment #8

[Bug c/103956] [10 Regression] -Wstringop-overflow= false positive on -O3 for writes to array

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103956 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug libstdc++/103955] std::to_chars(char*, char*, double, std::chars_format, int precision) crashes for the two maximal int precision values

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103955 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-09

[Bug libstdc++/103955] std::to_chars(char*, char*, double, std::chars_format, int precision) crashes for the two maximal int precision values

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103955 --- Comment #1 from Andrew Pinski --- Unpreprocessed source (just in case): #include #include int main() { std::array result; // these two crash const auto [end, ec] = std::to_chars(result.data(), result.data() + result.size(),

[Bug c/103956] New: [10 Regression] -Wstringop-overflow= false positive on -O3 for writes to array

2022-01-09 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103956 Bug ID: 103956 Summary: [10 Regression] -Wstringop-overflow= false positive on -O3 for writes to array Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug fortran/103777] ICE in gfc_simplify_maskl, at fortran/simplify.c:4918

2022-01-09 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103777 anlauf at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |12.0

PING^2: [PATCH] Add --enable-first-stage-cross configure option

2022-01-09 Thread Serge Belyshev
Ping: [PATCH] Add --enable-first-stage-cross configure option https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575318.html Add --enable-first-stage-cross configure option Build static-only, C-only compiler that is sufficient to cross compile glibc. This option disables various runtime

Re: [PATCH] PR fortran/103777 - ICE in gfc_simplify_maskl, at fortran/simplify.c:4918

2022-01-09 Thread Harald Anlauf via Gcc-patches
Am 09.01.22 um 21:12 schrieb Mikael Morin: Le 06/01/2022 à 22:44, Mikael Morin a écrit : Le 06/01/2022 à 20:50, Harald Anlauf a écrit : Did you find the time to try your version? Not yet. But I have not (yet) forgotten about this. I have looked at it, and it enables infinite mutual

[Bug fortran/103777] ICE in gfc_simplify_maskl, at fortran/simplify.c:4918

2022-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103777 --- Comment #5 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:49d73c9fb644673323845efebfe6b3106e70af8a commit r12-6388-g49d73c9fb644673323845efebfe6b3106e70af8a Author: Harald Anlauf Date:

Re: [PATCH] PR fortran/101762 - ICE on non-constant pointer initialization targets

2022-01-09 Thread Harald Anlauf via Gcc-patches
Hi Mikael, Am 09.01.22 um 20:28 schrieb Mikael Morin: Le 03/01/2022 à 20:45, Harald Anlauf via Fortran a écrit : Dear all, the initial-data-target for a pointer initialization can be either NULL() or a non-constant target.  In the latter case subscripts of the target specification (or

[Bug fortran/101762] ICE with "Every subscript of the target specification must be a constant expression"

2022-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101762 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2e63128306ff93d8f53119137dd6c28b2defac94 commit r12-6387-g2e63128306ff93d8f53119137dd6c28b2defac94 Author: Harald Anlauf Date:

Re: [PATCH] PR fortran/103777 - ICE in gfc_simplify_maskl, at fortran/simplify.c:4918

2022-01-09 Thread Mikael Morin
Le 06/01/2022 à 22:44, Mikael Morin a écrit : Le 06/01/2022 à 20:50, Harald Anlauf a écrit : Did you find the time to try your version? Not yet. But I have not (yet) forgotten about this. I have looked at it, and it enables infinite mutual recursion between gfc_intrinsic_func_interface and

Re: [PATCH] Fortran: make IEEE_CLASS recognize signaling NaNs

2022-01-09 Thread Mikael Morin
Le 09/01/2022 à 11:52, FX via Fortran a écrit : ping Le 2 janv. 2022 à 11:50, FX a écrit : Hi, This is the first part of a three-patch series to fix PR 82207 (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207), making gfortran handle signaling NaNs. This part fixes the library code

[Bug libstdc++/103955] New: std::to_chars(char*, char*, double, std::chars_format, int precision) crashes for the two maximal int values

2022-01-09 Thread gcc at maxmitti dot tk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103955 Bug ID: 103955 Summary: std::to_chars(char*, char*, double, std::chars_format, int precision) crashes for the two maximal int values Product: gcc Version: 11.1.0

Re: [PATCH] PR fortran/101762 - ICE on non-constant pointer initialization targets

2022-01-09 Thread Mikael Morin
Le 03/01/2022 à 20:45, Harald Anlauf via Fortran a écrit : Dear all, the initial-data-target for a pointer initialization can be either NULL() or a non-constant target. In the latter case subscripts of the target specification (or substring starting and ending points) must be constant

[Bug c/65253] add -Wmemsize-comparison

2022-01-09 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65253 --- Comment #4 from David Binderman --- (In reply to David Binderman from comment #3) > Also happens in fedora rawhide, package gshutdown. Also package openbox.

[Bug libcc1/67128] Makefile.in, libcc1 and --enable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128 --- Comment #8 from Tom Tromey --- *** Bug 96240 has been marked as a duplicate of this bug. ***

[Bug bootstrap/96240] Error in building gcc-11 with --disable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240 Tom Tromey changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug bootstrap/96240] Error in building gcc-11 with --disable-shared

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240 Andrew Pinski changed: What|Removed |Added Component|libstdc++ |bootstrap --- Comment #3 from Andrew

[Bug libcc1/67128] Makefile.in, libcc1 and --enable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128 Tom Tromey changed: What|Removed |Added CC||skunk at iskunk dot org --- Comment #7

[Bug libcc1/66955] Bootstrap error: libcc1 compiled as shared library despite --disable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66955 Tom Tromey changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/96240] Error in building gcc-11 with --disable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240 Tom Tromey changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug libcc1/67128] Makefile.in, libcc1 and --enable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128 Tom Tromey changed: What|Removed |Added CC||570070308 at qq dot com --- Comment #6

[Bug libcc1/96240] Error in building gcc-11 with --disable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96240 Tom Tromey changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug libcc1/67128] Makefile.in, libcc1 and --enable-shared

2022-01-09 Thread tromey at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67128 Tom Tromey changed: What|Removed |Added CC||tromey at gcc dot gnu.org --- Comment #5

Re: [PATCH] Fortran: Ignore KIND argument of a few more intrinsics. [PR103789]

2022-01-09 Thread Mikael Morin
Le 09/01/2022 à 15:10, Mikael Morin a écrit : pulling the latest master brought me a broken bootstrap It was a user error (of course). Bootstrap and regression test and commit pending. Now tested and committed as r12-6386-gc1c17a43e172ebc28f2cd247f6e83c5fdbc6219f

[Bug fortran/103789] ICE when providing kind argument to mask{l,r}

2022-01-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 --- Comment #4 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:c1c17a43e172ebc28f2cd247f6e83c5fdbc6219f commit r12-6386-gc1c17a43e172ebc28f2cd247f6e83c5fdbc6219f Author: Mikael Morin Date:

[Bug c++/99757] [9/10/11/12 Regression] ICE: in cp_finish_decl, at cp/decl.c:7736

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99757 Andrew Pinski changed: What|Removed |Added Summary|ICE: in cp_finish_decl, at |[9/10/11/12 Regression]

[Bug c++/103952] [9/10/11/12 Regression] ICE: in cp_finish_decl, at cp/decl.c:7933

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103952 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-09 Known to fail|

[Bug c++/103954] GCC did not generate correct code for template function with O2

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103954 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[power-ieee128, patch, committed] Implement CONVERT specifier

2022-01-09 Thread Thomas Koenig via Gcc-patches
Hi, I just pushed the attached patch to the branch. It works with the attached test case for -mabi=ibmlongdouble and -mabi=ieeelongdouble. The test case is not quite ready for inclusion in the test suite; it still leaves its last data files behind, and it needs to be dejagnuified and put with

[Bug c++/103954] New: GCC did not generate correct code for template function with O2

2022-01-09 Thread woodhead99 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103954 Bug ID: 103954 Summary: GCC did not generate correct code for template function with O2 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/103951] [C++2b] string_view range constructor, "exception specification ... depends on itself"

2022-01-09 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103951 --- Comment #2 from 康桓瑋 --- Here is the reduced version without the header: template T&& declval() noexcept; struct true_type { static constexpr bool value = true; }; template class is_convertible { template static void

[Bug c++/103953] New: Leak of coroutine return object

2022-01-09 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103953 Bug ID: 103953 Summary: Leak of coroutine return object Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/103952] ICE: in cp_finish_decl, at cp/decl.c:7933

2022-01-09 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103952 --- Comment #1 from 康桓瑋 --- Segmentation fault: template struct A { template static constexpr auto c = [] { return Is; }(); using type = decltype(c<0>); }; #include int main() { typename A>::type x; } https://godbolt.org/z/EbdanW16d

[Bug c++/103952] New: ICE: in cp_finish_decl, at cp/decl.c:7933

2022-01-09 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103952 Bug ID: 103952 Summary: ICE: in cp_finish_decl, at cp/decl.c:7933 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[PATCH] Fortran: Ignore KIND argument of a few more intrinsics. [PR103789]

2022-01-09 Thread Mikael Morin
Hello, I was about to commit the attached patch, but pulling the latest master brought me a broken bootstrap, so I can’t test it fully right now. Anyway, it should be non-controversial, and Harald OK'ed a variant in the PR already. Bootstrap and regression test and commit pending. MikaelFrom

[Bug debug/100530] [9/10/11/12 Regression] ICE with -g: in add_dwarf_attr with __seg_gs (Alternative address-space) global variable since r8-4385-ga297ccb52e0c894e

2022-01-09 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100530 Thomas Schwinge changed: What|Removed |Added Component|target |debug

[Bug target/100799] Stackoverflow in optimized code on PPC

2022-01-09 Thread kenneth.hoste at ugent dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100799 --- Comment #6 from Kenneth Hoste --- (In reply to Segher Boessenkool from comment #3) > Hi Alexander, > > You do not say what the actual target you used is? powerpc-linux, > powerpc64-linux, powerpc64le-linux, something else entirely? We're

[Bug libstdc++/103951] [C++2b] string_view range constructor, "exception specification ... depends on itself"

2022-01-09 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103951 康桓瑋 changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #1 from 康桓瑋

Re: [PATCH] Fortran: make IEEE_CLASS recognize signaling NaNs

2022-01-09 Thread FX via Gcc-patches
ping > Le 2 janv. 2022 à 11:50, FX a écrit : > > Hi, > > This is the first part of a three-patch series to fix PR 82207 > (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207), making gfortran handle > signaling NaNs. This part fixes the library code implementing IEEE_CLASS, by > using the

[Bug libstdc++/103951] New: [C++2b] string_view range constructor, "exception specification ... depends on itself"

2022-01-09 Thread iamsupermouse at mail dot ru via Gcc-bugs
and Clang with libstdc++, with similar errors. I've tested both on GCC 11.2 and on trunk 12.0.0 20220109 at gcc.godbolt.org. #include struct Iter { Iter() {} Iter(std::string_view) {} // Adding `explicit` fixes the error Iter begin() const {

Public review for RISC-V psABI v1.0-rc1

2022-01-09 Thread Kito Cheng
Hi all: It’s Kito Cheng from the RISC-V community, Jessica Clarke and I are working on releasing a stable version of the psABI, and are seeking feedback from the open source community. The goal of this stable release is having a stable version to let people use as a reference point. We are

[Bug lto/69254] [6 Regression] ICE in streamer_get_builtin_tree when using -fsanitize=shift on the compile side only

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69254 Andrew Pinski changed: What|Removed |Added CC||steven at uplinklabs dot net ---

[Bug sanitizer/65828] [LTO] ICE in streamer_get_builtin_tree, at tree-streamer-in.c:1127

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

[Bug lto/56601] OpenBSD lto-plugin fails to use

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56601 Andrew Pinski changed: What|Removed |Added Component|target |lto Status|WAITING

[Bug target/56601] OpenBSD lto-plugin fails to use

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56601 --- Comment #6 from Andrew Pinski --- (In reply to mail from comment #5) > Hi, > > following change fixed it for me: That is obvious not the correct fix. I suspect this is a libtool issue

[Bug c/78539] feature request: __noextension__

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

[Bug libstdc++/103891] clang-13 fails to compile libstdc++'s std::variant>: error: attempt to use a deleted function

2022-01-09 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103891 --- Comment #5 from Sergei Trofimovich --- (In reply to Jonathan Wakely from comment #4) > I suppose we could just do: > > --- a/libstdc++-v3/include/std/variant > +++ b/libstdc++-v3/include/std/variant > @@ -54,7 +54,7 @@ namespace std

[Bug hsa/86948] Internal compiler error compiling brig.dg/test/gimple/mulhi.hsail

2022-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 Andrew Pinski changed: What|Removed |Added Target Milestone|11.0|12.0 --- Comment #11 from Andrew Pinski

  1   2   >