[Bug middle-end/59394] Unused code generated

2021-12-23 Thread smal.root at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59394 --- Comment #5 from smalcom --- Created attachment 52049 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52049&action=edit Generated assembly when using "gc-section". avr-gcc-10.2

[Bug middle-end/59394] Unused code generated

2021-12-23 Thread smal.root at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59394 --- Comment #6 from smalcom --- Created attachment 52050 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52050&action=edit Generated assembly when using "LTO". avr-gcc-10.2 (In reply to Andrew Pinski from comment #4) > If I use -Wl,--gc-sec

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-23 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #12 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #10) > At least on your short testcase clang doesn't use divps either. > We do support mulv2sf3, addv2sf3 etc. but not divv2sf3 I bet because with > TARGET_MMX_WITH_SSE

[Bug tree-optimization/35288] Expression reassociation problem

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

[Bug tree-optimization/88842] missing optimization CSE, reassociation

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

[Bug ipa/103786] Suspicious code in verify_type

2021-12-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103786 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:9ac0730c25b357b5fc75e18677cec27a546c1b64 commit r12-6104-g9ac0730c25b357b5fc75e18677cec27a546c1b64 Author: Feng Xue Date: Tue Dec

[Bug ipa/103786] Suspicious code in verify_type

2021-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103786 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/103808] [12 Regression] '-fcompare-debug' failure (length) w/ -O2 -ftrapv since r12-5944-ga7acb6dca941db2b

2021-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103808 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Summary|[12 Regression]

[Bug middle-end/103813] [11/12 Regression] Crash in decompose, at wide-int.h:984 fold-const since r11-5271-g4866b2f5db117f9e

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

[Bug c++/103814] New: Internal error while compiling concepts, exception and fstream modules.

2021-12-23 Thread samuel.hangouet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103814 Bug ID: 103814 Summary: Internal error while compiling concepts, exception and fstream modules. Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: norm

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-23 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #13 from Uroš Bizjak --- Created attachment 52051 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52051&action=edit Patch that implements v2sf division Please try the attached patch, for the following testcase: --cut here-- fl

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-23 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #14 from Uroš Bizjak --- (In reply to Uroš Bizjak from comment #13) > Created attachment 52051 [details] > Patch that implements v2sf division This patch also enables vectorization of the testcase from Comment #7. Using -ffast-math,

[Bug c++/103814] Internal error while compiling concepts, exception and fstream modules.

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

[Bug c++/99244] [modules] ICE in tsubst_copy, at cp/pt.c:16581

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99244 Andrew Pinski changed: What|Removed |Added CC||samuel.hangouet at gmail dot com --- Co

[Bug c++/67491] [meta-bug] concepts issues

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 103814, which changed state. Bug 103814 Summary: Internal error while compiling concepts, exception and fstream modules. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103814 What|Removed

[Bug c++/103524] [meta-bug] modules issue

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 103814, which changed state. Bug 103814 Summary: Internal error while compiling concepts, exception and fstream modules. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103814 What|Removed

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #15 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #12) > (In reply to Jakub Jelinek from comment #10) > > At least on your short testcase clang doesn't use divps either. > > We do support mulv2sf3, addv2sf3 etc. but no

[Bug libstdc++/102221] Missed optimizations for algorithms over std::unique_ptr

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102221 Andrew Pinski changed: What|Removed |Added Keywords||alias Severity|normal

[Bug c++/98450] Inconsistent Wunused-variable warning for std::array

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98450 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to fail|

[Bug c++/98523] Bug with class static definition and non-type template parameters

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98523 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

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

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

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-23 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #16 from hubicka at kam dot mff.cuni.cz --- > > > > It could be done, but I was under impression that the sequence to load 1.0f > > into topmost elements nullifies the benefit of operation to divide two > > Sure, so perhaps we shoul

[Bug c++/98662] checking ICE in friend_accessible_p since r227023

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98662 --- Comment #1 from Andrew Pinski --- Before GCC 6, we accepted the code.

[Bug tree-optimization/98598] Missed opportunity to optimize dependent loads in loops

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

[Bug tree-optimization/98552] Make more use of __builtin_undefined for assuring that variables do not change

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

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2021-12-23 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 Francois-Xavier Coudert changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2021-12-23 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 --- Comment #2 from Francois-Xavier Coudert --- It's puzzling, because although I've never read any Ada code, I can see there is some logic in place that should deal with it. In make.adb there is: Gcc : String_Access := Program_Name ("gc

[Bug middle-end/57955] [9/10/11/12 Regression] Uniquization of constants reduces alignment of initializers

2021-12-23 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57955 --- Comment #25 from Eric Botcazou --- > Before the gimplification change the initializer {1,} was promoted to a > static const and given an alignment of 128; due to this part of the code: > > if (align > DECL_ALIGN (new_tree

[Bug tree-optimization/103797] Clang vectorized LightPixel while GCC does not

2021-12-23 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103797 --- Comment #17 from Uroš Bizjak --- (In reply to hubicka from comment #16) > > > > > > It could be done, but I was under impression that the sequence to load > > > 1.0f > > > into topmost elements nullifies the benefit of operation to divide

[Bug c++/98662] checking ICE in friend_accessible_p since r227023

2021-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98662 Martin Liška changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #2 f

[Bug target/103773] wrong code at -Oz due to sign extension

2021-12-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103773 --- Comment #5 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:ef26c151c14a87177d46fd3d725e7f82e040e89f commit r12-6106-gef26c151c14a87177d46fd3d725e7f82e040e89f Author: Roger Sayle Date: Thu D

[Bug c++/103809] wrong reporting of (template) struct redefinition when doing a more constrained template outside of the namespace

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

[Bug c++/92944] [concepts] redefinition error when using constrained structure template inside namespace

2021-12-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92944 Patrick Palka changed: What|Removed |Added CC||florin at iucha dot net --- Comment #3 f

[Bug c/103815] New: Misoptimization of a bounded do/while loop

2021-12-23 Thread matthias at urlichs dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103815 Bug ID: 103815 Summary: Misoptimization of a bounded do/while loop Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/48110] "fast" and "g" should be aliases of "Ofast" and "Og" inside optimize attribute

2021-12-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48110 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org,

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2021-12-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug ada/79724] GNAT tools do not respect --program-suffix and --program-prefix

2021-12-23 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79724 --- Comment #4 from Francois-Xavier Coudert --- The current situation is the result of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=864 Comment 20 by Dave Korn (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=864#c20) is spot on: > ... means that i

[Bug middle-end/57955] [9/10/11/12 Regression] Uniquization of constants reduces alignment of initializers

2021-12-23 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57955 --- Comment #26 from David Edelsohn --- As Bill mentioned, one can increase the alignment of a large constant, but there is no way for the hooks that set alignment to recognize that the constant will be assigned to variable with stricter alignmen

[Bug c++/52830] ICE: "canonical types differ for identical types ..." when attempting SFINAE with member type

2021-12-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52830 Patrick Palka changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c/103816] New: ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1748

2021-12-23 Thread k.even-mendoza at imperial dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103816 Bug ID: 103816 Summary: ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1748 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug tree-optimization/103816] [12 Regression] ICE: in vect_build_slp_tree_2, at tree-vect-slp.c:1748 since r12-1551-g3dfa4fe9f1a089b2

2021-12-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103816 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug bootstrap/103817] New: Bootstrap broken on x86_64-apple-darwin21

2021-12-23 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103817 Bug ID: 103817 Summary: Bootstrap broken on x86_64-apple-darwin21 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootst

[Bug bootstrap/103817] Bootstrap broken on x86_64-apple-darwin21

2021-12-23 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103817 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |INVALID Status|UN

[Bug c/103818] New: ICE: in insert, at ipa-modref-tree.c:591

2021-12-23 Thread k.even-mendoza at imperial dot ac.uk via Gcc-bugs
0 20211023 (experimental), gcc (GCC) 12.0.0 20211216 (experimental), and gcc (GCC) 12.0.0 20211223 (experimental) (current version: commit ef26c151c14a87177d46fd3d725e7f82e040e89f) checking the fix of bugs 102687 and 103073 there.

[Bug ipa/103819] New: [12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2

2021-12-23 Thread dani at danielbertalan dot dev via Gcc-bugs
with-sysroot=/home/dani/Projects/contributions/serenity/Build/i686/Root --disable-nls --with-newlib --enable-shared --enable-languages=c,c++ --enable-default-pie --enable-lto --enable-threads=posix Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211223 (

[Bug c/103815] Misoptimization of a bounded do/while loop

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103815 --- Comment #1 from Andrew Pinski --- Note temp*temp is really ((int)temp)*((int)temp) due to interger promotion rules in c/c++.

[Bug ipa/103819] [12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2

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

[Bug ipa/103819] [10/11/12 Regression] ICE in redirect_callee, at cgraph.c:1389 with __attribute__((flatten)) and -O2

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103819 Andrew Pinski changed: What|Removed |Added Keywords||ice-checking Summary|[12 Reg

[Bug ipa/103818] [12 Regression] ICE: in insert, at ipa-modref-tree.c:591

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

[Bug bootstrap/103820] New: [12 Regression] i686 failed to bootstrap with ada by r12-6077

2021-12-23 Thread hjl.tools at gmail dot com via Gcc-bugs
caused: make[5]: *** [/export/gnu/import/git/sources/gcc/gcc/ada/gcc-interface/Make-lang.in:167: ada/exp_cg.o] Error 1 +===GNAT BUG DETECTED==+ | 12.0.0 20211223 (experimental) (i686-linux) Storage_Error stack overflow or erroneous memory access

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2021-12-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

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

[Bug target/103785] [12 Regression] Ada bootstrap ICEs on i?86

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

[Bug fortran/102595] ICE in var_element, at fortran/decl.c:298 since r10-5607-gde89b5748d68b76b

2021-12-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102595 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug tree-optimization/103821] New: [12 Regression] huge compile time (jump threading) at -O3 for simple code

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103821 Bug ID: 103821 Summary: [12 Regression] huge compile time (jump threading) at -O3 for simple code Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: comp

[Bug tree-optimization/103821] [12 Regression] huge compile time (jump threading) at -O3 for simple code

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

[Bug tree-optimization/103821] [12 Regression] huge compile time (jump threading) at -O3 for simple code

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

[Bug fortran/102595] ICE in var_element, at fortran/decl.c:298 since r10-5607-gde89b5748d68b76b

2021-12-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102595 --- Comment #4 from kargl at gcc dot gnu.org --- Comment on attachment 52053 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52053 patch This patch fixes the problem in the PR and addresses a few niggles I found as I poked gfortran. Some o

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2021-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 --- Comment #3 from Roger Sayle --- Thanks for investigating this HJ (I'm having difficulty configuring my system to reproduce this). Is the TARGET_64BIT guard needed by both peephole2s, or is one sufficient to restore bootstrap? Your fix/work

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2021-12-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 --- Comment #4 from H.J. Lu --- (In reply to Roger Sayle from comment #3) > Thanks for investigating this HJ (I'm having difficulty configuring my You can bootstrap 32bit GCC on Linux/x86-64 if 32-bit libraries are available. > system to repro

[Bug target/98977] [x86] Failure to optimize consecutive sub flags usage

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98977 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-12-23 Status|UNCONFIRME

[Bug rtl-optimization/98977] [x86] Failure to optimize consecutive sub flags usage

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98977 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Target|x86_

[Bug bootstrap/103820] [12 Regression] i686 failed to bootstrap with ada by r12-6077

2021-12-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103820 --- Comment #5 from H.J. Lu --- diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 284b9507466..9d6786c5c2e 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -8588,7 +8588,8 @@ (define_peephole2 (an

[Bug target/99228] blend/shuffle

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99228 --- Comment #6 from Andrew Pinski --- Hmm, the trunk no longer does the if conversion: complex_sgn(std::complex const&): .LFB2678: .cfi_startproc vmovsd xmm0, QWORD PTR [rdi] vxorpd xmm1, xmm1, xmm1 vcomisd xmm0

[Bug rtl-optimization/99551] aarch64: csel is used for cold scalar computation which affects performance

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99551 --- Comment #2 from Andrew Pinski --- if-conversion succeeded through noce_try_cmove_arith Removing jump 8. deleting insn with uid = 8. deleting insn with uid = 11. deleting insn with uid = 10. deleting block 3 Merging block 4 into block 2... cha

[Bug c++/99539] Varargs are allowed in requires expression

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

[Bug target/99548] Help me! Lost the fight against the compiler.

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99548 --- Comment #3 from Andrew Pinski --- #include #include #if defined(_MSC_VER) #include #elif defined(__x86_64__) || defined(__i386__) #include #endif using field_number = std::conditional_t=8,std::array,std::array>; namespace intrinsics { templat

[Bug tree-optimization/99620] Subtract with borrow (SBB) missed optimization

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99620 --- Comment #5 from Andrew Pinski --- l_7 = a$l_12 - _1; k_8 = l_7 > a$l_12; vs: l_6 = a$l_11 - b$l_12; k_7 = a$l_11 < b$l_12;

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

2021-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86948 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com Eve

[Bug target/103785] [12 Regression] Ada bootstrap ICEs on i?86

2021-12-23 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103785 H.J. Lu changed: What|Removed |Added CC||ubizjak at gmail dot com --- Comment #6 from

[Bug middle-end/80929] [9/10/11/12 Regression] Division with constant no more optimized to mult highpart

2021-12-23 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80929 Roger Sayle changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/102595] ICE in var_element, at fortran/decl.c:298 since r10-5607-gde89b5748d68b76b

2021-12-23 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102595 kargl at gcc dot gnu.org changed: What|Removed |Added Attachment #52053|0 |1 is obsolete|

[Bug c/100854] TS 18661-3 and backwards-incompatible setting of __FLT_EVAL_METHOD__

2021-12-23 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100854 Francois-Xavier Coudert changed: What|Removed |Added CC||fxcoudert at gcc dot gnu.org

gcc-bugs@gcc.gnu.org

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

[Bug lto/53777] [lto] lto does not propagate optimization flags from command lines given at "compilation time"

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

[Bug target/50135] Loop optimization.

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50135 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|SUSPENDED

[Bug target/60480] gcc 4.8.2 fails to do optimization on global register variables when compiling on x86_64 Linux.

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

[Bug testsuite/82390] gcc.dg/torture tests run with same optimization level

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

[Bug tree-optimization/38943] Optimization removes trapping instruction

2021-12-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38943 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2021-07-20 00:00:00 |2021-12-23 --- Comment #2 from Andrew Pi

[Bug c/100854] TS 18661-3 and backwards-incompatible setting of __FLT_EVAL_METHOD__

2021-12-23 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100854 --- Comment #3 from Hongtao.liu --- I'm testing diff --git a/gcc/c-family/c-common.c b/gcc/c-family/c-common.c index a25d59fa77b..4dab4d60773 100644 --- a/gcc/c-family/c-common.c +++ b/gcc/c-family/c-common.c @@ -8842,6 +8842,10 @@ excess_preci