[Bug middle-end/67485] expmed.c sanitizer detects overflow

2021-02-20 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67485 Vittorio Zecca changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/61158] negative shift at fold-const.c:12095

2021-02-20 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61158 Vittorio Zecca changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/59065] questionable bounds for unassociated allocatable/pointer arrays?

2021-02-20 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59065 --- Comment #10 from Vittorio Zecca --- This issue seems to have been resolved in the trunk gfortran 11.0.0 gfortran gfbug109.f -fcheck=pointer -g [vitti f95]$./a.out At line 9 of file gfbug109.f Fortran runtime error: Allocatable argument 'a

[Bug c++/99186] New: std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator of a enum

2021-02-20 Thread huili80 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99186 Bug ID: 99186 Summary: std::tuple compilation error when elements are specializations of template class declared with template < auto E > syntax with E being a enumerator

[Bug c++/99185] asan initialization-order-fiasco false positive

2021-02-20 Thread kal.conley at dectris dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99185 --- Comment #3 from kal.conley at dectris dot com --- I don't think there should be any dynamic initialization of A here. Also, its weird that if the definition if A is changed to: struct A { int value = 0; A() = default; }; then the error g

[Bug c++/99059] Static inline variable can't refer to itself

2021-02-20 Thread ldalessandro at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99059 --- Comment #2 from Luke Dalessandro --- Ran into this in a static constexpr initializer, not really a workaround for it that I can find.

[Bug c++/99185] asan initialization-order-fiasco false positive

2021-02-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99185 --- Comment #2 from Andrew Pinski --- I think the error is correct. There is no defined ordering of globalstar between translation units. Can you explain why you think the ordering is defined here?

[Bug c++/99185] asan initialization-order-fiasco false positive

2021-02-20 Thread kal.conley at dectris dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99185 --- Comment #1 from kal.conley at dectris dot com --- Strict init-order checking is enabled.

[Bug c++/99185] New: asan initialization-order-fiasco false positive

2021-02-20 Thread kal.conley at dectris dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99185 Bug ID: 99185 Summary: asan initialization-order-fiasco false positive Product: gcc Version: 10.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/99184] New: [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7

2021-02-20 Thread avr at gjlay dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99184 Bug ID: 99184 Summary: [avr] wrong double to 16-Bit and 32-Bit integers in libgcc/libf7 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug sanitizer/99179] asan failures with -Os on x86_64-apple-darwin20

2021-02-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99179 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug fortran/99183] New: Incompatible Runtime types

2021-02-20 Thread drikosev at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99183 Bug ID: 99183 Summary: Incompatible Runtime types Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran As

[Bug fortran/99027] Incorrect ubound result

2021-02-20 Thread andrew.burgess at embecosm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99027 Andrew Burgess changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/99092] Using -O3 and -fprefetch-loop-arrays to compile BLAS on Apple M1 fails

2021-02-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99092 Iain Sandoe changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/99182] New: Misleading fixit hint for misspelled Greek letter identifiers

2021-02-20 Thread pilarlatiesa at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99182 Bug ID: 99182 Summary: Misleading fixit hint for misspelled Greek letter identifiers Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/99147] Sanitizer detects heap-use-after-free in gfc_add_flavor

2021-02-20 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99147 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|ASSI

[Bug libstdc++/99181] New: char_traits (and thus string_view) compares strings differently in constexpr and non-constexpr contexts

2021-02-20 Thread richardpku at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99181 Bug ID: 99181 Summary: char_traits (and thus string_view) compares strings differently in constexpr and non-constexpr contexts Product: gcc Version: 11.0

[Bug c++/99180] New: ICE with alias template and empty parameter pack

2021-02-20 Thread szilardszaloki at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99180 Bug ID: 99180 Summary: ICE with alias template and empty parameter pack Product: gcc Version: 11.0 URL: https://godbolt.org/z/qrGn34 Status: UNCONFIRMED Severity: no

[Bug sanitizer/99179] New: asan failures with -Os on x86_64-apple-darwin20

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99179 Bug ID: 99179 Summary: asan failures with -Os on x86_64-apple-darwin20 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sa

[Bug fortran/96724] Bogus warnings with the repeat intrinsic and the flag -Wconversion-extra

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96724 Dominique d'Humieres changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Domin

[Bug fortran/99171] [10/11 Regression] Optional procedure call inside Open MP parallel loop produces Segmentation Fault

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99171 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Summary|[10 Regress

[Bug fortran/99171] [10 Regression] Optional procedure call inside Open MP parallel loop produces Segmentation Fault

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99171 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-02-20 Ever confirmed|0

[Bug fortran/98573] Dynamic type lost on assignment

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98573 --- Comment #7 from Dominique d'Humieres --- A patch has been submitted at https://gcc.gnu.org/pipermail/fortran/2021-January/055624.html and approved at https://gcc.gnu.org/pipermail/fortran/2021-January/055644.html More comments at https:/

[Bug libfortran/99148] sanitizer detects stack-buffer-overflow in unpack_generic.c

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99148 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2021-02-20 Ever confirmed|0

[Bug fortran/99145] gfortran LOOP

2021-02-20 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99145 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/99092] Using -O3 and -fprefetch-loop-arrays to compile BLAS on Apple M1 fails

2021-02-20 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99092 --- Comment #11 from Iain Sandoe --- (In reply to Andrew Pinski from comment #10) > From the ARM ARM: > An assembler program translating a Load/Store instruction, for example LDR, > is required to encode an unambiguous offset using the unscaled 9

[Bug libfortran/99148] sanitizer detects stack-buffer-overflow in unpack_generic.c

2021-02-20 Thread zeccav at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99148 --- Comment #1 from Vittorio Zecca --- Reproduction of this issue requires an address sanitized version of libgfortran. I narrowed the issue to unpack0_char changing { gfc_array_char tmp; if (unlikely(compile_options.bounds_check)) unpa