[Bug c++/92559] Returning std∷map breaks tail-recursion optimization

2021-07-24 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92559 --- Comment #3 from Konstantin Kharlamov --- (In reply to Andrew Pinski from comment #2) > I don't think this can ever be optimized. Mainly because there are copies > happening due to passing via value and returning by value. Please correct me

[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file directive causes invalid line info

2021-07-24 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575 --- Comment #11 from Bernd Edlinger --- (In reply to Eric Botcazou from comment #10) > > I can of course make the .loc go away. If you really want that. > > > > It is basically the DECL_SOURCE_LOCATION of an > > otherwise ignored decl. If the

[Bug target/101611] New: AVX2 vector arithmetic shift lowered to scalar unnecessarily

2021-07-24 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 Bug ID: 101611 Summary: AVX2 vector arithmetic shift lowered to scalar unnecessarily Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimizati

[Bug middle-end/56873] vector shift lowered to scalars

2021-07-24 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56873 Marc Glisse changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug middle-end/78888] toupper(x) can be assumed not to be in the range 'a' - 'z'

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

[Bug c++/66763] [6 Regression] 25_algorithms/remove/requirements/explicit_instantiation/2.cc fails on AIX

2021-07-24 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66763 --- Comment #13 from Jonathan Wakely --- Ha! Oops

[Bug tree-optimization/79359] Squaring a complex float gives inefficient code

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79359 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization --- Comment #3 from An

[Bug tree-optimization/101612] New: _Complex float multiply expansion does not allow for a tail call to __mulsc3

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101612 Bug ID: 101612 Summary: _Complex float multiply expansion does not allow for a tail call to __mulsc3 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: m

[Bug middle-end/80053] Label with address taken should prevent duplication of containing basic block

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

[Bug middle-end/80270] ICE in extract_bit_field_1 at gcc/expmed.c:1798

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

[Bug middle-end/80372] non-optimal handling of copying a std::complex

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80372 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2017-04-09 00:00:00 |2021-7-24 Severity|normal

[Bug middle-end/80372] non-optimal handling of copying a std::complex

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80372 --- Comment #5 from Andrew Pinski --- ;; MEM[(struct complex *)res_1(D) + 16B] = MEM[(const struct complex &)res_1(D)]; (insn 7 6 8 (set (reg:DF 83) (mem:DF (reg/v/f:DI 82 [ res ]) [4 MEM[(const struct complex &)res_1(D)]+0 S8 A64])) "/a

[Bug rtl-optimization/82931] Missing Optimization for Bit-Transfer

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82931 Andrew Pinski changed: What|Removed |Added Component|middle-end |rtl-optimization Severity|norm

[Bug tree-optimization/84997] Optimize integer operations on floating point constants without -ffast-math

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

[Bug tree-optimization/85516] [missed-optimization] gcc does not convert multiple compares against constants to a shift+bitmask test

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85516 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug middle-end/86284] Insert trap instruction in place of missing return statement on dodgy code

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86284 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > I thought it was defined unless the return value is actually used. To answer my own question: For C it is. For C++ it is not; it is undefined if there is no ret

[Bug middle-end/86284] Insert trap instruction in place of missing return statement on dodgy code

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86284 --- Comment #5 from Andrew Pinski --- -fsanitize=unreachable will find the C++ cases right now. For C, it is a little harder because it is only undefined if the value is used.

[Bug tree-optimization/86909] Missing common subexpression elimination for types other than int

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

[Bug tree-optimization/88097] Missing optimization of endian conversion

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88097 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug tree-optimization/88387] Possible code optimization when right shift count >= width of type

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

[Bug tree-optimization/88575] gcc got confused by different comparison operators

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88575 Andrew Pinski changed: What|Removed |Added Component|middle-end |tree-optimization Severity|nor

[Bug tree-optimization/55001] Handle VEC_COND_EXPR better in tree-vect-generic.c

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

[Bug middle-end/80053] Label with address taken should prevent duplication of containing basic block

2021-07-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80053 Alexander Monakov changed: What|Removed |Added Last reconfirmed||2021-07-24 Resolution|INVALI

[Bug middle-end/80053] Label with address taken should prevent duplication of containing basic block

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

[Bug c++/28956] Illegal array initialization accepted

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

[Bug c++/46283] Strange lookup of p->type::foo expressions

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283 --- Comment #2 from Andrew Pinski --- ((a *)0)->foo::x() ((T *)0)->foo::x() Both are those are undefined because you are calling a method of a NULL pointer. (In reply to Andrew Pinski from comment #1) > I think the code should be rejected. He

[Bug c++/56418] errors do not show the types (makes it hard to debug)

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

[Bug middle-end/80053] Label with address taken should prevent duplication of containing basic block

2021-07-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80053 Alexander Monakov changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file directive causes invalid line info

2021-07-24 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575 --- Comment #12 from Bernd Edlinger --- (In reply to Eric Botcazou from comment #1) > Not going to be fixed, just stick to the default setting (DWARF 5). one minor remark, while working on a patch, I became aware, that probably the same will ha

[Bug ada/101575] [gcc-11, -gdwarf-4] Missing .file directive causes invalid line info

2021-07-24 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101575 --- Comment #13 from Eric Botcazou --- > one minor remark, while working on a patch, I became aware, > that probably the same will happen when using -gdwarf-5 > with old binutils, since we have this code in dwarf2out.c: People should stick to

[Bug middle-end/78103] Failure to optimize with __builtin_clzl

2021-07-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #8 from Jakub Jelinek --- I actually think this should be doable with combiner splitters. For the unsigned int findLastSet3(unsigned long x) { return x ? 8 * sizeof(unsigned long) - __builtin_clzl(x) : 0; } or unsigned int findLastS

[Bug preprocessor/101613] New: Preprocessor add a space between %##s_type

2021-07-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101613 Bug ID: 101613 Summary: Preprocessor add a space between %##s_type Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: prepr

[Bug libstdc++/80196] fenv_t not declared

2021-07-24 Thread isuruf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196 Isuru Fernando changed: What|Removed |Added CC||isuruf at gmail dot com --- Comment #10

[Bug c++/92559] Returning std∷map breaks tail-recursion optimization

2021-07-24 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92559 --- Comment #4 from Konstantin Kharlamov --- By the way, FTR: I don't have the code anymore, but initially the problem came from a real-life algorithm involving lots of state, which looked barely readable when implemented in iterative way (i.e. a

[Bug middle-end/80053] Label with address taken should prevent duplication of containing basic block

2021-07-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80053 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #12

[Bug target/101611] AVX2 vector arithmetic shift lowered to scalar unnecessarily

2021-07-24 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 H.J. Lu changed: What|Removed |Added Last reconfirmed||2021-07-24 Status|UNCONFIRMED

[Bug c++/46283] Strange lookup of p->type::foo expressions

2021-07-24 Thread tmyklebu at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283 --- Comment #3 from Tor Myklebust --- On Sat, Jul 24, 2021 at 6:45 AM pinskia at gcc dot gnu.org wrote: > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46283 > > --- Comment #2 from Andrew Pinski --- > ((a *)0)->foo::x() > > ((T *)0)->foo::x()

[Bug c++/92559] Returning std∷map breaks tail-recursion optimization

2021-07-24 Thread Hi-Angel at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92559 --- Comment #5 from Konstantin Kharlamov --- (In reply to Konstantin Kharlamov from comment #4) > By the way, FTR: I don't have the code anymore, but initially the problem > came from a real-life algorithm involving lots of state, which looked ba

[Bug target/101611] AVX2 vector arithmetic shift lowered to scalar unnecessarily

2021-07-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/61478] wrong handling of variable scopes inside for loop

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

[Bug c++/53932] [9/10/11/12 Regression] C++ reference variable to member of anonymous union in global is error

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53932 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Last reconfirmed|2014-11-26 00:00:

[Bug middle-end/80053] Label with address taken should prevent duplication of containing basic block

2021-07-24 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80053 --- Comment #13 from Alexander Monakov --- Yes, I'm talking only about labels which are potential branch targets, of course after the jumps have been DCE'd it is not really observable where the label points to. Unfortunately after four years I do

[Bug c++/65853] Casting operator is missing ambiguity error (and happily compiles)

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

[Bug target/101611] AVX2 vector arithmetic shift lowered to scalar unnecessarily

2021-07-24 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #3 from Jakub Jeli

[Bug c++/65382] [C++11/14 only] pointer-to-noexcept-function typealias allowed via using

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65382 Andrew Pinski changed: What|Removed |Added Summary|pointer-to-noexcept-functio |[C++11/14 only] |n typ

[Bug c++/63290] [C++11] alias declaration with exception specification should cause compilation error

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

[Bug c++/65382] [C++11/14 only] pointer-to-noexcept-function typealias allowed via using

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65382 Andrew Pinski changed: What|Removed |Added CC||kariya_mitsuru at hotmail dot com --- C

[Bug target/69952] ICE with a long double vector

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

[Bug target/65486] ICE: in type_natural_mode, at config/i386/i386.c:6646

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

[Bug target/69952] ICE with a long double vector

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69952 Andrew Pinski changed: What|Removed |Added CC||david.abdurachmanov at gmail dot c

[Bug target/79754] ICE in type_natural_mode with vector for DFP type

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

[Bug c++/71223] [fold expression] Incorrect processing a fold expression

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71223 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0 Status|UNCONFIRMED

[Bug c++/97200] error: use of local variable with automatic storage from containing function

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

[Bug c++/57346] g++ prematurely rejects references to local variables that are not odr-uses from local classes inside templates

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57346 Andrew Pinski changed: What|Removed |Added CC||tangyixuan at mail dot dlut.edu.cn ---

[Bug c++/69449] Some invalid fold expressions incorrectly accepted

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

[Bug c++/85708] A corrupt fold expression passed compilation

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

[Bug debug/79124] Internal compiler error under certain cases where __attribute__((target("avx2"))) presents

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79124 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |6.0 Component|c++

[Bug c++/71236] ICE on invalid code

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71236 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid Target Milestone|5.5

[Bug c++/79387] Internal compiler error in convert_nontype_argument

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79387 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 --- Comment #2 from Andrew Pinski -

[Bug c++/79387] Internal compiler error in convert_nontype_argument

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

[Bug c++/81260] Error "taking address of temporary" is missing

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81260 --- Comment #2 from Andrew Pinski --- Even clang does not error out.

[Bug c++/83060] ICE on valid C++ code: in ignore_overflows, at cp/cvt.c:583

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83060 --- Comment #7 from Andrew Pinski --- The ICE is gone in GCC 8+.

[Bug c++/86956] Use of an alias template unexpectedly breaks compilation

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

[Bug c++/87956] Gcc should emit deprecation warnings when using throw() in C++ >= 17

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

[Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP

2021-07-24 Thread bernd.edlinger at hotmail dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101598 --- Comment #7 from Bernd Edlinger --- Created attachment 51202 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51202&action=edit Proposed patch

[Bug libstdc++/80196] fenv_t not declared

2021-07-24 Thread gr.audio at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196 --- Comment #11 from Guillaume --- Thanks! Wasn't happening with previous versions. Is there a workaround?

[Bug fortran/83094] ICE in ipa_modify_formal_parameters, at ipa-param-manipulation.c:105

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

[Bug fortran/83094] ICE in ipa_modify_formal_parameters, at ipa-param-manipulation.c:105

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

[Bug fortran/77693] ICE in rtl_for_decl_init, at dwarf2out.c:17378

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77693 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Last reconfirmed|2016-09-22 00:00:

[Bug bootstrap/54452] "no makeinfo case" in classpath/doc still fails when makeinfo is not present

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

[Bug bootstrap/98616] Compile gcc 10.2.0 error for loongson 2f CPU use MIPS n32 ABI on Gentoo OS

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

[Bug bootstrap/87858] Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++

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

[Bug target/101614] New: [s390] vec_signed requires z15, docs say z13

2021-07-24 Thread evan--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101614 Bug ID: 101614 Summary: [s390] vec_signed requires z15, docs say z13 Product: gcc Version: 11.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: t

[Bug tree-optimization/101615] New: wrong code at -O3 on x86_64-linux-gnu

2021-07-24 Thread qrzhang at gatech dot edu via Gcc-bugs
-optimization Assignee: unassigned at gcc dot gnu.org Reporter: qrzhang at gatech dot edu Target Milestone: --- It appears to be a recent regression. $ gcc-trunk -v Supported LTO compression algorithms: zlib gcc version 12.0.0 20210724 (experimental) [master revision

[Bug tree-optimization/101615] wrong code at -O3 on x86_64-linux-gnu

2021-07-24 Thread qrzhang at gatech dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101615 --- Comment #1 from Qirun Zhang --- My bisection points to g:6df6055d5c666e669890ff8

[Bug tree-optimization/101615] [12 Regression] wrong code at -O3 on x86_64-linux-gnu since r12-1872

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101615 Andrew Pinski changed: What|Removed |Added Target||x86_64-linux-gnu Target Milestone|---

[Bug rtl-optimization/50291] A bug of if-condition optimization in x32

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50291 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew Pi

[Bug target/50291] A bug of if-condition optimization in x32

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50291 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|target --- Comment #2 from Andrew Pinski

[Bug c++/71482] Add -Wglobal-constructors warning option

2021-07-24 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71482 Fangrui Song changed: What|Removed |Added CC||i at maskray dot me --- Comment #5 from F

[Bug target/50291] A bug of if-condition optimization in x32

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

[Bug rtl-optimization/57130] [4.8/4.9 Regression] Incorrect "and --> extract" conversion in combine

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57130 Andrew Pinski changed: What|Removed |Added CC||yahemore at gmail dot com --- Comment #7

[Bug bootstrap/87858] Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++

2021-07-24 Thread mkrupcale at matthewkrupcale dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87858 --- Comment #6 from Matthew Krupcale --- (In reply to Andrew Pinski from comment #5) > Best way to support this really is to build a 4.8 cross compiler and then > build a canandian cross GCC 4.8 and then bootstrap a 4.8.x using that newly > build

[Bug rtl-optimization/31889] compiler misses opportunity to combine multiple identical function return paths

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31889 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > jg .L2 # Shouldn't these two just > jge .L6 # be one "je .L6"? > > Is fixed with: > 2007-06-12 Richard Guenther

[Bug bootstrap/87858] Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++

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

[Bug bootstrap/87858] Building old multilib bootstrap GCC: stage1 32-bit libstdc++ fails to build after building 64-bit libstdc++

2021-07-24 Thread mkrupcale at matthewkrupcale dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87858 --- Comment #8 from Matthew Krupcale --- (In reply to Andrew Pinski from comment #7) > You misunderstood. Building a cross compiler and a canadian cross is so the > new 4.8 compiler is NOT exposing to the bootstrap issue you mentioned. Fair eno

[Bug libstdc++/80196] fenv_t not declared

2021-07-24 Thread isuruf at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80196 --- Comment #12 from Isuru Fernando --- I patched libstdc++-v3/acinclude.m4 to add -nostdinc++ in GLIBCXX_INCLUDES and it worked for me. (My previous analysis was wrong. This issue is in canadian cross compilers where GXX_FOR_TARGET includes its

[Bug go/46986] Go is not supported on Darwin

2021-07-24 Thread ian at airs dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46986 --- Comment #42 from Ian Lance Taylor --- No, the go-macho package is irrelevant here.

[Bug debug/58537] internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:776

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

[Bug debug/65678] [5 Regression] internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:909

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65678 Andrew Pinski changed: What|Removed |Added CC||cas43 at cs dot stanford.edu --- Comment

[Bug tree-optimization/59429] Missed optimization opportunity in qsort-style comparison functions

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

[Bug tree-optimization/57430] Redundant move instruction is produced after function inlining

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57430 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization --- Comment #5 from An

[Bug rtl-optimization/67382] RTL combiner is too eager to combine (plus (reg 92) (reg 92)) to (ashift (reg 92) (const_int 1))

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67382 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #3 from

[Bug rtl-optimization/67206] Redundant spills in simple copy loop for 32-bit x86 target

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67206 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #3 from

[Bug rtl-optimization/21150] Suboptimal byte extraction from 64bits

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

[Bug rtl-optimization/78125] Shifted const forming is had

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

[Bug tree-optimization/81174] bswap not recognized in |= statement

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81174 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug rtl-optimization/82237] [AArch64] Destructive operations result in poor register allocation after scheduling

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82237 --- Comment #1 from Andrew Pinski --- I think this has been fixed. I cannot reproduce it in 8.2 or the trunk. I could see it in 7.3 though.

[Bug tree-optimization/83377] Missed optimization (x86): Bit operations should be converted to arithmetic

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83377 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2018-12-1

[Bug middle-end/90094] better handling of x == LONG_MIN on x86-64

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

[Bug tree-optimization/94026] combine missed opportunity to simplify comparisons with zero

2021-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94026 Andrew Pinski changed: What|Removed |Added Component|rtl-optimization|tree-optimization Ever confirmed|0

  1   2   >