[Bug c++/93001] bogus is private within this context error with scoped enum

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

[Bug c++/90324] Accessibility: nested enum defined outside of class

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90324 Andrew Pinski changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug objc/103639] [REGRESSION] GCC 11.2 (or even earlier) breaks switch case with break in fast enumeration loop

2021-12-10 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 Iain Sandoe changed: What|Removed |Added Status|WAITING |NEW --- Comment #6 from Iain Sandoe ---

[Bug c++/64169] Partial template specialization of reference-qualified operator templates

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64169 Andrew Pinski changed: What|Removed |Added Known to fail||4.9.4, 6.4.0, 7.1.0, 7.3.0 Key

[Bug objc/103639] [11/12 Regression] switch case with break in fast enumeration loop generates wrong code

2021-12-10 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 --- Comment #7 from Iain Sandoe --- Created attachment 51965 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51965&action=edit preprocessed (using testsuite sub-set of GNUStep headers) This reproduces the issue when compiled with GCC-10 (

[Bug rtl-optimization/103641] New: [aarch64][11 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread husseydevin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 Bug ID: 103641 Summary: [aarch64][11 regression] Severe compile time regression in SLP vectorize step Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 Kewen Lin changed: What|Removed |Added CC||bergner at gcc dot gnu.org,

[Bug tree-optimization/92860] [9/10/11/12 regression] Global flags affected by -O settings are clobbered by optimize attribute

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92860 Martin Liška changed: What|Removed |Added Status|NEW |WAITING --- Comment #62 from Martin Liška

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 --- Comment #2 from Kewen Lin --- > One fix seems to introduce one stanza for 128bit long double like previous > RS6000_BTM_LDBL128 which is enabled only if (TARGET_LONG_DOUBLE_128 && > TARGET_HARD_FLOAT && !TARGET_IEEEQUAD), and guard > __buil

[Bug rtl-optimization/103641] [aarch64][11 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/87985] Compile-time and memory hog w/ -O1 -ftree-slp-vectorize

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

[Bug tree-optimization/103641] [aarch64][11 regression] Severe compile time regression in SLP vectorize step

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

[Bug middle-end/103642] New: [12 Regression] ICE in lower_omp_target: omp-low.c:12977 (fold_convert_loc) for omp target map(from: t.s->a[:N])

2021-12-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103642 Bug ID: 103642 Summary: [12 Regression] ICE in lower_omp_target: omp-low.c:12977 (fold_convert_loc) for omp target map(from: t.s->a[:N]) Product: gcc Version: 12

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3 Target|

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #4 from Andrew Pinski --- Created attachment 51967 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51967&action=edit preprocessed source preprocessed source from gcc: gcc version 12.0.0 2028 (experimental) [master r12-5363]

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 Kewen Lin changed: What|Removed |Added CC||linkw at gcc dot gnu.org,

[Bug objc/103639] [11/12 Regression] switch case with break in fast enumeration loop generates wrong code

2021-12-10 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 --- Comment #8 from Iain Sandoe --- Here's a version using the testsuite object etc. it does not need Foundation (it needs CoreFoundation on Darwin for NSString, but only libobjc on Linux) the issue repeats equally with gnu-runtime on Linux. g

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > tree slp vectorization : 53.92 ( 83%) 0.00 ( 0%) 53.90 ( > 82%)19M ( 21%) > > Still happens on the trunk. I should say this is with check

[Bug middle-end/103643] New: [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity

2021-12-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103643 Bug ID: 103643 Summary: [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #6 from Martin Liška --- How does one enable NEON? What -mcpu -mtune do you use?

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #7 from Andrew Pinski --- 80.80% cc1 cc1[.] synth_mult

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #8 from Andrew Pinski --- (In reply to Martin Liška from comment #6) > How does one enable NEON? What -mcpu -mtune do you use? NEON is enabled by default :).

[Bug middle-end/103643] [12 Regression][OpenMP] ICE in create_tmp_var, at gimple-expr.c:482 - via gimplify_omp_affinity

2021-12-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103643 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |12.0 Ever confirmed|0

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #9 from Martin Liška --- (In reply to Andrew Pinski from comment #8) > (In reply to Martin Liška from comment #6) > > How does one enable NEON? What -mcpu -mtune do you use? > > NEON is enabled by default :). I have a cross compile

[Bug middle-end/103642] [12 Regression] ICE in lower_omp_target: omp-low.c:12977 (fold_convert_loc) for omp target map(from: t.s->a[:N]) since r12-5835-g0ab29cf0bb68960c

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103642 Martin Liška changed: What|Removed |Added Summary|[12 Regression] ICE in |[12 Regression] ICE in

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #10 from Andrew Pinski --- (In reply to Martin Liška from comment #6) > How does one enable NEON? What -mcpu -mtune do you use? I was just using -march=armv8-a -mtune=generic -mcpu=generic -O3 to see that most of the time was in syn

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #11 from Andrew Pinski --- (In reply to Martin Liška from comment #9) > (In reply to Andrew Pinski from comment #8) > > (In reply to Martin Liška from comment #6) > > > How does one enable NEON? What -mcpu -mtune do you use? > > > >

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #12 from Martin Liška --- > because the preprocessed source is from the trunk :) So please create one that can both GCC-10 and GCC-11 happily consume.

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #13 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > because the preprocessed source is from the trunk :) The trunk changed how arm_neon.h is handled so most everything is internal to GCC rather than having impl

[Bug tree-optimization/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #14 from Andrew Pinski --- Created attachment 51968 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51968&action=edit GCC 10 preprocessed source I don't have GCC 11 installed.

[Bug jit/103562] Jitted code produces incorrect result when returning 3-member struct from internal function

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103562 --- Comment #4 from Martin Liška --- Honza's investigation on IRC: Looks like inlining did not understand the return slot optimization, so it simply stores the value to that is presumably now a normal variable. so I guess missing DECL_BY_REF

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

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

[Bug driver/103644] New: [OpenMP] -foffload= suggest also 'disable' (and 'default')

2021-12-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103644 Bug ID: 103644 Summary: [OpenMP] -foffload= suggest also 'disable' (and 'default') Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic, openmp

[Bug ipa/103636] [12 Regression] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #5 from Martin Liška --- Btw. how do you inject the CXXLFAGS to LLVM's cmake?

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

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

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #17 from Andrew Pinski --- My bet is r11-7153-ga11ef53238c8ebaab9a3f exposed the issue. That is the different cost model for the multiply exposed the compile time issue inside synth_mult (which I am not shocked based on PR 87256 and

[Bug ipa/103636] [12 Regression] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #6 from Martin Liška --- Got it, explained here: https://llvm.org/docs/CMake.html#frequently-used-cmake-variables

[Bug tree-optimization/103523] [11/12 Regression] vectorizable_induction generating code for modes without checking support for them by r11-7861-ge4180ab2f

2021-12-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103523 --- Comment #7 from CVS Commits --- The master branch has been updated by Joel Hutton : https://gcc.gnu.org/g:a5f65cf7ad640ae398eba7a45c712322ce841809 commit r12-5889-ga5f65cf7ad640ae398eba7a45c712322ce841809 Author: Joel Hutton Date: Fri D

[Bug ipa/103601] [12 Regression] ICE in insert_kill, at ipa-modref-tree.c:84 since r12-5244-g64f3e71c302b4a13

2021-12-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103601 Roger Sayle changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/103523] [11/12 Regression] vectorizable_induction generating code for modes without checking support for them by r11-7861-ge4180ab2f

2021-12-10 Thread joelh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103523 Joel Hutton changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/31164] Problem with GCC 4.1 and Boost signals

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31164 --- Comment #12 from Jonathan Wakely --- Boost bug tracking moved to https://svn.boost.org/trac10/report and then to github. Boost.Signals was replaced by Boost.Signals2 years ago though. Clang gives the same result as GCC. EDG does for C++11 an

[Bug ipa/103636] [12 Regression] Clang build fails with -flto -fno-strict-aliaisng -flifetime-dse=1 -fprofile-generate

2021-12-10 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103636 --- Comment #7 from hubicka at kam dot mff.cuni.cz --- I use cmake -G "Unix Makefiles" /home/jh/llvm-project/llvm -DCLANG_TABLEGEN=/home/jh/llvm-project/llvm/out/stage1/bin/clang-tblgen -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/home/jh/tru

[Bug target/103627] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103627 --- Comment #2 from Kewen Lin --- Confirmed. But even if I reverted my previous commit r12-5590 which introduced this test case (from PR102347) into testsuites, this ICE still exists. So it's not a regression related to the commit but a latent

[Bug c/103645] New: Gimplifier does not remove empty struct stores in a few cases

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103645 Bug ID: 103645 Summary: Gimplifier does not remove empty struct stores in a few cases Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: internal-improve

[Bug ipa/103601] [12 Regression] ICE in insert_kill, at ipa-modref-tree.c:84 since r12-5244-g64f3e71c302b4a13

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

[Bug driver/103646] New: gcc driver breaks asm ("ebp")

2021-12-10 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103646 Bug ID: 103646 Summary: gcc driver breaks asm ("ebp") Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver A

[Bug tree-optimization/103523] [11/12 Regression] vectorizable_induction generating code for modes without checking support for them by r11-7861-ge4180ab2f

2021-12-10 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103523 Tamar Christina changed: What|Removed |Added Resolution|FIXED |--- Status|RESOLVED

[Bug ipa/103601] [12 Regression] ICE in insert_kill, at ipa-modref-tree.c:84 since r12-5244-g64f3e71c302b4a13

2021-12-10 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103601 --- Comment #5 from hubicka at kam dot mff.cuni.cz --- Thanks Roger and Andrew! It was on my TODO for weekend and I am very happy you beat me :)

[Bug libstdc++/102994] std::atomic::wait is not marked const

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

[Bug c/103647] New: constant array comparison not always folded

2021-12-10 Thread denis.campredon at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103647 Bug ID: 103647 Summary: constant array comparison not always folded Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/103646] gcc driver breaks asm ("ebp")

2021-12-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103646 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c++/48518] Inconsistent instantiation behavior depending on operator overloading

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518 --- Comment #4 from Jonathan Wakely --- FWIW GCC changed with r153958: re PR c++/34870 (argument-dependent lookup fails to find friend declaration) PR c++/34870 * name-lookup.c (arg_assoc_class): Call complete_type.

[Bug c++/70213] Not all ambiguous cases of method constraint overloading caught?

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

[Bug c++/67491] [meta-bug] concepts issues

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 70213, which changed state. Bug 70213 Summary: Not all ambiguous cases of method constraint overloading caught? https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70213 What|Removed |Added --

[Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55635 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug rtl-optimization/98782] [11/12 Regression] Bad interaction between IPA frequences and IRA resulting in spills due to changes in BB frequencies

2021-12-10 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 --- Comment #22 from Jan Hubicka --- We discussed with Richard the option to biass the IRA spilling heuristics to spill into blocks containing calls (since they are slow anyway) bypassing some of the guessed frequencies. Thinking on it, perhaps

[Bug c++/70447] delete operator not called when destructor throws.

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

[Bug c++/55635] Deallocation function ("operator delete") not called when destructor throws exception

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55635 Andrew Pinski changed: What|Removed |Added CC||programmerjake at gmail dot com --- Comm

[Bug c++/66440] Diagnostic on "'foo' was not declared in this scope" offers an invalid suggestion

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

[Bug c++/66440] Diagnostic on "'foo' was not declared in this scope" offers an invalid suggestion

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66440 --- Comment #2 from Jonathan Wakely --- The "did you mean ... ?" suggestions are pretty basic, there's no semantic analysis. So they are imperfect, but still useful more often than not.

[Bug middle-end/103454] -finline-functions-called-once is both compile-time and runtime loss at average for spec2006, spec2017 and tramp3d

2021-12-10 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103454 Jan Hubicka changed: What|Removed |Added Depends on||103585 --- Comment #2 from Jan Hubicka -

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2021-12-10 Thread vvinayag at arm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #45 from vvinayag at arm dot com --- (In reply to Jonathan Wakely from comment #44) > *** Bug 103570 has been marked as a duplicate of this bug. *** Hi Jonathan, I see that you plan to fix this soon (https://gcc.gnu.org/bugzilla/sh

[Bug sanitizer/79774] gcc -fsanitize=address with error

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

[Bug target/101785] aarch64-linux-android is not supported

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785 Andrew Pinski changed: What|Removed |Added CC||zhoujun48 at huawei dot com --- Comment

[Bug c++/82840] call to conversion operator instead of converting constructor in c++17 during overload resolution

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82840 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from Andrew Pi

[Bug ipa/103601] [12 Regression] ICE in insert_kill, at ipa-modref-tree.c:84 since r12-5244-g64f3e71c302b4a13

2021-12-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103601 --- Comment #6 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:2a1c3b69c015ea49e4c7c08291efd8f7e28e1193 commit r12-5891-g2a1c3b69c015ea49e4c7c08291efd8f7e28e1193 Author: Roger Sayle Date: Fri D

[Bug tree-optimization/103061] [12 Regression] 527.cam4_r miscompiled with -O2 -march=znver1 since r12-4790-g4b3a325f07acebf4

2021-12-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103061 --- Comment #19 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:2a1c3b69c015ea49e4c7c08291efd8f7e28e1193 commit r12-5891-g2a1c3b69c015ea49e4c7c08291efd8f7e28e1193 Author: Roger Sayle Date: Fri

[Bug c++/82840] call to conversion operator instead of converting constructor in c++17 during overload resolution

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82840 --- Comment #2 from Andrew Pinski --- This is interesting: struct D; struct C { constexpr C(int t) : t(t) {} constexpr C(const C&) {} constexpr C(const D&) {} int t = 0; }; struct D { constexpr operator C() { return C{1};} };

[Bug target/100428] [nvptx, GOMP_NVPTX_JIT=-O0] FAIL: libgomp.oacc-c/../libgomp.oacc-c-c++-common/reduction-7.c -DACC_DEVICE_TYPE_nvidia=1 -DACC_MEM_SHARED=0 -foffload=nvptx-none -O0 execution test

2021-12-10 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100428 --- Comment #4 from Tom de Vries --- FTR, reproduces with driver version 470.86 on Quadro M1200 and GeForce GT 1030.

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- canadian compilation fails

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 --- Comment #46 from Jonathan Wakely --- I hope to get to it next week.

[Bug tree-optimization/103648] New: Missed optimization on arm64 when returning an empty struct.

2021-12-10 Thread boleyn.su at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103648 Bug ID: 103648 Summary: Missed optimization on arm64 when returning an empty struct. Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/85171] generic lambda becomes recursive

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85171 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, wrong-code Known t

[Bug c++/82840] call to conversion operator instead of converting constructor in c++17 during overload resolution

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82840 --- Comment #3 from Jonathan Wakely --- GCC changed behaviour for C++1z mode at r240889: Further P0135 refinement. * call.c (build_user_type_conversion_1): Consider conversions from a single element in an initializer

[Bug c++/85171] generic lambda becomes recursive

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

[Bug c++/95451] [8/9 regression] ICE for lambda capturing this and calling operator() since r8-2720-gf44a8dd56f5bfbd0

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95451 Andrew Pinski changed: What|Removed |Added CC||nathan at gcc dot gnu.org --- Comment #1

[Bug middle-end/103648] Missed optimization on arm64 when returning an empty struct.

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

[Bug middle-end/103648] Missed optimization on arm64 when returning an empty struct.

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103648 --- Comment #2 from Andrew Pinski --- For C version we get: Partition 0: size 1 align 8 D.3600 Which is wrong. There is no reason for this struct to be on the stack

[Bug c++/86565] failing to instantiate all of a local class

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

[Bug middle-end/103648] Missed optimization on arm64 when returning an empty struct.

2021-12-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103648 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/103629] Possible miscompilation triggered by -fvisibility=hidden

2021-12-10 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #8 from Mathieu Malaterre --- % more CMakeLists.txt main.cc Module.cc openvdb.cc Tree.h :: CMakeLists.txt :: cmake_minimum_required(VERSION 3.13) project(p) # only export limited set of symbols set(CMAKE_C_V

[Bug c++/103629] Possible miscompilation triggered by pthread + exception

2021-12-10 Thread mathieu.malaterre at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #9 from Mathieu Malaterre --- Compiling the reduce test case without pthread lead to some kind of exception: ``` (gdb) bt full #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:49 set = {__val = {0 , 824

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2021-12-10 Thread husseydevin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #19 from Devin Hussey --- > The new costs on AArch64 have a vector multiplication cost of 4, which is > very reasonable. Would this include multv2di3 by any chance? Because another thing I noticed is that GCC is also trying to mul

[Bug c++/103629] Possible miscompilation visible using pthread + exception

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

[Bug libstdc++/103629] Possible miscompilation visible using pthread + exception

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #11 from Andrew Pinski --- Plus please don't use cmake and just make a simple makefile for testcases like this cnake brings in a lot of crap for no reason.

[Bug target/103623] [12 Regression] error: unable to generate reloads (ICE in curr_insn_transform, at lra-constraints.c:4132), or error: insn does not satisfy its constraints (ICE in extract_constrain

2021-12-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103623 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org ---

[Bug target/103624] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103624 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org Ta

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 Bill Schmidt changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wschmidt at gcc dot gnu.org Ta

[Bug target/103625] ICE: in extract_insn, at recog.c:2769 (error: unrecognizable insn)

2021-12-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103625 --- Comment #3 from Bill Schmidt --- BTW, Arseny, please CC me on any other built-in issues you see.

[Bug target/102347] "fatal error: target specific builtin not available" with MMA and LTO

2021-12-10 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102347 Bill Schmidt changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=10

[Bug c/103649] New: -Wno-attribute=foo::bar implies no arguments

2021-12-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103649 Bug ID: 103649 Summary: -Wno-attribute=foo::bar implies no arguments Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug c/103649] -Wno-attribute=foo::bar implies no arguments

2021-12-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103649 Marek Polacek changed: What|Removed |Added Last reconfirmed||2021-12-10 Ever confirmed|0

[Bug libstdc++/103638] [11/12 Regression] #include gives errors for --disable-threads builds

2021-12-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103638 --- Comment #1 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ffb632517fc446474baba10ee2ff13a218ec2c7b commit r12-5895-gffb632517fc446474baba10ee2ff13a218ec2c7b Author: Jonathan Wakely Date:

[Bug libstdc++/103638] [11 Regression] #include gives errors for --disable-threads builds

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103638 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gc

[Bug c/103587] [10/11/12 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850 since r10-4633-g4e03c3a7c1149a8e

2021-12-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103587 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c/103587] [10/11/12 Regression] ICE in c_parser_consume_token, at c/c-parser.c:850 since r10-4633-g4e03c3a7c1149a8e

2021-12-10 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103587 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug libstdc++/103629] Possible miscompilation visible using pthread + exception

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103629 --- Comment #12 from Jonathan Wakely --- Simple makefile for comment 8: CXXFLAGS := -fvisibility=hidden -fvisibility-inlines-hidden vdb_view: main.o Module.o libopenvdb.so $(CXX) -o $@ $^ -pthread '-Wl,-rpath,$$ORIGIN' libopenvdb.so: o

[Bug libstdc++/103650] New: [9/10/11/12 Regression] libstdc++ headers defined LT_OBJDIR and STDC_HEADERS

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103650 Bug ID: 103650 Summary: [9/10/11/12 Regression] libstdc++ headers defined LT_OBJDIR and STDC_HEADERS Product: gcc Version: 11.2.1 Status: UNCONFIRMED Keywords:

[Bug bootstrap/89216] Can't make tools for cross compile from linux to windows (MinGW)

2021-12-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89216 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME Status|WAITING

  1   2   3   >