[Bug c++/96636] ICE in build_value_init_noctor, at cp/init.c:451

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96636 Andrew Pinski changed: What|Removed |Added Known to work||4.1.2 --- Comment #2 from Andrew Pinski

[Bug testsuite/100170] Gcc tests gcc.target/powerpc/ppc-{eq, ne}0-1.c fail on Power10

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100170 --- Comment #2 from CVS Commits --- The master branch has been updated by Michael Meissner : https://gcc.gnu.org/g:5485e820cd0554886af282265198c7433c64c7b9 commit r12-2521-g5485e820cd0554886af282265198c7433c64c7b9 Author: Michael Meissner

[Bug c++/87616] Compiler segfaults on dependent templated friend

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87616 --- Comment #5 from Andrew Pinski --- (In reply to Michael Gorbovitski from comment #2) > Slightly simplified test case (no need for double-argument template): here is one which is valid C++98 which shows even GCC 4.1.2 has the same ICE struct

[Bug c++/96862] -frounding-math -std=c++2a error: '(1.29e+2 * 6.9314718055994529e-1)' is not a constant expression

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

[Bug c++/44282] fastcall is not mangled at all

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44282 Andrew Pinski changed: What|Removed |Added CC||ondrej.kolacek at centrum dot cz ---

[Bug c++/57227] Two function with identical signature but different calling convention seem to be symbol-encoded by the same string

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

[Bug c++/96553] ICE in unexpected expression ‘__alignof__ (auto:1)’ of kind alignof_expr

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

[Bug c++/96552] GCC accepts "alignas(auto)" in function parameter list

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

[Bug c++/96636] ICE in build_value_init_noctor, at cp/init.c:451

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96636 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-invalid-code --- Comment #3 from

[Bug c++/91099] constexpr vs -frounding-math

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

[Bug c++/101631] gcc permits object reference to object outside of its lifetime during constant evaluation

2021-07-26 Thread fsb4000 at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101631 --- Comment #2 from fsb4000 at yandex dot ru --- Sure. $ g++ -c -std=c++20 -save-temps main.cpp $ g++ -v Using built-in specs. COLLECT_GCC=C:\tools\msys64\mingw64\bin\g++.exe

[Bug c++/27775] incorrect "ambiguous" error message with multiple inheritance and nested class.

2021-07-26 Thread rnewman at compubrite dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27775 --- Comment #5 from Rich Newman --- (In reply to Manuel López-Ibáñez from comment #4) > Clang 3.0 also reject this, so I am not sure whether is actually valid, but > the repeated messages are suspicious. > EDG accepts it, and I can see

[Bug middle-end/101596] vect_recog_mulhs_pattern could use incorrect precision to check shift count

2021-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101596 --- Comment #3 from Kewen Lin --- Formal patch has been posted at https://gcc.gnu.org/pipermail/gcc-patches/2021-July/576071.html

[Bug c++/87616] Compiler segfaults on dependent templated friend

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

[Bug c++/96656] Segmentation fault with make_friend_class

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96656 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-08-18 00:00:00 |2021-7-26 Status|NEW

[Bug c++/96781] internal compiler error: Segmentation fault

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

[Bug c++/57136] Should redeclaration of class template with function pointer rather than function be an error?

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57136 --- Comment #1 from Andrew Pinski --- clang started to accept this code in clang 10.

[Bug tree-optimization/24568] [meta-bug] Missed optimization: trivialization of silly code

2021-07-26 Thread tobi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24568 Tobias Schlüter changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/96400] False positive on Wunused-but-set-variable for static constexpr var used in lambda

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

[Bug c++/43189] Operator method lookup failure

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

[Bug c++/96359] ICE in cxx_eval_logical_expression, at cp/constexpr.c:3875

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

[Bug c++/96743] ICE on flexible array in initializer list using lambdas

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

[Bug c++/69698] [meta-bug] flexible array members

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69698 Bug 69698 depends on bug 96743, which changed state. Bug 96743 Summary: ICE on flexible array in initializer list using lambdas https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96743 What|Removed |Added

[Bug c++/54367] [meta-bug] lambda expressions

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 96743, which changed state. Bug 96743 Summary: ICE on flexible array in initializer list using lambdas https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96743 What|Removed |Added

[Bug c++/97191] ICE In expand_expr_real_1, at expr.c:10234

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97191 Andrew Pinski changed: What|Removed |Added Blocks||16994 --- Comment #2 from Andrew Pinski

[Bug c++/101622] New: Type erasure (upcasting) in constexpr/consteval context

2021-07-26 Thread sjeltsch at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101622 Bug ID: 101622 Summary: Type erasure (upcasting) in constexpr/consteval context Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

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

[Bug target/9760] [arm] Combine cannot do its job because immediate operand is used instead of register

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=9760 --- Comment #10 from Andrew Pinski --- Still happens on the trunk. Note armv7-a produces reasonable code though as it uses ubfx which is new for armv7-a: push{r4, lr} mov r4, r0 movsr0, #8 lsrsr1,

[Bug middle-end/43233] x86 flags not combined across blocks

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43233 Andrew Pinski changed: What|Removed |Added Host|x86_64-*-* |x86_64-*-*, aarch64

[Bug tree-optimization/44711] PRE doesn't remove equivalent computations of induction variables

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

[Bug middle-end/35358] Ansi aliasing info not fully utilized by tree SSA optimizations

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35358 Bug 35358 depends on bug 35360, which changed state. Bug 35360 Summary: Static (base/offset/size rule) should be extended to handle array elements https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35360 What|Removed

[Bug middle-end/35360] Static (base/offset/size rule) should be extended to handle array elements

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

[Bug c++/101622] Type erasure (upcasting) in constexpr/consteval context

2021-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101622 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid

[Bug target/39821] 120% slowdown with vectorizer

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

[Bug middle-end/42588] unnecessary move through x87 stack/local frame for union

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

[Bug middle-end/43182] GCC does not pull out a[0] from loop that changes a[i] for i:[1,n]

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

[Bug tree-optimization/43037] re-association doesn't handle multiple uses with constant operands

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

[Bug target/44278] Use ubfx to extract unsigned bit fields at the low end

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

[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument

2021-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #48 from Jonathan Wakely --- No, as previously stated, it's suspended until the Core issue is resolved and the standard is changed. https://wg21.link/cwg325

[Bug target/40783] inefficient code to accumulate function return values

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

[Bug fortran/94331] Bind(C) corrupts array descriptors

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94331 --- Comment #14 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0cbf03689e3e7d9d6002b8e5d159ef3716d0404c commit r12-2511-g0cbf03689e3e7d9d6002b8e5d159ef3716d0404c Author: Tobias Burnus Date:

[Bug fortran/97046] Bad interaction between lbound/ubound, allocatable arrays and bind(C) subroutine with dimension(..) parameter

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97046 --- Comment #10 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0cbf03689e3e7d9d6002b8e5d159ef3716d0404c commit r12-2511-g0cbf03689e3e7d9d6002b8e5d159ef3716d0404c Author: Tobias Burnus Date:

[Bug tree-optimization/46281] Inefficient unswitching (too many copies)

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

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #9 from Jakub Jelinek --- Created attachment 51204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51204=edit gcc12-pr78103.patch Untested partial fix. The patch does 2 things, one is (shown on the first testcase) optimize sign

[Bug fortran/93963] Select rank mishandling allocatable and pointer arguments with bind(c)

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93963 --- Comment #8 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0cbf03689e3e7d9d6002b8e5d159ef3716d0404c commit r12-2511-g0cbf03689e3e7d9d6002b8e5d159ef3716d0404c Author: Tobias Burnus Date:

[Bug fortran/93308] bind(c) subroutine changes lower bound of array argument in caller

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93308 --- Comment #9 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0cbf03689e3e7d9d6002b8e5d159ef3716d0404c commit r12-2511-g0cbf03689e3e7d9d6002b8e5d159ef3716d0404c Author: Tobias Burnus Date:

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

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

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #11 from Jakub Jelinek --- Or is it because of the new pseudo that is created for the temporary? Seems when the combiner is splitting the insns itself using find_split_point, it tries to reuse i2dest if possible for the middle

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2021-07-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org Last

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #12 from Jakub Jelinek --- If reusing i2dest for the find_split_case is fine (I must say I'm a little bit worried about uses of the pseudo in debug insns, whether if we reuse it for something else we properly adjust those insns (or

[Bug fortran/94327] Bind(c) argument attributes are incorrectly set

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94327 --- Comment #7 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0cbf03689e3e7d9d6002b8e5d159ef3716d0404c commit r12-2511-g0cbf03689e3e7d9d6002b8e5d159ef3716d0404c Author: Tobias Burnus Date:

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 --- Comment #4 from Jakub Jelinek --- Created attachment 51205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51205=edit gcc12-pr101611.patch Full untested fix.

[Bug target/46209] pmovmskb, useless sign extension

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46209 Andrew Pinski changed: What|Removed |Added Depends on||66369 Ever confirmed|0

[Bug middle-end/47673] Redundant NULL check

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

[Bug fortran/100906] Bind(c): failure handling character with len/=1

2021-07-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100906 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug gcov-profile/101623] New: [GCOV] Wrong coverage of callee function

2021-07-26 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101623 Bug ID: 101623 Summary: [GCOV] Wrong coverage of callee function Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/101624] New: [9/10/11/12 Regression] ICE: tree check: expected tree that contains 'decl with RTL' structure, have 'const_decl' in maybe_optimize_ubsan_ptr_ifn, at sanopt.c:495

2021-07-26 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101624 Bug ID: 101624 Summary: [9/10/11/12 Regression] ICE: tree check: expected tree that contains 'decl with RTL' structure, have 'const_decl' in maybe_optimize_ubsan_ptr_ifn, at

[Bug lto/101625] New: ICE in modref_tree::merge with LTO and -m32

2021-07-26 Thread tonyb at cybernetics dot com via Gcc-bugs
fix=/home/tonyb/tmp/gcc/install Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.1.1 20210726 (GCC) gcc -std=gnu99 -Os -m32 -Wall -W -Wshadow -Wpointer-arith -Wundef -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wfloat-eq

[Bug rtl-optimization/40361] Conditional return not always profitable with -Os

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40361 --- Comment #2 from Andrew Pinski --- So the cross jumping opportunity since at least 5.4 even with a conditional return. ldr r3, .L8 stmfd sp!, {r4, lr} ldr r3, [r3] ldr r4, .L8+4 cmp

[Bug rtl-optimization/43908] Redundant conditionals [4.5 only] - unnecessary mov of a constant after unrolling.

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43908 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2010-04-28 10:10:19 |2021-7-26 Severity|normal

[Bug fortran/101627] New: List-directed read with trailing characters after quotes

2021-07-26 Thread hj8758558 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101627 Bug ID: 101627 Summary: List-directed read with trailing characters after quotes Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/100440] allocated() gives True for unallocated variable

2021-07-26 Thread David.Smith at lmu dot edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100440 --- Comment #13 from David.Smith at lmu dot edu --- Thanks for working on the bug I reported in May. I am hoping you can give me some information that I can pass on to the users of my open-source software who use gfortran to run it. Can you

[Bug c/101626] New: [12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2376

2021-07-26 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101626 Bug ID: 101626 Summary: [12 Regression] ICE in verify_sra_access_forest, at tree-sra.c:2376 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/14842] Another way of expanding a switch statement

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

[Bug target/15533] Missed move to partial register

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15533 --- Comment #4 from Andrew Pinski --- This looks improved in GCC 4.4.7 and above: fn(unsigned short): movzbl a, %edx xorb%al, %al orl %edx, %eax ret

[Bug tree-optimization/34011] Memory load is not eliminated from tight vectorized loop

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34011 --- Comment #9 from Andrew Pinski --- good function: .L3: movdqu (%rdi,%rax), %xmm0 pslld %xmm1, %xmm0 movups %xmm0, (%rsi,%rax) addq$16, %rax cmpq$1024, %rax jne .L3 bad function:

[Bug middle-end/52070] missing integer comparison optimization

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52070 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-02-01 00:00:00 |2021-7-26

[Bug tree-optimization/30101] missed value numbering optimization (cprop+valnum)

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

[Bug c++/101631] gcc permits object reference to object outside of its lifetime during constant evaluation

2021-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101631 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug middle-end/54802] Trivial code changes result in different assembly with respect to rotations and bswap.

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54802 --- Comment #1 from Andrew Pinski --- In GCC 5+, we are able to figure out both do bswap.

[Bug tree-optimization/51084] bounds checking not optimized to a single comparison

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51084 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2012-01-07 00:00:00 |2021-7-26 --- Comment #2 from Andrew

[Bug middle-end/39744] component references with VIEW_CONVERT_EXPR should be canonicalized

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39744 --- Comment #3 from Andrew Pinski --- Confirmed again: Before FRE: z = 1; _4 = MEM[(struct X *)].y.z; Note fre we are able to do the right thing but dom does not.

[Bug tree-optimization/38209] branch optimisation generates worse code

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38209 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug tree-optimization/34417] simplify '(x & A) % B' if 'B > A/2'

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34417 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2007-12-10 13:40:29 |2021-7-26 --- Comment #3 from Andrew

[Bug tree-optimization/50272] A case that PRE optimization hurts performance

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50272 --- Comment #6 from Andrew Pinski --- In GCC 5+ we can get rid of the loop fully (in the reduced testcase).

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

2021-07-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #13 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #10) > Unfortunately, it doesn't work for the #c0 testcase, after the combiner > splitter kicks in, the combiner doesn't even try that 4 insn combination. It

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #14 from Jakub Jelinek --- (In reply to Segher Boessenkool from comment #13) > (In reply to Jakub Jelinek from comment #10) > > Unfortunately, it doesn't work for the #c0 testcase, after the combiner > > splitter kicks in, the

[Bug tree-optimization/56610] IPA(-CP) clone materialization fails to cleanup the CFG

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

[Bug tree-optimization/56711] missed optimization for __uint128_t of (unsigned long long)x != x

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56711 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

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

2021-07-26 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78103 --- Comment #15 from Segher Boessenkool --- (In reply to Jakub Jelinek from comment #14) > (In reply to Segher Boessenkool from comment #13) > > (In reply to Jakub Jelinek from comment #10) > > > Unfortunately, it doesn't work for the #c0

[Bug tree-optimization/56369] Missed opportunity to combine comparisons with zero

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

[Bug target/60826] inefficient code for vector xor on SSE2

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

[Bug tree-optimization/57186] implement load sinking in loops

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

[Bug middle-end/56924] Folding of checks into a range check should check upper boundary

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56924 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug rtl-optimization/32629] missing CSE for constant in registers / inefficient memset

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

[Bug target/11877] gcc should use xor trick with -Os

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

[Bug target/63525] unnecessary reloads generated in loop

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

[Bug target/48297] Suboptimal optimization of boolean expression addition

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48297 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2011-03-28 09:34:02 |2021-7-26 --- Comment #2 from Andrew

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 --- Comment #8 from Jakub Jelinek --- That is true, but I think even for vector >> scalar and scalar >> scalar shifts it will be quite rare to support logical and not support arithmetic shifts. And on x86, as can be seen in the PR98856 changes,

[Bug driver/101447] Remove legacy external declarations in toplev.h

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101447 --- Comment #5 from CVS Commits --- The master branch has been updated by Jeff Law : https://gcc.gnu.org/g:bf6d414415e14e13be16abf23375160733567d20 commit r12-2512-gbf6d414415e14e13be16abf23375160733567d20 Author: Ashimida Date: Mon Jul 26

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

2021-07-26 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 --- Comment #5 from Marc Glisse --- (In reply to Jakub Jelinek from comment #2) > for arithmetic V[24]DImode >> V[24]DImode > logical ((x >> y) ^ (0x8000ULL >> y)) - (0x8000ULL > >> y) > can be used. I guess it would be

[Bug target/92713] ICE in libsupc++ building an offload compiler targeting amdgcn-unknown-amdhsa

2021-07-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92713 --- Comment #3 from Tobias Burnus --- "ICE in libsupc++ building an offload compiler targeting amdgcn-unknown-amdhsa" (Subject) I wonder whether that ICE is just because of the lack of exception support and whether it might work when using

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

2021-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 --- Comment #6 from Jakub Jelinek --- I think except for x86 it is very unusual to support logical but not arithmetic vector right shifts, are you aware of any other target that suffers from these? Even vector by vector shifts are rare, if my

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

2021-07-26 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101611 --- Comment #7 from Marc Glisse --- The same strategy to implement arithmetic shift in terms of logical shift works not just for vector>>vector but also vector>>scalar and scalar>>scalar. But it is probably not worth the trouble indeed,

[Bug preprocessor/101628] New: Preprocessor errors on extended characters in #if 0 code block

2021-07-26 Thread david.post at ohyonghao dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101628 Bug ID: 101628 Summary: Preprocessor errors on extended characters in #if 0 code block Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal

[Bug c++/101629] ICE: in cp_finish_decl, at cp/decl.c:7826

2021-07-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101629 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

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

2021-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7 --- Comment #2 from CVS Commits --- The master branch has been updated by Andrew Macleod : https://gcc.gnu.org/g:1ce0b26e6e1e6c348b1d54f1f462a44df6fe47f5 commit r12-2517-g1ce0b26e6e1e6c348b1d54f1f462a44df6fe47f5 Author: Andrew MacLeod Date:

[Bug preprocessor/101628] Preprocessor errors on extended characters in #if 0 code block

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101628 --- Comment #1 from Andrew Pinski --- Related to PR 62661 which was closed as invalid. Basically the C++ standard says the tokens inside the #if blocks need to be valid tokens still.

[Bug c++/101631] New: gcc permits object reference to object outside of its lifetime during constant evaluation

2021-07-26 Thread fsb4000 at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101631 Bug ID: 101631 Summary: gcc permits object reference to object outside of its lifetime during constant evaluation Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/11877] gcc should use xor trick with -Os

2021-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=11877 Andrew Pinski changed: What|Removed |Added CC||msharov at users dot sourceforge.n

  1   2   >