[Bug c/93573] [11/12/13/14 Regression] internal compiler error: in force_constant_size, at gimplify.c:733

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93573 --- Comment #14 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #13) > Hmm, is the testcase in comment #4 a regression though? It ICEs even in the > same way in GCC 4.1.2 all the way to the trunk including GCC 7.3.0. It is. gcc

[Bug target/113711] APX instruction set and instructions longer than 15 bytes (assembly warning)

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113711 --- Comment #11 from GCC Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:5a9a9bd415ed1d211e00990226b90199407b3448 commit r14-9078-g5a9a9bd415ed1d211e00990226b90199407b3448 Author: liuhongt Date: Mon

[Bug c/93573] [11/12/13/14 Regression] internal compiler error: in force_constant_size, at gimplify.c:733

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93573 --- Comment #13 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #6) > Fixed the error-recovery bug on the trunk, but the ice on the #c4 testcase > is still there (and the question is if it is valid or not). If it is valid, >

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #15 from Richard Biener --- (In reply to Jakub Jelinek from comment #14) > --- gcc/gimple-fold.cc.jj 2024-02-06 12:59:58.343050621 +0100 > +++ gcc/gimple-fold.cc2024-02-19 19:48:11.162126759 +0100 > @@ -995,9 +995,27 @@

[Bug c++/90659] [11/12/13/14 Regression] ICE in tree_to_uhwi, at tree.h:4352/7291

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90659 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #13 from

[Bug target/84757] [11/12/13/14 Regression] Useless MOVs and PUSHes to store results of MUL

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84757 --- Comment #13 from Andrew Pinski --- I hear that the RISCV folks are going to implementing subreg handling in RA for GCC 15, though I am not sure if that will fix this though but we will see.

[Bug target/43613] Some architecture-dependent codes

2024-02-19 Thread aflyhorse at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43613 Chen Chen changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2024-02-19 Thread de34 at live dot cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 --- Comment #8 from Jiang An --- (In reply to Giuseppe D'Angelo from comment #7) > Hi, > > > Note that this example adds a mediate function template > > (test_array_element_initializable) to "reduce" the non-constexpr-ness of > >

[Bug c++/114005] New: Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules

2024-02-19 Thread eddiejnolan at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114005 Bug ID: 114005 Summary: Constructing a constexpr std::initializer_list ICEs GCC when using C++ modules Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug target/114004] GCC emits a superfluous instruction for simple test case on ppc

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114004 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-02-20

[Bug target/114004] New: GCC emits a superfluous instruction for simple test case on ppc

2024-02-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
.byte 0,0,0,0,0,0,0,0 .cfi_endproc .LFE0: .size rot,.-rot .ident "GCC: (GNU) 14.0.1 20240219 (experimental) [remotes/origin/HEAD r14-9074-gd70facd54a]" .section.note.GNU-stack,"",@progbits

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113993 --- Comment #6 from Jakub Jelinek --- Following is much shorter: --- gcc/tree-call-cdce.cc.jj2024-01-03 11:51:37.654646209 +0100 +++ gcc/tree-call-cdce.cc 2024-02-20 01:04:42.896987568 +0100 @@ -677,14 +677,14 @@

[Bug target/113994] Probable C++ code generation bug with -O2 on s390x platform

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113993 --- Comment #5 from Jakub Jelinek --- (In reply to Andrew Pinski from comment #4) > (In reply to Jakub Jelinek from comment #3) > > Created attachment 57467 [details] > > gcc14-pr113993-wip.patch > > > > WIP patch. > > I know this might be a

[Bug libstdc++/113060] std::variant converting constructor/assignment is non-conforming after P2280?

2024-02-19 Thread dangelog at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113060 --- Comment #7 from Giuseppe D'Angelo --- Hi, > Note that this example adds a mediate function template > (test_array_element_initializable) to "reduce" the non-constexpr-ness of > std::declval. That's very clever, thank you! Is it

[Bug target/113994] Probable C++ code generation bug with -O2 on s390x platform

2024-02-19 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 Xi Ruoyao changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113993 --- Comment #4 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #3) > Created attachment 57467 [details] > gcc14-pr113993-wip.patch > > WIP patch. I know this might be a stupid question but I notice this handles 96 and 128bit

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

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

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113993 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug analyzer/111289] [13 Regression] Unwarranted -Wanalyzer-va-arg-type-mismatch warning

2024-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289 David Malcolm changed: What|Removed |Added Summary|[13/14 Regression] |[13 Regression] Unwarranted

[Bug analyzer/110520] -Wanalyzer-null-dereference false negative with `*ptr = 10086`

2024-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110520 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/111289] [13/14 Regression] Unwarranted -Wanalyzer-va-arg-type-mismatch warning

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111289 --- Comment #2 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:5651ad62b08096a155a7e394c7494f5ff1c04f4f commit r14-9076-g5651ad62b08096a155a7e394c7494f5ff1c04f4f Author: David Malcolm Date:

[Bug analyzer/110520] -Wanalyzer-null-dereference false negative with `*ptr = 10086`

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110520 --- Comment #3 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:eb37ea529745c38dcf86c3cdbedb66df69ea9e35 commit r14-9075-geb37ea529745c38dcf86c3cdbedb66df69ea9e35 Author: David Malcolm Date:

[Bug target/113986] [14 regression] Build failure on aarch64-linux-musl or if ifunc support is disabled (error: 'export_load_16' aliased to undefined symbol 'libat_load_16')

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113986 --- Comment #3 from Andrew Pinski --- (In reply to Wilco from comment #2) > Confirmed. I never heard about that config - at the time I tried it on an > old system with GCC4.8 and that built and passed all tests. I can't see a > reason to ever

[Bug target/113986] [14 regression] Build failure on aarch64-linux-musl or if ifunc support is disabled (error: 'export_load_16' aliased to undefined symbol 'libat_load_16')

2024-02-19 Thread wilco at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113986 Wilco changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wilco at gcc dot gnu.org --- Comment #2

[Bug target/112103] [14 regression] gcc.target/powerpc/rlwinm-0.c fails after r14-4941-gd1bb9569d70304

2024-02-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112103 Peter Bergner changed: What|Removed |Added URL||https://gcc.gnu.org/piperma

[Bug target/112103] [14 regression] gcc.target/powerpc/rlwinm-0.c fails after r14-4941-gd1bb9569d70304

2024-02-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112103 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org

[Bug tree-optimization/113993] ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113993 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Last

[Bug target/113995] ICE: in change_address_1, at emit-rtl.cc:2299 with [[arm::streaming_compatible]] and -march=armv9-a+sve -finstrument-functions -fstack-clash-protection

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

[Bug target/112103] [14 regression] gcc.target/powerpc/rlwinm-0.c fails after r14-4941-gd1bb9569d70304

2024-02-19 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112103 --- Comment #5 from Peter Bergner --- (In reply to Jakub Jelinek from comment #4) > So, let's just adjust the testcase then? We still want to remove the superfluous instruction, but that should be covered in a separate bug. So yeah, I think

[Bug ipa/113996] [11/12/13/14 Regression] ICE with LTO at -O2 and above with some Ada code

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Andrew Pinski changed: What|Removed |Added Keywords||ice-on-valid-code Known to work|

[Bug ipa/105250] ICE: in fold_convert_loc, at fold-const.cc:2581 with conflicting function redeclaration

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105250 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug tree-optimization/114003] New: Missing MIN/MAX

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114003 Bug ID: 114003 Summary: Missing MIN/MAX Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3

[Bug analyzer/113983] [14 Regression] ICE: tree check: expected integer_cst, have vector_cst in maybe_undo_optimize_bit_field_compare, at analyzer/region-model-manager.cc:606 with -fanalyzer

2024-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113983 --- Comment #5 from David Malcolm --- (In reply to Andrew Pinski from comment #4) > Fixed. Thanks!

[Bug analyzer/113983] [14 Regression] ICE: tree check: expected integer_cst, have vector_cst in maybe_undo_optimize_bit_field_compare, at analyzer/region-model-manager.cc:606 with -fanalyzer

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113983 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/113983] [14 Regression] ICE: tree check: expected integer_cst, have vector_cst in maybe_undo_optimize_bit_field_compare, at analyzer/region-model-manager.cc:606 with -fanalyzer

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113983 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d70facd54a576faca1bfba96e92e1475e0da22a3 commit r14-9074-gd70facd54a576faca1bfba96e92e1475e0da22a3 Author: Andrew Pinski Date:

[Bug fortran/114002] New: [OpenACC][OpenACC 3.3] Add 'acc_attach'/'acc_detach' routine

2024-02-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114002 Bug ID: 114002 Summary: [OpenACC][OpenACC 3.3] Add 'acc_attach'/'acc_detach' routine Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords: openacc

[Bug other/113957] [14 Regression] bad-mapper-1.C hangs on all Darwin.

2024-02-19 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113957 Iain Sandoe changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug fortran/114001] New: is_contiguous considers unlimited polymorphic dummy always as contiguous

2024-02-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114001 Bug ID: 114001 Summary: is_contiguous considers unlimited polymorphic dummy always as contiguous Product: gcc Version: 14.0 Status: UNCONFIRMED Severity:

[Bug target/112397] Two persistent libstdc++ test failures on x86_64-apple-darwin

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112397 --- Comment #11 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:1609fdff16f17ead37666f6d0e801800ee3d04d2 commit r14-9073-g1609fdff16f17ead37666f6d0e801800ee3d04d2 Author: Iain Sandoe Date:

[Bug other/113957] [14 Regression] bad-mapper-1.C hangs on all Darwin.

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113957 --- Comment #3 from GCC Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:20e57660e64eab7c9ef0f2dd25f3088835f8f44f commit r14-9072-g20e57660e64eab7c9ef0f2dd25f3088835f8f44f Author: Iain Sandoe Date:

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #13 from Jakub Jelinek --- Nobody is blocking proper double double evaluation support. But somebody needs to do the work, spend a few weeks on it and submit that. I'm just saying that is highly unlikely. If somebody was really

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #12 from Jonathan Wakely --- Then the maintainers or users of those targets should consider contributing a fix.

[Bug middle-end/19779] IBM 128bit long double format is not constant folded.

2024-02-19 Thread vital.had at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19779 --- Comment #11 from Sergey Fedorov --- (In reply to Jakub Jelinek from comment #7) > Unlikely to be ever fixed, at least Linux has migrated to IEEE quad long > double on powerpc64le. Perhaps several *BSDs and AIX are using IBM format though.

[Bug analyzer/113999] [14 Regression] ICE: in string_cst_has_null_terminator, at analyzer/region-model.cc:3651 with -fanalyzer on gcc.dg/tree-ssa/strncpy-2.c

2024-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113999 David Malcolm changed: What|Removed |Added Last reconfirmed||2024-02-19

[Bug analyzer/113998] [14 Regression] ICE: in get_last_byte_offset, at analyzer/ranges.cc:171 with -fanalyzer and __builtin_strncpy()

2024-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113998 --- Comment #2 from David Malcolm --- Thanks for filing this bug. I'm testing a fix.

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #14 from Jakub Jelinek --- --- gcc/gimple-fold.cc.jj 2024-02-06 12:59:58.343050621 +0100 +++ gcc/gimple-fold.cc 2024-02-19 19:48:11.162126759 +0100 @@ -995,9 +995,27 @@ gimple_fold_builtin_memory_op (gimple_st

[Bug fortran/113997] Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 --- Comment #5 from anlauf at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #3) > However, an alternative is the following - which is (nearly) identical, > except that GCC does some GFC-CFC and back conversations – independent >

[Bug target/114000] New: [11/12/13/14 Regression] ICE: in force_nonfallthru_and_redirect, at cfgrtl.cc:1556 with -O2 -freorder-blocks-and-partition -fPIC -mexplicit-relocs

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
linux-gnu-as --disable-multilib --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r14-9062-20240219114159-geb17bdc211a-checking-yes-rtl-df-extra-riscv64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug fortran/113997] Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 --- Comment #4 from anlauf at gcc dot gnu.org --- (In reply to Tobias Burnus from comment #3) > > Anyway, renaming the binding label, like > >subroutine acc_attach_c(x) bind(C, name="acc_attach_renamed") > > makes the code compile. > >

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 --- Comment #10 from Patrick Palka --- (In reply to Jakub Jelinek from comment #8) > E.g. > --- gcc/cp/decl.cc.jj 2024-02-15 09:51:34.460065992 +0100 > +++ gcc/cp/decl.cc2024-02-19 18:20:23.423410659 +0100 > @@ -15263,7 +15263,14 @@

[Bug fortran/113997] Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 --- Comment #3 from Tobias Burnus --- > Anyway, renaming the binding label, like >subroutine acc_attach_c(x) bind(C, name="acc_attach_renamed") > makes the code compile. Well, the code *does* compile as it is only a warning. * * * I

[Bug analyzer/113998] [14 Regression] ICE: in get_last_byte_offset, at analyzer/ranges.cc:171 with -fanalyzer and __builtin_strncpy()

2024-02-19 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113998 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug fortran/113997] Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug ipa/108802] [11/12/13/14 Regression] missed inlining of call via pointer to member function

2024-02-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108802 Martin Jambor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jamborm at gcc dot gnu.org

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 --- Comment #9 from Jakub Jelinek --- Note, adjusted testcase: struct S { int a, b; }; int foo () { return 42; } template const S a = { 42, foo () }; const S *b = <0>; template const S c = { 42, foo () }; template const S c <0>; template

[Bug fortran/113997] Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 --- Comment #8 from Jakub Jelinek --- E.g. --- gcc/cp/decl.cc.jj 2024-02-15 09:51:34.460065992 +0100 +++ gcc/cp/decl.cc 2024-02-19 18:20:23.423410659 +0100 @@ -15263,7 +15263,14 @@ grokdeclarator (const cp_declarator *dec /* Record

[Bug analyzer/113999] New: [14 Regression] ICE: in string_cst_has_null_terminator, at analyzer/region-model.cc:3651 with -fanalyzer on gcc.dg/tree-ssa/strncpy-2.c

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
4-9062-20240219114159-geb17bdc211a-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug analyzer/113998] New: [14 Regression] ICE: in get_last_byte_offset, at analyzer/ranges.cc:171 with -fanalyzer and __builtin_strncpy()

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
c-trunk//binary-trunk-r14-9062-20240219114159-geb17bdc211a-checking-yes-rtl-df-extra-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug target/113615] internal compiler error: in extract_insn, at recog.cc:2812

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113615 --- Comment #10 from GCC Commits --- The master branch has been updated by Thomas Schwinge : https://gcc.gnu.org/g:641b50bffc06123853a1421c0dd5a318c353fd85 commit r14-9068-g641b50bffc06123853a1421c0dd5a318c353fd85 Author: Thomas Schwinge

[Bug target/49001] GCC uses VMOVAPS/PD AVX instructions to access stack variables that are not 32-byte aligned

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49001 Andrew Pinski changed: What|Removed |Added CC||xjkp2283572185 at gmail dot com ---

[Bug target/113989] MinGW generates unaligned vmovdqa64

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

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

[Bug libstdc++/66416] string::find_last_of 3.5 times slower than memrchr

2024-02-19 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66416 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 --- Comment #6 from GCC Commits --- The releases/gcc-12 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:e84c06f801fbf8376fe43719675a409f588f68bd commit r12-10165-ge84c06f801fbf8376fe43719675a409f588f68bd Author:

[Bug fortran/113997] New: Bogus 'Warning: Interface mismatch in global procedure' with C binding

2024-02-19 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113997 Bug ID: 113997 Summary: Bogus 'Warning: Interface mismatch in global procedure' with C binding Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug c++/113966] [14 Regression] Internal compiler error in `do_auto_deduction`

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113966 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/113966] [14 Regression] Internal compiler error in `do_auto_deduction`

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113966 --- Comment #8 from GCC Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:3a6f3354eaaf38b5e6be41e4ebf521d299593a6e commit r14-9066-g3a6f3354eaaf38b5e6be41e4ebf521d299593a6e Author: Patrick Palka Date:

[Bug c/113992] in type_natural_mode

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113992 Andrew Pinski changed: What|Removed |Added Resolution|FIXED |DUPLICATE --- Comment #2 from Andrew

[Bug target/79754] ICE in type_natural_mode with vector for DFP type

2024-02-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79754 Andrew Pinski changed: What|Removed |Added CC||ujszhangc at gmail dot com --- Comment

[Bug target/112787] Codegen regression of large GCC vector extensions when enabling SVE

2024-02-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112787 --- Comment #5 from GCC Commits --- The releases/gcc-13 branch has been updated by Andre Simoes Dias Vieira : https://gcc.gnu.org/g:35486d68fc5b67d1b85c56e3ba149ba71c576550 commit r13-8341-g35486d68fc5b67d1b85c56e3ba149ba71c576550 Author:

[Bug ada/113996] New: ICE with LTO and full optimizations

2024-02-19 Thread jcmoyer32 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113996 Bug ID: 113996 Summary: ICE with LTO and full optimizations Product: gcc Version: 13.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug c++/113976] [11/12/13/14 Regression] explicit instantiation of const variable template following implicit instantiation is assembled in .rodata instead of .bss since r8-2857-g2ec399d8a6c9c2

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113976 --- Comment #6 from Jakub Jelinek --- Testcase showing that it is just this case of implicit instantiation followed by explicit that is problematic: int foo () { return 42; } template const int a = foo (); const int *b = <0>; template const

[Bug c++/94489] ICE: unexpected expression ‘std::min’ of kind overload

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94489 --- Comment #5 from Patrick Palka --- If we change std::plus to std::plus{} in order to make the testcase valid, then we accept ever since the PR94490 fix. The comment #4 testcase can be further reduced to: template struct A; template

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #13 from H.J. Lu --- (In reply to Jakub Jelinek from comment #11) > Though, bet that would mean we punt with -mavx -mno-avx2 on 32-byte copies, > because there we support just V8SFmode and not V32QImode. Punt AVX without AVX2

[Bug ipa/113359] [13 Regression] LTO miscompilation of ceph on aarch64

2024-02-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113359 --- Comment #15 from Martin Jambor --- Created attachment 57462 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57462=edit Simple testcase (needs disabling early - and only early - SRA) This is a simpler testcase which exhibits the

[Bug target/113995] New: ICE: in change_address_1, at emit-rtl.cc:2299 with [[arm::streaming_compatible]] and -march=armv9-a+sve -finstrument-functions -fstack-clash-protection

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
lgorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug c++/91911] Strange interaction between CTAD and decltype

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91911 Patrick Palka changed: What|Removed |Added CC||omer.rosler at gmail dot com ---

[Bug c++/99387] ICE when mixing CNTTP with deduction guides

2024-02-19 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99387 Patrick Palka changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/113476] [14 Regression] irange::maybe_resize leaks memory via IPA VRP

2024-02-19 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113476 --- Comment #6 from Martin Jambor --- I have proposed a patch on the mailing list that converts the array of lattices to a vector: https://inbox.sourceware.org/gcc-patches/ri6frxoxzpk@virgil.suse.cz/T/#u

[Bug c++/113994] New: Probable C++ code generation bug with -O2 on s390x platform

2024-02-19 Thread thierry at lelegard dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113994 Bug ID: 113994 Summary: Probable C++ code generation bug with -O2 on s390x platform Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 Jakub Jelinek changed: What|Removed |Added Resolution|--- |MOVED Status|UNCONFIRMED

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 --- Comment #3 from Jakub Jelinek --- Actually it seems like a glibc bug to me, though what vsftpd is totally weird. Seems glibc clone on all arches always errors when the first or second argument is NULL and that is exactly what

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #12 from rguenther at suse dot de --- On Mon, 19 Feb 2024, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 > > --- Comment #10 from Jakub Jelinek --- > (In reply to Richard Biener from

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 Jakub Jelinek changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #10 from Jakub Jelinek --- (In reply to Richard Biener from comment #9) > (In reply to Richard Biener from comment #8) > > (In reply to Jakub Jelinek from comment #7) > > > I think I can handle it like the VIEW_CONVERT_EXPR case,

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #9 from Richard Biener --- (In reply to Richard Biener from comment #8) > (In reply to Jakub Jelinek from comment #7) > > I think I can handle it like the VIEW_CONVERT_EXPR case, bet with > > _BitInt(511) it would actually be a VCE,

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #8 from Richard Biener --- (In reply to Jakub Jelinek from comment #7) > I think I can handle it like the VIEW_CONVERT_EXPR case, bet with > _BitInt(511) it would actually be a VCE, but when it is same size > BITINT_TYPE to

[Bug middle-end/113991] [14 Regression] LTO miscompilation of vsftpd on s390x

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113991 --- Comment #2 from Jakub Jelinek --- Maybe it is a bug in the app (or kernel or glibc) though. Under the debugger, I see the value of %r7 is still _child at before the call at line 189: 189 new_child =

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #7 from Jakub Jelinek --- I think I can handle it like the VIEW_CONVERT_EXPR case, bet with _BitInt(511) it would actually be a VCE, but when it is same size BITINT_TYPE to INTEGER_TYPE we choose NOP_EXPR. That said, I think it

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #6 from Richard Biener --- -mstore-max=128 -mmove-max=128 avoids it and we inline the memcpy as D.5177 = MEM <_BitInt(512)> [(char * {ref-all})]; MEM <_BitInt(512)> [(char * {ref-all})digits.0] = D.5177; using a

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #5 from Richard Biener --- Likely "caused" by upping MOVE_MAX and GIMPLE memcpy folding exposing this type by means of build_nonstandard_integer_type. We have from that D.5177 = MEM [(char * {ref-all})]; MEM [(char *

[Bug target/113989] MinGW generates unaligned vmovdqa64

2024-02-19 Thread xjkp2283572185 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 --- Comment #2 from 严 逍宇 --- (In reply to Richard Biener from comment #1) > does -mstackrealign make it work? It doesn't work. GDB shows that the address in rcx is still unaligned. (gdb) disassemble Dump of assembler code for function _Z1fx:

[Bug middle-end/113988] during GIMPLE pass: bitintlower: internal compiler error: in lower_stmt, at gimple-lower-bitint.cc:5470

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113988 --- Comment #4 from Richard Biener --- I wonder if we should stop claiming those modes are "supported". Maybe instead of making them integer modes they should be OPAQUE_MODE or vector (integer) modes in the first place? There's

[Bug c/113992] in type_natural_mode

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113992 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug target/113989] MinGW generates unaligned vmovdqa64

2024-02-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113989 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #1 from

[Bug libgcc/113337] Uncaught rethrown exceptions don't invoke std::terminate if SEH-based unwinding is used

2024-02-19 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113337 jyong at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug tree-optimization/113993] New: ICE: in get_no_error_domain, at tree-call-cdce.cc:815 with __builtin_exp2f32x() at -O1 and above

2024-02-19 Thread zsojka at seznam dot cz via Gcc-bugs
219001746-ge42287eaed2-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.1 20240219 (experimental) (GCC)

[Bug libgcc/113850] condition variables timed wait does a lot of spurious wakeups on Win32 threading implementation

2024-02-19 Thread jyong at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113850 jyong at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

  1   2   >