[Bug fortran/102113] New: parsing error in assigned goto

2021-08-28 Thread wvermin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102113 Bug ID: 102113 Summary: parsing error in assigned goto Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug target/102089] MIPS: use N64 ABI by default if the triple end with -gnuabi64

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102089 --- Comment #4 from CVS Commits --- The master branch has been updated by Xi Ruoyao : https://gcc.gnu.org/g:91f78b673b1f8d5bca52b1947206f71c2ffa4f60 commit r12-3196-g91f78b673b1f8d5bca52b1947206f71c2ffa4f60 Author: YunQiang Su Date: Thu Aug

[Bug fortran/102114] New: label on END statement not recognized after CONTAINS

2021-08-28 Thread wvermin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102114 Bug ID: 102114 Summary: label on END statement not recognized after CONTAINS Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug libstdc++/102074] include/bits/atomic_timed_wait.h:215: possible missing return ?

2021-08-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102074 --- Comment #1 from Jonathan Wakely --- N.B. I have a local work-in-progress patch for PR 50871 which would have prevented this. I should finish that work.

[Bug preprocessor/31186] -I/usr/include not taken into account

2021-08-28 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31186 --- Comment #6 from Vincent Lefèvre --- OK, so I think there is a bug in the autotools, which use -I instead of -isystem (unless this has changed).

[Bug libstdc++/99876] std::filesystem::absolute is inefficient

2021-08-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99876 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2021-04-01 00:00:00 |2021-8-28 Target Milestone|---

[Bug libstdc++/99876] std::filesystem::absolute is inefficient

2021-08-28 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99876 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug libstdc++/99876] std::filesystem::absolute is inefficient

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99876 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:07b990ee23e0c7a92d362dbb25fd5d57d95eb8be commit r12-3198-g07b990ee23e0c7a92d362dbb25fd5d57d95eb8be Author: Jonathan Wakely Date:

[Bug d/102094] d: ICE in gimple_register_canonical_type_1, at lto/lto-common.c:430

2021-08-28 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102094 Iain Buclaw changed: What|Removed |Added Version|11.2.1 |12.0 --- Comment #1 from Iain Buclaw ---

[Bug target/40236] i386: request a single option to turn off all instructions which can cause #TS

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

[Bug target/70738] Add -mgeneral-regs-only option

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70738 Andrew Pinski changed: What|Removed |Added CC||hpa at zytor dot com --- Comment #8 from

[Bug target/51838] Inefficient add of 128 bit quantity represented as 64 bit tuple to 128 bit integer.

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51838 Andrew Pinski changed: What|Removed |Added Component|middle-end |target Status|UNCONFIRMED

[Bug fortran/102113] parsing error in assigned goto

2021-08-28 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102113 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Ever confirmed|0

[Bug fortran/87737] ICE tree check: expected ssa_name, have addr_expr in remap_gimple_op_r, at tree-inline.c:923

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87737 --- Comment #6 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:f9809ef57005409ee658294d6e8dad9ee8897e88 commit r12-3201-gf9809ef57005409ee658294d6e8dad9ee8897e88 Author: Harald Anlauf Date: Sa

[Bug c++/46691] Null pointer in template deduction

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46691 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:be64e725111fdb9caa05374823b4423b8ab49dc7 commit r11-8936-gbe64e725111fdb9caa05374823b4423b8ab49dc7 Author: Paul Thomas Dat

[Bug fortran/99819] [9/10/11/12 Regression] ICE in gfc_defer_symbol_init, at fortran/trans-decl.c:841

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99819 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:be64e725111fdb9caa05374823b4423b8ab49dc7 commit r11-8936-gbe64e725111fdb9caa05374823b4423b8ab49dc7 Author: Paul Thomas Dat

[Bug fortran/99819] [9/10 Regression] ICE in gfc_defer_symbol_init, at fortran/trans-decl.c:841

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99819 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9/10 Regression] ICE in

[Bug fortran/99125] [9/10/11/12 Regression] ICE: gimplification failed (gimplify.c:15068)

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99125 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4cecfae4b57e052008e2febe25607d5e2cad5dbb commit r10-10075-g4cecfae4b57e052008e2febe25607d5e2cad5dbb Author: Paul Thomas Da

[Bug fortran/99125] [9 Regression] ICE: gimplification failed (gimplify.c:15068)

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99125 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[9/10/11/12 Regression] |[9 Regression] ICE:

[Bug tree-optimization/58095] SIMD code requiring auxiliary array for best optimization

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58095 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Keywords|

[Bug fortran/102114] label on END statement not recognized after CONTAINS

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102114 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/54344] illegal instructions generated with multiple "arch" function attributes

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54344 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

[Bug target/60879] Wrong decision in decide_alg in i386.c

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60879 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Status|UNCONFIRMED

[Bug c/53232] No warning for main() without a return statement with -std=c99

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

[Bug testsuite/63211] gcc.target/i386/avx2-*.c tests use broken type-punning

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

[Bug fortran/88486] ICE in gfc_conv_scalarized_array_ref, at fortran/trans-array.c:3401

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88486 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug middle-end/63772] Double included .h files in gcc/gtype-desc.c

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

[Bug tree-optimization/64098] ICE isl_ctx.c:172: isl_ctx freed, but some objects still referenced

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64098 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Resolution|---

[Bug target/64376] [SH] Improve bswap support

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64376 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Severity|n

[Bug bootstrap/65065] ICE with -O3 -floop-block on bootstrap

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65065 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Resolution|---

[Bug fortran/93794] [9/10/11/12 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2497

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93794 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:803918dc6da9b7c88cc97635fc8a21bbd805a120 commit r10-10076-g803918dc6da9b7c88cc97635fc8a21bbd805a120 Author: Paul Thomas D

[Bug fortran/93794] [9 Regression] ICE in gfc_conv_component_ref, at fortran/trans-expr.c:2497

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93794 anlauf at gcc dot gnu.org changed: What|Removed |Added Summary|[9/10/11/12 Regression] ICE |[9 Regression] ICE in

[Bug tree-optimization/50918] Unoptimal code for vec-shift by scalar for integer (byte, short, long long) operands

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50918 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization --- Comment #2 from

[Bug fortran/93925] Invalid memory reference upon call of a routine taking a procedure pointer as argument

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93925 --- Comment #9 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bf22e268b5c2a03216503254cfcb828016a7d998 commit r10-10077-gbf22e268b5c2a03216503254cfcb828016a7d998 Author: Paul Thomas Da

[Bug fortran/93924] [OOP] ICE with procedure pointer

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93924 --- Comment #13 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:bf22e268b5c2a03216503254cfcb828016a7d998 commit r10-10077-gbf22e268b5c2a03216503254cfcb828016a7d998 Author: Paul Thomas D

[Bug middle-end/63434] builtins.c has incorrect parameters for GEN_CALL_VALUE

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63434 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|

[Bug fortran/93925] Invalid memory reference upon call of a routine taking a procedure pointer as argument

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93925 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org ---

[Bug fortran/99818] [10/11/12 Regression] ICE in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:2186

2021-08-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99818 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:4a573574b17caf0391ee7f7febdaa82a9ff1094e commit r10-10078-g4a573574b17caf0391ee7f7febdaa82a9ff1094e Author: Paul Thomas Da

[Bug fortran/99818] [10/11/12 Regression] ICE in gfc_get_tree_for_caf_expr, at fortran/trans-expr.c:2186

2021-08-28 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99818 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug c/101365] [9/10/11/12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101365 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5 Severity|normal

[Bug c/101365] [9/10/11/12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

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

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug c/101365] [9/10/11/12 Regression] ICE: in fold_convert_loc, at fold-const.c:243

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101365 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c/79412] [9/10/11/12 Regression] ICE in fold_convert_loc, at fold-const.c:2239

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79412 --- Comment #15 from Andrew Pinski --- *** Bug 101365 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/102087] [12 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: in determine_exit_conditions, at tree-ssa-loop-manip.c:1049 since r12-3136-g3673dcf6d6baeb67

2021-08-28 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102087 --- Comment #9 from David Binderman --- This second source code generates a similar but different error message: void dnslabel_vector_dnslabel_to_dnsname_namestack(int bottom) { char **name; int top; while (bottom <= top) { char label

[Bug c/93572] [9/10/11/12 Regression] internal compiler error: q from h referenced in main

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

[Bug c/98621] [9/10/11/12 Regression] ICE: x from g referenced in f

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98621 Andrew Pinski changed: What|Removed |Added CC||changochen1 at gmail dot com --- Comment

[Bug middle-end/101455] missing -Wstringop-overflow on buffer overflow by a complex number

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101455 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libstdc++/101439] std::atomic::load() crashes - possible fix with mutable

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101439 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug target/95722] libatomic crashes on __atomic_load of const object

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95722 Andrew Pinski changed: What|Removed |Added CC||doodspav at gmail dot com --- Comment #4

[Bug c++/95806] Result of call with reference argument to newed object is cached during constant evaluation

2021-08-28 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95806 Will Wray changed: What|Removed |Added CC||wjwray at gmail dot com --- Comment #1 from

[Bug libstdc++/101439] std::atomic::load() crashes - possible fix with mutable

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

[Bug c++/95806] Result of call with reference argument to newed object is cached during constant evaluation

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

[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 Andrew Pinski changed: What|Removed |Added CC||johelegp at gmail dot com --- Comment #2

[Bug c++/99859] constexpr evaluation with member function is incorrect

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99859 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug c++/80061] error on constexpr function with an unevaluated throw

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

[Bug c++/82572] throw on line by itself in constexpr function aborts compile even if never reached

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82572 Bug 82572 depends on bug 80061, which changed state. Bug 80061 Summary: error on constexpr function with an unevaluated throw https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80061 What|Removed |Added --

[Bug rtl-optimization/102115] New: symbol address eliminated by the xtensa size optimization

2021-08-28 Thread me at jhdtl dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102115 Bug ID: 102115 Summary: symbol address eliminated by the xtensa size optimization Product: gcc Version: 12.0 URL: https://github.com/earlephilhower/newlib-xtensa/issu

[Bug c++/81042] Too many constexpr iterations on unreachable loop.

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

[Bug c++/86767] [6/7 Regression] continue statements in constexpr functions causes unbounded looping

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86767 Andrew Pinski changed: What|Removed |Added CC||kevincox at kevincox dot ca --- Comment

[Bug c++/89785] Incorrect "not a constant expression" error with switch statement that returns

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89785 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.0

[Bug c++/98672] constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98672 Andrew Pinski changed: What|Removed |Added Known to work||10.3.0, 11.1.0, 9.4.0 Known to fail

[Bug c++/96155] "throw" that is not executed in constexpr function fails to compile

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

[Bug c++/98672] constexpr function - for loop with return statement doesn't get recognized as constexpr subexpression

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98672 Andrew Pinski changed: What|Removed |Added CC||r-gcc at mail dot uk --- Comment #7 from

[Bug c++/99992] Diagnose C++11 constexpr body that isn't just return even in uninstantiated templates

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

[Bug c++/86105] Conversion to ambiguous/inaccessible rvalue base is valid in unevaluated context

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86105 --- Comment #1 from Johel Ernesto Guerrero Peña --- Denoised: https://godbolt.org/z/87fbMG6f5. ```C++ template concept is_static_castable = requires(From && (*from)()) { static_cast(from()); }; struct B { }; struct D : B { }; struct D2 : D, B {

[Bug c++/70124] alignas error in constexpr function

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug c++/84403] Possible further extension of constexpr: allow to use them as template parameters

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84403 Andrew Pinski changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #2

[Bug c++/55004] [meta-bug] constexpr issues

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 70124, which changed state. Bug 70124 Summary: alignas error in constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 What|Removed |Added

[Bug c++/58601] [meta-bug] alignas

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58601 Bug 58601 depends on bug 70124, which changed state. Bug 70124 Summary: alignas error in constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70124 What|Removed |Added

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-28 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #3 from Paul Clarke --- Created attachment 51371 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51371&action=edit preprocessed source (a bit smaller) I was able to cut out a bit more than half of the original code. It gets mor

[Bug c++/94082] __builtin_memcpy in constexpr context should compile

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94082 --- Comment #7 from Andrew Pinski --- clang produces: :8:5: note: cannot constant evaluate 'memcpy' from object of type 'unsigned char' to object of type 'std::uint32_t' (aka 'unsigned int') __builtin_memcpy(&num, data, sizeof(std::uint32_t))

[Bug c++/93975] Wrong constexpr copy/move assignment operator allowed on non-literal type

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93975 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Keywords|rejects-valid

[Bug c++/96784] Templated lambda body remains constexpr despite having co_await in body

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96784 --- Comment #1 from Andrew Pinski --- Note there are some missing noexcept(true) in the testcases which I had to add to allow it compile in a more recent GCC version.

[Bug c++/96784] Templated lambda body remains constexpr despite having co_await in body

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

[Bug c++/96251] [constexpr, coroutines] co_yield incorrectly rejected in non-explicitly-constexpr generic lambda

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96251 Andrew Pinski changed: What|Removed |Added CC||kacper.slominski72 at gmail dot co

[Bug c++/97752] incorrect address to inherited object in constexpr context

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97752 --- Comment #2 from Andrew Pinski --- Seems fixed on the trunk.

[Bug c++/97740] Weird error message about accessing a private member of my own class inside of std::string_view inside of constexpr

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
const cld::detail::CommandLine::Arg&, const cld::detail::CommandLine::Arg&}]': /opt/compiler-explorer/gcc-trunk-20210828/include/c++/12.0.0/type_traits:2555:26: required by substitution of 'template static std::__result_of_success()((declval<_Args>)()...)), std::__invoke_o

[Bug c++/70380] SFINAE error with constexpr expressions referencing a non-const variable

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70380 --- Comment #4 from Andrew Pinski --- ICC rejects the template function f before even processing the statement. GCC, clang and MSVC rejects the same way.

[Bug c++/101155] comparing non-capturing lambdas is not constexpr

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101155 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|UNCONFIRME

[Bug c++/69681] C/C++ FEs do not consider comparisons of distinct function pointers to be constant expressions

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69681 Andrew Pinski changed: What|Removed |Added CC||ldalessandro at gmail dot com --- Commen

[Bug c++/94716] comparison of address of template variables should be constexpr

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

[Bug target/102107] protocol register (r12) corrupted before a tail call

2021-08-28 Thread pc at us dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102107 --- Comment #4 from Paul Clarke --- Created attachment 51372 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51372&action=edit preprocessed source (yet a bit smaller) I was able to remove one of the cases of the switch statement in the fun

[Bug c++/95269] Lambda is allowed to capture any constexpr variable without specifying any captures

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95269 --- Comment #1 from Andrew Pinski --- GCC and ICC accept this while clang and MSVC reject this. Without constexpr for value, GCC and ICC do reject this.

[Bug c++/99507] Can't return static address from immediate function

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99507 Johel Ernesto Guerrero Peña changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to wor

[Bug c++/95269] Lambda is allowed to capture any constexpr variable without specifying any captures

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

[Bug c++/99507] Can't return static address from immediate function

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99507 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.3

[Bug c++/95412] Constexpr variables captured in templated lambdas

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

[Bug tree-optimization/99091] local array not prompted to static

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

[Bug c++/95849] Universal forwarding constructor inheritance resolution issue

2021-08-28 Thread herring at lanl dot gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95849 S. Davis Herring changed: What|Removed |Added CC||herring at lanl dot gov --- Comment #

[Bug tree-optimization/46186] Clang creates code running 1600 times faster than gcc's

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug middle-end/65855] SCEV / SCCP missing optimization: triangular numbers

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65855 Andrew Pinski changed: What|Removed |Added CC||j...@jak-linux.org --- Comment #11 from

[Bug c/80852] SCEV final value replacement fails to recognise sum computed by loop

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80852 Bug 80852 depends on bug 46186, which changed state. Bug 46186 Summary: Clang creates code running 1600 times faster than gcc's https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46186 What|Removed |Added

[Bug tree-optimization/89713] Optimize away an empty loop whose finiteness can not be analytically determined

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89713 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0

[Bug middle-end/67809] Empty pointer-chasing loops aren't optimized out

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

[Bug tree-optimization/89713] Optimize away an empty loop whose finiteness can not be analytically determined

2021-08-28 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89713 Andrew Pinski changed: What|Removed |Added CC||matt at godbolt dot org --- Comment #9 f

[Bug c++/99141] Name of deduced type unchecked in deduction guide

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99141 Johel Ernesto Guerrero Peña changed: What|Removed |Added Known to fail||11.0, 12.0 --- Comment #1

[Bug c++/95977] No deallocation of temporary in return-statement during constant evaluation

2021-08-28 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95977 Johel Ernesto Guerrero Peña changed: What|Removed |Added Status|NEW |RESOLVED Known to wor

[Bug c++/95977] No deallocation of temporary in return-statement during constant evaluation

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

[Bug c++/99141] Name of deduced type unchecked in deduction guide

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

  1   2   >