[Bug c/79217] Feature request: high half of an integer multiplication

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79217 --- Comment #6 from Andrew Pinski --- (In reply to H. Peter Anvin from comment #5) > b) it seems likely that getting __intN where N > CHAR_BIT*sizeof(uintmax_t) > into a standard would be very hard, and thus would not be possible to >

[Bug tree-optimization/54116] suboptimal code for tight loops

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

[Bug rtl-optimization/78085] extra sign extend if used to store in 32bit and return 64bit and the upper bits are known to be zeroed.

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

[Bug middle-end/48609] Inefficient complex float argument passing/return

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48609 --- Comment #4 from Andrew Pinski --- *** Bug 77851 has been marked as a duplicate of this bug. ***

[Bug target/77851] Odd code for _Complex float return value

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

[Bug target/77702] suffix or operands invalid for `movq'

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

[Bug tree-optimization/51499] -Ofast does not vectorize while -O3 does.

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

[Bug tree-optimization/61724] Some loops not vectorized

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

[Bug middle-end/74113] by_pieces_ninsns doesn't support TImode/OImode/XImode

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=74113 --- Comment #1 from Andrew Pinski --- Isn't this fixed now?

[Bug tree-optimization/71726] Simplify (intptr_t)p+4-(intptr_t)(p+4)

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

[Bug rtl-optimization/71775] Redundant move instruction for sign extension

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

[Bug tree-optimization/68500] Remove in_loop_pipeline usage

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

[Bug other/68500] Remove in_loop_pipeline usage

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

[Bug plugins/101810] libiberty/simple-object-xcoff.c segmentation fault

2021-08-06 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 --- Comment #1 from Alan Modra --- Created attachment 51272 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51272=edit Proposed fix

[Bug c++/70793] C++11: not accepting some integeral types

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70793 --- Comment #3 from Andrew Pinski --- This has been broken since GCC added support non-class-key friends for C++11 which was added in 4.7.1.

[Bug c++/70793] C++11: not accepting some integeral types

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70793 Andrew Pinski changed: What|Removed |Added Summary|g++ does not accept some|C++11: not accepting some

[Bug plugins/101810] New: libiberty/simple-object-xcoff.c segmentation fault

2021-08-06 Thread amodra at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101810 Bug ID: 101810 Summary: libiberty/simple-object-xcoff.c segmentation fault Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/70793] g++ does not accept some forms of "friend" declaration for builtin types

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70793 Andrew Pinski changed: What|Removed |Added Keywords||rejects-valid Ever confirmed|0

[Bug target/70079] missed constant propagation in memcpy expansion

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

[Bug target/51837] Use of result from 64*64->128 bit multiply via __uint128_t not optimized

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51837 Andrew Pinski changed: What|Removed |Added Component|middle-end |target Target|

[Bug middle-end/51837] Use of result from 64*64->128 bit multiply via __uint128_t not optimized

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

[Bug target/69519] STV doesn't use xmm register for DImove move

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

[Bug c++/100720] inconsistent return type deduction behavior with user defined conversion function

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100720 --- Comment #1 from Andrew Pinski --- clang rejects the first example: :7:20: error: function 'f' with deduced return type cannot be used before it is defined return f(0); ^ :2:10: note: 'f' declared here auto

[Bug c++/95127] Self-calling lambda with auto return type gives misleading error message

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95127 --- Comment #2 from Andrew Pinski --- All 4 compilers (GCC, ICC, clang and MSVC) I have access to reject this code.

[Bug c++/88557] Lambda in template parameter list compiler segmentation fault (ICE)

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

[Bug c++/68938] [C++11] use of lambda before deduction of auto does not fail in templated function

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68938 Andrew Pinski changed: What|Removed |Added Keywords||accepts-invalid

[Bug other/69722] [6 Regression] gcc/doc/extend.texi:7526: warning: node `Constraints' is next for `Extended Asm' in menu but not in sectioning

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

[Bug middle-end/68900] extended.texi/md.texi: Texinfo warnings regarding @node and @menu

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

[Bug driver/68808] "--sysroot" not propagated to linker when "--specs" is used

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68808 --- Comment #1 from Andrew Pinski --- Yes because the specs are setup with the specific --sysroot option supplied. The code sets up the sysroot spec only if the --sysroot is supplied: /* Pass the --sysroot option to the linker, if it supports

[Bug libgcc/67902] Undefined negation in __divdi3

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

[Bug target/61407] Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407 Andrew Pinski changed: What|Removed |Added CC||275438859 at qq dot com --- Comment #58

[Bug target/67734] Gcc warning "gcc: warning: couldn’t understand kern.osversion ‘14.5.0"

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

[Bug middle-end/66989] poor performance of builtin_isfinite on x64

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

[Bug target/66986] poor performance of __builtin_isinf on x64

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

[Bug c++/101681] PMF comparison to nullptr is not considered a constexpr

2021-08-06 Thread StevenSun2021 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101681 --- Comment #3 from Steven Sun --- By the way, in the current design, the class definition is passed twice in order we can see every member data/function declaration before parsing NSDMI and member functions. The class is complete after

[Bug c++/101681] PMF comparison to nullptr is not considered a constexpr

2021-08-06 Thread StevenSun2021 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101681 --- Comment #2 from Steven Sun --- The root cause for this is that the compiler forbids constant folding when involving PMF of an incomplete class.

[Bug target/66589] AVX instruction set extension is not enabled by default for bdver2

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66589 --- Comment #2 from Andrew Pinski --- I don't why sometimes it shows up as enabled and other times it does not.

[Bug tree-optimization/101793] Incorrect -Wmaybe-uninitialized on an unreachable use at -O1

2021-08-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101793 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/101793] Incorrect production of ‘may be used uninitialized in this function [-Werror=maybe-uninitialized]'

2021-08-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101793 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug middle-end/101809] New: emulated gather capability doesn't support 32-bit target

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
ot;aM",@progbits,8 .align 8 .LC0: .long 0 .long 1078263808 .ident "GCC: (GNU) 12.0.0 20210806 (experimental)" .section.note.GNU-stack,"",@progbits [hjl@gnu-cfl-2 xxx]$ emulated gather capability isn't enabled.

[Bug middle-end/96989] SSA_NAMEs in Wuninitialized warning messages after r11-959

2021-08-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96989 --- Comment #6 from Martin Sebor --- The tree pretty-printer would do better by obviating the internal differences: e.g., it could convert the IL for h(): a = __builtin_malloc (_1); _2 = a + 8; _3 = *_2; directly to a[2].

[Bug middle-end/96989] SSA_NAMEs in Wuninitialized warning messages after r11-959

2021-08-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96989 Martin Sebor changed: What|Removed |Added Assignee|ibuclaw at gdcproject dot org |unassigned at gcc dot gnu.org

[Bug tree-optimization/101805] Max -> bool0 | bool1 Min -> a & b

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

[Bug tree-optimization/101808] comparison0 < comparison1 should be transformed into comparison0` & comparison1; likewise for <=

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101808 --- Comment #2 from Andrew Pinski --- bit_or should be bit_ior

[Bug tree-optimization/101808] comparison0 < comparison1 should be transformed into comparison0` & comparison1; likewise for <=

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

[Bug tree-optimization/101808] New: comparison0 < comparison1 should be transformed into comparison0` & comparison1; likewise for <=

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101808 Bug ID: 101808 Summary: comparison0 < comparison1 should be transformed into comparison0` & comparison1; likewise for <= Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug middle-end/101807] New: bool0 < bool1 Should expand as !bool0 and bool0 <= bool1 as !bool0 | bool1

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101807 Bug ID: 101807 Summary: bool0 < bool1 Should expand as !bool0 and bool0 <= bool1 as !bool0 | bool1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/101806] Extra zero extends for some arguments in some cases

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101806 --- Comment #1 from Andrew Pinski --- It happens to work on x86-64(with -march=skylake-avx512) becausewe get a zero_extend instead of an and there. I still don't understand how x86 is able to figure out the &1 part. Trying 11, 9 -> 12: 11:

[Bug rtl-optimization/101806] New: Extra zero extends for some arguments in some cases

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101806 Bug ID: 101806 Summary: Extra zero extends for some arguments in some cases Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug fortran/68568] ICE with automatic character object and save, in combination with some options

2021-08-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68568 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/68568] ICE with automatic character object and save, in combination with some options

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

[Bug sanitizer/90589] In Fedora 30 ps hangs using address sanitizer

2021-08-06 Thread francis.deslauriers at efficios dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90589 francis.deslauriers at efficios dot com changed: What|Removed |Added CC|

[Bug tree-optimization/101805] New: Max -> bool0 | bool1 Min -> a & b

2021-08-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101805 Bug ID: 101805 Summary: Max -> bool0 | bool1 Min -> a & b Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity:

[Bug target/101804] float_vector_all_ones_operand should be used more

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101804 H.J. Lu changed: What|Removed |Added Attachment #51270|0 |1 is obsolete|

[Bug tree-optimization/101769] loop->finite_p is not always true for some loops even with -ffinite-loops being used

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

[Bug tree-optimization/96542] Failure to optimize simple code to a constant when storing part of the operation in a variable

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

[Bug target/101804] New: float_vector_all_ones_operand should be used more

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101804 Bug ID: 101804 Summary: float_vector_all_ones_operand should be used more Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/101681] PMF comparison to nullptr is not considered a constexpr

2021-08-06 Thread StevenSun2021 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101681 Steven Sun changed: What|Removed |Added CC||StevenSun2021 at hotmail dot com ---

[Bug middle-end/101799] Warning messages for PMF leak internal names like ::__pfn and ::__delta

2021-08-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101799 --- Comment #2 from Martin Sebor --- PR 96989 is related only in that it also involves the pretty printer. Otherwise, to avoid SSA_NAMEs the pretty-printer needs to recursively expand them into their assignments from DECLs or expressions

[Bug middle-end/101799] Warning messages for PMF leak internal names like ::__pfn and ::__delta

2021-08-06 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101799 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Blocks|

[Bug c++/101795] (x > QNaNf) is not a constant expression

2021-08-06 Thread glisse at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101795 --- Comment #1 from Marc Glisse --- Hint: -fno-trapping-math lets it compile. It should probably be accepted in a manifestly_const_eval context, although some in the committee wanted to prevent the use of NaN (and sometimes even infinity!) in

[Bug target/101723] arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions

2021-08-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 --- Comment #4 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:aff75af3b50f8c039ed6fbfa3f313ba45d44f6e6 commit r12-2791-gaff75af3b50f8c039ed6fbfa3f313ba45d44f6e6 Author: Christophe Lyon

[Bug target/101723] arm: incorrect order of .fpu and .arch_extension directives leads to unsupported instructions

2021-08-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101723 --- Comment #3 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:a22b3e022c2b45047a28d901042888eb77620499 commit r12-2790-ga22b3e022c2b45047a28d901042888eb77620499 Author: Christophe Lyon

[Bug rtl-optimization/101260] [10/11/12 Regression] Backport 27381e78925 to GCC 11

2021-08-06 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101260 --- Comment #10 from Stefan Schulze Frielinghaus --- In regcprop we call find_oldest_value_reg which itself calls maybe_mode_change (TImode, TImode, DImode, 10, 18) where we have regno += subreg_regno_offset (regno, orig_mode, offset,

[Bug c++/101803] New: CTAD fails for nested designated initializers

2021-08-06 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101803 Bug ID: 101803 Summary: CTAD fails for nested designated initializers Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 101801, which changed state. Bug 101801 Summary: vect_worthwhile_without_simd_p is broken https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 What|Removed |Added

[Bug tree-optimization/101801] vect_worthwhile_without_simd_p is broken

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/101801] vect_worthwhile_without_simd_p is broken

2021-08-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f31da42e047e8018ca6ad9809273bc7efb6ffcaf commit r12-2789-gf31da42e047e8018ca6ad9809273bc7efb6ffcaf Author: Richard Biener Date:

[Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88531 --- Comment #13 from H.J. Lu --- Here is the equivalent C code: --- #include #define loop_t uint32_t #define idx_t uint32_t void loop(double * const __restrict__ dst, double const * const __restrict__ src, idx_t const *

[Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88531 --- Comment #12 from H.J. Lu --- For some reason, -march=x86-64 -mx32 and -march=x86-64 -m32 -mfpmath=sse won't vectorize the loop.

[Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88531 --- Comment #11 from Richard Biener --- OK, that probably was an unintended side-effect of now doing /* Include the conversion if it is widening and we're using the IFN path or the target can handle the converted from

[Bug tree-optimization/88531] Index data types when targeting AVX-512 vectorization with gather/scatter

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88531 --- Comment #10 from H.J. Lu --- It is fixed by r12-2733.

[Bug target/101797] ICE on valid code at -O2 and -O3: in extract_constrain_insn, at recog.c:2670

2021-08-06 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101797 Uroš Bizjak changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/101797] ICE on valid code at -O2 and -O3: in extract_constrain_insn, at recog.c:2670

2021-08-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101797 --- Comment #3 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:cd04e829c3ae244abd711e2597f8b72d6c58c713 commit r12-2787-gcd04e829c3ae244abd711e2597f8b72d6c58c713 Author: Uros Bizjak Date: Fri

[Bug gcov-profile/99440] [GCOV] Wrong coverage with callsite

2021-08-06 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99440 --- Comment #1 from Yang Wang --- And also line 26 should be executed 5 times

[Bug c++/53660] function pointer conversion function template with nested-name-specifier ignored

2021-08-06 Thread potswa at mac dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53660 David Krauss changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug tree-optimization/101801] vect_worthwhile_without_simd_p is broken

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 --- Comment #4 from Richard Biener --- (In reply to rsand...@gcc.gnu.org from comment #3) > So maybe a less invasive fix would be to add && !VECTOR_BOOLEAN_TYPE_P > to the condition. Still no objection to killing it off instead though. Yeah,

[Bug analyzer/97110] [meta-bug] tracker bug for supporting C++ in -fanalyzer

2021-08-06 Thread deco33000 at yandex dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97110 Bug 97110 depends on bug 101781, which changed state. Bug 101781 Summary: make_unique generating a warning with -fanalyzer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101781 What|Removed |Added

[Bug analyzer/101781] make_unique generating a warning with -fanalyzer

2021-08-06 Thread deco33000 at yandex dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101781 KL changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/101801] vect_worthwhile_without_simd_p is broken

2021-08-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 --- Comment #3 from rsandifo at gcc dot gnu.org --- So maybe a less invasive fix would be to add && !VECTOR_BOOLEAN_TYPE_P to the condition. Still no objection to killing it off instead though.

[Bug tree-optimization/101801] vect_worthwhile_without_simd_p is broken

2021-08-06 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 --- Comment #2 from rsandifo at gcc dot gnu.org --- Never really looked at the SIMD-without-SIMD stuff. When I first saw this, I was hoping you were suggesting killing off the whole thing :-) So no, no objection from me. It sounds like in

[Bug c++/99901] [9/10 Regression] static const class var implemented with constexpr doesn't emit symbols in C++17 mode

2021-08-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99901 Jakub Jelinek changed: What|Removed |Added CC||koncek.marian at gmail dot com ---

[Bug c++/101800] mingw-64 link error with constexpr static variable definition

2021-08-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101800 Jakub Jelinek changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug tree-optimization/101802] Vectorization can end up creating vector bool CTORs

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101802 Richard Biener changed: What|Removed |Added Blocks||53947 Keywords|

[Bug c++/70413] Class template names in anonymous namespaces are not globally unique

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70413 Jonathan Wakely changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug c++/101695] calling incorrect destructor of same-name class in anonymous namespaces in separate translation units

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101695 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/101802] New: Vectorization can end up creating vector bool CTORs

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101802 Bug ID: 101802 Summary: Vectorization can end up creating vector bool CTORs Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/101801] vect_worthwhile_without_simd_p is broken

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug tree-optimization/101801] New: vect_worthwhile_without_simd_p is broken

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101801 Bug ID: 101801 Summary: vect_worthwhile_without_simd_p is broken Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/101695] calling incorrect destructor of same-name class in anonymous namespaces in separate translation units

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101695 --- Comment #4 from Jonathan Wakely --- PR 70413 comment 3 has a suggested fix

[Bug c++/101695] calling incorrect destructor of same-name class in anonymous namespaces in separate translation units

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101695 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/101695] calling incorrect destructor of same-name class in anonymous namespaces in separate translation units

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101695 Jonathan Wakely changed: What|Removed |Added Attachment #51268|0 |1 is obsolete|

[Bug tree-optimization/101636] [11/12 Regression] ICE: verify_gimple failed (error: conversion of register to a different size in 'view_convert_expr')

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101636 --- Comment #6 from Richard Biener --- So what happens is that we have a vector(16) constructor _151 = {_150, _149, _148, _147, _146, _145, _144, _143, _142, _141, _140, _139, _138, _137, _136, _135}; fed by a series of _150 = _75 ? -1

[Bug c++/101800] New: mingw-64 link error with constexpr static variable definition

2021-08-06 Thread koncek.marian at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101800 Bug ID: 101800 Summary: mingw-64 link error with constexpr static variable definition Product: gcc Version: 10.3.1 Status: UNCONFIRMED Severity: normal

[Bug c++/101695] calling incorrect destructor of same-name class in anonymous namespaces in separate translation units

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101695 Jonathan Wakely changed: What|Removed |Added Attachment #51225|0 |1 is obsolete|

[Bug c++/101695] calling incorrect destructor of same-name class in anonymous namespaces in separate translation units

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

[Bug tree-optimization/101512] [11 Regression] ICE in maybe_trim_constructor_store, at tree-ssa-dse.c:379

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101512 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|

[Bug target/101505] [10/11 Regression] ICE: verify_gimple failed (error: incompatible types in 'PHI' argument 0)

2021-08-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101505 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c891d268c446bd01f82e256e24580afcb3b526ae commit r11-8831-gc891d268c446bd01f82e256e24580afcb3b526ae Author: Richard

[Bug tree-optimization/101512] [11 Regression] ICE in maybe_trim_constructor_store, at tree-ssa-dse.c:379

2021-08-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101512 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:129bf4f2efc0ec22ee14affd8c8a3bfe07896356 commit r11-8830-g129bf4f2efc0ec22ee14affd8c8a3bfe07896356 Author: Richard

[Bug c++/85087] call to a non-const member function on a const lvalue accepted

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85087 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

  1   2   >