[Bug debug/97344] aarch64 tls debuginfo missing location info

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

[Bug debug/83010] [AARCH64] DW_AT_location is not emitted for thread local variable

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

[Bug middle-end/47590] pragma optimize doesn't recompute derived options (was: var tracking produces wrong debug in code where optimization is turned off using pragma)

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47590 Andrew Pinski changed: What|Removed |Added Keywords||wrong-debug Component|debug

[Bug driver/70419] descriptions of -fpic/-fPIC and -fpic/-fPIE aren't clear and contain syntax error

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70419 --- Comment #3 from Andrew Pinski --- (In reply to Balint Reczey from comment #1) > Also please fix the error message emitted when trying to link a non-PIE > non-PIC static library to a position independent executable: The error message comes

[Bug driver/64499] -gsplit-dwarf splits objcopy argument at spaces in file path

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64499 --- Comment #1 from Andrew Pinski --- The problem is in ASM_FINAL_SPEC in gcc.c: #ifndef ASM_FINAL_SPEC #define ASM_FINAL_SPEC \ "%{gsplit-dwarf: \n\ objcopy --extract-dwo \ %{c:%{o*:%*}%{!o*:%w%b%O}}%{!c:%U%O} \

[Bug driver/90443] when collect2/lto-wrapper/gcc-nm/gcc-ld fails to find a program, it does not say which program is being found

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

[Bug driver/90902] collect2 does not propagate gcc -wrapper far enough to wrap ld

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

[Bug driver/45749] Response file unwrapped between collect2.exe and ld.exe

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

[Bug driver/91244] gcc-ar prepends --plugin option thus triggers binutils getopt_long bug 13256

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

[Bug driver/77576] gcc-ar doesn't work if all options are read from file

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77576 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2022-01-01 See Also|

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-12-31 Thread shorne at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #9 from shorne at gmail dot com --- I was able to debug this. Basically, the code to avoid overflow by masking the relocation value with 0x fails if the relocation value has the 16-bit sign bit set. I.e. 0x90e4 has 0x8000 set

[Bug c++/103884] ICE when calling static and non-static member function templates with the same parameter types and requires clause

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103884 Andrew Pinski changed: What|Removed |Added Keywords||assemble-failure, |

[Bug sanitizer/103878] ThreadSanitizer: false report about data race

2021-12-31 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103878 --- Comment #3 from Fedor Chelnokov --- Bugreport for Clang/LLVM: https://github.com/llvm/llvm-project/issues/52942

[Bug c++/103884] New: ICE when calling static and non-static member function templates with the same parameter types and requires clause

2021-12-31 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103884 Bug ID: 103884 Summary: ICE when calling static and non-static member function templates with the same parameter types and requires clause Product: gcc Version:

[Bug c++/86143] ICE capturing constexpr chrono duration

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

[Bug sanitizer/103878] ThreadSanitizer: false report about data race

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103878 --- Comment #2 from Andrew Pinski --- Since it was reported that clang/LLVM have the same issue, is there a bug report about that?

[Bug c++/98364] [modules] unnneded global constructors are emitted for a module

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98364 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW Summary|[modules] global

[Bug go/103847] gccgo SIGSEGV in libgo standard library on sparc64

2021-12-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103847 --- Comment #10 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:7918d8270a43e42b0cba902ec17ce87b6a3c74a9 commit r12-6163-g7918d8270a43e42b0cba902ec17ce87b6a3c74a9 Author: Jakub Jelinek Date:

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

2021-12-31 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103639 --- Comment #17 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:222dbebefbbc07f78e51d82ba605988ef57e5fc9 commit r12-6162-g222dbebefbbc07f78e51d82ba605988ef57e5fc9 Author: Jakub Jelinek Date:

[Bug c++/103524] [meta-bug] modules issue

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 99051, which changed state. Bug 99051 Summary: [modules] ICE/SIGSEGV in get_location_from_adhoc_loc https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99051 What|Removed |Added

[Bug c++/99915] [modules] ICE in write_location

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

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

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

[Bug c++/103524] [meta-bug] modules issue

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524 Bug 103524 depends on bug 101184, which changed state. Bug 101184 Summary: [modules] ICE and unexpected behavior when using precisely 5 stl-memory includes. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101184 What|Removed

[Bug c++/99915] [modules] ICE in write_location

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99915 Andrew Pinski changed: What|Removed |Added CC||1lumin at protonmail dot com ---

[Bug c++/101184] [modules] ICE and unexpected behavior when using precisely 5 stl-memory includes.

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

[Bug c++/100052] [11/12 regression] ICE in compiling g++.dg/modules/xtreme-header-3_b.C after r11-8118

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100052 Andrew Pinski changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug c++/100002] internal compiler error: in hashtab_chk_error, at hash-table.c:137

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12 --- Comment #3 from Andrew Pinski --- Sorry PR 100052. *** This bug has been marked as a duplicate of bug 100052 ***

[Bug c++/99861] [modules] ICE in hashtab_chk_error

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99861 Bug 99861 depends on bug 12, which changed state. Bug 12 Summary: internal compiler error: in hashtab_chk_error, at hash-table.c:137 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12 What|Removed

[Bug c++/103769] [11/12 Regression] checking ICE in hashtab_chk_error with alias template and pack expansion after r11-7931

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103769 Andrew Pinski changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug c++/100002] internal compiler error: in hashtab_chk_error, at hash-table.c:137

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

[Bug c++/99227] [meta] [modules] Bugs relating to header-units of STL header files

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

[Bug c++/99915] [modules] ICE in write_location

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

[Bug c++/99479] [modules] ICE Aborted signal terminated program cc1plus

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99479 --- Comment #19 from Andrew Pinski --- Created attachment 52106 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52106=edit reduced testcase Not even though it says PR 100129, this is the reduced testcase. just execute t.sh which does: gcc

[Bug debug/103874] [11/12 Regression] ICE in internal_error on riscv64 and -gsplit-dwarf

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 --- Comment #6 from Andrew Pinski --- I doubt many people use gsplit-dwarf really.

[Bug target/103874] [11/12 Regression] ICE in internal_error on riscv64

2021-12-31 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 Aurelien Jarno changed: What|Removed |Added CC||jakub at redhat dot com --- Comment

[Bug c/93239] Enhancement: allow unevaluated statement expressions at filescope

2021-12-31 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93239 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug libstdc++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2021-12-31 Thread lhlaurini at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 Luiz Henrique Laurini changed: What|Removed |Added CC||lhlaurini at hotmail dot com

[Bug target/103882] Register corruption in ASM only functions when optization is -O2/-Os/-O3

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

[Bug c/101537] -Wconversion false positive in ternary and |=

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

[Bug fortran/95644] [F2018] IEEE_FMA is missing from the IEEE_ARITHMETIC module

2021-12-31 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95644 Francois-Xavier Coudert changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/89639] FAIL: gfortran.dg/ieee/ieee_9.f90 -O0 (test for excess errors)

2021-12-31 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89639 Francois-Xavier Coudert changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug libstdc++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 --- Comment #2 from Andrew Pinski --- MSVC also rejects it: example.cpp (14): error C2131: expression did not evaluate to a constant (10): note: failure was caused by call of undefined function or one not declared 'constexpr' (10): note: see

[Bug libstdc++/103879] error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 --- Comment #1 from Andrew Pinski --- clang rejects it also (with their libc++): :10:5: error: variable of non-literal type 'S' cannot be defined in a constexpr function S s{"str"}; ^ :6:29: note: 'S' is not literal because it has data

[Bug target/103882] Register corruption in ASM only functions when optization is -O2/-Os/-O3

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882 --- Comment #4 from Andrew Pinski --- noipa might help also. Though I can't remember if the IPA RA checks that (it should).

[Bug target/103882] Register corruption in ASM only functions when optization is -O2/-Os/-O3

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

[Bug target/103882] Register corruption in ASM only functions when optization is -O2/-Os/-O3

2021-12-31 Thread krystalgamer at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882 Jose Silva changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug fortran/89639] FAIL: gfortran.dg/ieee/ieee_9.f90 -O0 (test for excess errors)

2021-12-31 Thread dave.anglin at bell dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89639 --- Comment #12 from dave.anglin at bell dot net --- On 2021-12-29 12:26 p.m., fxcoudert at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89639 > > --- Comment #10 from Francois-Xavier Coudert > --- > Created attachment

[Bug c++/103876] Parameter pack not expanded in lambda within static_assert in a fold-expression of a lambda

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103876 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2021-12-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 --- Comment #10 from Jonathan Wakely --- Created attachment 52104 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52104=edit libstdc++: Fix freestanding build using --without-headers

[Bug libstdc++/103877] libstdc++ docs give a bad recommendation for printing C++ defines

2021-12-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877 Jonathan Wakely changed: What|Removed |Added Keywords||documentation

[Bug libstdc++/103866] AM_PROG_LIBTOOL not compatible with GCC_NO_EXECUTABLES

2021-12-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103866 --- Comment #9 from Jonathan Wakely --- GCC_HEADER_STDINT is unusable for freestanding, because it uses autoconf's AC_CHECK_SIZEOF with the default includes, which does #include unconditionally. But we only use GCC_HEADER_STDINT to create

[Bug c/103880] GCC

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

[Bug target/103882] Register corruption in ASM only functions when optization is -O2/-Os/-O3

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882 Andrew Pinski changed: What|Removed |Added Keywords||inline-asm

[Bug c++/103878] ThreadSanitizer: false report about data race

2021-12-31 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103878 --- Comment #1 from Jonathan Wakely --- Isn't this simply the documented limitation of tsan? https://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html#debug.races

[Bug fortran/82207] ieee_class identifies signaling NaNs as quiet NaNs

2021-12-31 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207 Francois-Xavier Coudert changed: What|Removed |Added Attachment #52101|0 |1 is obsolete|

[Bug middle-end/103883] New: Signaling NaN is not handled correctly on typedef'd floating-point type

2021-12-31 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103883 Bug ID: 103883 Summary: Signaling NaN is not handled correctly on typedef'd floating-point type Product: gcc Version: 12.0 Status: UNCONFIRMED Severity:

[Bug c/103881] Wconversion false positive when using |= and &= with two rvalues in binary op

2021-12-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103881 --- Comment #2 from Jakub Jelinek --- See C99 6.3.1.1/2 and 6.3.1.8, yes, in all cases of |=, &=, |, & the uint8_t operands are promoted to int. And the reason why we don't warn for the simple binary operations is that those common cases have

[Bug c/103881] Wconversion false positive when using |= and &= with two rvalues in binary op

2021-12-31 Thread thomas at habets dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103881 --- Comment #1 from thomas at habets dot se --- I just reproduced this from git HEAD, as seen on github (commit e3cbb8c66c930ba738674b0fcf29848dc3ecfef2), with latest commit today, 2021-12-31.

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

2021-12-31 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98782 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c/101537] -Wconversion false positive in ternary and |=

2021-12-31 Thread thomas at habets dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101537 thomas at habets dot se changed: What|Removed |Added CC||thomas at habets dot se ---

[Bug target/103882] New: Register corruption in ASM only functions when optization is -O2/-Os/-O3

2021-12-31 Thread krystalgamer at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103882 Bug ID: 103882 Summary: Register corruption in ASM only functions when optization is -O2/-Os/-O3 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity:

[Bug fortran/82207] ieee_class identifies signaling NaNs as quiet NaNs

2021-12-31 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82207 --- Comment #14 from Francois-Xavier Coudert --- Created attachment 52101 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52101=edit First attempt at a patch This is a first version of a patch for support of signalling NaNs. What it does:

[Bug c/103881] New: Wconversion false positive when using |= and &= with two rvalues in binary op

2021-12-31 Thread thomas at habets dot se via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103881 Bug ID: 103881 Summary: Wconversion false positive when using |= and &= with two rvalues in binary op Product: gcc Version: 11.2.0 Status: UNCONFIRMED

[Bug c/103880] GCC

2021-12-31 Thread krystalgamer at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103880 --- Comment #1 from Jose Silva --- pressed enter, and accidentally submitted :|

[Bug c/103880] New: GCC

2021-12-31 Thread krystalgamer at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103880 Bug ID: 103880 Summary: GCC Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc

[Bug target/103874] [11/12 Regression] ICE in internal_error on riscv64

2021-12-31 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 --- Comment #4 from Aurelien Jarno --- This is a better backtrace after building a riscv64 cross compiler from the releases/gcc-11 branch: /tmp/onnxifi_loader.c.i:6:1: internal compiler error: Segmentation fault 6 | } | ^ 0xadad0f

[Bug c++/103329] [11/12 Regression] Code divergence in debug info with -fdump-tree-original since r11-291-g0f50f6daa140186a

2021-12-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103329 --- Comment #4 from Jakub Jelinek --- But, if we avoid that /* Mark enumeration types as used. */ if (TREE_CODE (decl) == CONST_DECL) used_types_insert (DECL_CONTEXT (decl)); during error.c instantiations, will it be actually marked if

[Bug libstdc++/103879] New: error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression

2021-12-31 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103879 Bug ID: 103879 Summary: error: accessing value of variant::_Copy_ctor_base through a 'const variant' glvalue in a constant expression Product: gcc Version: 12.0

[Bug c++/103878] New: ThreadSanitizer: false report about data race

2021-12-31 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103878 Bug ID: 103878 Summary: ThreadSanitizer: false report about data race Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/103873] [12 Regression] wrong code at -O3 on x86_64-linux-gnu

2021-12-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103873 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug target/103874] [11/12 Regression] ICE in internal_error on riscv64

2021-12-31 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 --- Comment #3 from Aurelien Jarno --- I have been able to reduce the reproducer code to almost nothing, so I guess the issue is mostly related to the options and not to the source code.

[Bug target/103874] [11/12 Regression] ICE in internal_error on riscv64

2021-12-31 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 Aurelien Jarno changed: What|Removed |Added Attachment #52099|0 |1 is obsolete|

[Bug c++/36566] Cannot bind packed field

2021-12-31 Thread steve+gcc at tecwec dot eu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36566 Eric Estievenart changed: What|Removed |Added CC||steve+gcc at tecwec dot eu ---

[Bug web/103877] New: libstdc++ docs give a bad recommendation for printing C++ defines

2021-12-31 Thread blubban at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103877 Bug ID: 103877 Summary: libstdc++ docs give a bad recommendation for printing C++ defines Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug ipa/103875] Dead writes are not optimized out

2021-12-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103875 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Component|middle-end

[Bug c++/103876] New: Parameter pack not expanded in lambda within static_assert in a fold-expression of a lambda

2021-12-31 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103876 Bug ID: 103876 Summary: Parameter pack not expanded in lambda within static_assert in a fold-expression of a lambda Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug pending/103875] New: Dead writes are not optimized out

2021-12-31 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103875 Bug ID: 103875 Summary: Dead writes are not optimized out Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: pending

[Bug c/103874] [11/12 Regression] ICE in internal_error on riscv64

2021-12-31 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 --- Comment #1 from Aurelien Jarno --- Sorry I submitted the bug by mistake without filling a comment. pytorch failed to build in Debian on riscv64 following the switch to GCC 11 by default:

[Bug c/103874] New: [11/12 Regression] ICE in internal_error on riscv64

2021-12-31 Thread aurelien at aurel32 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103874 Bug ID: 103874 Summary: [11/12 Regression] ICE in internal_error on riscv64 Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/103871] [11/12 Regression] co_await causes build error

2021-12-31 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #4 from Iain Sandoe --- this is most likely a dup of 98056 - I have some WIP to deal with that (but it needs some more tidying before posting).

[Bug target/99783] relocation truncated to fit: R_OR1K_GOT16 on OpenRISC, building libgeos

2021-12-31 Thread giulio.benetti at benettiengineering dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99783 --- Comment #8 from Giulio Benetti --- Thanks a lot Stafford

[Bug tree-optimization/103873] New: wrong code at -O3 on x86_64-linux-gnu

2021-12-31 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
algorithms: zlib gcc version 12.0.0 20211231 (experimental) (GCC) [569] % [569] % gcctk -O2 small.c; ./a.out [570] % [570] % gcctk -O3 small.c [571] % ./a.out Aborted [572] % [572] % cat small.c int a, b, c, d[3], e, f; int main() { if (b) goto L; for (; f < 1; f++) for (; a

[Bug c++/103871] [11/12 Regression] co_await causes build error

2021-12-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |11.3 Priority|P3

[Bug target/85927] ud2 instruction generated starting with gcc 8

2021-12-31 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85927 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/85927] ud2 instruction generated starting with gcc 8

2021-12-31 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85927 Petr Skocik changed: What|Removed |Added CC||pskocik at gmail dot com --- Comment #5

[Bug c++/103871] [11/12 Regression] co_await causes build error

2021-12-31 Thread egor.pugin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #2 from Egor Pugin --- Repro #include #include #include struct s { s(std::vector &&); }; struct async_task { struct promise_type { auto initial_suspend() const { return std::suspend_never{}; } auto