[Bug target/71088] [i386, AVX-512, Perf] vpermi2ps instead of vpermps emitted

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

[Bug libstdc++/56538] no way to disable shared_ptr's use of atomics

2021-08-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56538 --- Comment #2 from Jonathan Wakely --- Should be fixed with glibc 2.32 by checking __libc_single_threaded before using atomics in shared_ptr. I don't understand why the original example would use atomics anyway though, __gthread_once should hav

[Bug libstdc++/56538] no way to disable shared_ptr's use of atomics

2021-08-15 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56538 --- Comment #3 from Jonathan Wakely --- We also support __shared_ptr which avoids the atomic dispatching code entirely.

[Bug target/63590] wrong code with -mstringop-strategy=vector_loop

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

[Bug target/66648] [4.9/5/6 regression] incorrect memcpy expansion with unrolled_loop strategy at -O2

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66648 Andrew Pinski changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #9 f

[Bug libstdc++/56538] no way to disable shared_ptr's use of atomics

2021-08-15 Thread jan.kratochvil at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56538 Jan Kratochvil changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/66947] [5 only] Bootstrap error: Extraneous text after `else' directive

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

[Bug testsuite/54390] [AVX] FAIL: gcc.dg/vect/no-tree-sra-bb-slp-pr50730.c

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

[Bug fortran/101917] New: Spurious -Wstringop-overread with -flto when passing zero sized arrays

2021-08-15 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101917 Bug ID: 101917 Summary: Spurious -Wstringop-overread with -flto when passing zero sized arrays Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: norma

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

2021-08-15 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 Bug ID: 101918 Summary: LTO type mismatches for runtime library functions in mixed -fdefault-real-8 projects Product: gcc Version: 11.2.0 Status: UNCONFIRMED S

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

2021-08-15 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101918 --- Comment #1 from Rimvydas (RJ) --- Also several programs report spurious warnings: : warning: type of '__builtin_realloc' does not match original declaration [-Wlto-type-mismatch] /opt/nwp/gcc11/include/stdlib.h:550:14: note: type mismatch in

[Bug fortran/101919] New: Inconsistent -Wstringop-overread warning with -flto

2021-08-15 Thread rimvydas.jas at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101919 Bug ID: 101919 Summary: Inconsistent -Wstringop-overread warning with -flto Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/81034] [x86] Broken IRA pass when printing results of intrinsic execution

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

[Bug middle-end/101920] New: memcpy expansion treats unknown pointers as unaligned

2021-08-15 Thread dragan.mladjenovic at syrmia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101920 Bug ID: 101920 Summary: memcpy expansion treats unknown pointers as unaligned Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Com

[Bug target/81496] AVX load from adjacent memory location followed by concatenation

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

[Bug middle-end/101920] memcpy expansion treats unknown pointers as unaligned

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

[Bug tree-optimization/50417] [9/10/11/12 regression]: memcpy with known alignment

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

[Bug c++/81760] attribute target uses the wrong default function argument

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

[Bug target/81813] Inefficient stack pointer adjustment

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

[Bug target/81813] Inefficient stack pointer adjustment

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81813 --- Comment #3 from Andrew Pinski --- There are a 3 places where the calllock_acquire calldebug_lockdep_rcu_enabled movq32(%rsp), %rax popq%rdx Pattern exists and in GCC 7-8, only one of the 3 has

[Bug target/81813] Inefficient stack pointer adjustment

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

[Bug target/46357] Unnecessary movzx instruction

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

[Bug target/46357] Unnecessary movzx instruction

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

[Bug target/82727] ICE in emit_library_call_value_1, at calls.c:4975

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 Keywords||ice-on-valid-code Status|UNC

[Bug target/82727] ICE in emit_library_call_value_1, at calls.c:4975

2021-08-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82727 --- Comment #2 from Andrew Pinski --- Note -mabi=ms -mlong-double-128 is enough to reproduce the ICE.

[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

[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/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/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 #2

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

[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 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 %eax,

[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 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[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 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 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++/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. According

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

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

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

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

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

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

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 .init.data:initcall_

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

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

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

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

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

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

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

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

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

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

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

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

[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 x+16(%rip)

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

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

[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 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 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/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 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 array.c:gfc_match_ar

[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 Component|rtl-optimiz

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

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

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

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

  1   2   >