[Bug c++/101823] GCC generates the wrong string in the assembly code.

2021-08-08 Thread bootmgr at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101823 --- Comment #1 from bootmgr at 163 dot com --- Created attachment 51276 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51276=edit test.cc

[Bug c++/101823] New: GCC generates the wrong string in the assembly code.

2021-08-08 Thread bootmgr at 163 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101823 Bug ID: 101823 Summary: GCC generates the wrong string in the assembly code. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/43025] 32-bit x86 switch table refers to local symbols with -fPIC

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

Break abis of std::span??

2021-08-08 Thread sotrdg sotrdg via Gcc
I am reading the source code of i386. I am going to add a new attribute [[gnu::ms_abi_spread_register]] to the GCC compiler and fixes the abi efficiency of std::span on ms_abi. gcc/i386.c at master · gcc-mirror/gcc

[Bug tree-optimization/80406] Reduced false positive test case for -Warray-bounds with -O3

2021-08-08 Thread brlcad at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80406 --- Comment #4 from Sean --- Can confirm the warning no longer appears to issue (at least as of GCC 11).

[Bug target/40546] -fwhole-program -shared with externally_visible gives R_X86_64_PC32 errors

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

[Bug target/40988] incorrect code when using ..._bit macros from asm/bitops.h in a loop in userspace program

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40988 --- Comment #1 from Andrew Pinski --- I suspect the inline-asm is broken, I am 90% sure of it.

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

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

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

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

Re: [ARM] PR98435: Missed optimization in expanding vector constructor

2021-08-08 Thread Prathamesh Kulkarni via Gcc-patches
On Fri, 6 Aug 2021 at 17:31, Christophe Lyon wrote: > > > > On Fri, Aug 6, 2021 at 11:51 AM Prathamesh Kulkarni > wrote: >> >> On Fri, 6 Aug 2021 at 14:49, Christophe Lyon >> wrote: >> > >> > >> > >> > On Fri, Aug 6, 2021 at 11:00 AM Prathamesh Kulkarni >> > wrote: >> >> >> >> On Thu, 5 Aug

[Bug target/33437] potentially valid construct rejected

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

[Bug target/33725] Could eliminate argument push for the second const function for same arguments

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

Re: [PATCH] Fix loop split incorrect count and probability

2021-08-08 Thread Feng Xue OS via Gcc-patches
Yes. Condition to to switch two versioned loops is "true", the first two arguments should be 100% and 0%. It is different from normal loop split, we could not deduce exactly precise probability for condition-based loop split, since cfg inside loop2 would be changed. (invar-branch is replaced

[Bug target/11925] segment violation due to incorrect operand constraints

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

[Bug target/54821] Microblaze: Position independent code for byte access is incorrect.

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

[Bug target/39856] [4.4/4.5 Regression] ICE in subst_stack_regs_pat, at reg-stack.c:1386

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

[Bug middle-end/50316] ICE on fortran code with -O2 and -march=core2 options

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

Re: [PATCH 0/4] drop version checks for in-tree gas [PR91602]

2021-08-08 Thread Jeff Law via Gcc-patches
On 7/20/2021 9:44 AM, Serge Belyshev wrote: Special-casing checks for in-tree gas features is unnecessary since r17 which made configure-gcc depend on all-gas, and thus making alternate code path in gcc_GAS_CHECK_FEATURE for in-tree gas redundant. Along the way this fixes PR 91602, which

[Bug ipa/87624] improve interprocedural clean up of null pointer checks

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

[PATCH v2] rs6000: Add vec_unpacku_{hi,lo}_v4si

2021-08-08 Thread Kewen.Lin via Gcc-patches
Hi Bill, Thanks for the comments! on 2021/8/6 下午9:10, Bill Schmidt wrote: > Hi Kewen, > > On 8/4/21 9:06 PM, Kewen.Lin wrote: >> Hi, >> >> The existing vec_unpacku_{hi,lo} supports emulated unsigned >> unpacking for short and char but misses the support for int. >> This patch adds the support

Re: [PATCH] Add the member integer_to_sse to processor_cost as a cost simulation for movd/pinsrd. It will be used to calculate the cost of vec_construct.

2021-08-08 Thread Hongtao Liu via Gcc-patches
On Tue, Aug 3, 2021 at 7:12 PM Hongtao Liu wrote: > > On Tue, Aug 3, 2021 at 6:20 PM Richard Biener > wrote: > > > > On Tue, Aug 3, 2021 at 11:20 AM Richard Biener > > wrote: > > > > > > On Wed, Jul 28, 2021 at 4:51 AM Hongtao Liu via Gcc-patches > > > wrote: > > > > > > > > On Tue, Jul 27,

Re: [PATCH] Fix loop split incorrect count and probability

2021-08-08 Thread Xionghu Luo via Gcc-patches
Thanks, On 2021/8/6 19:46, Richard Biener wrote: > On Tue, 3 Aug 2021, Xionghu Luo wrote: > >> loop split condition is moved between loop1 and loop2, the split bb's >> count and probability should also be duplicated instead of (100% vs INV), >> secondly, the original loop1 and loop2 count need

[Bug ipa/66363] ICE in modified test inline-39.c

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66363 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Ever confirmed|0

[Bug c++/91008] error redeclaring the same type involving a non-type template argument

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91008 --- Comment #3 from Andrew Pinski --- Seems fixed in GCC 11+

[Bug preprocessor/66909] Internal Compiler Error when #including files from /sys on Linux

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

[Bug preprocessor/66909] Internal Compiler Error when #including files from /sys on Linux

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66909 --- Comment #3 from Andrew Pinski --- Here is 4.7 backtrace: t65.c:1:0: internal compiler error: Segmentation fault 0x7547af crash_signal /bajas/pinskia/src/toolchain-47/scripts/../src/gcc/toplev.c:348 0xa55004 linemap_macro_map_lookup

[Bug tree-optimization/46352] ICE: division by zero with -fdump-tree-tracer

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

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2021-08-08 Thread noah at vectorized dot io via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 --- Comment #3 from Noah Watkins --- Happy to work on providing a different reproducer if it is helpful. This was the first smallish example we could create, and the `free of an invalid pointer error` seemed as good enough as any unexpected

[Bug c++/100611] coroutines: destructor called too many times for coroutine lambda stored object

2021-08-08 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100611 --- Comment #4 from David Ledger --- It still seems like a bug though.

[Bug c++/101367] [coroutines] destructor for capture in lambda temporary operand to co_yield expression called twice

2021-08-08 Thread davidledger at live dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101367 David Ledger changed: What|Removed |Added CC||davidledger at live dot com.au ---

[Bug middle-end/94497] Branchless clamp in the general case gets a branch in a particular case ?

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

[Bug middle-end/85237] missed optimisation opportunity for large/negative shifts

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

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #9 from Jeremy R. --- Thank you for the resources and for your insight, it's much appreciated. Is there interest in updating the intentional false-dependency logic to not fire for architectures newer than cannonlake?

[Bug tree-optimization/101822] Codegen bug for popcount

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

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #8 from Andrew Pinski --- (In reply to Jeremy R. from comment #7) > Does the false dependency still apply to modern CPUs? How modern is modern? Skylake fixed this for lzcnt and tzcnt. Cannon Lake (and Ice Lake) fixed this for

[Bug middle-end/84858] wrong exception handling of std::function

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84858 --- Comment #2 from Andrew Pinski --- Seems fixed in GCC 8+.

[Bug tree-optimization/101822] Codegen bug for popcount

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822 --- Comment #1 from Jeremy R. --- Never mind, 101821 was invalid and the initial xor eax eax is by design (still wondering whether this applies to new CPUs though). There is still a discrepancy between this code and the __builtin_popcount code

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #7 from Jeremy R. --- Does the false dependency still apply to modern CPUs?

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #6 from Jeremy R. --- Ah thank you @Andrew Pinski @Jakub Jelinek

[Bug tree-optimization/101822] New: Codegen bug for popcount

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101822 Bug ID: 101822 Summary: Codegen bug for popcount Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

Re: Suboptimal code generated for __buitlin_trunc on AMD64 without SS4_4.1

2021-08-08 Thread Vincent Lefevre
On 2021-08-07 14:32:32 +0200, Stefan Kanthak wrote: > Joseph Myers wrote: > > On Fri, 6 Aug 2021, Stefan Kanthak wrote: > > PLEASE DON'T STRIP ATTRIBUTION LINES: I did not write the following paragraph! > > >> > I don't know what the standard says about NaNs in this case, I seem to > >> >

[Bug target/101821] Redundant xor eax eax

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

[Bug target/101821] Redundant xor eax eax

2021-08-08 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #4 from Jakub Jelinek --- That is not unnecessary nor redundant, but fully intentional. See e.g. PR62011.

[Bug target/101821] Redundant xor eax eax

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

[Bug tree-optimization/101821] Redundant xor eax eax related to popcount intrinsic

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 Jeremy R. changed: What|Removed |Added Summary|Redundant xor eax eax |Redundant xor eax eax

[Bug target/29776] result of ffs/clz/ctz/popcount/parity are already sign-extended

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29776 Andrew Pinski changed: What|Removed |Added CC||gpiez at web dot de --- Comment #24

[Bug middle-end/50168] __builtin_ctz() and intrinsics __bsr(), __bsf() generate extra sign extend on x86_64

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

[Bug tree-optimization/101821] Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 --- Comment #1 from Jeremy R. --- This happens with __builtin_popcount as well, not just std::popcount. This appears to have started in GCC 4.9.2. https://godbolt.org/z/4dGWvT5zr

[Bug tree-optimization/101821] New: Redundant xor eax eax

2021-08-08 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101821 Bug ID: 101821 Summary: Redundant xor eax eax Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/51428] Some code after SSA expand does nothing

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

gcc-12-20210808 is now available

2021-08-08 Thread GCC Administrator via Gcc
Snapshot gcc-12-20210808 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20210808/ 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 middle-end/34475] TLS and PIE don't mix on x86_64

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

[Bug middle-end/47011] ICE when using attribute optimize

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

[Bug target/60062] [4.7 Regression] wrong code (for code with the optimize attribute) at -O1 and above on x86_64-linux-gnu in 32-bit mode

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

[Bug middle-end/54068] Compiler passes wrong argument to function when using optimize attribute with -O3

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

[Bug middle-end/40317] verify_flow_info ICE with nested functions and non-local goto/labels

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40317 Andrew Pinski changed: What|Removed |Added Summary|verify_flow_info ICE with |verify_flow_info ICE with

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-08 Thread nickhuang99 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 nick huang changed: What|Removed |Added CC||nickhuang99 at hotmail dot com ---

[Bug middle-end/46119] -fsplit-stack - code crashes when passing large struct via stack

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

[Bug middle-end/29253] expand_abs wrong default code for floating point

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29253 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2008-02-04 14:27:46 |2021-8-8 --- Comment #12 from Andrew

[Bug middle-end/29864] Folding conversion unsigned long long to float

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

[Bug middle-end/24590] Static function named "main" treated as the real main

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24590 --- Comment #5 from Andrew Pinski --- config/frv/frv.h:#define INVOKE__main config/rs6000/eabi.h:#define INVOKE__main I think the other ones that invokve __main is mingw/cygwin targets. I wonder if there is a way to get rid of this really.

[Bug middle-end/21223] Output register variable is reloaded into the wrong register for asm

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

[Bug libfortran/101820] New: fatal error: ISO_Fortran_binding.h: No such file or directory

2021-08-08 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101820 Bug ID: 101820 Summary: fatal error: ISO_Fortran_binding.h: No such file or directory Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 Andrew Pinski changed: What|Removed |Added Known to work|11.1.0 | --- Comment #11 from Andrew Pinski

[Bug c++/80143] ICE on placement new in gimplify_init_ctor_eval, at gimplify.c:4436

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80143 --- Comment #5 from Andrew Pinski --- (In reply to Martin Liška from comment #4) > I think it was rather fixed in r8-7466-g3ec16e3610721403. Yes that is more likely, I was trying to find that but I could not :).

[Bug target/43153] Pass -mtune=i686 to assembler for -march=i686 or higher

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

Re: [committed] Fix dg-prune-output

2021-08-08 Thread Jonathan Wakely via Gcc-patches
On Sun, 8 Aug 2021, 20:26 François Dumont via Libstdc++, < libstd...@gcc.gnu.org> wrote: > This is a trivial fix following a recent change on __glibcxx_assert. > > libstdc++: Fix dg-prune-output assertion message > > Since __glibcxx_assert changes in r6b42b5a the generated assertion >

Re: [PATCH 03/34] rs6000: Add the rest of the [altivec] stanza to the builtins file

2021-08-08 Thread Bill Schmidt via Gcc-patches
Hi... On 8/8/21 3:27 PM, Segher Boessenkool wrote: Hi! On Sun, Aug 08, 2021 at 11:53:38AM -0500, Bill Schmidt wrote: On 8/6/21 7:01 PM, Segher Boessenkool wrote: On Thu, Jul 29, 2021 at 08:30:50AM -0500, Bill Schmidt wrote: + const vsc __builtin_altivec_abss_v16qi (vsc); +ABSS_V16QI

[Bug middle-end/42543] ICE when using va_arg

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42543 Andrew Pinski changed: What|Removed |Added Known to work||4.6.4, 4.7.1 Status|NEW

[Bug target/42200] Suboptimal optimization: after x / 2 carry flag == x & 1

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42200 --- Comment #2 from Andrew Pinski --- GCC 8+ produces this for both: cmpl$1, %edi jbe .L1 testb $1, %dil je .L4 .L1: ret .L4: shrl%edi jmp a

Re: [PATCH 03/34] rs6000: Add the rest of the [altivec] stanza to the builtins file

2021-08-08 Thread Segher Boessenkool
Hi! On Sun, Aug 08, 2021 at 11:53:38AM -0500, Bill Schmidt wrote: > On 8/6/21 7:01 PM, Segher Boessenkool wrote: > >On Thu, Jul 29, 2021 at 08:30:50AM -0500, Bill Schmidt wrote: > >>+ const vsc __builtin_altivec_abss_v16qi (vsc); > >>+ABSS_V16QI altivec_abss_v16qi {} > >>+ > >>+ const vsi

Re: [PATCH] x86: Optimize load of const all 1s float vectors

2021-08-08 Thread Uros Bizjak via Gcc-patches
On Sat, Aug 7, 2021 at 4:41 PM H.J. Lu wrote: > > Update vector_all_ones_operand to return true for const all 1s float > vectors. > > gcc/ > > PR target/101804 > * config/i386/predicates.md (vector_all_ones_operand): Return > true for const all 1s float vectors. > >

Re: [PATCH] Fix typo in fold-vec-load-builtin_vec_xl-* tests.

2021-08-08 Thread Segher Boessenkool
On Thu, Aug 05, 2021 at 10:44:36PM -0400, Michael Meissner wrote: > * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-char.c: Fix > typo in regular expression. > * gcc.target/powerpc/fold-vec-load-builtin_vec_xl-double.c: > Likewise. > *

[Bug middle-end/40207] request for enhancement: delay argument loading until needed

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

[Bug tree-optimization/59299] We do not sink loads

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

[Bug target/39442] In some cases __builtin_ia32_loadups generates a movaps instruction

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

[Bug target/22599] ICE with invalid asm usage

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

Re: [PATCH] Use _GLIBCXX_ASSERTIONS as _GLIBCXX_DEBUG light

2021-08-08 Thread François Dumont via Gcc-patches
After further testing here a fixed version which imply less changes. Moreover I already commit the fixes unrelated with this patch.     libstdc++: [_GLIBCXX_ASSERTIONS] Activate basic debug checks     libstdc++-v3/ChangeLog:     * include/bits/stl_algobase.h (equal): Use runtime-only

[Bug target/101819] New: [12 Regression] ICE in expand_expr_real_2, at expr.c:9552 since r12-2789-gf31da42e047e8018ca6ad9809273bc7efb6ffcaf

2021-08-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101819 Bug ID: 101819 Summary: [12 Regression] ICE in expand_expr_real_2, at expr.c:9552 since r12-2789-gf31da42e047e8018ca6ad9809273bc7efb6ffcaf Product: gcc Version:

[committed] Fix dg-prune-output

2021-08-08 Thread François Dumont via Gcc-patches
This is a trivial fix following a recent change on __glibcxx_assert.     libstdc++: Fix dg-prune-output assertion message     Since __glibcxx_assert changes in r6b42b5a the generated assertion message     has changed.     libstdc++-v3/ChangeLog:     *

[Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da

2021-08-08 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812 Uroš Bizjak changed: What|Removed |Added Target Milestone|--- |12.0 Status|NEW

[Bug c++/80143] ICE on placement new in gimplify_init_ctor_eval, at gimplify.c:4436

2021-08-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80143 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #4

[Bug target/101812] [12 Regression] ICE: Segmentation fault (in ix86_expand_sse_movcc) since r12-731-gb1f7fd8a2a5558da

2021-08-08 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101812 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug c++/94162] ICE [neg] bad return type in defaulted <=>

2021-08-08 Thread dacamara.cameron at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94162 --- Comment #10 from Cameron --- (In reply to Andrew Pinski from comment #9) > None of the testcases ICE in GCC 11+ I notice that if I change the repro to: #include struct S { int a; int* operator<=>(const S&) const = default; }; bool b

[Bug tree-optimization/33258] guaranteed-true arithmetic test not optimized away depending on constant

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

[Bug tree-optimization/33257] guaranteed-true test not optimized away when input values later used

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

[Bug middle-end/23999] DECL_SIZE set to NULL at times

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

[Bug middle-end/8093] Wrong warning by gcc suggests adding dead code to end of function

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=8093 Andrew Pinski changed: What|Removed |Added Known to fail|| --- Comment #5 from Andrew Pinski ---

[Bug tree-optimization/25623] jump threading/cfg cleanup messes up "incoming counts" for some BBs

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25623 Bug 25623 depends on bug 26602, which changed state. Bug 26602 Summary: cfg cleanup can mess up incoming frequencies https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26602 What|Removed |Added

[Bug tree-optimization/25623] jump threading/cfg cleanup messes up "incoming counts" for some BBs

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25623 --- Comment #7 from Andrew Pinski --- *** Bug 26602 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/26602] cfg cleanup can mess up incoming frequencies

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

[Bug tree-optimization/25623] jump threading messes up "incoming frequencies" for some BBs

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25623 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2006-03-02 12:57:12 |2021-8-8 Known to fail|

[Bug c++/89062] class template argument deduction failure with parentheses

2021-08-08 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89062 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug target/14839] configure does not check for the presence of 32bits libc with --disable-multilib

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

Re: [PATCH 03/34] rs6000: Add the rest of the [altivec] stanza to the builtins file

2021-08-08 Thread Bill Schmidt via Gcc-patches
Hi Segher, On 8/6/21 7:01 PM, Segher Boessenkool wrote: Hi! On Thu, Jul 29, 2021 at 08:30:50AM -0500, Bill Schmidt wrote: + const vsc __builtin_altivec_abss_v16qi (vsc); +ABSS_V16QI altivec_abss_v16qi {} + + const vsi __builtin_altivec_abss_v4si (vsi); +ABSS_V4SI altivec_abss_v4si

[Bug middle-end/67619] ICE at -O1 and above on x86_64-linux-gnu in int_mode_for_mode, at stor-layout.c:425

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67619 Andrew Pinski changed: What|Removed |Added CC||jfc at mit dot edu --- Comment #7 from

[Bug middle-end/36791] ICE with constant argument to __builtin_eh_return

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

[Bug c++/98101] ICE in mark_reachable_handlers, at tree-eh.c:4033

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98101 --- Comment #5 from Andrew Pinski --- (In reply to scott snyder from comment #3) > Here's another example that crashes in the same place, but which doesn't use > -fvtable-verify. This example does use vectorization, and the ICE occurs > only

Re: [PATCH] Fix typo in fold-vec-load-builtin_vec_xl-* tests.

2021-08-08 Thread Bill Schmidt via Gcc-patches
Hi Mike, FWIW, looks fine to me, if tests are all passing now. Bill On 8/5/21 9:44 PM, Michael Meissner wrote: [PATCH] Fix typo in fold-vec-load-builtin_vec_xl-* tests. When I checked in the fix for running tests on power10 systems with power10 code generation, I had a typo in the

[Bug middle-end/59507] ICE: in mark_reachable_handlers, at tree-eh.c:3833 with -O -fnon-call-exceptions -fvtable-verify=preinit

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59507 Andrew Pinski changed: What|Removed |Added CC||gs...@t-online.de --- Comment #8 from

  1   2   >