Re: [arm] MVE: Relax addressing modes for full loads and stores

2022-01-16 Thread Christophe Lyon via Gcc-patches
Hi André, On Fri, Jan 14, 2022 at 6:03 PM Andre Vieira (lists) via Gcc-patches < gcc-patches@gcc.gnu.org> wrote: > Hi Christophe, > > This patch relaxes the addressing modes for the mve full load and stores > (by full loads and stores I mean non-widening or narrowing loads and > stores resp).

Re: [PATCH 1/3] tree-ssa-sink: do not sink to in front of setjmp

2022-01-16 Thread Richard Biener via Gcc-patches
On Fri, Jan 14, 2022 at 7:21 PM Alexander Monakov wrote: > > gcc/ChangeLog: > > * tree-ssa-sink.c (select_best_block): Punt if selected block > has incoming abnormal edges. OK. > gcc/testsuite/ChangeLog: > > * gcc.dg/setjmp-7.c: New test. > --- >

[Bug fortran/104048] ICE with recursively defined derived type

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104048 --- Comment #3 from Andrew Pinski --- (In reply to Arjen Markus from comment #2) > That reduced example is wonderfully compact! (I checked for similar reports > but probably missed bug report 79440, because it was not associated with >

[Bug fortran/104048] ICE with recursively defined derived type

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

[Bug fortran/104048] ICE with recursively defined derived type

2022-01-16 Thread arjen.markus895 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104048 --- Comment #2 from Arjen Markus --- That reduced example is wonderfully compact! (I checked for similar reports but probably missed bug report 79440, because it was not associated with "recursive" data types)

Re: [patch, libgfortran, power-ieee128] Add multiple defaults for GFORTRAN_CONVERT_UNIT

2022-01-16 Thread Thomas Koenig via Gcc-patches
On 13.01.22 22:58, Thomas Koenig via Fortran wrote: with this patch, it is now possible to specify both the endianness and the REAL(KIND=16) format using the environment variable GFORTRAN_CONVERT_UNIT. I have now pushed this to trunk. Best regards Thomas

[Bug target/100952] [12 regression] several test case failures after r12-1202

2022-01-16 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100952 --- Comment #16 from HaoChen Gui --- prefix-no-update.c should be fixed by the patch Segher proposed in PR103197. pr56605.c got a wrong fixed and failed with GCC11. I will submit a patch to fix it.

[Bug target/103197] ppc inline expansion of memcpy/memmove should not use lxsibzx/stxsibx for a single byte

2022-01-16 Thread guihaoc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103197 HaoChen Gui changed: What|Removed |Added CC||guihaoc at gcc dot gnu.org --- Comment

Re: [PATCH] rs6000: Use known constant for GET_MODE_NUNITS and similar

2022-01-16 Thread Kewen.Lin via Gcc-patches
on 2022/1/14 下午9:53, David Edelsohn wrote: > On Fri, Jan 14, 2022 at 5:42 AM Kewen.Lin wrote: >> >> on 2022/1/13 下午11:15, David Edelsohn wrote: >>> On Thu, Jan 13, 2022 at 7:40 AM Kewen.Lin wrote: Hi David, on 2022/1/13 上午11:12, David Edelsohn wrote: > On Wed, Jan 12,

[Bug target/103124] PPC: "mr" instruction is unnecessary when extending DI to V1TI

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103124 --- Comment #6 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:240dd6c063b481c092c9ec406b69b400f6f033f1 commit r12-6620-g240dd6c063b481c092c9ec406b69b400f6f033f1 Author: Haochen Gui Date: Mon

[r12-6616 Regression] FAIL: gfortran.dg/ieee/signaling_3.f90 -Os execution test on Linux/x86_64

2022-01-16 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 86e3b476d5defaa79c94d40b76cbeec21cd02e5f is the first bad commit commit 86e3b476d5defaa79c94d40b76cbeec21cd02e5f Author: Francois-Xavier Coudert Date: Mon Jan 17 00:00:18 2022 +0100 Fortran: xfail signaling NaN testcases on x87 caused FAIL:

[Bug rtl-optimization/104059] [12 Regression] cprop_hardreg propgates hard registers for mov instructions between different REG_CLASS without considering cost

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

[Bug tree-optimization/104060] [11/12 Regression] -Wmaybe-uninitialized false alarm on address of local array

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

[Bug tree-optimization/104060] New: -Wmaybe-uninitialized false alarm on address of local array

2022-01-16 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104060 Bug ID: 104060 Summary: -Wmaybe-uninitialized false alarm on address of local array Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/104059] New: cprop_hardreg propgates hard registers for mov instructions between different REG_CLASS without considering cost

2022-01-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104059 Bug ID: 104059 Summary: cprop_hardreg propgates hard registers for mov instructions between different REG_CLASS without considering cost Product: gcc Version:

Ping Re: [PATCH] middle-end: move initialization of stack_limit_rtx [PR103163]

2022-01-16 Thread Sandra Loosemore
On 1/8/22 9:24 PM, Sandra Loosemore wrote: This patch fixes the ICE I reported in PR103163.  We were initializing stack_limit_rtx before the register properties it depends on were getting set.  I moved it to the same function where stack_pointer_rtx, frame_pointer_rtx, etc are being

[Bug fortran/104048] ICE with recursively defined derived type

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

[Bug fortran/104047] Invalid result with assignment of recursive derived type

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

[Bug target/104039] AArch64 Redundant instruction moving general to vector register

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104039 Andrew Pinski changed: What|Removed |Added Known to fail||9.1.0 Severity|enhancement

[Bug rtl-optimization/104049] [12 Regression] vec_select to subreg lowering causes superfluous moves

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

[Bug tree-optimization/104058] [12 Regression] 6-7% x264_r regression with -march=native -Ofast -funroll-loops -flto on x86 since r12-6420-gd3ff7420e941931d32ce2e332e7968fe67ba20af

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104058 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103997#c4 might be the discussion around what is happening.

[Bug tree-optimization/104058] [12 Regression] 6-7% x264_r regression with -march=native -Ofast -funroll-loops -flto on x86 since r12-6420-gd3ff7420e941931d32ce2e332e7968fe67ba20af

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

[Bug tree-optimization/104058] New: [12 Regression] 6-7% x264_r regression with -march=native -Ofast -funroll-loops -flto on x86 since r12-6420-gd3ff7420e941931d32ce2e332e7968fe67ba20af

2022-01-16 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104058 Bug ID: 104058 Summary: [12 Regression] 6-7% x264_r regression with -march=native -Ofast -funroll-loops -flto on x86 since r12-6420-gd3ff7420e941931d32ce2e332e7968fe67ba20af

[r12-6615 Regression] FAIL: gfortran.dg/ieee/signaling_2.f90 -Os execution test on Linux/x86_64

2022-01-16 Thread sunil.k.pandey via Gcc-patches
On Linux/x86_64, 90045c5df5b3c8853e7740fb72a11aead1c489bb is the first bad commit commit 90045c5df5b3c8853e7740fb72a11aead1c489bb Author: Francois-Xavier Coudert Date: Mon Jan 10 17:04:34 2022 +0100 Fortran: allow IEEE_VALUE to correctly return signaling NaNs caused FAIL:

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #21 from cqwrteur --- (In reply to cqwrteur from comment #18) > (In reply to Andrew Pinski from comment #17) > > also multilib directories under ${prefix} for a cross does not use OS > > directories as most cross compilers have OS

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #20 from cqwrteur --- (In reply to cqwrteur from comment #18) > (In reply to Andrew Pinski from comment #17) > > also multilib directories under ${prefix} for a cross does not use OS > > directories as most cross compilers have OS

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #19 from cqwrteur --- (In reply to cqwrteur from comment #18) > (In reply to Andrew Pinski from comment #17) > > also multilib directories under ${prefix} for a cross does not use OS > > directories as most cross compilers have OS

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #18 from cqwrteur --- (In reply to Andrew Pinski from comment #17) > also multilib directories under ${prefix} for a cross does not use OS > directories as most cross compilers have OS directories. Of course. I installed Linux

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #17 from Andrew Pinski --- also multilib directories under ${prefix} for a cross does not use OS directories as most cross compilers have OS directories.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #16 from Andrew Pinski --- There are a definitely a few steps missing, Where is the Linux headers installed? How did you configure glibc and install it? I don't see you copying the headers of glibc anywhere. sysroots make it easier

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
orted LTO compression algorithms: zlib zstd gcc version 12.0.0 20220116 (experimental) (GCC)

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #14 from cqwrteur --- export PATH=$PREFIX/bin:$PATH sorry

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #13 from cqwrteur --- (In reply to Andrew Pinski from comment #12) > I don't care about your youtube videos (they are not accessable due to not > having > the steps written down). I need the steps written here in the bug report.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #12 from Andrew Pinski --- I don't care about your youtube videos (they are not accessable due to not having the steps written down). I need the steps written here in the bug report.

Re: [PATCH v2 RFA] diagnostic: avoid repeating include path

2022-01-16 Thread David Malcolm via Gcc-patches
On Fri, 2022-01-14 at 23:01 -0500, Jason Merrill wrote: > On 1/13/22 17:30, David Malcolm wrote: > > On Thu, 2022-01-13 at 17:08 -0500, Jason Merrill wrote: > > > When a sequence of diagnostic messages bounces back and forth > > > repeatedly > > > between two includes, as with > > > > > >   

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #11 from cqwrteur --- (In reply to Andrew Pinski from comment #10) > Please provide the full steps how you build the cross compilers? > Please provide the exact command where the problem shows up after building > the compiler? > >

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #10 from Andrew Pinski --- Please provide the full steps how you build the cross compilers? Please provide the exact command where the problem shows up after building the compiler? Without that we cannot fix anything. If you don't

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #9 from Andrew Pinski --- There is --with-build-sysroot option explicitly for that case.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #8 from cqwrteur --- (In reply to Andrew Pinski from comment #6) > (In reply to cqwrteur from comment #5) > > There is a lot of reasons why sysroot should not be set. Like Canadian > > compilation. > > Huh? I do Canadian crosses

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #7 from cqwrteur --- (In reply to Andrew Pinski from comment #6) > (In reply to cqwrteur from comment #5) > > There is a lot of reasons why sysroot should not be set. Like Canadian > > compilation. > > Huh? I do Canadian crosses

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #6 from Andrew Pinski --- (In reply to cqwrteur from comment #5) > There is a lot of reasons why sysroot should not be set. Like Canadian > compilation. Huh? I do Canadian crosses with sysroot too.

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #5 from cqwrteur --- (In reply to Andrew Pinski from comment #4) > There is also multi-arch too. > I build cross compilers all the time and they find libraries under the > sysroot : >

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #4 from Andrew Pinski --- There is also multi-arch too. I build cross compilers all the time and they find libraries under the sysroot :

[Bug c++/104055] Temporary with conteval constructor is ignored

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

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #3 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Can you give an example? > There are two different directories where multilib is there. > One is based on the multilib name and the other is the OS multi-lib >

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 --- Comment #2 from cqwrteur --- (In reply to Andrew Pinski from comment #1) > Can you give an example? > There are two different directories where multilib is there. > One is based on the multilib name and the other is the OS multi-lib >

[committed] libstdc++: Update C++20 status table

2022-01-16 Thread Jonathan Wakely via Gcc-patches
libstdc++-v3/ChangeLog: * doc/xml/manual/status_cxx2020.xml: Update. * doc/html/manual/status.html: Regenerate. Pushed to trunk. commit a326934886f606b4a4a60254917f58c825d7c94b Author: Jonathan Wakely Date: Thu Jan 13 22:18:13 2022 libstdc++: Update C++20 status

Re: [PATCH] libstdc++: Implement C++20 atomic and atomic

2022-01-16 Thread Jonathan Wakely via Gcc-patches
On Fri, 14 Jan 2022 at 22:40, Jonathan Wakely wrote: > > > On Sat, 18 Sept 2021 at 05:12, Thomas Rodgers > wrote: > >> From: Thomas Rodgers >> >> Let's try this one instead. >> >> Signed-off-by: Thomas Rodgers >> > > If you're doing DCO "Signed-off-by" commits you don't need FSF copyright >

Re: GSoC: Working on the static analyzer

2022-01-16 Thread David Malcolm via Gcc
On Fri, 2022-01-14 at 22:15 +0530, Mir Immad wrote: > HI David, > I've been tinkering with the static analyzer for the last few days. I > find > the project of adding SARIF output to the analyzer intresting. I'm > writing > this to let you know that I'm trying to learn the codebase. > Thank you.

Re: [PATCH 11/11] libstdc++: Fix ODR issues with different -m flags

2022-01-16 Thread Jonathan Wakely via Gcc-patches
On Fri, 14 Jan 2022 at 21:30, Jonathan Wakely wrote: > > > On Mon, 15 Nov 2021 at 08:57, Matthias Kretz wrote: > >> ping. OK to push? >> > > Sorry for the delay - this is OK for trunk. > I see a new failure on powerpc64le-linux (gcc112 in the cfarm) after this commit: FAIL:

[Bug go/77780] Go front-end ignores NO_DOLLAR_IN_LABEL

2022-01-16 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77780 Ian Lance Taylor changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

Re: Accessing const parameter of GIMPLE_CALL

2022-01-16 Thread David Malcolm via Gcc
On Sun, 2022-01-16 at 18:52 +0530, Shubham Narlawar via Gcc wrote: > Hello, Hi; various notes inline below... > > My aim is to iterate over gimple call stmt parameters and check > whether it is constant or constant expression and mark/store them for > some gimple transformation. > > I have an

[Bug bootstrap/104057] cross compiler multilibs libs path too chaos

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

[Bug sanitizer/99476] 'PATH_MAX' was not declared in this scope

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99476 --- Comment #1 from cqwrteur --- ../../../../../../../gcc/libsanitizer/asan/asan_linux.cpp: In function 'void __asan::AsanCheckIncompatibleRT()': ../../../../../../../gcc/libsanitizer/asan/asan_linux.cpp:200:21: error: 'PATH_MAX' was not

[Bug bootstrap/104057] New: cross compiler multilibs libs path too chaos

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104057 Bug ID: 104057 Summary: cross compiler multilibs libs path too chaos Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/104052] Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble

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

[PATCH] Fortran: detect signaling NaNs on targets without issignaling macro in libc

2022-01-16 Thread FX via Gcc-patches
This patch is the third in my “signaling NaN” series. For targets with IEEE support but without the issignaling macro in libc (i.e., everywhere except glibc), this allows us to provide a fallback implementation. In order to keep the code in ieee_helper.c relatively readable, I’ve put that new

Re: [PATCH] Fortran: make IEEE_VALUE produce signaling NaNs

2022-01-16 Thread FX via Gcc-patches
Hi Mikael, team, > Thanks. Pushed: > https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=90045c5df5b3c8853e7740fb72a11aead1c489bb Pushed a further commit to XFAIL the testcases on x87: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=86e3b476d5defaa79c94d40b76cbeec21cd02e5f There the ABI does not allow

[Bug c++/104052] Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104052 --- Comment #4 from Andrew Pinski --- There are other types it messes up with too. E.g. the opaque types (PR 98688). I noticed vector types are not handled correctly either. It assumes all vector types of the same size are the same which is

[Bug c++/104052] Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble

2022-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104052 --- Comment #3 from Jakub Jelinek --- config/aarch64/aarch64-builtins.c: aarch64_fp16_type_node = make_node (REAL_TYPE); config/aarch64/aarch64-builtins.c: aarch64_bf16_type_node = make_node (REAL_TYPE); config/arm/arm-builtins.c:

[Bug c++/104031] [12 regression] Global nested constructors generate invalid code since r12-6329-g4f6bc28fc7dd86bd

2022-01-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104031 --- Comment #10 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #8) > That last testcase isn't very good for the testsuite, because 0 is pretty > common value on the stack, so even without the store the chances that it > will be

[Bug c++/104052] Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble

2022-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104052 --- Comment #2 from Jakub Jelinek --- I bet we don't reach this because modules.cc has: /* Global trees. */ static const std::pair global_tree_arys[] = { std::pair (sizetype_tab, stk_type_kind_last), std::pair (integer_types,

[Bug c++/104052] Modules ICE on powerpc64le-linux with -mabi=ieeelongdouble

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

gcc-12-20220116 is now available

2022-01-16 Thread GCC Administrator via Gcc
Snapshot gcc-12-20220116 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20220116/ 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

Re: [pushed 3/3] testsuite: Enrich tests with variants failing on the branch.

2022-01-16 Thread Thomas Koenig via Gcc-patches
Hi Mikael, Backporting the fix for pr103789 on the 11 branch revealed a lack of test coverage for the tests provided with that fix. Indeed, the tests use the KIND argument of the respective intrinsics only with keyword arguments. This adds variants with non-keyword arguments. The tests

Re: [PATCH] Fortran: make IEEE_VALUE produce signaling NaNs

2022-01-16 Thread FX via Gcc-patches
Thanks Mikael, > This looks good to me. Thanks. Thanks. Pushed: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=90045c5df5b3c8853e7740fb72a11aead1c489bb FX

Hilfsfonds – 5 Millionen €

2022-01-16 Thread 209052929
- This e-mail is subjected to the disclaimer that can be viewed at: * http://www.cut.ac.za/www/disclaimer/email_disclaimer -

[pushed 3/3] testsuite: Enrich tests with variants failing on the branch.

2022-01-16 Thread Mikael Morin via Gcc-patches
Backporting the fix for pr103789 on the 11 branch revealed a lack of test coverage for the tests provided with that fix. Indeed, the tests use the KIND argument of the respective intrinsics only with keyword arguments. This adds variants with non-keyword arguments. The tests enriched this way

[pushed 2/3] Fortran: Ignore KIND argument of a few more intrinsics. [PR103789]

2022-01-16 Thread Mikael Morin via Gcc-patches
After PR97896 for which some code was added to ignore the KIND argument of the INDEX intrinsics, and PR87711 for which that was extended to LEN_TRIM as well, this propagates it further to MASKL, MASKR, SCAN and VERIFY. PR fortran/103789 gcc/fortran/ChangeLog: * trans-array.c

[pushed 1/3] Fortran: Fix KIND argument index for LEN_TRIM.

2022-01-16 Thread Mikael Morin via Gcc-patches
The mainline code to check whether an argument has to be included in scalarization uses only the name of a dummy argument object to recognize a specific argument of an intrinsic procedure. On the 11 branch, the dummy argument object is not available and the code uses a mix of check for argument

[pushed 0/3][gcc11] fortran: Backpoprt KIND arg of intrinsics fix [PR103789]

2022-01-16 Thread Mikael Morin via Gcc-patches
Hello, I noticed a bug while backporting the fix for PR103789 on the 11 branch. It makes the cherry-pick not exactly straightforward. The bug is fixed in the first patch, the backport comes in the second, and additional test coverage (pushed earlier today on master) is added in the third. Tested

[Bug libstdc++/104056] --disable-hosted-libstdcxx does not work for x86_64-linux-gnu

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104056 --- Comment #2 from cqwrteur --- skipping link test. i got features.h no such file /home/cqwrteur/myhome/gcc_build/native/x86_64-ubuntu-linux-gnu/gcc/x86_64-ubuntu-linux-gnu/libstdc++-v3/include/x86_64-ubuntu-linux-gnu/bits/os_defines.h:39:10:

[Bug fortran/97896] [11/12 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 --- Comment #17 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:024fd4fb5a1ba742242eec84149f159518444ae3 commit r11-9469-g024fd4fb5a1ba742242eec84149f159518444ae3 Author: Mikael Morin

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

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:024fd4fb5a1ba742242eec84149f159518444ae3 commit r11-9469-g024fd4fb5a1ba742242eec84149f159518444ae3 Author: Mikael Morin

[Bug fortran/87711] ICE in gfc_trans_transfer, at fortran/trans-io.c:2676

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87711 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:024fd4fb5a1ba742242eec84149f159518444ae3 commit r11-9469-g024fd4fb5a1ba742242eec84149f159518444ae3 Author: Mikael Morin

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

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:8d394947776ad2b3ab8376dbf3c198f357bcd322 commit r11-9468-g8d394947776ad2b3ab8376dbf3c198f357bcd322 Author: Mikael Morin

[Bug fortran/97896] [11/12 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 --- Comment #16 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:e63ef9ae51ab67fdd280401e643eb97fddef8d93 commit r11-9467-ge63ef9ae51ab67fdd280401e643eb97fddef8d93 Author: Mikael Morin

[Bug fortran/87711] ICE in gfc_trans_transfer, at fortran/trans-io.c:2676

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87711 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Mikael Morin : https://gcc.gnu.org/g:e63ef9ae51ab67fdd280401e643eb97fddef8d93 commit r11-9467-ge63ef9ae51ab67fdd280401e643eb97fddef8d93 Author: Mikael Morin

[Bug libstdc++/104056] --disable-hosted-libstdcxx does not work for x86_64-linux-gnu

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104056 --- Comment #1 from cqwrteur --- ../../../../gcc/configure --disable-nls --disable-werror --disable-shared --disable-threads --without-headers --disable-hosted-libstdcxx --disable-libstdcxx-verbose --enable-initfini-array

[Bug libstdc++/104056] New: --disable-hosted-libstdcxx does not work for x86_64-linux-gnu

2022-01-16 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104056 Bug ID: 104056 Summary: --disable-hosted-libstdcxx does not work for x86_64-linux-gnu Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

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

2022-01-16 Thread Serge Belyshev via Gcc-patches
Final ping before stage3 ends: [PATCH] Add --enable-first-stage-cross configure option https://gcc.gnu.org/pipermail/gcc-patches/2021-July/575318.html

[Bug c++/104055] New: Temporary with conteval constructor is ignored

2022-01-16 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104055 Bug ID: 104055 Summary: Temporary with conteval constructor is ignored Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/67804] ICE on data initialization of type(character) with wrong data

2022-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67804 --- Comment #7 from anlauf at gcc dot gnu.org --- *** Bug 77667 has been marked as a duplicate of this bug. ***

[Bug fortran/77667] ICE in expand_call, at calls.c:2588

2022-01-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77667 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug fortran/103782] [9/10/11/12 Regression] internal error occurs when overloading intrinsic since r9-1566-g87c789f1c0b2df41

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103782 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:eff452df296a6f3d0f94408bb2a4a5c4a3c86eb7 commit r11-9466-geff452df296a6f3d0f94408bb2a4a5c4a3c86eb7 Author: Harald Anlauf

[Bug fortran/67804] ICE on data initialization of type(character) with wrong data

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67804 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c5bf6dc27cdb091f1f8046f98ce7ca197bffd908 commit r11-9465-gc5bf6dc27cdb091f1f8046f98ce7ca197bffd908 Author: Harald Anlauf

[Bug c++/104031] [12 regression] Global nested constructors generate invalid code since r12-6329-g4f6bc28fc7dd86bd

2022-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104031 --- Comment #9 from Jakub Jelinek --- Created attachment 52208 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52208=edit gcc12-pr104031.patch This seems to work for the testcase, but dunno if there aren't better fixes.

[Bug testsuite/104037] [12 regression] excess errors in g++.old-deja/g++.robertl/eb43.C after r12-6581

2022-01-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104037 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

Re: [PATCH] libstdc++: Add attribute to features deprecated in C++17 [PR91260]

2022-01-16 Thread Jonathan Wakely via Gcc-patches
On Fri, 14 Jan 2022 at 11:32, Jonathan Wakely wrote: > > > On Wed, 12 Jan 2022 at 09:34, Jonathan Wakely via Libstdc++ < > libstd...@gcc.gnu.org> wrote: > >> This passes testing (with -std=gnu++98/11/17/20) but is quite a large >> patch for this late in stage 3. Does anybody object to doing this

[Bug c++/104031] [12 regression] Global nested constructors generate invalid code since r12-6329-g4f6bc28fc7dd86bd

2022-01-16 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104031 --- Comment #8 from Jakub Jelinek --- That last testcase isn't very good for the testsuite, because 0 is pretty common value on the stack, so even without the store the chances that it will be already zero are high. 42 is less likely... // PR

Re: [PATCH] Strengthen memory memory order for atomic::wait/notify

2022-01-16 Thread Jonathan Wakely via Gcc-patches
On Sun, 16 Jan 2022 at 01:48, Thomas Rodgers via Libstdc++ < libstd...@gcc.gnu.org> wrote: > This patch updates the memory order of atomic accesses to the waiter's > count to match libc++'s usage. It should be backported to GCC11. > The commit subject line says "memory memory order", OK for

[Bug testsuite/104037] [12 regression] excess errors in g++.old-deja/g++.robertl/eb43.C after r12-6581

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104037 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:bca1c431affee41ecadb7f29d8d65142a73e0ebf commit r12-6614-gbca1c431affee41ecadb7f29d8d65142a73e0ebf Author: Jonathan Wakely

[Bug testsuite/103324] RFE: Add a `make quickcheck` or `make smoketest` Makefile target to allow only running a portion of the testsuite

2022-01-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103324 --- Comment #3 from Eric Gallager --- https://gcc.gnu.org/install/test.html says "To get a list of the possible *.exp files, pipe the output of ‘make check’ into a file and look at the ‘Running … .exp’ lines." ...has anyone stored their output

[pushed] fortan testsuite: Enrich tests with variants failing on the branch.

2022-01-16 Thread Mikael Morin
Hello, I have just pushed the attached patch after testing the impacted tests individually. MikaelFrom 15630e6e9eb019477d1fc5c0966b43979e18ae18 Mon Sep 17 00:00:00 2001 From: Mikael Morin Date: Sun, 16 Jan 2022 18:33:36 +0100 Subject: [PATCH] testsuite: Enrich tests with variants failing on

[Bug fortran/97896] [11/12 Regression] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:11156

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97896 --- Comment #15 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:15630e6e9eb019477d1fc5c0966b43979e18ae18 commit r12-6613-g15630e6e9eb019477d1fc5c0966b43979e18ae18 Author: Mikael Morin Date:

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

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103789 --- Comment #5 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:15630e6e9eb019477d1fc5c0966b43979e18ae18 commit r12-6613-g15630e6e9eb019477d1fc5c0966b43979e18ae18 Author: Mikael Morin Date:

[Bug fortran/87711] ICE in gfc_trans_transfer, at fortran/trans-io.c:2676

2022-01-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87711 --- Comment #7 from CVS Commits --- The master branch has been updated by Mikael Morin : https://gcc.gnu.org/g:15630e6e9eb019477d1fc5c0966b43979e18ae18 commit r12-6613-g15630e6e9eb019477d1fc5c0966b43979e18ae18 Author: Mikael Morin Date: Sun

[PATCH 2/6] libstdc++: Import the fast_float library

2022-01-16 Thread Patrick Palka via Gcc-patches
We're going to use the fast_float library in our (compiled-in) floating-point std::from_chars implementation for faster and more portable parsing of binary32/64 decimal strings. The single file fast_float.h is an amalgamation of the entire library, which can be (re)generated with the command

[PATCH 4/6] libstdc++: Adjust fast_float's over/underflow behavior for conformnace

2022-01-16 Thread Patrick Palka via Gcc-patches
This makes fast_float handle the situation where std::from_chars is specified to return result_out_of_range, i.e. when the parsed value is outside the representable range of the floating-point type. This adjusts fast_float's behavior in case of over/underflow: instead of returning errc{} and

[PATCH 5/6] libstdc++: Use fast_float in std::from_chars for binary32/64

2022-01-16 Thread Patrick Palka via Gcc-patches
This makes our std::from_chars implementation use fast_float for parsing chars_format::scientific/fixed/general parsing into binary32/64 values. For other floating-point formats we still use the fallback implementation that goes through the strtod family of functions. libstdc++-v3/ChangeLog:

  1   2   >