[Bug libgcc/109270] New: ssp/ssp.h should be adapted to use __builtin_dynamic_object_size()

2023-03-23 Thread arthur200126 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109270 Bug ID: 109270 Summary: ssp/ssp.h should be adapted to use __builtin_dynamic_object_size() Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c/109269] [sve] should check the upper bound for predicate sve

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109269 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |--- Status|RESOLVED

[Bug c/109269] [sve] should check the upper bound for predicate sve

2023-03-23 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109269 --- Comment #3 from vfdff --- * test: https://gcc.godbolt.org/z/5s4Wbs466 ``` void mset (int *a, int num) { for (int i=0; i< num; i++) a[i] = 2; } ``` * the issue is still exist with int type as we use 32-bits register? . see detail on

[Bug c/109269] [sve] should check the upper bound for predicate sve

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

[Bug c/109269] [sve] should check the upper bound for predicate sve

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109269 --- Comment #1 from Andrew Pinski --- That would be undefined code as the largest array is 63bits.

[Bug c/109269] New: [sve] should check the upper bound for predicate sve

2023-03-23 Thread zhongyunde at huawei dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109269 Bug ID: 109269 Summary: [sve] should check the upper bound for predicate sve Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/103628] ICE: Segmentation fault (in gfc_conv_tree_to_mpfr)

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103628 --- Comment #6 from CVS Commits --- The master branch has been updated by HaoChen Gui : https://gcc.gnu.org/g:3b67db31236631432e7f6d74ed49af9ae2183a4d commit r13-6843-g3b67db31236631432e7f6d74ed49af9ae2183a4d Author: Haochen Gui Date: Fri

[Bug c++/109268] Guard variable still provided for static constinit variable

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109268 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/109268] Guard variable still provided for static constinit variable

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

[Bug c++/109268] New: Guard variable still provided for static constinit variable

2023-03-23 Thread barry.revzin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109268 Bug ID: 109268 Summary: Guard variable still provided for static constinit variable Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/109267] -Og generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/109267] -Og generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

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

[Bug c++/109267] -Og generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c++/109267] New: -Og generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions

2023-03-23 Thread i at maskray dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267 Bug ID: 109267 Summary: -Og generates empty functions with .cfi_startproc/.cfi_endproc that conflict with other functions Product: gcc Version: unknown

[Bug tree-optimization/108915] invalid pointer access preserved in optimized code

2023-03-23 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108915 --- Comment #6 from AK --- For reference, I had opened a related bug in clang: https://github.com/llvm/llvm-project/issues/60967

[Bug analyzer/109266] New: Wanalyzer-null-dereference does not warn when struct is at null

2023-03-23 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109266 Bug ID: 109266 Summary: Wanalyzer-null-dereference does not warn when struct is at null Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug c++/105481] [10/11/12/13 Regression] ICE: unexpected expression of kind template_parm_index

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/105996] [10/11/12/13 Regression] reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:c4792bd1de0621932a47fb86aca09fafafdb2972 commit r13-6840-gc4792bd1de0621932a47fb86aca09fafafdb2972 Author: Jason Merrill Date:

[Bug c++/105996] [10/11/12/13 Regression] reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 Jason Merrill changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jason at gcc dot gnu.org

[Bug c++/109260] -fdump-ada-spec does not support C++ namespaces

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109260 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gnat_ugn/Interfacing-with-C_002b_002b-at-the-Class-Level.html#Interfacing-with-C_002b_002b-at-the-Class-Level

[Bug c++/109260] -fdump-ada-spec does not support C++ namespaces

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109260 --- Comment #1 from Andrew Pinski --- https://gcc.gnu.org/onlinedocs/gnat_ugn/Generating-Bindings-for-C_002b_002b-Headers.html#Generating-Bindings-for-C_002b_002b-Headers

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 --- Comment #7 from Jason Merrill --- Created attachment 54739 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54739=edit possible patch An implementation of my guess at the clang rule, if we end up wanting to go that way.

[Bug c++/107163] [10/11/12/13 Regression] huge Compile time increase when using templated base classes, virtual method, and Wall since r10-2823-g6a07489267e55084

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107163 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug middle-end/21161] [10/11/12/13 Regression] "clobbered by longjmp" warning ignores the data flow

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21161 --- Comment #25 from Andrew Pinski --- (In reply to Peter Bergner from comment #14) For the testcase in comment #14, we don't get a warning since GCC 7 but the original testcase we still get a warning on the trunk. I have not looked into why

[Bug middle-end/109265] [13 Regression] ICE for 527.cam4_r after r13-6787-g0963cb5fde158c

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109265 Andrew Pinski changed: What|Removed |Added Summary|ICE for 527.cam4_r after|[13 Regression] ICE for

[Bug tree-optimization/109238] [13 Regression] tst-realloc.i:42:19: error: pointer ‘p’ may be used after ‘realloc’ [-Werror=use-after-free] in glibc tests

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109238 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug libstdc++/103387] powerpc64le: segmentation fault on std::cout with ieee128 long double variable

2023-03-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103387 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug c++/105229] [11/12/13 Regression] ICE in lookup_template_class_1, at cp/pt.cc:10111

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105229 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to fail|

[Bug target/100955] varargs causes extra stores to/from stack

2023-03-23 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100955 Xi Ruoyao changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|SUSPENDED Priority|P1

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Jason Merrill changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/108961] Segfault when associating to pointer from C_F_POINTER

2023-03-23 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108961 Paul Thomas changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug lto/109263] [10/11/12/13 Regression] '-g0 -ggdb -flto' gives linker error

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109263 Andrew Pinski changed: What|Removed |Added Summary|'-g0 -ggdb -flto' gives |[10/11/12/13 Regression]

[Bug target/109137] [12 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2023-03-23 Summary|[12/13

[Bug tree-optimization/101150] [11/12/13 Regression] null pointer dereference false positive disappears when compiling an additional function

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101150 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection Known to work|

[Bug tree-optimization/99739] [11/12 Regression] missing optimization of a repeated conditional

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

[Bug tree-optimization/99739] [11/12 Regression] missing optimization of a repeated conditional

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99739 Andrew Pinski changed: What|Removed |Added Known to work||13.0 Keywords|

[Bug tree-optimization/109238] [13 Regression] tst-realloc.i:42:19: error: pointer ‘p’ may be used after ‘realloc’ [-Werror=use-after-free] in glibc tests

2023-03-23 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109238 --- Comment #6 from Andrew Macleod --- Created attachment 54738 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54738=edit Patch to fix the issue Ah, sorry I missed that. OK, I traced it through. The problem turns out to be in the

[Bug c++/96437] [10/11/12 Regression] ICE in tree check: expected tree that contains ‘decl common’ structure, have ‘error_mark’ in synthesize_implicit_template_parm, at cp/parser.c:44246

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96437 Andrew Pinski changed: What|Removed |Added CC||hewillk at gmail dot com --- Comment #6

[Bug c++/99659] [10/11/12/13 Regression] internal compiler error: tree check: expected tree that contains 'decl common' structure, have 'error_mark' in synthesize_implicit_template_parm, at cp/parser.

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

[Bug c/84900] [10/11/12/13 Regression] cast of compound literal does not cause the code to become a non-lvalue

2023-03-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84900 Andrew Pinski changed: What|Removed |Added Target Milestone|10.5|13.0 Status|ASSIGNED

[Bug c/84900] [10/11/12/13 Regression] cast of compound literal does not cause the code to become a non-lvalue

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84900 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:80ed2a6471a39dd95192a334789fd63d5efd2e8a commit r13-6836-g80ed2a6471a39dd95192a334789fd63d5efd2e8a Author: Andrew Pinski Date:

[Bug middle-end/109265] ICE for 527.cam4_r after r13-6787-g0963cb5fde158c

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109265 --- Comment #1 from Jakub Jelinek --- I think one way is to include all the needed modules by hand into the same *.f90 source (for each module, find in which source file it is defined and copy the module ... end module stuff) and repeat until

[Bug target/109254] Bug in gcc (13.0.1) support for ARM SVE, which randomly modifies the prediction register

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109254 --- Comment #4 from Jakub Jelinek --- And --- gcc/config/aarch64/aarch64.cc.jj2023-03-13 00:11:52.328213351 +0100 +++ gcc/config/aarch64/aarch64.cc 2023-03-23 16:57:29.957866005 +0100 @@ -7388,6 +7388,9 @@

[Bug modula2/109264] Compiler hangs trying to resolve opaque type

2023-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109264 Gaius Mulley changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug modula2/109264] Compiler hangs trying to resolve opaque type

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109264 --- Comment #3 from CVS Commits --- The master branch has been updated by Gaius Mulley : https://gcc.gnu.org/g:5ededfa5b23781c3be6fcf6bb373418aa8bd6541 commit r13-6835-g5ededfa5b23781c3be6fcf6bb373418aa8bd6541 Author: Gaius Mulley Date:

[Bug target/109257] `-masm=intel` generates weird syntax for indirect jumps

2023-03-23 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109257 --- Comment #5 from LIU Hao --- (In reply to jbeulich from comment #4) > Being as compatible as possible with MASM has been the primary goal of > supporting Intel syntax. Intel's SDM doesn't specify complete assembly > language; it serves as a

[Bug target/104713] gcc does not reject -march=i686 -fcf-protection

2023-03-23 Thread jay+ggcc--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104713 --- Comment #8 from James Addison --- (In reply to James Addison from comment #7) > (In reply to Adrian Bunk from comment #6) > > (In reply to James Addison from comment #5) > > > Could the findings indicate that there are two bugs here? > > >

[Bug target/109257] `-masm=intel` generates weird syntax for indirect jumps

2023-03-23 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109257 --- Comment #4 from jbeulich at suse dot com --- (In reply to LIU Hao from comment #3) > (In reply to jbeulich from comment #2) > > Sure, but there's no reason for gas to not accept what MASM would. You also > > don't really make clear why you

[Bug target/109137] [12/13 regression] Compiling ffmpeg with -m32 on x86_64-pc-linux-gnu hangs on libavcodec/h264_cabac.c since r12-9086-g489c81db7d4f75

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596

2023-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 --- Comment #50 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:41ade3399bd1ec9927be1bb818965831232eda4b commit r13-6834-g41ade3399bd1ec9927be1bb818965831232eda4b Author: Richard Biener Date:

[Bug target/109257] `-masm=intel` generates weird syntax for indirect jumps

2023-03-23 Thread lh_mouse at 126 dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109257 --- Comment #3 from LIU Hao --- (In reply to jbeulich from comment #2) > Sure, but there's no reason for gas to not accept what MASM would. You also > don't really make clear why you think this is an issue, and hence why it > should be changed

[Bug target/109253] libbpf: failed to find BTF info for global/extern symbol '__divdi3'

2023-03-23 Thread david.faust at oracle dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109253 --- Comment #1 from David Faust --- See: https://gcc.gnu.org/pipermail/gcc-patches/2022-December/608152.html Also related as Andrew pointed out in the above thread: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48783

[Bug target/109254] Bug in gcc (13.0.1) support for ARM SVE, which randomly modifies the prediction register

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109254 --- Comment #3 from Jakub Jelinek --- 2023-03-23 Jakub Jelinek PR target/109254 * config/aarch64/aarch64.cc (aarch64_function_arg_regno_p): Also return true for p0-p3. --- gcc/config/aarch64/aarch64.cc.jj

[Bug lto/109263] '-g0 -ggdb -flto' gives linker error

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

[Bug target/108927] error: too few arguments to function 'long unsigned int __riscv_vsetvlmax_e8mf8(void)'

2023-03-23 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108927 Mathieu Malaterre changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug middle-end/109265] New: ICE for 527.cam4_r after r13-6787-g0963cb5fde158c

2023-03-23 Thread stefansf at linux dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109265 Bug ID: 109265 Summary: ICE for 527.cam4_r after r13-6787-g0963cb5fde158c Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/109257] `-masm=intel` generates weird syntax for indirect jumps

2023-03-23 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109257 --- Comment #2 from jbeulich at suse dot com --- (In reply to LIU Hao from comment #0) > ptc_to_foo: > jmp [QWORD PTR foo[rip]] > ``` > > The outer pair of brackets are superfluous. Sure, but there's no reason for gas to not accept

[Bug modula2/109264] Compiler hangs trying to resolve opaque type

2023-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109264 --- Comment #2 from Gaius Mulley --- Created attachment 54737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54737=edit Proposed fix

[Bug modula2/109264] Compiler hangs trying to resolve opaque type

2023-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109264 Gaius Mulley changed: What|Removed |Added Last reconfirmed||2023-03-23

[Bug modula2/109264] New: Compiler hangs trying to resolve opaque type

2023-03-23 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109264 Bug ID: 109264 Summary: Compiler hangs trying to resolve opaque type Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/109262] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block) since r13-6624

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:25979b6761516b9039004385e08141e0925e1a17 commit r13-6833-g25979b6761516b9039004385e08141e0925e1a17 Author: Richard Biener Date:

[Bug tree-optimization/109262] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block) since r13-6624

2023-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-23 Thread gcc-bugzilla at al42and dot me via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #29 from Andrey Alekseenko --- > it seems like we should treat *any* class with a reference member as a > reference wrapper. And any class with a pointer, I suspect. This is a reduced/simplified example from our codebase still

[Bug target/65010] ppc backend generates unnecessary signed extension

2023-03-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65010 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org Last

[Bug lto/109263] '-g0 -ggdb -flto' gives linker error

2023-03-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109263 Martin Liška changed: What|Removed |Added Last reconfirmed||2023-03-23 CC|

[Bug lto/109263] New: '-g0 -ggdb -flto' gives linker error

2023-03-23 Thread lukeocamden at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109263 Bug ID: 109263 Summary: '-g0 -ggdb -flto' gives linker error Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto

[Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458

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

[Bug tree-optimization/109262] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block) since r13-6624

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

[Bug target/109254] Bug in gcc (13.0.1) support for ARM SVE, which randomly modifies the prediction register

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109254 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 --- Comment #49 from Jakub Jelinek --- Does the has_zero_uses patch work for this? As there is both: _4 = _6 u> 1.79769313486231570814527423731704356798070567525844996599e+308; _8 = ~_4; and _8 has_zero_uses while _4 has uses but all are

[Bug tree-optimization/109262] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block)

2023-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-03-23

[Bug tree-optimization/109262] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block)

2023-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262 Richard Biener changed: What|Removed |Added Keywords||needs-bisection Target

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 --- Comment #4 from Patrick Palka --- (In reply to Patrick Palka from comment #3) > PR84849 seems related, especially the comment #5 testcase from ensadc: > > template > struct in_place_type_t { explicit in_place_type_t() = default; }; > >

[Bug middle-end/41742] Unnecessary zero-extension at -O2 but not -O1

2023-03-23 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41742 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org --- Comment

[Bug tree-optimization/107569] [13 Regression] Failure to optimize std::isfinite since r13-3596

2023-03-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107569 --- Comment #48 from Richard Biener --- So instead of an extra DCE pass one could try harder to not leave around dead code after folding, for example with the following (doesn't fix the testcase yet, all the custom folding code would need

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-03-23 Thread broonie at kernel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 --- Comment #8 from Mark Brown --- Note that the issue was found in the Linux kernel - we were expecting to see the BTI Cs there, it's certainly a lot simpler to work with.

[Bug c++/106040] gcc reports error in aggregate when member has explicit constructor

2023-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106040 Patrick Palka changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/91319] Designated initializer doesn't support direct-initialization

2023-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91319 Patrick Palka changed: What|Removed |Added CC||ldalessandro at gmail dot com ---

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

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

[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

2023-03-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107532 --- Comment #27 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:59bfdd5f467292a368d0d628084a4b65d1bb06bb commit r13-6830-g59bfdd5f467292a368d0d628084a4b65d1bb06bb Author: Marek Polacek Date:

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 --- Comment #2 from Jason Merrill --- No templates (so it's ambiguous, but the problem is the same): struct B { int a; }; struct C { explicit C (int); C& operator= (B); C& operator= (const C&); }; void f(C x) { x = { 42 }; }

[Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458

2023-03-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98850 --- Comment #3 from Martin Liška --- Great, what about gcc-12 release? Please close it if it's also fine.

[Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458

2023-03-23 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98850 --- Comment #2 from avieira at gcc dot gnu.org --- I failed to reproduce it with a trunk build of arm-none-linux-gnueabihf.

[Bug target/106671] aarch64: BTI instruction are not inserted for cross-section direct calls

2023-03-23 Thread nsz at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106671 nsz at gcc dot gnu.org changed: What|Removed |Added CC||nsz at gcc dot gnu.org

[Bug target/98850] ICE in expand_debug_locations, at cfgexpand.c:5458

2023-03-23 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98850 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug tree-optimization/109262] [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block)

2023-03-23 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262 --- Comment #1 from Arseny Solokha --- Sadly, this is likely my final GCC PR, at least for the foreseeable future. I would like to thank all GCC contributors, past and present, for their tireless effort of keeping GCC going. It was a real joy

[Bug tree-optimization/109262] New: [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block)

2023-03-23 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109262 Bug ID: 109262 Summary: [13 Regression] ICE: verify_gimple failed (error: statement marked for throw in middle of block) Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-23 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #16 from Jakub Jelinek --- > Used > PATH=/export/home/jakub/gcc-11-inst/bin:$PATH > LD_LIBRARY_PATH=/export/home/jakub/gcc-11-inst/lib/ CC='gcc >

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-23 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #18 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #15 from Jakub Jelinek --- > So, after installing gcc 11 I've tried [...] > Undefined first referenced > symbol in

[Bug d/109231] [13 regression] Comparison failure in libphobos/libdruntime/rt/util/typeinfo.o

2023-03-23 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 --- Comment #17 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #12 from Jakub Jelinek --- > BTW, I have also backported the r13-6739 commit to 12 branch in r12-9293, does > that branch fail to bootstrap too? I usually try the

[Bug c++/109247] [13 Regression] optional o; o = {x}; wants to use explicit optional(U) constructor since r13-6765-ga226590fefb35ed6

2023-03-23 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org

[Bug target/109257] `-masm=intel` generates weird syntax for indirect jumps

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109257 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com,

[Bug middle-end/109258] [13 Regression] go.test/test/fixedbugs/bug207.go ICEs

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109258 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/109258] [13 Regression] go.test/test/fixedbugs/bug207.go ICEs

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109258 --- Comment #5 from Jakub Jelinek --- Or we could fix the go FE to make memcmp properly pure: 2023-03-23 Jakub Jelinek PR middle-end/109258 * go-gcc.cc (Gcc_backend): Add new static data member builtin_pure.

[Bug ipa/108959] [13 Regression] ice in modify_assignment, at ipa-param-manipulation.cc:1905 since r13-5681-ge8109bd87766be

2023-03-23 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108959 --- Comment #8 from Martin Jambor --- I have proposed a fix on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2023-March/614475.html

[Bug middle-end/109258] [13 Regression] go.test/test/fixedbugs/bug207.go ICEs

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109258 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | --- Comment #4 from Jakub Jelinek

[Bug middle-end/109258] [13 Regression] go.test/test/fixedbugs/bug207.go ICEs

2023-03-23 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109258 --- Comment #3 from Jakub Jelinek --- I'm pretty sure it is r13-6690-g45641f3a99281bb0a4296 because that's where the ICE is.

  1   2   >