[Bug target/82139] unnecessary movapd with _mm_castsi128_pd to use BLENDPD on __m128i results

2021-09-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82139 --- Comment #2 from Hongtao.liu --- (In reply to Andrew Pinski from comment #1) > It is worse on the trunk: > .L2: > movdqu (%rdi), %xmm1 > movdqu (%rdi), %xmm0 > addq$16, %rdi > paddd %xmm3, %xmm1 >

[Bug c++/99] Bug in template type in error message.

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99 Andrew Pinski changed: What|Removed |Added Last reconfirmed|2010-06-05 23:38:41 |2021-9-5 --- Comment #23 from Andrew

[Bug driver/2252] If 'as' crashes gcc points you to the gcc bug site

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2252 Andrew Pinski changed: What|Removed |Added Known to fail|| Last reconfirmed|2005-12-31 20:30:04

[Bug debug/7853] gcc reports multiple symbol definitions on the wrong line

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7853 Andrew Pinski changed: What|Removed |Added Known to work||7.5.0 --- Comment #20 from Andrew Pinski

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/102202] Inefficent expansion of memset when range is [0,1]

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102202 --- Comment #3 from Richard Biener --- We do have machinery (from profiling) to pass along min/max size which we already use, so I wonder if we should use those bounds in more cases. Of course memset (..., [0, 1]) could be constant folded on

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

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

[Bug c++/86303] Constructor is not used for type conversion

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86303 --- Comment #2 from Andrew Pinski --- GCC 7+ accepts it for C++17 and C++20 but rejects it for C++11 and C++14. Maybe there was a rule change.

[Bug target/102215] New: [GCN offloading] Missing '__atomic_compare_exchange_1' etc.

2021-09-06 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102215 Bug ID: 102215 Summary: [GCN offloading] Missing '__atomic_compare_exchange_1' etc. Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: openmp

[Bug middle-end/14840] fold tree_code_type[CST] and tree_code_length[CST] in GCC itself

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14840 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #12 from Andrew

[Bug middle-end/63184] [9/10/11/12 Regression] Fails to simplify comparison

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63184 --- Comment #29 from CVS Commits --- The master branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:564efbf40077c25623cdd6ce2f911c56b5b08f6c commit r12-3364-g564efbf40077c25623cdd6ce2f911c56b5b08f6c Author: Andrew Pinski Date:

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread gmt--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #3 from Greg Turner --- (In reply to Martin Liška from comment #2) > Can you please show how do you configure and build GCC (gcc -v). > And can you please attach a pre-processed boost source (and command-line > used) that can

[Bug rtl-optimization/17935] Two consecutive movzbl are generated

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

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread gmt--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #9 from Greg Turner --- Never mind, corrected version is quite equivalent: --- xml_grammar_gcc_-E.cpp 2021-09-06 01:38:48.125773266 -0700 +++ xml_grammar_gcc_-E-try2.cpp 2021-09-06 01:49:24.384875598 -0700 @@ -1,4 +1,5 @@ # 0

[Bug tree-optimization/102046] [10/11 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in useless_type_conversion_p, at gimple-expr.c:87 with -O3 -march=btver2 since

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102046 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:57f6800aefdd102cd43f0df53ca8bcbcc7202b41 commit r11-8966-g57f6800aefdd102cd43f0df53ca8bcbcc7202b41 Author: Richard

[Bug c++/83615] A reference binding involving a qualification conversion is rejected

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83615 --- Comment #1 from Andrew Pinski --- const has nothing to do with it: typedef int **t; class S { public: explicit operator t() { return 0; } }; int main() { S val; t & (val); return 0; }

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread gmt--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #10 from Greg Turner --- If you find yourself not readily reproducing, let me know I suspect a pregenerated gentoo prefix might be a nice "drag-and-drop" way to get someone up and running with a fully working reproduction. Of

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #12 from Martin Liška --- I tried bootstrapping the current tip of gcc-11 branch with -O2 -march=native on my model name : AMD Ryzen 7 2700X Eight-Core Processor but I can't reproduce the ICE on the provided boost test-case

[Bug tree-optimization/101394] [9/10 Regression] ICE on valid code with -O2: SSA corruption: Unable to coalesce ssa_names 10 and 19 which are marked as MUST COALESCE.

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:424737442fb7cd6ea8f0e63098c26cebdaf82a51 commit r10-10099-g424737442fb7cd6ea8f0e63098c26cebdaf82a51 Author: Richard

[Bug tree-optimization/101291] [10 Regression] turns infinite loop into finite

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101291 Richard Biener changed: What|Removed |Added Known to fail||10.3.0 Status|ASSIGNED

[Bug tree-optimization/101009] [10 Regression] wrong code with "-O3 -fno-tree-sra"

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 Richard Biener changed: What|Removed |Added Known to work||10.3.1 Status|ASSIGNED

[Bug bootstrap/4284] gcc-lib directory not configurable thru configure

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4284 --- Comment #3 from Andrew Pinski --- # Directory in which the compiler finds libraries etc. libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix) # Directory in which the compiler finds executables libexecsubdir =

[Bug tree-optimization/102178] [12 Regression] SPECFP 2006 470.lbm regressions on AMD Zen CPUs after r12-897-gde56f95afaaa22

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102178 Richard Biener changed: What|Removed |Added Version|11.0|12.0 Summary|SPECFP 2006

[Bug tree-optimization/65964] [meta-bug] Operand Shortening

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65964 Bug 65964 depends on bug 17935, which changed state. Bug 17935 Summary: Two consecutive movzbl are generated https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17935 What|Removed |Added

[Bug target/102205] vec + 1 could be done as vec - (-1)

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102205 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-09-06

[Bug c++/83615] A reference binding involving an explicit conversion operator rejected

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

[Bug c++/63604] [C++11] A direct-initialization of a reference should use explicit conversion functions

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63604 Andrew Pinski changed: What|Removed |Added CC||kot.tom97 at gmail dot com --- Comment

[Bug c++/85848] Incorrect handling of explicit casting to move-only types

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

[Bug target/102215] [GCN offloading] Missing '__atomic_compare_exchange_1' etc.

2021-09-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102215 --- Comment #1 from Jakub Jelinek --- So what did it do for __sync_val_compare_and_exchange_1 ? Was that expanded inline, or do we have such entrypoint somewhere outside of libatomic, something else?

[Bug tree-optimization/102176] BB SLP scalar costing is off with extern promoted nodes

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102176 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:a3fb781d4b341c0d50ef1b92cd3e8734e673ef18 commit r12-3362-ga3fb781d4b341c0d50ef1b92cd3e8734e673ef18 Author: Richard Biener Date:

[Bug target/102186] [12 Regression] Broken bootstrap: soft-fp/half.h:62:1: error: unable to emulate ‘HF’ since r12-3308-ge42d2d2a20f2bb59928bc895ec9f46503a1b5c73

2021-09-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102186 --- Comment #4 from Hongtao.liu --- (In reply to Hongtao.liu from comment #3) > A patch is posted at > https://gcc.gnu.org/pipermail/gcc-patches/2021-September/578746.html Fixed by r12-3363 in GCC12

[Bug tree-optimization/102200] [12 Regression] ice in put_ref, at pointer-query.cc:1351 since r12-3300-gece28da924ddda8b

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

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #6 from Martin Liška --- > I would think you'd want the one generated on the bugged compiler, not mine. > But iiuc I guess they'd be identical, assuming all is well until > gimplification? Yes, that's identical, it's a source file.

[Bug c++/63604] [C++11] A direct-initialization of a reference should use explicit conversion functions

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63604 Andrew Pinski changed: What|Removed |Added CC||iluvtrollhd at gmail dot com ---

[Bug c++/66893] disallowed initialization of reference with explicit user-defined conversion function

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

[Bug c++/83615] A reference binding involving an explicit conversion operator rejected

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

[Bug tree-optimization/102216] New: False positive warray-bounds with -O2

2021-09-06 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102216 Bug ID: 102216 Summary: False positive warray-bounds with -O2 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/102216] False positive warray-bounds with -O2

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

[Bug target/102182] Runtime error for gcc.dg/torture/fp-int-convert-float16.c

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102182 --- Comment #5 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:93e6809459f34ca7b5928f1729246b2e9dfb3eb4 commit r12-3368-g93e6809459f34ca7b5928f1729246b2e9dfb3eb4 Author: liuhongt Date: Mon Sep

[Bug other/1634] Request for gcc-cvs-patches list

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=1634 --- Comment #13 from Andrew Pinski --- When we moved to git, gcc-cvs has become what this bug has requested. In that it sends the exact patch which was committed to the list now. An example is

[Bug c++/102212] New: The explicit conversion function should be permitted in direct-initialization of a reference

2021-09-06 Thread xmh970252187 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102212 Bug ID: 102212 Summary: The explicit conversion function should be permitted in direct-initialization of a reference Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug tree-optimization/10980] vararg functions are not inlined

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10980 --- Comment #14 from Andrew Pinski --- We have __builtin_va_arg_pack and __builtin_va_arg_pack_len which I think solves this problem really.

[Bug driver/13071] no easy way to exclude backward C++ headers from include path

2021-09-06 Thread harald at gigawatt dot nl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13071 Harald van Dijk changed: What|Removed |Added CC||harald at gigawatt dot nl --- Comment

[Bug tree-optimization/102207] [12 Regression] wrong code with __builtin_sub_overflow() at -O1 and above with uint128

2021-09-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102207 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #4 from Martin Liška --- > > As for boost, I don't think any special configuration or version is required > to make it happen ... [time passes...] got it, the specific build step that > tends** to cause the failure is: > >

[Bug debug/101947] [12 Regression] broken LTO bootstrap in get_base_type_offset at dwarf2out.c:4330

2021-09-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 --- Comment #8 from Eric Botcazou --- The problem is that the dwarf2out_early_finish path does not finalize base types so calc_die_sizes cannot compute the size of DW_OP_deref_type: case DW_OP_deref_type: case DW_OP_GNU_deref_type:

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread gmt--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #5 from Greg Turner --- (In reply to Martin Liška from comment #4) > (use -E option) to this bug. Note Oh, /that/ kind of preprocessed! That's easy... I thought it was some kind of re-usable pre-compiled header file thing, sorry.

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread gmt--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #7 from Greg Turner --- Created attachment 51412 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51412=edit xml_grammar_gcc_-E.cpp.xz preproc boost cpp file that tends to trigger failure

[Bug middle-end/102206] amd zen hosts running zen-optimized gcc: gimplification ICE after r10-7284

2021-09-06 Thread gmt--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102206 --- Comment #8 from Greg Turner --- Actually please ignore that one pending replacement, I probably generated it wrong...

[Bug debug/101947] [12 Regression] broken LTO bootstrap in get_base_type_offset at dwarf2out.c:4330

2021-09-06 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101947 --- Comment #9 from Eric Botcazou --- Obvious kludge: diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 07a479f6382..fb436b8c77c 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -19484,6 +19491,7 @@ loc_list_from_tree_1 (tree loc, int

[Bug c++/102213] New: Incorrect executable produced from valid input code with virtual consteval

2021-09-06 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102213 Bug ID: 102213 Summary: Incorrect executable produced from valid input code with virtual consteval Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

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

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101505 Richard Biener changed: What|Removed |Added Depends on||97706 --- Comment #10 from Richard

[Bug c++/102214] New: ICE when compiling local class with -fno-weak

2021-09-06 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102214 Bug ID: 102214 Summary: ICE when compiling local class with -fno-weak Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug middle-end/101018] ICE when enabling OpenMP on a simple loop with SVE intrinsics (aarch64)

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101018 --- Comment #2 from Andrew Pinski --- /* When adding a variable-sized variable, we have to handle all sorts of additional bits of data: the pointer replacement variable, and the parameters of the type. */ None of this code is

[Bug tree-optimization/101009] [10 Regression] wrong code with "-O3 -fno-tree-sra"

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101009 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:917a675ad57f21f575c86192b22b1cc6d3bfc23d commit r10-10095-g917a675ad57f21f575c86192b22b1cc6d3bfc23d Author: Richard

[Bug tree-optimization/101280] [12 Regression] TSVC s231 slower with -Ofast -march=znver1 since r12-1836-g0ad9d88a3d7170b3

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101280 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ac6efdd70779a3be748d11c3b03c08df9ce15dd7 commit r10-10097-gac6efdd70779a3be748d11c3b03c08df9ce15dd7 Author: Richard

[Bug tree-optimization/101105] [9/10 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101105 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:aed52ca415b635463116486865a2a55f947cf8c1 commit r10-10096-gaed52ca415b635463116486865a2a55f947cf8c1 Author: Richard

[Bug c++/100495] constexpr virtual destructor incorrectly reports memory leak

2021-09-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100495 --- Comment #5 from Jakub Jelinek --- Ah, for constructors this is likely a non-issue, because in_chrg etc. only appears on constructors of classes with virtual bases and such constructors are not constexpr.

[Bug tree-optimization/102176] BB SLP scalar costing is off with extern promoted nodes

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102176 Richard Biener changed: What|Removed |Added Known to work||12.0 --- Comment #4 from Richard

[Bug driver/13071] no easy way to exclude backward C++ headers from include path

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=13071 --- Comment #7 from Andrew Pinski --- Isn't doing the extern "C" around standard C++ headers declared by the C++ standard as undefined behavior?

[Bug middle-end/63184] [9/10/11/12 Regression] Fails to simplify comparison

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

[Bug debug/102195] Missing DW_TAG_typedef when using qualified variable of typedef'd array

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

[Bug target/102205] vec + 1 could be done as vec - (-1)

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102205 --- Comment #2 from Andrew Pinski --- So ICC does the same as GCC while ICX does the same as LLVM (most likely because it is LLVM based).

[Bug tree-optimization/101824] [9/10/11 Regression] VOLATILE not honored

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101824 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:3f29e301f299a1b4e2c535affb964f0b97b7639c commit r11-8964-g3f29e301f299a1b4e2c535affb964f0b97b7639c Author: Richard

[Bug tree-optimization/101925] [10/11 Regression] reversed storage order when compiling with -O3 only since r10-4742-g9b75f56d4b7951c6

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101925 --- Comment #11 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:7f584a309092896bdbe83655fb5f425ac8adc019 commit r11-8965-g7f584a309092896bdbe83655fb5f425ac8adc019 Author: Richard

[Bug tree-optimization/101394] [9 Regression] ICE on valid code with -O2: SSA corruption: Unable to coalesce ssa_names 10 and 19 which are marked as MUST COALESCE.

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101394 Richard Biener changed: What|Removed |Added Known to fail||10.3.0 Summary|[9/10

[Bug tree-optimization/102178] SPECFP 2006 470.lbm regressions on AMD Zen CPUs after r12-897-gde56f95afaaa22

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102178 --- Comment #1 from Richard Biener --- Maybe related to PR102008, see the comment I made there. Martin, maybe you can try moving late sink to before the last phiopt pass.

[Bug tree-optimization/102207] [12 Regression] wrong code with __builtin_sub_overflow() at -O1 and above with uint128

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102207 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8a4602c2e0f81895415ba7ee23bf81dc795d1103 commit r12-3365-g8a4602c2e0f81895415ba7ee23bf81dc795d1103 Author: Jakub Jelinek Date:

[Bug c++/102212] The explicit conversion function should be permitted in direct-initialization of a reference

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

[Bug c++/98554] why the explicit conversion function whose return type is a derived class is not a candidate in the context of direct-initialization for an object of class type

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

[Bug c++/102212] The explicit conversion function should be permitted in direct-initialization of a reference

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

[Bug c++/83615] A reference binding involving an explicit conversion operator rejected

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83615 Andrew Pinski changed: What|Removed |Added CC||xmh970252187 at gmail dot com ---

[Bug c++/83615] A reference binding involving a qualification conversion is rejected

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83615 --- Comment #2 from Andrew Pinski --- Even more reduced testcase: typedef int t; struct S { explicit operator t() { return 0; } }; int main() { S val; t & (val); return 0; }

[Bug tree-optimization/101291] [10 Regression] turns infinite loop into finite

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101291 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:1a4075c0a43fff9fac9df91c3e83e3a1949b69ff commit r10-10098-g1a4075c0a43fff9fac9df91c3e83e3a1949b69ff Author: Richard

[Bug tree-optimization/101173] [9/10 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101173 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ac6efdd70779a3be748d11c3b03c08df9ce15dd7 commit r10-10097-gac6efdd70779a3be748d11c3b03c08df9ce15dd7 Author: Richard

[Bug target/102182] Runtime error for gcc.dg/torture/fp-int-convert-float16.c

2021-09-06 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102182 Hongtao.liu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/102186] [12 Regression] Broken bootstrap: soft-fp/half.h:62:1: error: unable to emulate ‘HF’ since r12-3308-ge42d2d2a20f2bb59928bc895ec9f46503a1b5c73

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

[Bug c++/63604] [C++11] A direct-initialization of a reference should use explicit conversion functions

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63604 Andrew Pinski changed: What|Removed |Added CC||barry.revzin at gmail dot com ---

[Bug target/96127] ICE in extract_insn, at recog.c:2294

2021-09-06 Thread krebbel at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96127 --- Comment #4 from Andreas Krebbel --- The testcase does not appear to fail on current GCC 10 branch. So I would just close it as fixed in GCC 11.

[Bug c++/90390] incorrect list initialization behavior for references

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

[Bug c++/102214] [9/10/11/12 Regression] ICE when compiling local class with -fno-weak

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

[Bug tree-optimization/94675] [9/10/11/12 regression] -Warray-bounds false positive with -O2 since r9-1948

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94675 --- Comment #20 from Andrew Pinski --- So on the trunk we get: c_len.0_1 = c_len; _2 = (long unsigned int) c_len.0_1; _6 = + _2; MEM [(struct pstream_t *)] = MEM [(struct pstream_t *) + 8B] = _6; _17 = (signed long) c_len.0_1;

[Bug fortran/94070] Assumed-rank arrays – bounds mishandled, SIZE/SHAPE/UBOUND/LBOUND

2021-09-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94070 --- Comment #9 from Tobias Burnus --- I think my patch for moving the CFI<->GFC conversion to FE-generated code partially helps, https://gcc.gnu.org/pipermail/gcc-patches/2021-September/578904.html However, I still see the following issues:

[Bug target/89984] Extra register move

2021-09-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89984 H.J. Lu changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/102199] is_default_constructible incorrect for an inner type with NSDMI

2021-09-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102199 --- Comment #4 from Jonathan Wakely --- See PR 96645 and PR 101227

[Bug c++/102201] Accepts invalid C++98 with nested class and sizeof of outer's non-static field

2021-09-06 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102201 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment

[Bug tree-optimization/102219] New: fast-math inhibits fp contraction for a + b * a

2021-09-06 Thread mkretz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102219 Bug ID: 102219 Summary: fast-math inhibits fp contraction for a + b * a Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug c++/102217] New: co_awaiting a temporary produced by ternary operator crashes (double-free)

2021-09-06 Thread max at duempel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102217 Bug ID: 102217 Summary: co_awaiting a temporary produced by ternary operator crashes (double-free) Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/96188] -Wstringop-overflow false positive on std::vector::push_back with -O3

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96188 --- Comment #7 from Andrew Pinski --- (In reply to Martin Sebor from comment #6) > The example in comment #4 is due to the same problem/limitation in the > optimizer. The IL that triggers the warning is below: I am going to fix this issue as

[Bug c++/101449] [modules] internal compiler error: in cxx_eval_call_expression

2021-09-06 Thread ensadc at mailnesia dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101449 --- Comment #1 from ensadc at mailnesia dot com --- https://godbolt.org/z/fMr9acG15

[Bug target/102215] [GCN offloading] Missing '__atomic_compare_exchange_1' etc.

2021-09-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102215 Tobias Burnus changed: What|Removed |Added CC||burnus at gcc dot gnu.org --- Comment

[Bug tree-optimization/101555] Compile slowdown in tree PRE

2021-09-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101555 Richard Biener changed: What|Removed |Added Summary|[12 Regression] Compile |Compile slowdown in tree

[Bug tree-optimization/56547] [SH] missed opportunity for fmac with -ffast-math

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56547 Andrew Pinski changed: What|Removed |Added CC||chtz at informatik dot uni-bremen.

[Bug tree-optimization/56547] [SH] missed opportunity for fmac with -ffast-math

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56547 Andrew Pinski changed: What|Removed |Added CC||asd0025 at gmail dot com --- Comment #4

[Bug tree-optimization/86999] missed FMA optimization with -fassociative-math

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

[Bug middle-end/98429] Some FMA expressions are evaluated less efficiently when -ffast-math is active

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

[Bug tree-optimization/91687] Fused multiply subtract not generated when same operand appears in multiplication and subtraction and -ffast-math

2021-09-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91687 Bug 91687 depends on bug 86999, which changed state. Bug 86999 Summary: missed FMA optimization with -fassociative-math https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86999 What|Removed |Added

[Bug fortran/99125] [9 Regression] ICE: gimplification failed (gimplify.c:15068)

2021-09-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99125 --- Comment #11 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3e59c3c6f4c4f42a158d8ab936c995754bf22dee commit r9-9711-g3e59c3c6f4c4f42a158d8ab936c995754bf22dee Author: Paul Thomas

[Bug fortran/93924] [OOP] ICE with procedure pointer

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

[Bug fortran/20585] [meta-bug] Fortran 2003 support

2021-09-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=20585 Bug 20585 depends on bug 93925, which changed state. Bug 93925 Summary: Invalid memory reference upon call of a routine taking a procedure pointer as argument https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93925 What|Removed

  1   2   >