[Bug c/101057] [gimplefe] GIMPLE frontend issues

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

[Bug c/101057] New: [gimplefe] GIMPLE frontend issues

2021-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101057 Bug ID: 101057 Summary: [gimplefe] GIMPLE frontend issues Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #8 from Gilles Gouaillardet --- It seems OpenBLAS is to be blamed after all ... >From kernel/arm64/dznrm2_thunderx2t99.c: #define REGINF "d9" static void nrm2_compute(BLASLONG n, FLOAT *x, BLASLONG inc_x,

[Bug c++/101040] [11 Regression] Internal compiler error: in get_or_insert_ctor_field, at cp/constexpr.c:3571

2021-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101040 Richard Biener changed: What|Removed |Added Keywords||ice-on-valid-code Target Milestone|-

[Bug libstdc++/101056] New: std::compare_partial_order_fallback missing the constraint of "F < E is well-formed"

2021-06-13 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101056 Bug ID: 101056 Summary: std::compare_partial_order_fallback missing the constraint of "F < E is well-formed" Product: gcc Version: 12.0 Status: UNCONFIRMED Sev

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #7 from Gilles Gouaillardet --- Note you have to 'make clean' before re-running 'make ...' with different options. Otherwise, pretty much nothing gets rebuilt.

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #6 from Gilles Gouaillardet --- I will set the watchpoint and follow the flow ... That being said, I still see the issue with the latest snapshot gcc (GCC) 12.0.0 20210613 (experimental) ./dgehd2 INFO =0

[Bug libstdc++/101055] New: should use __has_cpp_attribute() with __ prefixed/suffixed names

2021-06-13 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101055 Bug ID: 101055 Summary: should use __has_cpp_attribute() with __ prefixed/suffixed names Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) And yes I got the d9 register having 1.0 inside dgehd2 .

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #4 from Andrew Pinski --- I tried to reproduce it but I could not on the trunk (it has one patch which should not make a difference): Using built-in specs. COLLECT_GCC=gfortran COLLECT_LTO_WRAPPER=/home/ubuntu/upstream-gcc/libexec/gc

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #3 from Gilles Gouaillardet --- Thanks for the clarification about which registers have to be preserved. I will dig this a bit more from now

[Bug target/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #2 from Andrew Pinski --- The code for dlarfg_ looks correct. 78: 6d0627e8stp d8, d9, [sp, #96] 238: 6d4627e8ldp d8, d9, [sp, #96] 23c: fd402fealdr d10, [sp, #88] 240: 178a

[Bug fortran/101053] Incorrect code at -O1 on arm64

2021-06-13 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 --- Comment #1 from Andrew Pinski --- >From aapcs64: Registers v8-v15 must be preserved by a callee across subroutine calls ... Additionally, only the bottom 64 bits of each value stored in v8-v15 need to be preserved So the bug is in dlarfg_

[Bug c++/101054] New: Compiler inconsistently gives error when constexpr class function is called from lambda

2021-06-13 Thread peter.fletcher at bandicootimaging dot com.au via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101054 Bug ID: 101054 Summary: Compiler inconsistently gives error when constexpr class function is called from lambda Product: gcc Version: 9.4.0 Status: UNCONFIRMED

[Bug fortran/101053] New: Incorrect code at -O1 on arm64

2021-06-13 Thread gilles.gouaillardet at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101053 Bug ID: 101053 Summary: Incorrect code at -O1 on arm64 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug libstdc++/100475] semiregular-box's constructor uses wrong list-initialization

2021-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100475 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:258aedd9ad1ea4597528632e93dee860acc2eaf5 commit r11-8566-g258aedd9ad1ea4597528632e93dee860acc2eaf5 Author: Patrick Palka

[Bug tree-optimization/100934] [9/10/11/12 Regression] wrong code at -O3 during unrolling since r9-6299

2021-06-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100934 --- Comment #7 from Jeffrey A. Law --- So when we're finding jump threads we know if we thread through the loop latch and we note when that's going to create an irreducible region. We generally suppress threading through the latch before the l

[Bug c++/101052] Suggest stdlib.h when exit(1) is called

2021-06-13 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 --- Comment #1 from Jonny Grant --- Code link: https://godbolt.org/z/vYTc87db1

[Bug c++/101052] New: Suggest stdlib.h when exit(1) is called

2021-06-13 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101052 Bug ID: 101052 Summary: Suggest stdlib.h when exit(1) is called Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/100970] ICE in output_constructor_regular_field, at varasm.c:5514

2021-06-13 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100970 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||accepts-invalid

[Bug target/101021] PSHUFB is emitted instead of PSHUFD, PSHUFLW and PSHUFHW with -msse4

2021-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101021 --- Comment #4 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:681143b9b94d7f1c88a7c34e2250865c31191959 commit r12-1413-g681143b9b94d7f1c88a7c34e2250865c31191959 Author: Uros Bizjak Date: Sun J

[Bug target/101046] ICE: in gen_rtx_CONST_VECTOR, at emit-rtl.c:6031 with -mavx512vbmi -mavx512vl

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

[Bug fortran/100948] [12 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 --- Comment #6 from José Rui Faustino de Sousa --- Created attachment 51002 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51002&action=edit Patch and changelog

[Bug fortran/100948] [12 Regression] ICE in gfc_conv_expr_val, at fortran/trans-expr.c:9069

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100948 --- Comment #5 from José Rui Faustino de Sousa --- Partial patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056155.html

[Bug fortran/100906] Bind(c): failure handling character with len/=1

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100906 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 51001 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51001&action=edit Patch and changelog

[Bug fortran/100906] Bind(c): failure handling character with len/=1

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100906 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056154.html

[Bug fortran/100907] Bind(c): failure handling wide character

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100907 --- Comment #7 from José Rui Faustino de Sousa --- Created attachment 51000 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51000&action=edit Patch and changelog

[Bug fortran/100911] Bind(c): failure handling C_PTR

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100911 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 50999 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50999&action=edit Patch and changelog

[Bug fortran/100911] Bind(c): failure handling C_PTR

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100911 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056154.html

[Bug fortran/100914] Bind(c): errors handling complex

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100914 --- Comment #6 from José Rui Faustino de Sousa --- Created attachment 50998 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50998&action=edit Patch and changelog

[Bug fortran/100914] Bind(c): errors handling complex

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100914 --- Comment #5 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056154.html

[Bug fortran/100915] Bind(c): failure handling C_FUNPTR

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100915 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 50997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50997&action=edit Patch and changelog

[Bug fortran/100915] Bind(c): failure handling C_FUNPTR

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100915 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056154.html

[Bug fortran/100916] Bind(c): CFI_type_other unimplemented.

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100916 --- Comment #3 from José Rui Faustino de Sousa --- Created attachment 50996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50996&action=edit Patch and changelog

[Bug fortran/100916] Bind(c): CFI_type_other unimplemented.

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100916 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056154.html

[Bug fortran/100917] Bind(c): errors handling long double real

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100917 --- Comment #3 from José Rui Faustino de Sousa --- Please ignore patch wrong PR... Sorry for the inconvenience. Best regards, José Rui

[Bug fortran/100917] Bind(c): errors handling long double real

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100917 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056154.html

[Bug c++/101051] New: [ICE] in splice_late_return_type, at cp/pt.c:29738

2021-06-13 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101051 Bug ID: 101051 Summary: [ICE] in splice_late_return_type, at cp/pt.c:29738 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/88529] G++ clears the return register on x86_64 when returning an empty class

2021-06-13 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88529 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/101050] New: Range comparisons with more significant bits constant are not optimised into masked equality tests

2021-06-13 Thread felix.von.s at posteo dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101050 Bug ID: 101050 Summary: Range comparisons with more significant bits constant are not optimised into masked equality tests Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug libstdc++/101049] New: std::variant: missed optimization in std::visit() on more than one variant

2021-06-13 Thread vermaelen.wouter at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101049 Bug ID: 101049 Summary: std::variant: missed optimization in std::visit() on more than one variant Product: gcc Version: 11.1.0 Status: UNCONFIRMED Severity:

[Bug fortran/100683] Array initialization refuses valid

2021-06-13 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100683 --- Comment #6 from Dominique d'Humieres --- > Can you provide some more detail on your setup? program p integer, parameter :: a(2) = 1 integer, parameter :: b = a(2)%kind end I get the ICE with a patched master and a genuine GCC11 with

[Bug fortran/101047] Pointer explicit initialization fails

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101047 --- Comment #2 from José Rui Faustino de Sousa --- Created attachment 50994 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50994&action=edit Patch and changelog

[Bug fortran/101047] Pointer explicit initialization fails

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101047 --- Comment #1 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056152.html

[Bug fortran/101048] Class pointer explicit initialization refuses valid

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101048 --- Comment #2 from José Rui Faustino de Sousa --- Patch posted: https://gcc.gnu.org/pipermail/fortran/2021-June/056152.html

[Bug fortran/101048] Class pointer explicit initialization refuses valid

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101048 --- Comment #1 from José Rui Faustino de Sousa --- Created attachment 50993 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50993&action=edit Patch and changelog

[Bug libstdc++/100017] [11/12 regression] error: 'fenv_t' has not been declared in '::' -- cross toolchain fails to build

2021-06-13 Thread belyshev at depni dot sinp.msu.ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100017 Serge Belyshev changed: What|Removed |Added Build|x86_64-linux-gnu| Last reconfirmed|2021-04-21 00:00:0

[Bug tree-optimization/100494] [11/12 Regression] Unterminated recursion in gimple-range.cc (x86_64-w64-mingw32)

2021-06-13 Thread john at thesnappy dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100494 --- Comment #3 from J.M. Eubank --- Yes, this definitely seems specific to the native x86_64-w64-mingw32 build.

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-13 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 --- Comment #9 from H.J. Lu --- This bug is exposed by r11-508.

[Bug target/101023] [11/12 Regression] wrong code with -mstackrealign

2021-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101023 --- Comment #8 from CVS Commits --- The master branch has been updated by H.J. Lu : https://gcc.gnu.org/g:3f04e3782536ad2f9cfbb8cfe6630e9f9dd8af4c commit r12-1409-g3f04e3782536ad2f9cfbb8cfe6630e9f9dd8af4c Author: H.J. Lu Date: Fri Jun 11 07

[Bug rtl-optimization/101044] -ABS(A) produces two neg instructions

2021-06-13 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101044 --- Comment #1 from Uroš Bizjak --- The first neg also sets sign flag (SF) for the following CMOVS.

[Bug fortran/101048] New: Class pointer explicit initialization refuses valid

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101048 Bug ID: 101048 Summary: Class pointer explicit initialization refuses valid Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/101047] New: Pointer explicit initialization fails

2021-06-13 Thread jrfsousa at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101047 Bug ID: 101047 Summary: Pointer explicit initialization fails Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/101046] New: ICE: in gen_rtx_CONST_VECTOR, at emit-rtl.c:6031 with -mavx512vbmi -mavx512vl

2021-06-13 Thread zsojka at seznam dot cz via Gcc-bugs
Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20210613 (experimental) (GCC)

[Bug target/101045] New: config/i386/subst.md: 76: possible cut'n'paste error ?

2021-06-13 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101045 Bug ID: 101045 Summary: config/i386/subst.md: 76: possible cut'n'paste error ? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp