[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

[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

[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

[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

[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

[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

[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

[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|

[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

[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

[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:

[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|---

[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

[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

[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 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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||Theodore.Papadopoulo@inria.

[Bug c++/101689] ICE with -fvtable-verify=std and -fnon-call-exceptions

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

[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 Resolution|--- |FIXED Target Milestone|---

[Bug middle-end/28498] fstack-protector causes crash in combination with -Os

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

[Bug c++/95085] diagnostic on designated-initializer from braced-init-list could be better

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

[Bug c++/101818] Error message for the wrong name in designated initializers could be improved

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

[Bug c++/101537] -Wconversion false positive in ternary

2021-08-08 Thread nok.raven at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101537 Nikita Kniazev changed: What|Removed |Added CC||nok.raven at gmail dot com ---

[Bug c++/101818] New: Error message for the wrong name in designated initializers could be improved

2021-08-08 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101818 Bug ID: 101818 Summary: Error message for the wrong name in designated initializers could be improved Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c++/95455] ICE in capture with initializer in requires block

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95455 --- Comment #5 from Andrew Pinski --- Clang gives: :5:16: error: reference to local variable 'foo' declared in enclosing function 'f' [bar = foo] {}; ^ :3:9: note: 'foo' declared here int foo; ^

[Bug c++/96442] [9/10/11/12 Regression] ICE in tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have record_type in int_fits_type_p, at tree.c:8954

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

[Bug c++/95955] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have union_type in int_fits_type_p, at tree.c:8952

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

[Bug c++/95999] [9/10/11/12 Regression] ICE in tree check: expected integer_cst, have var_decl in get_len, at tree.h:5951

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

[Bug c++/94128] ICE on C++20 "requires requires" with lambda

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

[Bug c++/94333] ICE in tsubst_template_args at gcc/cp/pt.c:13074 ( when trying use structure binding in requires(requires{}))

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

[Bug c++/94333] ICE in tsubst_template_args at gcc/cp/pt.c:13074 ( when trying use structure binding in requires(requires{}))

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94333 --- Comment #2 from Andrew Pinski --- (In reply to Martin Liška from comment #1) > Confirmed, started with r9-4045-g0c1e0d63fe0ceabb. > Before that it was rejected with: > > pr94333.cc:7:45: error: lambda-expression in unevaluated context >

[Bug c++/64924] Callback function passed as a parameter with typename declaration produces an ICE.

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

[Bug c/95124] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in diag_attr_exclusions, at attribs.c:396

2021-08-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95124 --- Comment #1 from Andrew Pinski --- Looks like this is fixed, I cannot even reproduce it with GCC 10.1.0.

  1   2   >