[Bug c++/101790] [12 Regression] ICE on invalid regression in trunk: tree check: expected class 'type', have 'exceptional' (error_mark)

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101790 Richard Biener changed: What|Removed |Added Priority|P3 |P4 Target Milestone|---

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

2021-08-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88531 --- Comment #9 from Hongtao.liu --- I notice this testcase can be vectorized w/ gcc version 12.0.0 20210805 (experimental) (GCC) Guess it's related to Richi's https://gcc.gnu.org/pipermail/gcc-patches/2021-August/576527.html

[Bug c++/86369] constexpr const char* comparison fails

2021-08-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86369 --- Comment #7 from Richard Biener --- constexpr evaluation shouldn't blindly call fold* if it doesn't expect things to end up constant that are not or non-constant that are. fold* is _not_ a constexpr evaluator in the C++ semantic sense. So no

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

2021-08-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
: posix Supported LTO compression algorithms: zlib gcc version 12.0.0 20210806 (experimental) [master revision 9124bbe1857:9d62796a203:fd351c76c23187fdc74d9af6874a54e2e84c4d25] (GCC) [567] % [567] % gcctk -Os small.c [568] % [568] % gcctk -O2 small.c small.c: In function ‘main’: small.c:11:1: error

[Bug tree-optimization/49869] Excessive loop versioning done by vectorization + predictive commoning

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

[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 49869, which changed state. Bug 49869 Summary: Excessive loop versioning done by vectorization + predictive commoning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49869 What|Removed |Ad

[Bug demangler/101798] New: rust-demangle.c infinite recursion

2021-08-06 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101798 Bug ID: 101798 Summary: rust-demangle.c infinite recursion Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler

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

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

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 Jonathan Wakely changed: What|Removed |Added Keywords|diagnostic | Last reconfirmed|

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #3 from Jonathan Wakely --- GCC 4.4 and earlier didn't accept it with the typename there: 101783.C:8: error: using 'typename' outside of template 101783.C:8: error: 'const' qualifiers cannot be applied to 'B&' The typename started

[Bug c++/101799] New: Warning messages for PMF leak internal names like ::__pfn and ::__delta

2021-08-06 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101799 Bug ID: 101799 Summary: Warning messages for PMF leak internal names like ::__pfn and ::__delta Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[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 Target Milestone|--- |12.0 Assignee|unassigned at gcc

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 --- Comment #4 from Jonathan Wakely --- (In reply to nick huang from comment #0) > The signature of *f* would drop unnecessary const anyway as top-level > cv qualifier according to spec. So, there is no need to generate error. > > 2. clang give

[Bug c++/52288] operator?: and lambdas error message could be better

2021-08-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52288 --- Comment #8 from Jonathan Wakely --- If we don't do the same as Clang, I definitely like the suggestion to drop the function name if within the same scope. For a function template with many template arguments and function arguments it can get

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

2021-08-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101797 --- Comment #2 from Martin Liška --- Btw. started with r12-2640-gf7bf03cf69ccb7dc.

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

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

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

[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 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 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++/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 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++/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 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 --- Comment #4 from Jonathan Wakely --- PR 70413 comment 3 has a suggested fix

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

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

[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 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 | |a/show_bug.cgi?id=

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

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

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

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

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

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

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

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

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

[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 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 (e.g.

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

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

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

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

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

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

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

[Bug middle-end/101807] New: bool0 < bool1 Should expand as !bool0 &bool1 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 &bool1 and bool0 <= bool1 as !bool0 | bool1 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywor

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

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

[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 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/101809] New: emulated gather capability doesn't support 32-bit target

2021-08-06 Thread hjl.tools at gmail dot com via Gcc-bugs
8,"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 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 #5

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

[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 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. https://gcc.gnu.org/git?p=gcc.git;a=blob;f=gcc/cp/expr.c;h=d16d1896f2ddd08264b389b02b9640cca332e

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

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

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

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

[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 Keywords|ice-on-invalid-code

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

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

[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

  1   2   >