[Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1

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

[Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1

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

[Bug target/58429] _Decimal64 support is broken on powerpc64 with the mode32 ABI (-m32 -mpowerpc64)

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

[Bug testsuite/101902] [12 regression] g++.dg/warn/uninit-1.C has excess errors after r12-2898

2021-08-15 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101902 --- Comment #1 from Jan Hubicka --- Hi, i am testing diff --git a/gcc/tree-ssa-uninit.c b/gcc/tree-ssa-uninit.c index 5d7bc800419..d89ab5423cd 100644 --- a/gcc/tree-ssa-uninit.c +++ b/gcc/tree-ssa-uninit.c @@ -641,7 +641,7 @@

[Bug bootstrap/53468] debian/ubuntu changed the location of libraries on the disk which broke bootstrap

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

[Bug target/101929] r12-2549 regress x264_r by 4% on CLX.

2021-08-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 --- Comment #2 from Hongtao.liu --- W/o accurate info provided by vectorizer, the backend can do nothing about this regression except reverting the patch, that's why i marked the bugzilla ad tree-optimization component.

[PATCH] [i386] Optimize __builtin_shuffle_vector.

2021-08-15 Thread liuhongt via Gcc-patches
Hi: Here's updated patch which does 3 things: 1. Support vpermw/vpermb in ix86_expand_vec_one_operand_perm_avx512. 2. Support 256/128-bits vpermi2b in ix86_expand_vec_perm_vpermt2. 3. Add define_insn_and_split to optimize specific vector permutation to opmov{dw,wb,qd}. Bootstrapped and

[Bug tree-optimization/101929] r12-2549 regress x264_r by 4% on CLX.

2021-08-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 --- Comment #1 from Hongtao.liu --- Considering this, I'm debating whether to revert my patch.

[Bug tree-optimization/101929] New: r12-2549 regress x264_r by 4% on CLX.

2021-08-15 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101929 Bug ID: 101929 Summary: r12-2549 regress x264_r by 4% on CLX. Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug debug/101928] New: Incorrect argument list for varardic functions

2021-08-15 Thread liyd2021 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101928 Bug ID: 101928 Summary: Incorrect argument list for varardic functions Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/101927] New: There is no vector mode popcount for aarch64

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101927 Bug ID: 101927 Summary: There is no vector mode popcount for aarch64 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement

[Bug tree-optimization/68109] GCC fails to vectorize popcount on x86_64

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

Re: [PATCH] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-15 Thread Uecker, Martin
Am Montag, den 16.08.2021, 00:30 -0400 schrieb Jason Merrill: > On 8/1/21 1:36 PM, Uecker, Martin wrote: > > > > Here is an attempt to fix some old and annoying bugs related > > to VLAs and statement expressions. In particulary, this seems > > to fix the issues with variably-modified types which

[Bug tree-optimization/54978] Add ability to provide vectorized functions

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

[Bug tree-optimization/47860] is vectorization of "condition in nested loop" supported

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

Re: [PATCH] RISC-V: Allow multi-lib build with different code model

2021-08-15 Thread Kito Cheng
Committed to trunk. On Wed, Jul 21, 2021 at 4:45 PM Kito Cheng wrote: > > --with-multilib-generator was only support for different ISA/ABI > combination, however code model is effect the code gen a lots it > should able to handled in multilib mechanism. > > Adding `--cmodel=` option to

Re: [PATCH] Fix ICE when mixing VLAs and statement expressions [PR91038]

2021-08-15 Thread Jason Merrill via Gcc-patches
On 8/1/21 1:36 PM, Uecker, Martin wrote: Here is an attempt to fix some old and annoying bugs related to VLAs and statement expressions. In particulary, this seems to fix the issues with variably-modified types which are returned from statement expressions (which works on clang), but there are

[Bug rtl-optimization/46391] false dependencies are computed after vectorization (#2)

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

[Bug other/36395] TARGET_VECTOR_ALIGNMENT_REACHABLE isn't documented

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

[Bug middle-end/101926] [meta-bug] struct/complex argument passing and return should be improved

2021-08-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926 Bug 101926 depends on bug 88496, which changed state. Bug 88496 Summary: Unnecessary stack adjustment with -mavx512f https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88496 What|Removed |Added

[Bug target/88483] Unnecessary stack alignment

2021-08-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88483 --- Comment #7 from H.J. Lu --- *** Bug 88496 has been marked as a duplicate of this bug. ***

[Bug target/88496] Unnecessary stack adjustment with -mavx512f

2021-08-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88496 H.J. Lu changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRMED

[Bug middle-end/31271] Missing simple optimization

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

Re: Ping: [PATCH v2] Analyze niter for until-wrap condition [PR101145]

2021-08-15 Thread Bin.Cheng via Gcc-patches
On Wed, Aug 4, 2021 at 10:42 AM guojiufu wrote: > > Hi, > > I would like to have a ping on this. > > https://gcc.gnu.org/pipermail/gcc-patches/2021-July/574596.html Sorry for being late in replying. > > BR, > Jiufu > > On 2021-07-15 08:17, guojiufu via Gcc-patches wrote: > > Hi, > > > > I would

[Bug middle-end/90216] Stack Pointer decrementing even when not loading extra data to stack.

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90216 --- Comment #3 from Andrew Pinski --- Testcase: #include template struct Neighbourhood { using datatype = DataType; }; template struct Building { using datatype = typename N::datatype; operator datatype() const{ return

[Bug middle-end/101926] New: [meta-bug] struct/complex argument passing and return should be improved

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101926 Bug ID: 101926 Summary: [meta-bug] struct/complex argument passing and return should be improved Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug middle-end/95756] Failure to optimize memory operations with _Complex

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95756 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2020-06-19 00:00:00 |2021-8-15

[Bug fortran/101871] Array of strings of different length passed as an argument produces invalid result.

2021-08-15 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871 --- Comment #6 from Steve Kargl --- On Sun, Aug 15, 2021 at 07:21:42PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871 > > --- Comment #5 from anlauf at gcc dot gnu.org --- > In

[Bug middle-end/87650] suboptimal codegen for testing low bit

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87650 --- Comment #2 from Andrew Pinski --- (In reply to Andrew Pinski from comment #1) > If I saw these two statements: s/saw/swap/ I don't know why I wrote the wrong word there. I was thinking swap and still wrote saw.

[Bug middle-end/87650] suboptimal codegen for testing low bit

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

[Bug middle-end/78947] sub-optimal code for (bool)(int ? int : int)

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

[Bug tree-optimization/101925] reversed storage order when compiling with -O3 only

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Last reconfirmed|

[Bug c/101925] New: reversed storage order when compiling with -O3 only

2021-08-15 Thread george.thopas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925 Bug ID: 101925 Summary: reversed storage order when compiling with -O3 only Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/80261] Worse code generated compared to clang with modulus operation

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

[Bug middle-end/80006] loss of range information due to spurious widening conversion

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80006 --- Comment #6 from Andrew Pinski --- > On x86_64, this conversion from signed char to int is for some reason > performed even in function f, so the test program triggers no warnings. Oh yes the promotion happens because of a target hook.

[Bug target/31667] Integer extensions vectorization could be improved

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31667 --- Comment #5 from Andrew Pinski --- We produce this now: movdqa x(%rip), %xmm1 pxor%xmm0, %xmm0 movdqa %xmm1, %xmm2 punpckhbw %xmm0, %xmm1 movaps %xmm1, y+16(%rip) movdqa

[Bug tree-optimization/78327] Improve VRP for ranges for compares which do ranges of [-TYPE_MAX + N, N]

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

Re: [PATCH 1/2] analyzer: detect and analyze calls via function pointer (GSoC)

2021-08-15 Thread David Malcolm via Gcc-patches
On Sun, 2021-08-15 at 20:28 +0530, Ankur Saini wrote: > The patch extends the analyser’s functionality to understand and > analyze indirect calls (calls via a function pointer or calls to > virtual functions ) > > On successful merging, the patch should also fix the following bugs :- > > 1.

[Bug tree-optimization/64567] missed optimization: redundant test before clearing bit(s)

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

[Bug tree-optimization/60575] inefficient vectorization of compare into bytes on amd64

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60575 --- Comment #1 from Andrew Pinski --- We produce now since GCC 5+: .L4: movdqu (%rsi,%rax,2), %xmm0 movdqu 16(%rsi,%rax,2), %xmm1 pcmpgtw %xmm4, %xmm0 pcmpgtw %xmm4, %xmm1 pand%xmm3, %xmm0

gcc-12-20210815 is now available

2021-08-15 Thread GCC Administrator via Gcc
Snapshot gcc-12-20210815 is now available on https://gcc.gnu.org/pub/gcc/snapshots/12-20210815/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 12 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch

[Bug target/91569] Optimisation test case and unnecessary XOR-OR pair instead of MOV.

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

[Bug tree-optimization/63271] Should commute arithmetic with vector load

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63271 --- Comment #3 from Andrew Pinski --- So the two functions are not the same (because __m128i is Vector of 2 long long [at least now]). Here is a better testcase: #define vector __attribute__((vector_size(16))) typedef vector char __m128i ;

[Bug target/91569] Optimisation test case and unnecessary XOR-OR pair instead of MOV.

2021-08-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91569 --- Comment #3 from H.J. Lu --- It is fixed by r11-165.

[PATCH] Use default type_for_size langhook

2021-08-15 Thread Mark Wielaard
The gcc constant folding code uses the type_for_size langhook. Use the default implementation instead of crashing when the langhook is called. Add a new testcase "prims_struct_eq.rs" that creates trees that triggers the constant folding. Also remove the write_globals langhook which was removed

[Bug tree-optimization/51780] Missed optimization for ==/!= comparison

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

[Bug tree-optimization/51780] Missed optimization for ==/!= comparison

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

[Bug target/91569] Optimisation test case and unnecessary XOR-OR pair instead of MOV.

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

[Bug target/94871] Failure to convert cmpeqpd+pxor with -1 into cmpneqpd

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94871 --- Comment #2 from Andrew Pinski --- v2di cmpneq_pd1(v2df a, v2df b) { return ((v2di)(a==b) ^ set1_epi8(0xFF)); } Produces the correct thing on gimple level: _5 = .VCOND (a_2(D), b_3(D), { 0, 0 }, { -1, -1 }, 113); But the RTL during

[Bug target/88712] Optimization: mov edx, 0 not replaced with xor edx, edx in this case

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

[Bug tree-optimization/96697] Failure to optimize mod+div to 0

2021-08-15 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96697 --- Comment #6 from Jakub Jelinek --- For signed x and y, x % y == x % -y, x % y has the sign of x. So for x in non-negative you can use x % y < abs(y) and generally -abs(y) < x % y < abs(y)

[Bug modula2/101387] Unconditional use of

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

[Bug modula2/101388] Unconditional use of __MAX_BAUD

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

[Bug tree-optimization/85366] Failure to use both div and mod results of one IDIV in a prime-factor loop while(n%i==0) { n/=i; }

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85366 Andrew Pinski changed: What|Removed |Added Depends on||96697 --- Comment #4 from Andrew Pinski

[Bug tree-optimization/96697] Failure to optimize mod+div to 0

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

[Bug sanitizer/95244] [10 Regression] GCC 10 no longer builds on RHEL5 [trivial patch]

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95244 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4 Summary|GCC 10 no

[Bug c++/101904] Wrong result of decltype during instantiation of std::result_of

2021-08-15 Thread officesamurai at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101904 --- Comment #2 from Mikhail Kremniov --- I see, thanks. But I must mention that Clang is able to compile this code somehow.

[Bug sanitizer/95244] GCC 10 no longer builds on RHEL5 [trivial patch]

2021-08-15 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95244 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[PATCH] Add support for const bool and const float

2021-08-15 Thread Mark Wielaard
Handle BOOL and FLOAT in ConstFoldExpr::visit (HIR::LiteralExpr) to make it possible to create const bool, f32 and f64 constants. Add a new testcase "primconsts.rs". Not yet handled are const char and types. --- gcc/rust/typecheck/rust-hir-const-fold.h | 30

[Bug fortran/101871] Array of strings of different length passed as an argument produces invalid result.

2021-08-15 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101871 --- Comment #5 from anlauf at gcc dot gnu.org --- In array.c:gfc_match_array_constructor there's the following code: 1335 /* Walk the constructor, and if possible, do type conversion for 1336 numeric types. */ 1337

[Bug target/100293] MinGW-w64 of nvptx offload engine fails

2021-08-15 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100293 --- Comment #9 from Brecht Sanders --- Any update on this? Issue still exists today (in GCC 11.2.0 and in latest snapshot 11.2.1-20210814). Both when building gcc on Windows for nvptx as well as the offload engine for nvptx there is an error

[Bug fortran/99351] ICE in gfc_finish_var_decl, at fortran/trans-decl.c:695

2021-08-15 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99351 --- Comment #3 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bbf19f9c20515da9fcd23f08c8139427374e8d77 commit r12-2915-gbbf19f9c20515da9fcd23f08c8139427374e8d77 Author: Harald Anlauf Date:

[Bug libstdc++/101923] std::function's move ctor is slower than the copy one for empty source objects

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

[Bug ada/101924] /usr/ccs/bin/ld: Unsatisfied symbols: U_get_unwind_entry, U_IS_STUB_OR_CALLX, U_get_shLib_text_addr, U_is_shared_pc, U_init_frame_record, U_prep_frame_rec_for_unwind, U_get_shLib_unw_

2021-08-15 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101924 John David Anglin changed: What|Removed |Added Summary|/usr/ccs/bin/ld:|/usr/ccs/bin/ld:

[Bug ada/101924] New: /usr/ccs/bin/ld: Unsatisfied symbols referenced

2021-08-15 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101924 Bug ID: 101924 Summary: /usr/ccs/bin/ld: Unsatisfied symbols referenced Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[PATCH] Suppress uninitialized candidate_type warning in process_traits_for_candidates

2021-08-15 Thread Mark Wielaard
Without handling the default case in the switch statement gcc 10.2.1 will warn: rust-hir-path-probe.h:75:40: warning: ‘candidate_type’ may be used uninitialized in this function [-Wmaybe-uninitialized] --- gcc/rust/typecheck/rust-hir-path-probe.h | 1 + 1 file changed, 1 insertion(+) diff

Re: [PATCH] lib: bitmap: Mute some odd section mismatch warning in xtensa kernel build

2021-08-15 Thread Yury Norov via Gcc
On Sun, Aug 15, 2021 at 03:21:32PM +1200, Barry Song wrote: > From: Barry Song > > Constanly there are some section mismatch issues reported in test_bitmap > for xtensa platform such as: > > Section mismatch in reference from the function bitmap_equal() to the > variable

Re: [PATCH] lib: bitmap: Mute some odd section mismatch warning in xtensa kernel build

2021-08-15 Thread Yury Norov via Gcc-bugs
On Sun, Aug 15, 2021 at 03:21:32PM +1200, Barry Song wrote: > From: Barry Song > > Constanly there are some section mismatch issues reported in test_bitmap > for xtensa platform such as: > > Section mismatch in reference from the function bitmap_equal() to the > variable

[Bug fortran/101918] LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects

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

[PATCH 1/2] analyzer: detect and analyze calls via function pointer (GSoC)

2021-08-15 Thread Ankur Saini via Gcc-patches
The patch extends the analyser’s functionality to understand and analyze indirect calls (calls via a function pointer or calls to virtual functions ) On successful merging, the patch should also fix the following bugs :- 1. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100546 2.

[Bug modula2/101387] Unconditional use of

2021-08-15 Thread gaiusmod2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101387 --- Comment #1 from Gaius Mulley --- many thanks for the bug report - now fixed in the git repro. The bugfix emits a prototype for throw (if required) rather than use a non portable header file.

[Bug target/82883] eax register unnecessary consumed

2021-08-15 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82883 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/101923] std::function's move ctor is slower than the copy one for empty source objects

2021-08-15 Thread dartdart26 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 --- Comment #1 from Petar Ivanov --- Benchmark code (using Google Benchmark): #include #include #include struct Car {}; static void copy(benchmark::State& state) { for (auto _ : state) { const auto f = std::function{}; const

[Bug modula2/101388] Unconditional use of __MAX_BAUD

2021-08-15 Thread gaiusmod2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 --- Comment #1 from Gaius Mulley --- "ro at gcc dot gnu.org" writes: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101388 > > Bug ID: 101388 >Summary: Unconditional use of __MAX_BAUD >Product: gcc >

[Bug libstdc++/101923] New: std::function's move ctor is slower than the copy one for empty source objects

2021-08-15 Thread dartdart26 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101923 Bug ID: 101923 Summary: std::function's move ctor is slower than the copy one for empty source objects Product: gcc Version: 9.3.0 Status: UNCONFIRMED

[Bug target/91591] Arc: ICE in trunc_int_for_mode, at explow.c:60

2021-08-15 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91591 --- Comment #4 from Giulio Benetti --- This bug is pretty old and need to retest if it still shows up. Maybe it’s been fixed with gcc minor versions. I will let you know.

[Bug target/101922] mips: illegal instruction at -O3 with -mmsa -mloongson-mmi

2021-08-15 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101922 --- Comment #1 from Xi Ruoyao --- Technically the testcase above invokes UB, but this is reduced from a file in openssl-1.1.1k.

[Bug target/101922] New: mips: illegal instruction at -O3 with -mmsa -mloongson-mmi

2021-08-15 Thread xry111 at mengyan1223 dot wang via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101922 Bug ID: 101922 Summary: mips: illegal instruction at -O3 with -mmsa -mloongson-mmi Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/17958] expand_divmod fails to optimize division of 64-bit quantity by small constant when BITS_PER_WORD is 32

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

[Bug target/61030] PowerPC 128 bit integer divide

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61030 Andrew Pinski changed: What|Removed |Added Depends on||100809 --- Comment #3 from Andrew

[Bug middle-end/101521] -ftrapv should become something like -fsanitize=undefined -fsanitize-undefined-trap-on-error

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101521 Andrew Pinski changed: What|Removed |Added Depends on||78473 --- Comment #4 from Andrew

[Bug c++/51178] FAIL: g++.dg/lookup/builtin5.C scan-assembler _ZSt5atanhd

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

[Bug c++/101873] Compilation error of valid code with return local variable in C++20 mode

2021-08-15 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101873 --- Comment #4 from Fedor Chelnokov --- If this question is to me, then actually I am not absolutely sure. I initially thought that GCC was right in this code example. But later a high reputy C++ expert from stackoverflow dissuaded me.

[Bug libstdc++/57691] freestanding libstdc++ has compile error

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57691 Bug 57691 depends on bug 57699, which changed state. Bug 57699 Summary: Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57699 What

[Bug c++/57699] Disable empty parameter list misinterpretation in libstdc++ headers when !defined(NO_IMPLICIT_EXTERN_C)

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

[Bug target/37727] NO_IMPLICIT_EXTERN_C for newlib

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

[Bug middle-end/48580] missed optimization: integer overflow checks

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

[Bug middle-end/91072] does not reduce the size of a division by a constant on non-negative int / small unsigned long constant

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

[Bug middle-end/48580] missed optimization: integer overflow checks

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48580 --- Comment #22 from Andrew Pinski --- For the original testcase in comment #0 we produce (in GCC 11+): movl%edi, %eax mull%esi seto%dl xorl%r8d, %r8d movzbl %dl, %edx testl

[Bug c++/101921] G++ cannot find a template function with lambda as default template argument inside a template

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

[Bug c++/101921] New: G++ cannot find a template function with lambda as default template argument

2021-08-15 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101921 Bug ID: 101921 Summary: G++ cannot find a template function with lambda as default template argument Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug middle-end/37443] fast 64-bit divide by constant on 32-bit platform

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37443 Andrew Pinski changed: What|Removed |Added Build|i686-pc-cygwin | Host|i686-pc-cygwin

[Bug rtl-optimization/97459] __uint128_t remainder for division by 3

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

[Bug rtl-optimization/97282] division done twice for modulo and divsion for 128-bit integers

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

[Bug middle-end/89256] No optimized division by constant for __int128

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

[Bug target/84759] Calculation of quotient and remainder with constant denominator uses __umoddi3+__udivdi3 instead of __udivmoddi4

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

[Bug target/60900] ICE: in emit_library_call_value_1, at calls.c:4187 with -mabi=ms -mlong-double-128

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

[Bug target/82727] ICE with -mabi=ms -mlong-double-128 and conversion from long double to double inside a sysv_abi marked function

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

[Bug target/82883] eax register unnecessary consumed

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82883 --- Comment #1 from Andrew Pinski --- With -mtune=intel -O3, we produce: movl$1819043144, (%rdi) movw$8303, 4(%rdi) ret So it looks like a target tuning issue.

[Bug target/82730] extra store/reload of an XMM for every byte extracted

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

  1   2   >