[Bug target/99704] volatile is needed on asm statements in

2021-03-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99704 --- Comment #3 from Hongtao.liu --- (In reply to Hongtao.liu from comment #2) > How should we handle -march=native on hybrid core? Nevermind, assume you're meaning the bellow parts are different on hybrid core 02H EAX Cache and TLB Information

[Bug debug/66728] [5 Regression] CONST_WIDE_INT causes corrupted DWARF debug info

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66728 --- Comment #13 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fc9c4e5fc50c7fcbd27d6cb3dd372f7da8216954 commit r11-7757-gfc9c4e5fc50c7fcbd27d6cb3dd372f7da8216954 Author: Jakub Jelinek Date: M

[Bug debug/99562] Invalid debug info: objdump: Warning: Location list starting at offset 0x9c3 is not terminated.

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99562 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:fc9c4e5fc50c7fcbd27d6cb3dd372f7da8216954 commit r11-7757-gfc9c4e5fc50c7fcbd27d6cb3dd372f7da8216954 Author: Jakub Jelinek Date: Mo

[Bug target/71009] g++: ICE on modified gdb/valarith.c with -Ofast

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

[Bug middle-end/99689] Initialized local variable becomes uninitialized after use

2021-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99689 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Ever confirmed|0

[Bug middle-end/99694] [9/10/11 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 Martin Liška changed: What|Removed |Added Summary|gcc: fatal error: Killed|[9/10/11 Regression] gcc:

[Bug middle-end/99689] Initialized local variable becomes uninitialized after use

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99689 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

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

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since r11-7757-gfc9c4e5fc50c7fcbd27d6

2021-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 Martin Liška changed: What|Removed |Added Summary|[11 Regression] ICE: RTL|[11 Regression] ICE: RTL

[Bug middle-end/99694] [9/10/11 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Target Milest

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since r11-7757-gfc9c4e5fc50c7fcbd27d6

2021-03-22 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 --- Comment #3 from Zdenek Sojka --- (In reply to Martin Liška from comment #2) > Started with r11-7757-gfc9c4e5fc50c7fcbd27d6cb3dd372f7da8216954. Thank you for the analysis! However I don't think that's possible, since I was observing the failu

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since r11-7757-gfc9c4e5fc50c7fcbd27d6

2021-03-22 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 Kito Cheng changed: What|Removed |Added CC||kito at gcc dot gnu.org Status|

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since g:d9f0ade001533c9544bf2153b6baa

2021-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 Martin Liška changed: What|Removed |Added Summary|[11 Regression] ICE: RTL|[11 Regression] ICE: RTL

[Bug c++/99705] New: [10/11 Regression] ICE in expand_expr_real_1 since r10-3661

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99705 Bug ID: 99705 Summary: [10/11 Regression] ICE in expand_expr_real_1 since r10-3661 Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/99705] [10/11 Regression] ICE in expand_expr_real_1 since r10-3661

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99705 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/99688] AddressSanitizer: stack-buffer-overflow on address at gfc_match_name(char*) gcc/fortran/match.c:685

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99688 --- Comment #3 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:0e792ee11aa6ebb6f61e9ed33eb06e260f0ec703 commit r11-7758-g0e792ee11aa6ebb6f61e9ed33eb06e260f0ec703 Author: Tobias Burnus Date: Mo

[Bug sanitizer/99673] [11 Regression] bogus -Wstringop-overread warning with address sanitizer due to member address substitution

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

[Bug c++/99675] [10/11 Regression] ICE during template deduction since r10-5020-g1a291106384cabc7

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99675 Richard Biener changed: What|Removed |Added Summary|[11 Regression] ICE during |[10/11 Regression] ICE

[Bug c++/99677] [[gnu::const]] attribute does not prevent dead global variable gets emitted.

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99677 --- Comment #5 from Richard Biener --- I think Andrew is correct. Note we can't elide "unused" not statically initialized variables (since the initialization is seen as use).

[Bug c/99693] -O2 not move 'if' checks on const data outside the loops

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

[Bug middle-end/99694] [9/10/11 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/99677] [[gnu::const]] attribute does not prevent dead global variable gets emitted.

2021-03-22 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99677 --- Comment #6 from cqwrteur --- (In reply to Richard Biener from comment #5) > I think Andrew is correct. Note we can't elide "unused" not statically > initialized variables (since the initialization is seen as use). but here the result is alw

[Bug c++/99677] [[gnu::const]] attribute does not prevent dead global variable gets emitted.

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

[Bug c++/95985] [11 Regression] ICE: tree check: expected tree_list, have error_mark in common_handle_aligned_attribute, at c-family/c-attribs.c:1980

2021-03-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95985 --- Comment #3 from Arseny Solokha --- I cannot reproduce it w/ yesterday's gcc-11.0.1-alpha20210321 snapshot (g:fc24ea2374259d401a46ce3526688b7e79d4cc13).

[Bug tree-optimization/98655] ICE: verify_gimple failed (error: integral result type precision does not match field size of 'bit_field_ref')

2021-03-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98655 --- Comment #3 from Arseny Solokha --- I cannot reproduce it w/ yesterday's gcc-11.0.1-alpha20210321 snapshot (g:fc24ea2374259d401a46ce3526688b7e79d4cc13).

[Bug ipa/99696] lto looks past aliases to initializers

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99696 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug target/99706] New: [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 Bug ID: 99706 Summary: [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90) Product: gcc Version: 11.0 Status: UNCONFIRMED Keywo

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #3 from Richard Biener --- Try --disable-cet as a workaround

[Bug tree-optimization/98655] ICE: verify_gimple failed (error: integral result type precision does not match field size of 'bit_field_ref')

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

[Bug target/99706] [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 CC|

[Bug c/99693] -O2 not move 'if' checks on const data outside the loops

2021-03-22 Thread rafal at bursig dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99693 --- Comment #4 from rafal at bursig dot org --- but using -O2 -funswitch-loops will bring me those problems why this flag is not in default -O2. Which is not a solution. Maybe -O2 may have weaken version of this optimization and will work only i

[Bug c++/89565] [C++2a] ICE on template instantiating user defined non-type template from template value member

2021-03-22 Thread falemagn at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89565 --- Comment #4 from Fabio Alemagna --- Just encountered this bug myself, with trunk gcc (11.0.1 20210321 (experimental)). See godbolt: https://godbolt.org/z/TxW137Whh

[Bug target/55656] objc/obj-c++ failures present under darwin11

2021-03-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55656 --- Comment #7 from Iain Sandoe --- fixed on master e.g. https://gcc.gnu.org/pipermail/gcc-testresults/2021-March/669584.html

[Bug target/99706] [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-03-22 Status|UNCONFIRME

[Bug target/99706] [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 --- Comment #3 from Arseny Solokha --- (In reply to Andrew Pinski from comment #1) > Thos are some interesting options. How did you decide to use them? TL;DR: they were randomly chosen. I run (somewhat) automated gcc fuzz testing for several y

[Bug c/99693] -O2 not move 'if' checks on const data outside the loops

2021-03-22 Thread rafal at bursig dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99693 --- Comment #5 from rafal at bursig dot org --- Additional when I use c++ variant of this code and throw exception in else then in -O2 level the 'if' is removed outside loop: typedef struct Update { int m_update; //... } Update; extern

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since g:d9f0ade001533c9544bf2153b6baa

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 --- Comment #6 from CVS Commits --- The master branch has been updated by Kito Cheng : https://gcc.gnu.org/g:540dace2ed3949571f2ce6cb007354e69bda0cb2 commit r11-7759-g540dace2ed3949571f2ce6cb007354e69bda0cb2 Author: Kito Cheng Date: Mon Mar

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since g:d9f0ade001533c9544bf2153b6baa

2021-03-22 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 Kito Cheng changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/99707] New: missing -Woverflow in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 Bug ID: 99707 Summary: missing -Woverflow in floating-point to integer conversion for known but non-constant value Product: gcc Version: 10.2.1 Status: UNCONFIRMED

[Bug target/99708] New: __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 Bug ID: 99708 Summary: __SIZEOF_FLOAT128__ not defined on powerpc64le-linux Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #1 from Andrew Pinski --- Gcc does not know that x will be negative. Note: x == -1.0 is well defined. As x is converted to double from unsigned int. -Wconversion might warn about this but I have not tried.

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #2 from Andrew Pinski --- Also this might be caught at runtime with -fsanitizer=undefined but I have not tried yet. Since this is undefined behavior in this case unlike the original PR93806.

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since g:d9f0ade001533c9544bf2153b6baa

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:e1aa525179b72fb7ea7822c794ec844893ed47e4 commit r10-9506-ge1aa525179b72fb7ea7822c794ec844893ed47e4 Author: Kito Cheng Date:

[Bug target/99702] [11 Regression] ICE: RTL check: expected code 'const_int', have 'subreg' in riscv_expand_block_move, at config/riscv/riscv.c:3262 with memcpy() since g:d9f0ade001533c9544bf2153b6baa

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99702 --- Comment #9 from CVS Commits --- The releases/gcc-9 branch has been updated by Kito Cheng : https://gcc.gnu.org/g:3100cdf24a88aecc428e77fc8a4268947836d66c commit r9-9301-g3100cdf24a88aecc428e77fc8a4268947836d66c Author: Kito Cheng Date: M

[Bug target/99706] [11 Regression] ICE: maximum number of generated reload insns per insn achieved (90)

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99706 --- Comment #4 from Richard Biener --- Likely an "RTL expansion testcase" using the GIMPLE FE with IL as seen around RTL expansion could more reliably produce the bad IL.

[Bug target/55657] objc/obj-c++ failures present under darwin12

2021-03-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55657 --- Comment #10 from Iain Sandoe --- (In reply to Iain Sandoe from comment #8) > > FAIL: obj-c++.dg/property/at-property-13.mm -fgnu-runtime execution test This is a dyld bug, the objc_setProperty() call should be provided from libobjc-gnu.dyli

[Bug middle-end/28831] [8/9/10/11 Regression] Aggregate copy not elided when using a return value as a pass-by-value parameter

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28831 --- Comment #36 from Richard Biener --- Note that if we'd want to "preallocate" (or re-use) variables for argument slots we have to properly arrange them according to the ABI. Consider a function taking more than just a single argument [passed o

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #3 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #1) > Gcc does not know that x will be negative. Actually, the code should have been (without the volatile): #include int main (void) { double x = -1.0; unsig

[Bug c++/99705] [10/11 Regression] ICE in expand_expr_real_1 since r10-3661

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99705 --- Comment #1 from Jakub Jelinek --- The *.original dump diff before/after is @@ -32,11 +32,11 @@ } :; { -struct C * D.2390; +struct C * D.2390 = D.2378 + ((SAVE_EXPR <(sizetype) ((struct X *) this)->n> - (sizetype) D.2380) +

[Bug tree-optimization/90591] Avoid unnecessary data transfer out of OMP construct

2021-03-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90591 Thomas Schwinge changed: What|Removed |Added Assignee|sandra at gcc dot gnu.org |tschwinge at gcc dot gnu.org -

[Bug c++/99687] AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x604000000d50

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99687 --- Comment #2 from CVS Commits --- The master branch has been updated by Martin Liska : https://gcc.gnu.org/g:c4519fe3db366d781f342b7f04c4a09e4cc9fbd9 commit r11-7761-gc4519fe3db366d781f342b7f04c4a09e4cc9fbd9 Author: Martin Liska Date: Sat

[Bug c++/99687] AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x604000000d50

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

[Bug other/86656] [meta-bug] Issues found with -fsanitize=address

2021-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86656 Bug 86656 depends on bug 99687, which changed state. Bug 99687 Summary: AddressSanitizer: alloc-dealloc-mismatch (malloc vs operator delete) on 0x60400d50 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99687 What|Removed

[Bug c++/99215] coroutines: debugging with gdb

2021-03-22 Thread nilsgladitz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #7 from Nils Gladitz --- (In reply to Nils Gladitz from comment #5) > Apparently when the coroutine happens to be a member function (even a static > one) printing *frame_ptr results in "{}". I reported the "{}" issue at the gdb issue

[Bug c++/99215] coroutines: debugging with gdb

2021-03-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #8 from Iain Sandoe --- (In reply to Nils Gladitz from comment #7) > (In reply to Nils Gladitz from comment #5) > > Apparently when the coroutine happens to be a member function (even a static > > one) printing *frame_ptr results in "

[Bug c++/99215] coroutines: debugging with gdb

2021-03-22 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99215 --- Comment #9 from Iain Sandoe --- (In reply to Iain Sandoe from comment #8) > (In reply to Nils Gladitz from comment #7) > > (In reply to Nils Gladitz from comment #5) > > > Apparently when the coroutine happens to be a member function (even a

[Bug fortran/99709] New: VALUE attribute for an object with nonconstant length parameter

2021-03-22 Thread xiao.liu--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99709 Bug ID: 99709 Summary: VALUE attribute for an object with nonconstant length parameter Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #4 from Worx --- (In reply to Martin Liška from comment #2) > It seems the binutils was fixed. Does it help in your scenario? Yes ...

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #5 from Worx --- (In reply to Martin Liška from comment #2) > It seems the binutils was fixed. Does it help in your scenario? Yes ...

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #6 from Worx --- (In reply to Richard Biener from comment #3) > Try --disable-cet as a workaround How apply this option ?

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #7 from Richard Biener --- (In reply to Worx from comment #6) > (In reply to Richard Biener from comment #3) > > Try --disable-cet as a workaround > > How apply this option ? At configure time.

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #8 from Martin Liška --- (In reply to Richard Biener from comment #7) > (In reply to Worx from comment #6) > > (In reply to Richard Biener from comment #3) > > > Try --disable-cet as a workaround > > > > How apply this option ? > >

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug c++/99710] New: coroutines: co_yield and co_await should only be allowed in suspension context

2021-03-22 Thread nilsgladitz at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99710 Bug ID: 99710 Summary: coroutines: co_yield and co_await should only be allowed in suspension context Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity:

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread worx at pouf dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #10 from Worx --- When I deep dive, in the logs No issue at the root level : c3eden /opt/gcc-10.2.0 # ./configure --disable-cet checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking

[Bug c++/99701] std::nullptr_t can be compared with relational ops

2021-03-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99701 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/99705] [10/11 Regression] ICE in expand_expr_real_1 since r10-3661

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99705 --- Comment #2 from Jakub Jelinek --- Created attachment 50447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50447&action=edit gcc11-pr99705.patch One possible fix. The reason I've made the build_vec_delete_1 changes was that P0784R7 was

[Bug middle-end/99694] [9/10/11 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b931e4792b8696f3da69f70988720c4d1ec6142a commit r11-7762-gb931e4792b8696f3da69f70988720c4d1ec6142a Author: Richard Biener Date:

[Bug middle-end/99694] [9/10 Regression] gcc: fatal error: Killed signal terminated program cc1 under -O2 to -Os since r9-7156-g33579b59aaf02eb7

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99694 Richard Biener changed: What|Removed |Added Summary|[9/10/11 Regression] gcc: |[9/10 Regression] gcc:

[Bug target/99649] GDB has issue to show backtrace if the breakpoint is in a function with more then 8 parameters - only for target aarch64-elf ILP32

2021-03-22 Thread filip.bascarevic at siemens dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99649 --- Comment #4 from Filip Bascarevic --- Thank you so much for your replies. I also contacted the GDB community and will see what will they reply

[Bug fortran/99711] New: Crash when reading an allocated character array in namelist

2021-03-22 Thread phil1691 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99711 Bug ID: 99711 Summary: Crash when reading an allocated character array in namelist Product: gcc Version: 10.2.0 Status: UNCONFIRMED Severity: normal P

[Bug target/97252] [10/11 Regression] arm: ICE compiling pure-code/pr94538-2.c with MVE since r10-7293-g3eff57aa

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97252 --- Comment #5 from CVS Commits --- The master branch has been updated by Alex Coplan : https://gcc.gnu.org/g:150a829accd76ddd73c20628774cb0781f6e8bfe commit r11-7764-g150a829accd76ddd73c20628774cb0781f6e8bfe Author: Alex Coplan Date: Mon Ma

[Bug target/97252] [10 Regression] arm: ICE compiling pure-code/pr94538-2.c with MVE since r10-7293-g3eff57aa

2021-03-22 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97252 Alex Coplan changed: What|Removed |Added Summary|[10/11 Regression] arm: ICE |[10 Regression] arm: ICE

[Bug rtl-optimization/99712] New: Cannot elide aggregate parameter setup

2021-03-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99712 Bug ID: 99712 Summary: Cannot elide aggregate parameter setup Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimiz

[Bug c++/99425] [modules] ICE tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99425 --- Comment #3 from CVS Commits --- The master branch has been updated by Nathan Sidwell : https://gcc.gnu.org/g:87e3c2ef682e2ba7692ee56142a4eb5b6441c4d3 commit r11-7765-g87e3c2ef682e2ba7692ee56142a4eb5b6441c4d3 Author: Nathan Sidwell Date:

[Bug c++/99425] [modules] ICE tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803

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

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

2021-03-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99227 Bug 99227 depends on bug 99425, which changed state. Bug 99425 Summary: [modules] ICE tree check: expected tree_vec, have tree_list in lookup_template_class_1, at cp/pt.c:9803 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99425 What

[Bug libstdc++/99713] New: Add _GLIBCXX_CHECK_PREDICATES that violates runtime guarantees and ensures predicates are valid

2021-03-22 Thread fiesh at zefix dot tv via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99713 Bug ID: 99713 Summary: Add _GLIBCXX_CHECK_PREDICATES that violates runtime guarantees and ensures predicates are valid Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/99714] New: warn about alloca/dealloc mismatches based on calls with same object in different functions

2021-03-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99714 Bug ID: 99714 Summary: warn about alloca/dealloc mismatches based on calls with same object in different functions Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug middle-end/99715] New: bogus/missing Wmismatched-dealloc warnings

2021-03-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99715 Bug ID: 99715 Summary: bogus/missing Wmismatched-dealloc warnings Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-

[Bug middle-end/99714] warn about alloca/dealloc mismatches based on calls with same object in different functions

2021-03-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99714 Martin Sebor changed: What|Removed |Added Keywords||documentation Blocks|

[Bug middle-end/99715] [meta-bug] bogus/missing Wmismatched-dealloc warnings

2021-03-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99715 Martin Sebor changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug analyzer/99716] New: -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-22 Thread rjones at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 Bug ID: 99716 Summary: -Wanalyzer-double-fclose when fclose is called inside a loop Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Pr

[Bug c++/99717] New: ICE in finish_expr_stmt, at cp/semantics.c:681

2021-03-22 Thread jmullee at yahoo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99717 Bug ID: 99717 Summary: ICE in finish_expr_stmt, at cp/semantics.c:681 Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c+

[Bug c++/99480] [modules] ICE in import_entity_index, at cp/module.cc:3952

2021-03-22 Thread nathan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99480 Nathan Sidwell changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/99705] [10/11 Regression] ICE in expand_expr_real_1 since r10-3661

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99705 --- Comment #3 from Jakub Jelinek --- Created attachment 50449 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=50449&action=edit gcc11-pr99705-2.patch Another untested fix instead of the above.

[Bug sanitizer/99673] [11 Regression] bogus -Wstringop-overread warning with address sanitizer due to member address substitution

2021-03-22 Thread arnd at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99673 --- Comment #4 from Arnd Bergmann --- I posted a set of kernel patches to address all the warnings I found at https://lore.kernel.org/lkml/20210322160253.4032422-1-a...@kernel.org/T/#t

[Bug analyzer/99716] -Wanalyzer-double-fclose when fclose is called inside a loop

2021-03-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99716 --- Comment #1 from David Malcolm --- Thanks. Looks very similar to bug 93695 - the analyzer "gets confused" in how it tracks allocations in a loop (albeit with a different kind of resource, and thus worth tracking as a separate bug).

[Bug target/99718] New: [11 regression] ICE in new test case gcc.target/powerpc/pr98914.c for 32 bits

2021-03-22 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99718 Bug ID: 99718 Summary: [11 regression] ICE in new test case gcc.target/powerpc/pr98914.c for 32 bits Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: n

[Bug target/97926] ICE in patch_jump_insn, at cfgrtl.c:1298

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97926 --- Comment #6 from CVS Commits --- The master branch has been updated by Segher Boessenkool : https://gcc.gnu.org/g:ba16797fe69a0fae47355aa2c102ffac1c48c3bd commit r11-7767-gba16797fe69a0fae47355aa2c102ffac1c48c3bd Author: Segher Boessenkool

[Bug testsuite/97926] ICE in patch_jump_insn, at cfgrtl.c:1298

2021-03-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97926 Segher Boessenkool changed: What|Removed |Added Component|target |testsuite Status|NEW

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-22 Thread segher at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #1 from Segher Boessenkool --- Yes, the __SIZEOF_* macros do not say whether some type can be used. This is true for all targets! What would it be useful for to define these macros? They all are equivalent to #define SIXTEEN 16 :

[Bug c/99707] missing -Woverflow warning in floating-point to integer conversion for known but non-constant value

2021-03-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99707 --- Comment #4 from Andrew Pinski --- The front end does not normally do constant prop if the variable is not a const/constexpr so the warning would be done in the middle end and might have false warnings so it might not be useful.

[Bug c++/69549] Named Address Spaces does not compile in C++

2021-03-22 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 --- Comment #4 from Thiago Macieira --- And in GCC 11. gcc version 11.0.1 20210308 (experimental) (GCC)

[Bug target/99581] [11 Regression] internal compiler error: during RTL pass: final - void QTWTF::TCMalloc_PageHeap::scavengerThread() since r11-7526

2021-03-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99581 --- Comment #16 from CVS Commits --- The master branch has been updated by Vladimir Makarov : https://gcc.gnu.org/g:02f2dc441b1954736cc61e3f97687cd23d5586c5 commit r11-7768-g02f2dc441b1954736cc61e3f97687cd23d5586c5 Author: Vladimir N. Makarov

[Bug target/99708] __SIZEOF_FLOAT128__ not defined on powerpc64le-linux

2021-03-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99708 --- Comment #2 from Jakub Jelinek --- The __SIZEOF_*__ macros are widely used to detect both if a type can be used and what sizeof (the_type) is when it needs to be checked in preprocessor conditionals, including hundreds of times in GCC testsuit

[Bug c++/69549] Named Address Spaces does not compile in C++

2021-03-22 Thread thiago at kde dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69549 --- Comment #5 from Thiago Macieira --- BTW, Clang solved this by making __seg_fs, __seg_gs macros that resolve to __attribute__: $ clang -dM -E -xc /dev/null | grep __seg_.s #define __seg_fs __attribute__((address_space(257))) #define __seg_gs

[Bug target/99663] [11 Regression] ICE in extract_constrain_insn, at recog.c:2670 on s390x-linux-gnu

2021-03-22 Thread doko at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99663 Matthias Klose changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #11 from H.J. Lu --- (In reply to Worx from comment #10) > When I deep dive, in the logs > > No issue at the root level : > > c3eden /opt/gcc-10.2.0 # ./configure --disable-cet > checking build system type... i686-pc-linux-gnu > ch

[Bug target/99703] gcc-10.2.0 with Via C3 Eden: configure: error: Intel CET must be enabled on Intel CET enabled host

2021-03-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99703 --- Comment #12 from Sergei Trofimovich --- Downstream bug report is https://gcc.gnu.org/PR99703 (has all config.log files and build log files). Caveat: Gentoo's gcc-10.2.0 has a https://gitweb.gentoo.org/proj/gcc-patches.git/tree/10.2.0/gentoo/4

  1   2   >