[Bug c++/99375] Segmentation fault in code compiled with -O1 -ftree-loop-vectorize

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99375 Martin Liška changed: What|Removed |Added Resolution|--- |DUPLICATE CC|

[Bug tree-optimization/97236] [8 Regression] g:e93428a8b056aed83a7678 triggers vlc miscompile

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97236 Martin Liška changed: What|Removed |Added CC||Arfrever.FTA at GMail dot Com --- Comment

[Bug rtl-optimization/99378] New: ICE in decompose_normal_address, at rtlanal.c:6710

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378 Bug ID: 99378 Summary: ICE in decompose_normal_address, at rtlanal.c:6710 Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal

[Bug c/99363] [11 regression] gcc.dg/attr-flatten-1.c fails starting with r11-7469

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

[Bug fortran/99369] [10/11 Regression] ICE in gfc_resolve_expr, at fortran/resolve.c:7167

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

[Bug ada/99020] ICE in record containing discriminated accesses

2021-03-04 Thread simon at pushface dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99020 --- Comment #5 from simon at pushface dot org --- (In reply to Eric Botcazou from comment #4) > This should compile now. It does, indeed. Thanks!

[Bug target/99372] gimplefe-28.c ICEs when sqrt insn is not available

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99372 Richard Biener changed: What|Removed |Added Version|unknown |11.0 Component|tree-optimizati

[Bug fortran/99369] [10/11 Regression] ICE in gfc_resolve_expr, at fortran/resolve.c:7167

2021-03-04 Thread gscfq--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99369 --- Comment #2 from G. Steinmetz --- The threshold value (ok|ICE) could maybe vary depending on the environment. Therefore, it is best to try z1_63.f90 (the last example given). On CE it produces a buffer overflow with trunk: https://godbolt.or

[Bug fortran/99369] [10/11 Regression] ICE in gfc_resolve_expr, at fortran/resolve.c:7167

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99369 Martin Liška changed: What|Removed |Added Status|WAITING |NEW CC|

[Bug ipa/99373] unused static function not being removed in some cases after optimization

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99373 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/99379] New: lambda declared with deduced type 'auto' can appear in its own initializer

2021-03-04 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99379 Bug ID: 99379 Summary: lambda declared with deduced type 'auto' can appear in its own initializer Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: norma

[Bug c++/99379] lambda declared with deduced type 'auto' can appear in its own initializer

2021-03-04 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99379 --- Comment #1 from 康桓瑋 --- I find this: https://stackoverflow.com/questions/25693676/auto-variable-used-in-lambda-in-its-own-initializer So this is not a bug.

[Bug ada/99360] [11 regression] ICE in generalized iteration

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99360 Eric Botcazou changed: What|Removed |Added Target Milestone|--- |11.0 CC|

[Bug c++/99380] New: [modules] Unexpected MODULE-EXPORT request when partially preprocessing header unit

2021-03-04 Thread boris at kolpackov dot net via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: boris at kolpackov dot net Target Milestone: --- A change between 11.0.0 20210217 and 11.0.1 20210304 causes an unexpected MODULE-EXPORT request when partially

[Bug c++/99051] [modules] ICE/SIGSEGV in get_location_from_adhoc_loc

2021-03-04 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99051 --- Comment #1 from Boris Kolpackov --- As of 11.0.1 20210304 (f3641ac70e) this no longer reproduces for me.

[Bug ada/99360] [11 regression] ICE in generalized iteration

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99360 --- Comment #2 from Eric Botcazou --- Created attachment 50297 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50297&action=edit Stopgap fix To be applied on the 11 branch only.

[Bug c++/98760] [modules] ICE in add_module_decl

2021-03-04 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98760 --- Comment #2 from Boris Kolpackov --- This still reproduces as of 11.0.1 20210304 (f3641ac70e) though the location has changed: hello.cxx:18:25: internal compiler error: in lookup_mark, at cp/tree.c:2403 18 | o << format_he

[Bug ada/99360] [11 regression] ICE in generalized iteration

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99360 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug c++/81866] [8 Regression] ICE with a default template parameter which is a template class nested in a template class

2021-03-04 Thread soko.slav at yandex dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81866 --- Comment #9 from Sokolov Viacheslav --- Looks like it is fixed on trunk along with https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96474

[Bug target/99378] [8/9/10/11 Regression] ICE in decompose_normal_address, at rtlanal.c:6710

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99378 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug rtl-optimization/99376] Sanitizer detects undefined behaviour in rtlanal.c

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99376 Eric Botcazou changed: What|Removed |Added Summary|Sanitizer detects undefined |Sanitizer detects undefined

[Bug target/99381] New: SVE: ICE with ACLE intrinsics when missing -march=armv8.2-a+sve

2021-03-04 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99381 Bug ID: 99381 Summary: SVE: ICE with ACLE intrinsics when missing -march=armv8.2-a+sve Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/99376] Sanitizer detects undefined behaviour in rtlanal.c

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99376 Eric Botcazou changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ebotcazou at gcc dot gnu.org

[Bug libstdc++/99382] New: Address sanitizer detects stack-buffer-overflow in stl_construct.h

2021-03-04 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99382 Bug ID: 99382 Summary: Address sanitizer detects stack-buffer-overflow in stl_construct.h Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/99376] sanitizer detects undefined behaviour in rtlanal.c

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99376 --- Comment #2 from Eric Botcazou --- > Clearly a pair of tests against HOST_BITS_PER_WIDE_INT is missing in: > > if (result_width < mode_width) > nonzero &= (HOST_WIDE_INT_1U << result_width) - 1; > > if (result_low > 0) >

[Bug tree-optimization/99383] New: No tree-switch-conversion under PIC

2021-03-04 Thread jengelh at inai dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99383 Bug ID: 99383 Summary: No tree-switch-conversion under PIC Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimizat

[Bug rtl-optimization/70094] missed optimization when passing a constant struct argument by value

2021-03-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70094 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|ebotcazou at gcc

[Bug c++/99384] New: Unoptimized tailcall with char and short as parameter (x86)

2021-03-04 Thread jonathan.poelen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99384 Bug ID: 99384 Summary: Unoptimized tailcall with char and short as parameter (x86) Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/99375] Segmentation fault in code compiled with -O1 -ftree-loop-vectorize

2021-03-04 Thread Arfrever.FTA at GMail dot Com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99375 --- Comment #2 from Arfrever Frehtes Taifersar Arahesis --- I confirm that backporting of GCC commit 1ab88985631dd2c5a5e3b5c0dce47cf8b6ed2f82 (https://gcc.gnu.org/g:1ab88985631dd2c5a5e3b5c0dce47cf8b6ed2f82) to GCC 10.2.0 fixes this problem (also

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

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

[Bug tree-optimization/99383] No tree-switch-conversion under PIC

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99383 Richard Biener changed: What|Removed |Added CC||marxin at gcc dot gnu.org S

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

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

[Bug tree-optimization/99383] No tree-switch-conversion under PIC

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99383 Richard Biener changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug gcov-profile/99385] New: [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

2021-03-04 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99385 Bug ID: 99385 Summary: [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

2021-03-04 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99385 Rainer Orth changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/99383] No tree-switch-conversion under PIC

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99383 --- Comment #3 from Richard Biener --- For the specific case of strings switch-conversion could also generate a combined string (with intermediate '\0's) and use a table of offsets into said string, thus doing a single relocation to the combined

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99382 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:905ce0ca30cb33cddf024b0aebf4ba0b2c86fe77 commit r11-7503-g905ce0ca30cb33cddf024b0aebf4ba0b2c86fe77 Author: Jonathan Wakely Date:

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

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

[Bug middle-end/97855] [11 regression] Bogus warning locations during lto-bootstrap

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97855 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f232f782e6e4954370ac63ba6e40ad554c0cf942 commit r11-7504-gf232f782e6e4954370ac63ba6e40ad554c0cf942 Author: Richard Biener Date:

[Bug middle-end/97855] [11 regression] Bogus warning locations during lto-bootstrap

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97855 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/99382] Address sanitizer detects stack-buffer-overflow in stl_construct.h

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99382 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Target Milestone|---

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

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

[Bug c++/99374] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

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

[Bug c++/99374] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99374 --- Comment #2 from Jonathan Wakely --- It seems more likely (i.e. very likely) to be caused by r241944 instead.

[Bug c++/99374] C++17/20 mode fails to recognise pointer-to-member functions of incomplete types in conditional expression

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

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

2021-03-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99385 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from Martin Liška --- > Thanks for the report and the analysis. > The code should not segfault as we do: > > if (ptr != MAP_FAILED) > { > __gcov_

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99385 --- Comment #3 from Martin Liška --- I see, that's expected behavior from the test-case then.

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99385 --- Comment #4 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:4c955b4ad37cf31c1d7cfa146c2b3ead2042869b commit r11-7505-g4c955b4ad37cf31c1d7cfa146c2b3ead2042869b Author: Martin Liska Date: Thu

[Bug gcov-profile/99385] [11 regression] gcc.dg/tree-prof/indir-call-prof-malloc.c etc. FAIL

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99385 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/99195] Optimise away vec_concat of 64-bit AdvancedSIMD operations with zeroes in aarch64

2021-03-04 Thread ktkachov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99195 --- Comment #1 from ktkachov at gcc dot gnu.org --- Using a define_subst like: (define_subst "add_vec_concat_subst" [(set (match_operand:VDMOV 0 "" "") (match_operand:VDMOV 1 "" ""))] "!BYTES_BIG_ENDIAN" [(set (match_operand: 0 "regi

[Bug fortran/57871] gfortran -freal-4-real-16 gives wrong result for selected_real_kind(1)

2021-03-04 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57871 --- Comment #9 from Dominique d'Humieres --- Note that after r11-7501 the test in comment O gives cat run time: % gfc pr57871.f90 -freal-4-real-16 % ./a.out kind(1.0_p1) 4 precision(1.0_p1) 6 kind(1.0_dp) 8 precis

[Bug analyzer/97090] gcc.dg/analyzer/malloc-vs-local-1b.c fails on arm and powerpc64*-linux-gnu

2021-03-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97090 --- Comment #12 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #11 from David Malcolm --- > Re comment #10: I just tested unknown-fns-4.c and malloc-vs-local-1b.c 500 > times each on a --target=i386-pc-solaris2.11 build using the scri

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 Dominique d'Humieres changed: What|Removed |Added Resolution|FIXED |--- See Also|

[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464

2021-03-04 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #2 from Matthias Klose --- Created attachment 50298 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50298&action=edit source

[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464

2021-03-04 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #3 from Dominique d'Humieres --- One also needs the files generating the needed modules. Does the code compiles with -fno-frontend-optimize?

[Bug tree-optimization/98856] [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 Richard Biener changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org K

[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464

2021-03-04 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #4 from Matthias Klose --- also seen with -fno-frontend-optimize

[Bug c++/99386] New: std::variant overhead much larger compared to clang

2021-03-04 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 Bug ID: 99386 Summary: std::variant overhead much larger compared to clang Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug fortran/99345] [11 Regression] ICE in doloop_contained_procedure_code, at fortran/frontend-passes.c:2464

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99345 --- Comment #5 from Martin Liška --- So yes, we'll need all the files loaded as modules. @doko: Can you please tar the entire folder?

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 Tobias Burnus changed: What|Removed |Added CC||dominiq at lps dot ens.fr --- Comment #9

[Bug c++/99170] [modules] ICE in get_merge_kind with std::string NSDMI

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170 --- Comment #5 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:c778a237c1c605c2c5606c212c1ace756739442b commit r11-7506-gc778a237c1c605c2c5606c212c1ace756739442b Author: Nathan Sidwell Date:

[Bug c++/99170] [modules] ICE in get_merge_kind with std::string NSDMI

2021-03-04 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 Dominique d'Humieres changed: What|Removed |Added CC|dominiq at lps dot ens.fr | --- Comment #10 from Domi

[Bug c++/99386] std::variant overhead much larger compared to clang

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 --- Comment #1 from Richard Biener --- Is that clang++ using libstdc++ from GCC or libc++? In the end the difference might boil down to inlining decision differences.

[Bug c++/99386] std::variant overhead much larger compared to clang

2021-03-04 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 --- Comment #2 from Milian Wolff --- in both cases libstdc++ is being used: ``` gcc: linux-vdso.so.1 (0x7ffdc9f93000) libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x7f1449b2d000) libm.so.6 => /usr/lib/libm.so.6 (0x0

[Bug c++/99170] [modules] ICE in get_merge_kind with std::string NSDMI

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99170 --- Comment #7 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:9553c8a1b9dd2ca2f0f30d8b23fc6844c7e4a223 commit r11-7509-g9553c8a1b9dd2ca2f0f30d8b23fc6844c7e4a223 Author: Nathan Sidwell Date:

[Bug c++/99386] std::variant overhead much larger compared to clang

2021-03-04 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 --- Comment #3 from Milian Wolff --- Ah, seems like `-O2 -flto` fixes the issue for me, but how come clang can pull this off without LTO?

[Bug libfortran/35014] Libgfortran.a (downloaded) is not PIC compiled...

2021-03-04 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35014 Iain Sandoe changed: What|Removed |Added CC||burnus at gcc dot gnu.org,

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #11 from Tobias Burnus --- (In reply to Dominique d'Humieres from comment #8) > r11-7501 changed the output of the test in comment O, is this expected? (In reply to Dominique d'Humieres from comment #10) > % gfc pr57871.f90 I am sli

[Bug c++/99386] std::variant overhead much larger compared to clang

2021-03-04 Thread mail at milianw dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 --- Comment #4 from Milian Wolff --- Ah, but LTO only helps with the variant that contains a single type. The variant with two types remains very slow: variant with single type: ``` Performance counter stats for './variant 1' (5 runs):

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #12 from Tobias Burnus --- Additional patch – my need some cleanup & check whether the other flags agree with the description. However, it should match the implementation: --- a/gcc/fortran/invoke.texi +++ b/gcc/fortran/invoke.texi @

[Bug ipa/99194] [11 Regression] ICE in force_constant_size, at gimplify.c:733 since r11-38-g375a77925c320a27

2021-03-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99194 Martin Jambor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/99122] [10/11 Regression] ICE in force_constant_size, at gimplify.c:733

2021-03-04 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99122 --- Comment #24 from Martin Jambor --- *** Bug 99194 has been marked as a duplicate of this bug. ***

[Bug libstdc++/99341] [11 Regression] new std::call_once is not backwards compatible

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99341 --- Comment #4 from Jakub Jelinek --- Fixed on the glibc side: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f0419e6a10740a672b28e112c409ae24f5e890ab

[Bug testsuite/99352] check_effective_target_sqrt_insn for powerpc is wrong

2021-03-04 Thread hp at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99352 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment #

[Bug target/99381] SVE: ICE with ACLE intrinsics when missing -march=armv8.2-a+sve

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99381 --- Comment #1 from CVS Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:a6bc1680a493de356d6a381718021c6a44401201 commit r11-7510-ga6bc1680a493de356d6a381718021c6a44401201 Author: Alex Coplan Date: Thu Ma

[Bug c++/99387] New: ICE when mixing CNTTP with deduction guides

2021-03-04 Thread omer.rosler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99387 Bug ID: 99387 Summary: ICE when mixing CNTTP with deduction guides Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug target/99381] SVE: ICE with ACLE intrinsics when missing -march=armv8.2-a+sve

2021-03-04 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99381 --- Comment #2 from Alex Coplan --- Fixed on trunk. Needs backporting to GCC 10.

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #13 from Dominique d'Humieres --- I have changed the test in pr57871 comment 0 to implicit none integer,parameter:: p1 = 4, dp = kind(1d0) print *,'kind(1.0_4) ',kind(1.0_4),'precision(1.0_4) ',precision(1.0_4) print *,'kind(1.0_p1)'

[Bug target/99381] SVE: ICE with ACLE intrinsics when missing -march=armv8.2-a+sve

2021-03-04 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99381 Alex Coplan changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/99386] std::variant overhead much larger compared to clang

2021-03-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99386 --- Comment #5 from Jonathan Wakely --- See PR 78113 and PR 86912

[Bug debug/99388] New: Invalid debug info for __fp16

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99388 Bug ID: 99388 Summary: Invalid debug info for __fp16 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assi

[Bug target/99216] ICE in aarch64_sve::function_expander::expand() with LTO

2021-03-04 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99216 Alex Coplan changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug debug/99388] Invalid debug info for __fp16

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99388 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2021-03-04 Assignee|unassigned

[Bug debug/99388] Invalid debug info for __fp16

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99388 --- Comment #2 from Jakub Jelinek --- The above patch changes: --- pr99388.s 2021-03-04 15:47:31.151944020 +0100 +++ pr99388.s 2021-03-04 15:51:51.404086604 +0100 @@ -267,18 +267,21 @@ foo: .byte 0x4 // uleb128 0x4; Location exp

[Bug c/99325] [11 Regression] ICE in maybe_print_line_1, at c-family/c-ppoutput.c:454 since r11-5091

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99325 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:a1b56c3ef70036af6d171d61ea48ad4c368fcb5b commit r11-7511-ga1b56c3ef70036af6d171d61ea48ad4c368fcb5b Author: Jakub Jelinek Date: Th

[Bug c++/88146] ice in tsubst_copy, at cp/pt.c:16014

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88146 --- Comment #13 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c9816196328a4f4b927f08cf2f66cf255849da0b commit r11-7512-gc9816196328a4f4b927f08cf2f66cf255849da0b Author: Jakub Jelinek Date: T

[Bug c++/99362] [10/11 Regression] invalid unused result

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99362 --- Comment #6 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c9816196328a4f4b927f08cf2f66cf255849da0b commit r11-7512-gc9816196328a4f4b927f08cf2f66cf255849da0b Author: Jakub Jelinek Date: Th

[Bug c/99325] [11 Regression] ICE in maybe_print_line_1, at c-family/c-ppoutput.c:454 since r11-5091

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

[Bug c++/99362] [10 Regression] invalid unused result

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99362 Jakub Jelinek changed: What|Removed |Added Summary|[10/11 Regression] invalid |[10 Regression] invalid

[Bug c++/99387] ICE when mixing CNTTP with deduction guides

2021-03-04 Thread omer.rosler at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99387 --- Comment #1 from Omer Rosler --- Simplified example: https://godbolt.org/z/b814o7

[Bug target/95636] ICE in sched2: in create_block_for_bookkeeping, at sel-sched.c:4549

2021-03-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95636 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug rtl-optimization/99347] [9/10/11 Regression] ICE in create_block_for_bookkeeping, at sel-sched.c:4549 since r9-6859-g25eafae67f186cfa

2021-03-04 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99347 Jeffrey A. Law changed: What|Removed |Added CC||qianchao9 at huawei dot com --- Comment

[Bug gcov-profile/99105] [11 regression] profile streaming scales poorly to projects with many source files

2021-03-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99105 --- Comment #18 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:6a8fc0c31a9ae759fe9bf59b5418abf2af938f91 commit r11-7513-g6a8fc0c31a9ae759fe9bf59b5418abf2af938f91 Author: Martin Liska Date: Tue

[Bug gcov-profile/99105] [11 regression] profile streaming scales poorly to projects with many source files

2021-03-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99105 Martin Liška changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/98856] [11 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2021-03-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 --- Comment #18 from Richard Biener --- There's another thing - we end up with vmovq %rax, %xmm3 vpinsrq $1, %rdx, %xmm3, %xmm0 but that has way worse latency than the alternative you'd get w/o SSE 4.1: vmovq %rax,

[Bug tree-optimization/99383] No tree-switch-conversion under PIC

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99383 --- Comment #4 from Jakub Jelinek --- That was an intentional change, see the PR. With -fPIC/-fPIE, when the switch isn't optimized into a table of values but kept as a switch, it doesn't need runtime relocations on many targets. Just try to com

[Bug tree-optimization/99383] No tree-switch-conversion under PIC

2021-03-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99383 --- Comment #5 from Jakub Jelinek --- Combining the separate strings into a single one if they have the same length and aren't many would have the disadvantage that the returned value then wouldn't be pointer equal to constant literal containing

[Bug testsuite/99352] check_effective_target_sqrt_insn for powerpc is wrong

2021-03-04 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99352 --- Comment #3 from Segher Boessenkool --- rs6000 has check_effective_target_powerpc_fprs already (with slightly different semantics).

[Bug fortran/99355] -freal-X-real-Y -freal-Z-real-X promotes Z to Y

2021-03-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99355 --- Comment #14 from Tobias Burnus --- (In reply to Dominique d'Humieres from comment #13) > I have changed the test in pr57871 comment 0 to [...] > It is not the result I expect. Does the patch of comment 11 produce the expected result?

  1   2   >