[Bug c++/65211] [9/10/11/12 Regression] Type alignment lost inside templated function

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65211 Andrew Pinski changed: What|Removed |Added Summary|Type alignment lost inside |[9/10/11/12 Regression]

[Bug c++/65211] Type alignment lost inside templated function

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

[Bug tree-optimization/96051] alloca(0) triggers TCO for VLA

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96051 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|

[Bug c++/55918] Stack partially unwound when noexcept causes call to std::terminate

2021-12-04 Thread foom at fuhm dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55918 --- Comment #6 from James Y Knight --- I realize that my suggestion above could only solve _most_ of the problem -- e.g. the original example, where the noexcept function doesn't have a try/catch in it. In that original example, there's no

[Bug jit/103562] New: Jitted code produces incorrect result when returning 3-member struct from internal function

2021-12-04 Thread andy.pj.hanson at gmail dot com via Gcc-bugs
param_get_a), NULL));`. * Use `GCC_JIT_TYPE_INT` instead of `GCC_JIT_TYPE_LONG`. I've tested this the GCC master branch as of 20211204, and with OpenSUSE's GCC version. My `gcc -v` is: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/home/andy/temp/gccjitrepro2/install/libexec/gcc/x86_

[Bug c++/103561] New: internal compiler error: segmentation fault when using decay copy (auto(x)) inside requires expression

2021-12-04 Thread cooky.ykooc922 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103561 Bug ID: 103561 Summary: internal compiler error: segmentation fault when using decay copy (auto(x)) inside requires expression Product: gcc Version: 12.0 Status:

[Bug libfortran/103560] New: Error: GFC_INTEGER_4 should be available for the library to compile

2021-12-04 Thread brocolis at eml dot cc via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103560 Bug ID: 103560 Summary: Error: GFC_INTEGER_4 should be available for the library to compile Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/15882] Check for return type of overloaded operator new too early

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=15882 --- Comment #14 from Andrew Pinski --- clang gives: :15:1: error: 'operator new' cannot have a dependent return type; use 'void *' instead

[Bug middle-end/103537] Using -fstack-protector-strong "without" optimization cause segmentation fault

2021-12-04 Thread hedayat.fwd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537 --- Comment #7 from Hedayat Vatankhah --- An interesting part of the problem is that following calls: sc2.CallSamplePrivate(); sc2.CallOverloadedPrivate(4); sc2.CallOverloadedPrivate(4.0f); both before and after using MakeFake<>()

[Bug sanitizer/82802] Potential UBSAN error with pointer difference (32-bits mode)

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82802 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Status|NEW

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 49730, which changed state. Bug 49730 Summary: loop not vectorized if inside another loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49730 What|Removed |Added

[Bug tree-optimization/49730] loop not vectorized if inside another loop

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49730 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.0 Resolution|---

[Bug middle-end/103537] Using -fstack-protector-strong "without" optimization cause segmentation fault

2021-12-04 Thread hedayat.fwd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537 Hedayat Vatankhah changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug middle-end/103537] Using -fstack-protector-strong "without" optimization cause segmentation fault

2021-12-04 Thread hedayat.fwd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537 --- Comment #5 from Hedayat Vatankhah --- Oops, maybe I'm wrong. I forgot that I've also wrapped SampleClass::SamplePrivate, so let me investigate further. Sorry for the inconvenience.

[Bug middle-end/103537] Using -fstack-protector-strong "without" optimization cause segmentation fault

2021-12-04 Thread hedayat.fwd at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103537 --- Comment #4 from Hedayat Vatankhah --- Well, sorry if I should gave more logs to make it more clear. Note that the crash happens here: https://github.com/hedayat/powerfake/blob/a4c80d6628816656796d2e85b4422218da05ce00/powerfake.h#L257 And

[Bug tree-optimization/103542] [10/11/12 Regregression] bogus -Warray-bounds while index is limited by switch/case

2021-12-04 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103542 Martin Sebor changed: What|Removed |Added Keywords||missed-optimization Blocks|

[Bug target/103554] -mavx generates worse code on scalar code

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103554 --- Comment #1 from Andrew Pinski --- This is SLP happening, I thought I have seen this issue before.

[Bug fortran/102787] ICE in new test case gfortran.dg/reshape_shape_2.f90

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102787 --- Comment #13 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:217d8bf22b148ebe52456a4bccfe9d725e7c68e9 commit r11-9359-g217d8bf22b148ebe52456a4bccfe9d725e7c68e9 Author: Harald Anlauf

[Bug fortran/102717] ICE in gfc_simplify_reshape, at fortran/simplify.c:6843

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102717 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:6fa3c73e88ccbb6fffb4169bcab830fc3f4f3c9a commit r11-9358-g6fa3c73e88ccbb6fffb4169bcab830fc3f4f3c9a Author: Harald Anlauf

[Bug c++/103555] out-of-line definition of class template method fails in the presence of type named the same as template argument

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103555 --- Comment #3 from Andrew Pinski --- DR 1200 seems like in this area. http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1200 But there is a still an open defect report which mentions searching base classes before template

[Bug c++/103555] out-of-line definition of class template method fails in the presence of type named the same as template argument

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103555 --- Comment #2 from Andrew Pinski --- Both ICC and MSVC reject it in the same way GCC rejects it so I am 99% sure that there is either a defect report against the C++ standard or

[Bug fortran/103411] ICE in gfc_conv_array_initializer, at fortran/trans-array.c:6377

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103411 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9d7add04d97cf7ac8e20cc8645c3c4173697d4ca commit r11-9357-g9d7add04d97cf7ac8e20cc8645c3c4173697d4ca Author: Harald Anlauf

[Bug c++/103555] out-of-line definition of class template method fails in the presence of type named the same as template argument

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103555 --- Comment #1 from Andrew Pinski --- My bet is http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1787r6.html describes the problem and the solution to the issue here.

[Bug target/103463] [12 Regression] ICE: in ix86_attr_length_immediate_default, at config/i386/i386.c:16686 with -Os -fno-tree-dominator-opts -fno-tree-vrp

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

[Bug target/103557] [12 regression] ICE on tpm2-tss-3.0.3: during RTL pass: sched2: SIGSEGV in memory_operand()

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

[Bug fortran/103473] [11/12 Regression] ICE in simplify_minmaxloc_nodim, at fortran/simplify.c:5287

2021-12-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103473 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

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

[Bug c++/82270] incorrect warning [-Wignored-attributes]

2021-12-04 Thread paul.groke at dynatrace dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82270 Paul Groke changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 --- Comment #3 from Andrew Pinski --- Also with -fno-trapping-math GCC is able to remove if even for < case.

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 --- Comment #2 from Andrew Pinski --- Oh it is because you are using the wrong test. Try: if (isless (x, 0)) __builtin_unreachable(); And yes there is a difference.

[Bug fortran/103473] [11/12 Regression] ICE in simplify_minmaxloc_nodim, at fortran/simplify.c:5287

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103473 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:3c1bcaa6224f79c6532dca28ebc7b466acbbc468 commit r11-9356-g3c1bcaa6224f79c6532dca28ebc7b466acbbc468 Author: Harald Anlauf

[Bug fortran/103505] ICE in compare_bound_mpz_t, at fortran/resolve.c:4587 since r8-7594-g078c5aff5ed83e9c

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103505 --- Comment #12 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:9e9c674dfc6fae8f967341759699b4d75943d256 commit r11-9355-g9e9c674dfc6fae8f967341759699b4d75943d256 Author: Harald Anlauf

[Bug fortran/103283] ICE in gfc_trans_array_constructor_subarray, at fortran/trans-array.c:1972

2021-12-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103283 --- Comment #5 from anlauf at gcc dot gnu.org --- I did get some progress with the attempt: diff --git a/gcc/fortran/expr.c b/gcc/fortran/expr.c index 87089321a3b..d5bbcd493b6 100644 --- a/gcc/fortran/expr.c +++ b/gcc/fortran/expr.c @@ -1929,6

[Bug d/103558] perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-04 Thread ibuclaw at gdcproject dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 --- Comment #1 from Iain Buclaw --- Fix is already in upstream, just needs to be merged in. https://github.com/dlang/druntime/pull/3620

[Bug tree-optimization/103559] Can't optimize away < 0 check on sqrt

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 --- Comment #1 from Andrew Pinski --- I think there is another bug about this. Basically right now there is no jump threading done for float comparisons nor any kind of VRP for them either.

[Bug tree-optimization/103559] New: Can't optimize away < 0 check on sqrt

2021-12-04 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103559 Bug ID: 103559 Summary: Can't optimize away < 0 check on sqrt Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/93614] C++ compile error with struct in template class and < operator

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93614 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/93614] C++ compile error with struct in template class and < operator

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93614 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:066b3258bb1494cf3b49b6ac26da38be01f7ad8e commit r12-5794-g066b3258bb1494cf3b49b6ac26da38be01f7ad8e Author: Marek Polacek Date:

[Bug target/103557] [12 regression] ICE on tpm2-tss-3.0.3: during RTL pass: sched2: SIGSEGV in memory_operand()

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103557 --- Comment #1 from Andrew Pinski --- There is a dup of this bug and it might already be fixed.

[Bug target/103557] [12 regression] ICE on tpm2-tss-3.0.3: during RTL pass: sched2: SIGSEGV in memory_operand()

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

[Bug c++/92211] Lamdas in unevaluated context bug

2021-12-04 Thread nsajko at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92211 Neven Sajko changed: What|Removed |Added CC||nsajko at gmail dot com --- Comment #1

[Bug d/103558] New: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read

2021-12-04 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103558 Bug ID: 103558 Summary: perf_event.d:2076:32: error: module 'bitmanip' is in file 'std/bitmanip.d' which cannot be read Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/53431] C++ preprocessor ignores #pragma GCC diagnostic

2021-12-04 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org --- Comment #44

[Bug c++/93614] C++ compile error with struct in template class and < operator

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93614 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug target/103557] New: [12 regression] ICE on tpm2-tss-3.0.3: during RTL pass: sched2: SIGSEGV in memory_operand()

2021-12-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103557 Bug ID: 103557 Summary: [12 regression] ICE on tpm2-tss-3.0.3: during RTL pass: sched2: SIGSEGV in memory_operand() Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug testsuite/103556] New: [12 regression] rop test cases start failing after r12-5780

2021-12-04 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103556 Bug ID: 103556 Summary: [12 regression] rop test cases start failing after r12-5780 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug c++/103555] New: out-of-line definition of class template method fails in the presence of type named the same as template argument

2021-12-04 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103555 Bug ID: 103555 Summary: out-of-line definition of class template method fails in the presence of type named the same as template argument Product: gcc Version:

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2021-12-04 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x

[Bug c++/95009] [9/10/11/12 Regression] decltype of increment or decrement bitfield expressions are wrong and causes assembler errors.

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95009 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug libstdc++/103549] [12 regression] Uninitialized member warning from regex header

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103549 --- Comment #2 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:87710ec7b213245ecb194b778e97ae3a6790394f commit r12-5792-g87710ec7b213245ecb194b778e97ae3a6790394f Author: Jonathan Wakely

[Bug pch/71934] pch cannot be disabled so gcc cannot be position independent

2021-12-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71934 --- Comment #17 from Jakub Jelinek --- Created attachment 51926 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51926=edit gcc12-pr71934-reloc-wip.patch Completely untested patch to perform PCH relocation. Due to nested_ptr unfortunately

[Bug target/103554] New: -mavx generates worse code on scalar code

2021-12-04 Thread avi at scylladb dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103554 Bug ID: 103554 Summary: -mavx generates worse code on scalar code Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/84196] invalid call to a function template with a vector argument silently accepted

2021-12-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84196 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/93614] C++ compile error with struct in template class and < operator

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

[Bug c++/103553] Show what decltype deduced in static_assert

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103553 Marek Polacek changed: What|Removed |Added Severity|normal |enhancement

[Bug c++/103553] New: Show what decltype deduced in static_assert

2021-12-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103553 Bug ID: 103553 Summary: Show what decltype deduced in static_assert Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-04 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #10 from cqwrteur --- (In reply to Roger Sayle from comment #9) > Note adding -fno-tree-reassoc results in fewer instructions than clang. maybe I am a little bit picky since I keep writing "portable assembly code" with C++. I just

[Bug c++/103552] Compile-time comparison of subobject and parent class

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

[Bug c++/59238] Dynamic allocating a list-initialized object of a type with private destructor fails.

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

[Bug c++/87066] new expression and potential destructor invokation

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87066 Andrew Pinski changed: What|Removed |Added Keywords|rejects-valid | --- Comment #4 from Andrew Pinski ---

[Bug c++/103552] New: Compile-time comparison of subobject and parent class

2021-12-04 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103552 Bug ID: 103552 Summary: Compile-time comparison of subobject and parent class Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/59238] Dynamic allocating a list-initialized object of a type with private destructor fails.

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59238 Andrew Pinski changed: What|Removed |Added Depends on||57082 --- Comment #7 from Andrew Pinski

[Bug c++/87066] new expression and potential destructor invokation

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87066 --- Comment #3 from Andrew Pinski --- Hmm, since GCC 11, the example in comment #0 is accepted.

[Bug c++/87275] unsequenced writes not diagnosed in constant expression

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

[Bug c++/102174] Unused result of undefined behavior arithmetic is accepted during constant evaluation

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

[Bug target/103269] Enable ZMM in MOVE_MAX and STORE_MAX_PIECES without -mprefer-vector-width=512

2021-12-04 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103269 H.J. Lu changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug c++/59795] [DR1837] Invalid use of "this" in a local class not diagnosed

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59795 Andrew Pinski changed: What|Removed |Added Blocks||98939 Alias|

[Bug c++/58184] Pointer to overloaded function is non-deduced context

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58184 --- Comment #3 from Andrew Pinski --- Note both ICC and MSVC accept the attached example.

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 --- Comment #9 from Roger Sayle --- Note adding -fno-tree-reassoc results in fewer instructions than clang.

[Bug c++/12567] [Core/253] g++ fails to recognize ill-formed-ness of initializers

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12567 Andrew Pinski changed: What|Removed |Added Status|SUSPENDED |NEW --- Comment #4 from Andrew Pinski

[Bug c++/57] [DR 325] GCC can't parse a non-parenthesized comma in a template-id within a default argument

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57 --- Comment #49 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #48) > No, as previously stated, it's suspended until the Core issue is resolved > and the standard is changed. > > https://wg21.link/cwg325 Some news on that front

[Bug c++/98939] [C++23] Implement P1787R6 "Declarations and where to find them"

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98939 Bug 98939 depends on bug 12228, which changed state. Bug 12228 Summary: [DR 244/399] syntax error calling a qualified template dtor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12228 What|Removed |Added

[Bug c++/94404] [meta-bug] C++ core issues

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 12228, which changed state. Bug 12228 Summary: [DR 244/399] syntax error calling a qualified template dtor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12228 What|Removed |Added

[Bug c++/12228] [DR 244/399] syntax error calling a qualified template dtor

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12228 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug rtl-optimization/103550] 2 more instructions generated by gcc than clang

2021-12-04 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103550 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com ---

[Bug c++/13590] [DR39] Non-existing ambiguity when inheriting through virtuals two identical using declarations.

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

[Bug c++/91768] gcc try to resolve member of dependent type too soon

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91768 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0 Resolution|---

[Bug preprocessor/102432] [11/12 Regression] ICE in _cpp_lex_direct with function like macro without arguments within "pragma omp" statement

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

[Bug preprocessor/102432] [11/12 Regression] ICE in _cpp_lex_direct with function like macro without arguments within "pragma omp" statement

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2fdef526a3a8cb4a6f89852979c7ca6437b994f3 commit r11-9354-g2fdef526a3a8cb4a6f89852979c7ca6437b994f3 Author: Jakub Jelinek

[Bug preprocessor/102432] [11/12 Regression] ICE in _cpp_lex_direct with function like macro without arguments within "pragma omp" statement

2021-12-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102432 --- Comment #7 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:55dfce4d5cb4a366ced7e1194a1c7f04389e3087 commit r12-5788-g55dfce4d5cb4a366ced7e1194a1c7f04389e3087 Author: Jakub Jelinek Date:

[Bug c++/81609] incompatible extern C declarations of the same extern function at local scope accepted

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

[Bug tree-optimization/103551] [12 Regression] wrong code with -O1 -fno-tree-dominator-opts -ftree-vectorize -ftree-vrp

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

[Bug tree-optimization/103551] [12 Regression] wrong code with -O1 -fno-tree-dominator-opts -ftree-vectorize -ftree-vrp

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

[Bug c++/32042] linkage confused with scope?

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32042 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0 Status|NEW

[Bug c++/91075] Wrong code generated for static variable with local redeclaration

2021-12-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91075 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #3 from

[Bug tree-optimization/103551] New: [12 Regression] wrong code with -O1 -fno-tree-dominator-opts -ftree-vectorize -ftree-vrp

2021-12-04 Thread zsojka at seznam dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103551 Bug ID: 103551 Summary: [12 Regression] wrong code with -O1 -fno-tree-dominator-opts -ftree-vectorize -ftree-vrp Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug c++/82204] G++ doesn't connect friend and extern declarations

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