[Bug tree-optimization/107541] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-11-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541 --- Comment #4 from Aldy Hernandez --- This is an issue with the TRUNC_DIV_EXPR range-op entry optimizing divisions by powers of 2 into right shifts. We're right shifting the mask by the shift amount. operator_div::fold_range(): ... ...

[Bug tree-optimization/107413] Perf loss ~14% on 519.lbm_r SPEC cpu2017 benchmark with r8-7132-gb5b33e113434be

2022-11-06 Thread rvmallad at amazon dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107413 --- Comment #11 from Rama Malladi --- (In reply to Wilco from comment #10) > I'm seeing about 1.5% gain on Neoverse V1 and 0.5% loss on Neoverse N1. I'll > post a patch that allows per-CPU settings for FMA reassociation, so you'll > get good

[Bug target/107546] [10/11/12/13 Regression] simd, redundant pcmpeqb and pxor

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 --- Comment #6 from Andrew Pinski --- (In reply to Marc Glisse from comment #5) > typedef signed char v16qs __attribute__((vector_size(16))); > auto bar(v16qs x) { return x < 48; } > > clang does expand it as 48 gt x. Gcc however does its

RE: [PATCH 1/8]middle-end: Recognize scalar reductions from bitfields and array_refs

2022-11-06 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: Richard Biener > Sent: Saturday, November 5, 2022 11:33 AM > To: Tamar Christina > Cc: gcc-patches@gcc.gnu.org; nd ; rguent...@suse.de > Subject: Re: [PATCH 1/8]middle-end: Recognize scalar reductions from > bitfields and array_refs > > On Mon, Oct 31, 2022

[Bug target/107546] [10/11/12/13 Regression] simd, redundant pcmpeqb and pxor

2022-11-06 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 --- Comment #5 from Marc Glisse --- typedef signed char v16qs __attribute__((vector_size(16))); auto bar(v16qs x) { return x < 48; } clang does expand it as 48 gt x. Gcc however does its usual change to x <= 47, which it then tries to expand

[Bug target/107546] [10/11/12/13 Regression] simd, redundant pcmpeqb and pxor

2022-11-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 --- Comment #4 from Hongtao.liu --- > even. Notice the < vs <= there. > I suspect the <= expansion part of the x86_64 backend needs to be fixed up > to produce better code. Hmm, we do have a extra pcmpeq to negate the result.

Re: why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc-patches
在 2022/11/7 15:03, Andrew Pinski 写道: The win32 thread model does not have `std::mutex`; but there is no `pthread_mutex_t` either, so it does not build either way. Oh, but I would assume it will later on right? There has been effort on C++11 threading support for win32 thread model, but I

Re: why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc
在 2022/11/7 15:03, Andrew Pinski 写道: The win32 thread model does not have `std::mutex`; but there is no `pthread_mutex_t` either, so it does not build either way. Oh, but I would assume it will later on right? There has been effort on C++11 threading support for win32 thread model, but I

[Bug target/107546] [10/11/12/13 Regression] simd, redundant pcmpeqb and pxor

2022-11-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 --- Comment #3 from Hongtao.liu --- Failed to match this instruction: (set (reg:V16QI 95) (eq:V16QI (gt:V16QI (subreg:V16QI (reg:V2DI 89 [ MEM[(const __m128i_u * {ref-all})p_2(D)] ]) 0) (mem/u/c:V16QI (symbol_ref/u:DI ("*.LC0")

[Bug target/107546] [10/11/12/13 Regression] simd, redundant pcmpeqb and pxor

2022-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target|x86_64

[Bug tree-optimization/107541] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541 Richard Biener changed: What|Removed |Added CC||aldyh at gcc dot gnu.org

Re: why does gccgit require pthread?

2022-11-06 Thread Andrew Pinski via Gcc-patches
On Sun, Nov 6, 2022 at 10:51 PM LIU Hao wrote: > > 在 2022-11-07 12:37, Andrew Pinski 写道: > > > > The original code which used pthread was added in GCC 5 way before GCC > > moved to being written in C++11 which was only in the last 3 years. > > pthread_* functions were the best choice at the time

Re: why does gccgit require pthread?

2022-11-06 Thread Andrew Pinski via Gcc
On Sun, Nov 6, 2022 at 10:51 PM LIU Hao wrote: > > 在 2022-11-07 12:37, Andrew Pinski 写道: > > > > The original code which used pthread was added in GCC 5 way before GCC > > moved to being written in C++11 which was only in the last 3 years. > > pthread_* functions were the best choice at the time

[Bug ada/107536] [12/13 regression] Wrong 'not referenced' warning on renamed variable

2022-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107536 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.3 Summary|[12

[Bug c++/107535] -fvisibility=hidden should not hide C++17 inline static variables

2022-11-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107535 Richard Biener changed: What|Removed |Added Keywords||ABI --- Comment #1 from Richard

[Bug target/107546] [10/11/12/13 Regression] simd, redundant pcmpeqb and pxor

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 Andrew Pinski changed: What|Removed |Added Summary|simd, redundant pcmpeqb and |[10/11/12/13 Regression]

[Bug target/107546] simd, redundant pcmpeqb and pxor

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
6QI (symbol_ref/u:DI ("*.LC0") [flags 0x2]) [0 S16 A128])) "/opt/compiler-explorer/gcc-trunk-20221106/lib/gcc/x86_64-linux-gnu/13.0.0/include/emmintrin.h":1353:34 -1 (expr_list:REG_EQUAL (const_vector:V16QI [ (const_int 47 [0x2f]) repeated x16 ])

Re: why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc
在 2022-11-07 12:37, Andrew Pinski 写道: The original code which used pthread was added in GCC 5 way before GCC moved to being written in C++11 which was only in the last 3 years. pthread_* functions were the best choice at the time (2014) but now GCC is written in C++11, I don't see any reason

Re: why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc-patches
在 2022-11-07 12:37, Andrew Pinski 写道: The original code which used pthread was added in GCC 5 way before GCC moved to being written in C++11 which was only in the last 3 years. pthread_* functions were the best choice at the time (2014) but now GCC is written in C++11, I don't see any reason

[PATCH v4, rs6000] Change mode and insn condition for VSX scalar extract/insert instructions

2022-11-06 Thread HAO CHEN GUI via Gcc-patches
Hi, For scalar extract/insert instructions, exponent field can be stored in a 32-bit register. So this patch changes the mode of exponent field from DI to SI. So these instructions can be generated in a 32-bit environment. The patch removes TARGET_64BIT check for these instructiions. The

[Bug rtl-optimization/107546] New: simd, redundant pcmpeqb and pxor

2022-11-06 Thread i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107546 Bug ID: 107546 Summary: simd, redundant pcmpeqb and pxor Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/105261] schedule-insns2 and ipa-sra make alive constant variables not available

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

[Bug rtl-optimization/105455] ICE: verify_flow_info failed (error: verify_flow_info: REG_BR_PROB does not match cfg)

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

[Bug tree-optimization/105414] constant folding for fmin/max(snan, snan) is wrong

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105414 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug c++/107545] __is_abstract intrinsic fails to compile on incomplete unions

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107545 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

Re: why does gccgit require pthread?

2022-11-06 Thread Andrew Pinski via Gcc
On Sun, Nov 6, 2022 at 7:59 PM LIU Hao via Gcc wrote: > > Greetings, > > At the moment, there are references to pthread mutexes in > 'gcc/jit/libgccjit.cc' and > 'gcc/git/jit-playback.cc'. The former was introduced by > 63b2923dc6f57e74d964a9cf14f4ba595ab14ed9 in > 2020, while the latter was

why does gccgit require pthread?

2022-11-06 Thread LIU Hao via Gcc
Greetings, At the moment, there are references to pthread mutexes in 'gcc/jit/libgccjit.cc' and 'gcc/git/jit-playback.cc'. The former was introduced by 63b2923dc6f57e74d964a9cf14f4ba595ab14ed9 in 2020, while the latter was introduced by 38771e4e1fdacfbdac5a14e50fcc0538577b1bdb in 2014. Does

[Bug c++/107545] New: __is_abstract intrinsic fails to compile on incomplete unions

2022-11-06 Thread eric41293 at comcast dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107545 Bug ID: 107545 Summary: __is_abstract intrinsic fails to compile on incomplete unions Product: gcc Version: 12.2.0 Status: UNCONFIRMED Keywords: rejects-valid

Re: [PATCH 1/2] Initial Grand Ridge support

2022-11-06 Thread Hongtao Liu via Gcc-patches
On Mon, Nov 7, 2022 at 9:41 AM Haochen Jiang via Gcc-patches wrote: > > gcc/ChangeLog: > > * common/config/i386/i386-common.cc > (processor_names): Add grandridge. > (processor_alias_table): Ditto. > * common/config/i386/i386-cpuinfo.h: > (enum

[Bug target/107540] [13 Regression] ICE: SIGSEGV in memory_operand(rtx_def*, machine_mode) (recog.cc:1834) with -flive-range-shrinkage

2022-11-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107540 --- Comment #2 from Hongtao.liu --- diff --git a/gcc/config/i386/sse.md b/gcc/config/i386/sse.md index fa93ae7bf21..4e8463addc3 100644 --- a/gcc/config/i386/sse.md +++ b/gcc/config/i386/sse.md @@ -12203,7 +12203,7 @@ (define_insn

[PATCH 2/2] Add m_CORE_ATOM for atom cores

2022-11-06 Thread Haochen Jiang via Gcc-patches
gcc/ChangeLog: * config/i386/i386-options.cc (m_CORE_ATOM): New. * config/i386/x86-tune.def (X86_TUNE_SCHEDULE): Initial tune for CORE_ATOM. (X86_TUNE_PARTIAL_REG_DEPENDENCY): Ditto. (X86_TUNE_SSE_PARTIAL_REG_DEPENDENCY): Ditto.

[PATCH 1/2] Initial Grand Ridge support

2022-11-06 Thread Haochen Jiang via Gcc-patches
gcc/ChangeLog: * common/config/i386/i386-common.cc (processor_names): Add grandridge. (processor_alias_table): Ditto. * common/config/i386/i386-cpuinfo.h: (enum processor_types): Add INTEL_GRANDRIDGE. * config.gcc: Add -march=grandridge. *

[PATCH 0/2] Intel Grand Ridge Support

2022-11-06 Thread Haochen Jiang via Gcc-patches
Hi all, These patches aimed to add initial Granite Rapids support for GCC. Also we added a new m_CORE_ATOM for future atom core tune. They need to be checked in after RAO-INT patch. The information for Granite Rapids comes following:

[Bug target/107540] [13 Regression] ICE: SIGSEGV in memory_operand(rtx_def*, machine_mode) (recog.cc:1834) with -flive-range-shrinkage

2022-11-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107540 Hongtao.liu changed: What|Removed |Added CC||crazylht at gmail dot com --- Comment #1

Re: [PATCH] Support Intel RAO-INT

2022-11-06 Thread Hongtao Liu via Gcc-patches
On Sun, Nov 6, 2022 at 8:56 PM Kong, Lingling via Gcc-patches wrote: > > Hi, > The patches aimed to add Intel RAO-INT. > > The information is based on newly released > Intel Architecture Instruction Set Extensions and Future Features. > > The document comes following: >

Re: [PATCH] i386: Prefer remote atomic insn for atomic_fetch{add, and, or, xor}

2022-11-06 Thread Hongtao Liu via Gcc-patches
On Sun, Nov 6, 2022 at 9:00 PM Kong, Lingling via Gcc-patches wrote: > > Hi > > The patch is to add flag -mprefer-remote-atomic to control whether to > generate raoint insn for atomic operations. > Ok for trunk? Ok with below 2 little adjustments. > > BRs, > Lingling > > gcc/ChangeLog: > >

Re: [PATCH] Support Intel prefetchit0/t1

2022-11-06 Thread Hongtao Liu via Gcc-patches
On Fri, Nov 4, 2022 at 3:47 PM Haochen Jiang via Gcc-patches wrote: > > Hi all, > > We will take back the patches which add a new parameter on original > builtin_prefetch and implement instruction prefetch on that. > > Also we consider that since we will only do that on specific backend, > no

Re: [PATCH] Initial Granite Rapids support

2022-11-06 Thread Hongtao Liu via Gcc-patches
On Fri, Nov 4, 2022 at 4:14 PM Haochen Jiang via Gcc-patches wrote: > > From: "Hu, Lin1" > > Hi all, > > This patch aimed to add initial Granite Rapids support for GCC. > It needs to be checked in after prefetchit0/t1 patch. > > The information for Granite Rapids comes following: >

gcc-13-20221106 is now available

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

Re: [Patch] Fortran: Fix reallocation on assignment for kind=4 strings [PR107508]

2022-11-06 Thread Tobias Burnus
Hello, On 06.11.22 21:32, Mikael Morin wrote: Le 05/11/2022 à 23:28, Tobias Burnus a écrit : OK for mainline? The trans-array.c part looks good. A couple of nits for the trans-expr.cc part: - /* Use the rhs string length and the lhs element size. */ - size = string_length; -

[Bug c++/107544] Friended struct with concept gives different output in clang/gcc/MSVC

2022-11-06 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107544 --- Comment #4 from danakj at orodu dot net --- It looks related but I am not sure it is a duplicate. In this case, the concept is being used from a non-friend context first and still accessing the private data. In that bug, they demonstrate

[Bug tree-optimization/107541] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-11-06 Thread franckbehaghel_gcc at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541 --- Comment #3 from Franck Behaghel --- Not sure that would help but disabling those pair of passes : -fdisable-tree-ccp3 -fdisable-tree-ccp4 or -fdisable-tree-ccp4 -fdisable-tree-dom2 or -fdisable-tree-dom2 -fdisable-tree-dom3 removes

[Bug c++/107544] Friended struct with concept gives different output in clang/gcc/MSVC

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107544 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/107544] Friended struct with concept gives different output in clang/gcc/MSVC

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107544 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/107544] Friended struct with concept gives different output in clang/gcc/MSVC

2022-11-06 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107544 --- Comment #1 from danakj at orodu dot net --- Clang report: https://github.com/llvm/llvm-project/issues/58833

[Bug c++/107544] New: Friended struct with concept gives different output in clang/gcc/MSVC

2022-11-06 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107544 Bug ID: 107544 Summary: Friended struct with concept gives different output in clang/gcc/MSVC Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity:

[Bug c++/107543] New: c-family/c-cppbuiltin.cc: Undefine __GNUC_STDC_INLINE__ in C++ mode?

2022-11-06 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107543 Bug ID: 107543 Summary: c-family/c-cppbuiltin.cc: Undefine __GNUC_STDC_INLINE__ in C++ mode? Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c++/107542] ICE in spaceship_comp_cat, at cp/method.cc:1055

2022-11-06 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107542 --- Comment #3 from danakj at orodu dot net --- > Note please next time also attach the testcase (or put it inline) and not > just link against godbolt. Will do, thanks for attaching it for me.

[Bug c++/107542] ICE in spaceship_comp_cat, at cp/method.cc:1055

2022-11-06 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107542 --- Comment #2 from danakj at orodu dot net --- The same thing works okay with operator== instead of operator<=> https://godbolt.org/z/qnPx3bYT4 ``` #include #include template concept Ord = requires(const Lhs& lhs, const Rhs& rhs) { {

Re: [Patch] Fortran: Fix reallocation on assignment for kind=4 strings [PR107508]

2022-11-06 Thread Mikael Morin
Hello, Le 05/11/2022 à 23:28, Tobias Burnus a écrit : Prior to the attached patch, there is a problem with realloc on assignment with kind=4 characters as the string length was compared with the byte size, which was always true. (...) OK for mainline? The trans-array.c part looks good.

[Bug c++/107542] ICE in spaceship_comp_cat, at cp/method.cc:1055

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107542 --- Comment #1 from Andrew Pinski --- Created attachment 53840 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53840=edit testcase Note please next time also attach the testcase (or put it inline) and not just link against godbolt.

[Bug c++/107542] New: ICE in spaceship_comp_cat, at cp/method.cc:1055

2022-11-06 Thread danakj at orodu dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107542 Bug ID: 107542 Summary: ICE in spaceship_comp_cat, at cp/method.cc:1055 Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

Re: optabs: Variable index vec_set

2022-11-06 Thread Uros Bizjak via Gcc-patches
On Sat, Nov 5, 2022 at 12:25 PM Richard Biener wrote: > > On Wed, Nov 2, 2022 at 1:46 PM Uros Bizjak wrote: > > > > On Wed, Nov 2, 2022 at 1:45 PM Robin Dapp wrote: > > > > > > > IIRC, I was trying to "fix" modeless operand by giving it a mode, but > > > > since it made no difference for x86, I

[Bug target/107540] [13 Regression] ICE: SIGSEGV in memory_operand(rtx_def*, machine_mode) (recog.cc:1834) with -flive-range-shrinkage

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107540 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107541] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

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

[Bug tree-optimization/107541] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-11-06 Thread franckbehaghel_gcc at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541 Franck Behaghel changed: What|Removed |Added CC||franckbehaghel_gcc@protonma

[Bug tree-optimization/107541] [13 Regression] wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Target

[Bug c++/95797] Can std::allocator.deallocate newed pointer during constant evaluation

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95797 Andrew Pinski changed: What|Removed |Added CC||src at andyf dot de --- Comment #6 from

[Bug c++/98052] Allocation with new and deallocation with std::allocator should result in an error

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

[Bug libstdc++/98108] Broken Schwarz counter for iostreams initialization

2022-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98108 --- Comment #10 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4e4e3ffd10f53ef71696bc728ab40258751a2df4 commit r13-3707-g4e4e3ffd10f53ef71696bc728ab40258751a2df4 Author: Patrick Palka Date:

[Bug libstdc++/39796] cin/cout/cerr constructors should run at high priority when possible

2022-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39796 --- Comment #5 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4e4e3ffd10f53ef71696bc728ab40258751a2df4 commit r13-3707-g4e4e3ffd10f53ef71696bc728ab40258751a2df4 Author: Patrick Palka Date:

[Bug libstdc++/44952] #include implies global constructor.

2022-11-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44952 --- Comment #18 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4e4e3ffd10f53ef71696bc728ab40258751a2df4 commit r13-3707-g4e4e3ffd10f53ef71696bc728ab40258751a2df4 Author: Patrick Palka Date:

[PATCH] Use bit-CCP in range-ops.

2022-11-06 Thread Aldy Hernandez via Gcc-patches
After Jakub and Richi's suggestion of using the same representation for tracking known bits as we do in CCP, I took a peek at the code and realized there's a plethora of bit-tracking code there that we could be sharing with range-ops. For example, the multiplication optimizations are way better

[PATCH] i386: Prefer remote atomic insn for atomic_fetch{add, and, or, xor}

2022-11-06 Thread Kong, Lingling via Gcc-patches
Hi The patch is to add flag -mprefer-remote-atomic to control whether to generate raoint insn for atomic operations. Ok for trunk? BRs, Lingling gcc/ChangeLog: * config/i386/i386.opt:Add -mprefer-remote-atomic. * config/i386/sync.md (atomic_): New define_expand.

[Bug tree-optimization/107541] New: wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu

2022-11-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107541 Bug ID: 107541 Summary: wrong code at -O1, -O2 and -O3 on x86_64-linux-gnu Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[PATCH] Support Intel RAO-INT

2022-11-06 Thread Kong, Lingling via Gcc-patches
Hi, The patches aimed to add Intel RAO-INT. The information is based on newly released Intel Architecture Instruction Set Extensions and Future Features. The document comes following:

[PATCH] RISC-V: Add RVV registers register spilling

2022-11-06 Thread juzhe . zhong
From: Ju-Zhe Zhong This patch support RVV scalable register spilling. prologue && epilogue handling pick up prototype from Monk Chiang . Co-authored-by: Monk Chiang gcc/ChangeLog: * config/riscv/riscv-v.cc (emit_pred_move): Adjust for scalable register spilling.

[Bug target/107540] New: [13 Regression] ICE: SIGSEGV in memory_operand(rtx_def*, machine_mode) (recog.cc:1834) with -flive-range-shrinkage

2022-11-06 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107540 Bug ID: 107540 Summary: [13 Regression] ICE: SIGSEGV in memory_operand(rtx_def*, machine_mode) (recog.cc:1834) with -flive-range-shrinkage Product: gcc Version:

Re: [PATCH] LoongArch: fix signed overflow in loongarch_emit_int_compare

2022-11-06 Thread Xi Ruoyao via Gcc-patches
On Sun, 2022-11-06 at 09:46 +0800, Lulu Cheng wrote: > I think it should be here: > >   if (!increment && !decrement) > continue; > > + if ((increment && rhs == HOST_WIDE_INT_MAX) > + || (decrement && rhs == HOST_WIDE_INT_MIN)) > + 

Re: [PATCH] RISC-V: Fix RVV related testsuite

2022-11-06 Thread Andreas Schwab
Perhaps rvv.exp should add -I. so that the wrapper is found regardless? -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

[Bug tree-optimization/106458] [12/13 Regression] glibc's malloc/tst-scratch_buffer.c test is miscompiled with gcc-12

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106458 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |MOVED

[Bug c++/107539] [13 Regression] ICE, same canonical type node for different types with decltype inside an generic lambda inside a templated method of a templated class using a templated class argumen

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107539 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug c++/107539] internal compiler error: same canonical type node for different types

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107539 --- Comment #3 from Andrew Pinski --- Created attachment 53837 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53837=edit reduced further Here is even more reduced testcase.

[Bug c++/107539] internal compiler error: same canonical type node for different types

2022-11-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107539 --- Comment #2 from Andrew Pinski --- Note the ICE only shows up with checking enabled. It is definitely a bug but one which most users won't see.