[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org,

[Bug c/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #1 from Andrew Pinski --- >And I've tracked this down to the following old gcc/ChangeLog-2007 entry: https://inbox.sourceware.org/gcc-patches/65dd6fd50708231259v2dce17f4m1ff55e22f221a...@mail.gmail.com/

[Bug c/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #2 from Andrew Pinski --- So from what I understand this part is what you want: ``` diff --git a/gcc/gcc.cc b/gcc/gcc.cc index 16bb07f2cdc..2825ef3f037 100644 --- a/gcc/gcc.cc +++ b/gcc/gcc.cc @@ -1471,12 +1471,12 @@ static const str

[Bug middle-end/109520] compiler never terminates with an inline-asm goto and an output with high register pressure

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109520 Richard Biener changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Commen

[Bug tree-optimization/109513] Missed Dead Code Elimination when using __builtin_unreachable

2023-04-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109513 Martin Liška changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug c++/109521] [11/12/13 Regression] Checking ICE with canonical types differ for identical types ‘UBYTE [7]’ {aka ‘unsigned char [7]’} and ‘unsigned char [7]’ since r11-6508-gabb1b6058c09a7

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109521 Richard Biener changed: What|Removed |Added Keywords||diagnostic Priority|P3

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #10 from rsandifo at gcc dot gnu.org --- Might be a daft question, but which cases besides INTEGER_CST are supposed to be captured by the CONSTANT_CLASS_P?

[Bug tree-optimization/109513] Missed Dead Code Elimination when using __builtin_unreachable

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109513 --- Comment #2 from Andrew Pinski --- This is interesting because the C++ front-end causes slightly different IR and with __builtin_unreachable produces decent code at -O3 still.

[Bug tree-optimization/109524] [13 Regression] ICE: SIGSEGV in remove_unreachable::remove_and_update_globals (tree-vrp.cc:136) with -O3 -fno-tree-forwprop -fnon-call-exceptions -fno-tree-ccp -fno-tree

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

Re: Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-17 Thread Jonathan Wakely via Gcc-bugs
On Mon, 17 Apr 2023, 07:54 Andrew Pinski via Gcc-help, wrote: > On Sun, Apr 16, 2023 at 10:41 PM Puneet Kumar Yatnal (QUIC) via > Gcc-bugs wrote: > > > > > > ++ > > From: Puneet Kumar Yatnal (QUIC) > > Sent: Monday, April 17, 2023 9:26 AM > > To: gcc-h...@gcc.gnu.org > > Subject: Y2038: GCC gthr

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #11 from Andrew Pinski --- (In reply to rsand...@gcc.gnu.org from comment #10) > Might be a daft question, but which cases besides > INTEGER_CST are supposed to be captured by the CONSTANT_CLASS_P? For bit_and/bit_ior, VECTOR_CST (I

[Bug c++/109531] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value

2023-04-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #6

RE: Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-17 Thread Puneet Kumar Yatnal (QUIC) via Gcc-bugs
Here issue is weakref symbol in gcc not using the __asm_ function pointed by pthread.h instead its calling directly ___pthread_cond_timedwait which is exposed by version_symbol in pthread_cond_wait.c of glibc From: Jonathan Wakely Sent: Monday, April 17, 2023 12:53 PM To: Andrew Pinski Cc: Pu

[Bug tree-optimization/109513] Missed Dead Code Elimination when using __builtin_unreachable

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109513 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > This is interesting because the C++ front-end causes slightly different IR > and with __builtin_unreachable produces decent code at -O3 still. The difference is

[Bug c++/109531] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 --- Comment #7 from Andrew Pinski --- (In reply to Martin Liška from comment #6) > You can achieve result with the following command with C-Vise: > cvise -c 'timeout 5 g++ -std=c++14 -march=znver3 -O2 -fno-strict-aliasing > -Wall ArithmeticSubt

Re: Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-17 Thread Jonathan Wakely via Gcc-bugs
On Mon, 17 Apr 2023, 09:27 Puneet Kumar Yatnal (QUIC), < quic_pune...@quicinc.com> wrote: > Here issue is weakref symbol in gcc not using the __asm_ function pointed > by pthread.h instead its calling directly ___pthread_cond_timedwait which > is exposed by version_symbol in pthread_cond_wait.c of

[Bug target/109527] redundant register assignment

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109527 Richard Biener changed: What|Removed |Added Target|X86_64 |x86_64-*-* --- Comment #2 from Richard

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #12 from rsandifo at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #11) > For bit_and/bit_ior, VECTOR_CST (I would assume). Ah, yeah. But then I don't think a top-level POLY_INT_CST_P cuts it. We'd have the same prob

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug middle-end/109530] Warning "is used uninitialized" raised for an initialized variable.

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

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #14 from rguenther at suse dot de --- On Mon, 17 Apr 2023, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 > > --- Comment #10 from rsandifo at gcc dot gnu.org gnu.org> --- > Might be a daf

[Bug middle-end/109505] (t | 15) & svcntb() causes an OOM/ICE

2023-04-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109505 --- Comment #15 from rsandifo at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #13) > (In reply to rsand...@gcc.gnu.org from comment #12) > > (In reply to Andrew Pinski from comment #11) > > > For bit_and/bit_ior, VECTOR_CST (I wo

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 Richard Biener changed: What|Removed |Added Last reconfirmed||2023-04-17 Status|UNCONFIR

[Bug tree-optimization/95825] [10/11/12/13 Regression] boost::optional -Wuninitialized with -fsanitize=address

2023-04-17 Thread daniel.klauer at gin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95825 daniel.klauer at gin dot de changed: What|Removed |Added CC||daniel.klauer at gin dot de

[Bug tree-optimization/109535] New: internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 Bug ID: 109535 Summary: internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/95825] [10/11/12/13 Regression] boost::optional -Wuninitialized with -fsanitize=address

2023-04-17 Thread daniel.kruegler at googlemail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95825 --- Comment #8 from Daniel Krügler --- (In reply to daniel.klauer from comment #7) > Reduced test case: > > > template > struct tc_optional_base > { > // default ctor leaves m_storage uninitialized > tc_optional_base() : m_initializ

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #1 from Mathieu Malaterre --- Created attachment 54874 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54874&action=edit preprocessed source % gcc-13 --version gcc-13 (Debian 13-20230411-1) 13.0.1 20230411 (experimental) [maste

[Bug tree-optimization/95825] [10/11/12/13 Regression] boost::optional -Wuninitialized with -fsanitize=address

2023-04-17 Thread daniel.klauer at gin dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95825 --- Comment #9 from daniel.klauer at gin dot de --- Unless I'm missing something, this is not about unions. boost::optional (at least from boost 1.80.0) does not always use unions; instead it has two possible implementations: optional_base, which

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #2 from rsandifo at gcc dot gnu.org --- The assert in question fires if the pass creates an instruction whose pattern uses a register or memory and if the pass doesn't provide associated use information. Let me know if it looks lik

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread boris at kolpackov dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #4 from Boris Kolpackov --- Thanks for the link to the patch submission though I find the "-fdirectives-only option is incompatible with assembly" statement puzzling. > So from what I understand this part is what you want: > > - "

[Bug c++/109531] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value

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

[Bug tree-optimization/109524] [13 Regression] ICE: SIGSEGV in remove_unreachable::remove_and_update_globals (tree-vrp.cc:136) with -O3 -fno-tree-forwprop -fnon-call-exceptions -fno-tree-ccp -fno-tree

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109524 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f66ae49bba7d3b8c999498a0e166c0a2f99ec61a commit r13-7203-gf66ae49bba7d3b8c999498a0e166c0a2f99ec61a Author: Richard Biener Date:

[Bug tree-optimization/109524] [13 Regression] ICE: SIGSEGV in remove_unreachable::remove_and_update_globals (tree-vrp.cc:136) with -O3 -fno-tree-forwprop -fnon-call-exceptions -fno-tree-ccp -fno-tree

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

[Bug target/108807] [11/12 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:d39451523912981e897faa7942a2634c058524fb commit r12-9405-gd39451523912981e897faa7942a2634c058524fb Author: Kewen Lin Date:

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:de8f86e151d29c6c2ebb224b5587284714cd6cfa commit r12-9406-gde8f86e151d29c6c2ebb224b5587284714cd6cfa Author: Kewen Lin Date:

[Bug target/108807] [11/12 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:043cc707f449076ea704a12fff60e32f5861dfcb commit r11-10627-g043cc707f449076ea704a12fff60e32f5861dfcb Author: Kewen Lin Date:

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:6872f055d7d4fd36b804bdd9b5a8a128b01aacbc commit r11-10628-g6872f055d7d4fd36b804bdd9b5a8a128b01aacbc Author: Kewen Lin Date:

[Bug target/108699] gcc.c-torture/execute/builtin-bitops-1.c fails on power 9 BE

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108699 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:d88e488ec9321e44291fcaf2a3b14333f64aac01 commit r10-11291-gd88e488ec9321e44291fcaf2a3b14333f64aac01 Author: Kewen Lin Date:

[Bug target/108807] [11/12 regression] gcc.target/powerpc/vsx-builtin-10d.c fails after r11-6857-gb29225597584b6 on power 9 BE

2023-04-17 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108807 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/105676] [12 Regression] Bogus `-Wsuggest-attribute=pure` on function marked `__attribute__((const))` since r12-5437-g09a4ffb72aa2f513

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105676 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:96785885ceed34638d4b58e88cba6e6e8368c0e3 commit r12-9407-g96785885ceed34638d4b58e88cba6e6e8368c0e3 Author: Richard Biener

[Bug ipa/106124] [11/12 Regression] ICE in dwarf2out_abstract_function, at dwarf2out.cc:23254

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106124 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:377efe66243a3ec9d44707e3526742aa3d924094 commit r12-9408-g377efe66243a3ec9d44707e3526742aa3d924094 Author: Richard Biener

[Bug tree-optimization/109219] [12 Regression] csmith: ice in vect_slp_analyze_node_operations_1, at tree-vect-slp.cc:5954 since r13-1106-g8c2733e16ec1c0cd

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109219 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:c2ab46f377313da5336748eb4fdc20020c047445 commit r12-9409-gc2ab46f377313da5336748eb4fdc20020c047445 Author: Richard Biener

[Bug tree-optimization/109491] [11/12 Regression] Segfault in tree-ssa-sccvn.cc:expressions_equal_p()

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109491 --- Comment #18 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ba02c6706cc502ee64b9c5d32b08409c44fe967d commit r12-9413-gba02c6706cc502ee64b9c5d32b08409c44fe967d Author: Richard Biene

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

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109263 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:42b3d387f7335a4bc8846e3b7a2a78fb47be68b2 commit r12-9410-g42b3d387f7335a4bc8846e3b7a2a78fb47be68b2 Author: Richard Biener

[Bug tree-optimization/109502] [12 Regression] wrong code with -O -ftree-vectorize -fvect-cost-model=unlimited on aarch64

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109502 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:08605396d164c57eb3c80051001b86b96da0405c commit r12-9414-g08605396d164c57eb3c80051001b86b96da0405c Author: Richard Biener

[Bug tree-optimization/109469] [12 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 2) when building xdvik

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109469 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9cc16b95d5d63b18cbc0aa780ffb6b460c791351 commit r12-9411-g9cc16b95d5d63b18cbc0aa780ffb6b460c791351 Author: Richard Biene

[Bug tree-optimization/109473] [10/11/12 Regression] ICE during GIMPLE pass: vect: verify_gimple failed with -O1 -ftree-loop-vectorize since r10-4076-g82e8e335f917b9

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109473 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:053668dbf11bb61c63fa7db5b3bccd0fdac9e726 commit r12-9412-g053668dbf11bb61c63fa7db5b3bccd0fdac9e726 Author: Richard Biener

[Bug tree-optimization/109219] [12 Regression] csmith: ice in vect_slp_analyze_node_operations_1, at tree-vect-slp.cc:5954 since r13-1106-g8c2733e16ec1c0cd

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109219 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug ipa/105676] [12 Regression] Bogus `-Wsuggest-attribute=pure` on function marked `__attribute__((const))` since r12-5437-g09a4ffb72aa2f513

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105676 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug tree-optimization/109469] [12 regression] ICE: internal compiler error: verify_flow_info failed (error: returns_twice call is not first in basic block 2) when building xdvik

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

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #3 from JuzheZhong --- Thanks for reporting it. We will take a look at it.

[Bug c++/109531] [13 Regression] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value since r13-3292-gc2565a31c1622a

2023-04-17 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 Martin Liška changed: What|Removed |Added CC||jakub at gcc dot gnu.org Summ

[Bug tree-optimization/109502] [11 Regression] wrong code with -O -ftree-vectorize -fvect-cost-model=unlimited on aarch64

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109502 Richard Biener changed: What|Removed |Added Target Milestone|12.3|11.4 Known to work|

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #4 from JuzheZhong --- (In reply to Mathieu Malaterre from comment #1) > Created attachment 54874 [details] > preprocessed source > > % gcc-13 --version > gcc-13 (Debian 13-20230411-1) 13.0.1 20230411 (experimental) [master > r13-71

[Bug c++/109531] [13 Regression] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value since r13-3292-gc2565a31c1622a

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 --- Comment #10 from Jakub Jelinek --- Slightly cleaned up: template using A = int *; template class U> struct B { typedef U type; }; struct C { typedef int *type; }; template struct D { D foo () { return D (); } template class U>

[Bug c++/109531] [13 Regression] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value since r13-3292-gc2565a31c1622a

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #5 from Kito Cheng --- Confirmed the the output is text file, it's just suffixed with .out

[Bug tree-optimization/109491] [11 Regression] Segfault in tree-ssa-sccvn.cc:expressions_equal_p()

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109491 --- Comment #19 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:bb400f9916beab1a650d59c73672ef48aaf71b11 commit r11-10629-gbb400f9916beab1a650d59c73672ef48aaf71b11 Author: Richard Bien

[Bug tree-optimization/104450] [11 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -O -fnon-call-exceptions -fsanitize=thread -mavx512f

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104450 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:9dcc5d68cd935c9ff0ef023fe8b3bd7ab67d0687 commit r11-10630-g9dcc5d68cd935c9ff0ef023fe8b3bd7ab67d0687 Author: Richard Biene

[Bug tree-optimization/109434] [12 Regression] std::optional weird -Wmaybe-uninitialized and behaviour with -O2

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Biener : https://gcc.gnu.org/g:3d2210dafd872e8470e2a6ae5eea74d2669bc055 commit r12-9415-g3d2210dafd872e8470e2a6ae5eea74d2669bc055 Author: Richard Biener

[Bug tree-optimization/104464] [12 Regression] ICE: in gimple_expand_vec_cond_expr, at gimple-isel.cc:268 with -O -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop -fsignaling-nans

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104464 --- Comment #4 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:cfd4a86221bc647eaa1c418eb777499250804df6 commit r11-10631-gcfd4a86221bc647eaa1c418eb777499250804df6 Author: Richard Biene

[Bug target/105484] [11 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -Os -march=cannonlake -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop since r11-5074-

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105484 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug target/105484] [11 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -Os -march=cannonlake -fnon-call-exceptions -fno-tree-dce -fno-tree-forwprop since r11-5074-

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105484 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:caf0a30b17a639ee19ff4c138d3be0325d0be745 commit r11-10632-gcaf0a30b17a639ee19ff4c138d3be0325d0be745 Author: Richard Biene

[Bug tree-optimization/104450] [11 Regression] ICE: verify_flow_info failed: BB 2 cannot throw but has an EH edge with -O -fnon-call-exceptions -fsanitize=thread -mavx512f

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104450 Richard Biener changed: What|Removed |Added Known to fail||11.3.0 Known to work|

[Bug tree-optimization/109491] [11 Regression] Segfault in tree-ssa-sccvn.cc:expressions_equal_p()

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109491 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to fail|

[Bug tree-optimization/109434] [12 Regression] std::optional weird -Wmaybe-uninitialized and behaviour with -O2

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 109434, which changed state. Bug 109434 Summary: [12 Regression] std::optional weird -Wmaybe-uninitialized and behaviour with -O2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109434 What|Removed

[Bug c++/106740] [11/12 Regression] ICE in instantiate_decl at gcc/cp/pt.cc:26515 since r12-8467-ge057d454db4dcf

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106740 --- Comment #5 from Richard Biener --- Note this is P1 on the GCC 11 branch only.

[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-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109137 Richard Biener changed: What|Removed |Added Priority|P1 |P2 --- Comment #27 from Richard Biener

[Bug c++/109531] [13 Regression] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value since r13-3292-gc2565a31c1622a

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 --- Comment #11 from Jakub Jelinek --- Better don't reuse U for two different parameters: template using A = int *; template class U> struct B { typedef U type; }; struct C { typedef int *type; }; template struct D { D foo () { return D

[Bug c/68994] GCC doesn't issue any diagnostic for missing end-of-line marker

2023-04-17 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68994 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Comm

[Bug middle-end/109520] compiler never terminates with an inline-asm goto and an output with high register pressure

2023-04-17 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109520 Sam James changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug ipa/109318] [12/13 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 --- Comment #11 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:8e08c7886eed5824bebd0e011526ec302d622844 commit r13-7206-g8e08c7886eed5824bebd0e011526ec302d622844 Author: Martin Jambor Date:

[Bug ipa/107769] [12/13 Regression] -flto with -Os/-O2/-O3 emitted code with gcc 12.x segfaults via mutated global in .rodata since r12-2887-ga6da2cddcf0e959d

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769 --- Comment #8 from CVS Commits --- The master branch has been updated by Martin Jambor : https://gcc.gnu.org/g:8e08c7886eed5824bebd0e011526ec302d622844 commit r13-7206-g8e08c7886eed5824bebd0e011526ec302d622844 Author: Martin Jambor Date: M

[Bug tree-optimization/109154] [13 regression] jump threading de-optimizes nested floating point comparisons

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109154 Jakub Jelinek changed: What|Removed |Added Priority|P1 |P2 --- Comment #53 from Jakub Jelinek

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character [-Wnewline-eof]

2023-04-17 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81745 --- Comment #14 from Vincent Lefèvre --- (In reply to Andrew Pinski from comment #13) > GCC removed the pedwarning on purpose (between GCC 4.1 and 4.4), see PR > 14331 and PR 68994. No, PR 14331 was just asking to remove the warning by default,

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 --- Comment #23 from Jakub Jelinek --- This is just missed optimization and likely to be resolved only for GCC 14 and perhaps later backported. Downgrading to P2.

[Bug fortran/109500] SIGABRT when calling a function that returns an unallocated value

2023-04-17 Thread leandro.lupori at linaro dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109500 --- Comment #10 from Leandro Lupori --- Wouldn't it be better to turn this into a warning? Although using the result of a function as an allocatable argument doesn't conform with Fortran standards, it has been supported by gfortran for quite so

[Bug libstdc++/109536] New: Failure to compile constexpr std::vector with -D_GLIBCXX_DEBUG

2023-04-17 Thread terra at gnome dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536 Bug ID: 109536 Summary: Failure to compile constexpr std::vector with -D_GLIBCXX_DEBUG Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/109531] [13 Regression] Checking ICE with hash table checking failed: equal operator returns true for a pair of values with a different hash value since r13-3292-gc2565a31c1622a

2023-04-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109531 --- Comment #12 from Patrick Palka --- I suppose we're just neglecting to canonicalize a bound ttp's substituted args before determining its canonical type. Adding a call to coerce_template_parms or canonicalize_type_argument seems to fix it:

[Bug rtl-optimization/106594] [13 Regression] sign-extensions no longer merged into addressing mode

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106594 Jakub Jelinek changed: What|Removed |Added Priority|P1 |P2 --- Comment #24 from Jakub Jelinek

[Bug tree-optimization/104515] [11/12/13 Regression] trivially-destructible destructors interfere with loop optimization - maybe related to lifetime-dse.

2023-04-17 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104515 --- Comment #7 from Richard Biener --- (In reply to Richard Biener from comment #1) > Confirmed. The issue is that store motion of v_7(D)->end cannot be > performed on > >[local count: 955630225]: > # i_13 = PHI > _1 = v_7(D)->end; >

[Bug middle-end/109537] New: Improve code generation for dynamic loop unrolling

2023-04-17 Thread helijia.i at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109537 Bug ID: 109537 Summary: Improve code generation for dynamic loop unrolling Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug target/109104] [13/14 Regression] ICE: in gen_reg_rtx, at emit-rtl.cc:1171 with -fzero-call-used-regs=all -march=rv64gv

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

[Bug middle-end/109537] Improve code generation for dynamic loop unrolling

2023-04-17 Thread helijia.i at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109537 --- Comment #1 from Li Jia He --- Update gcc's assembly as gcc did not turn on auto vectorization during O2, The compilation command for gcc is 'cc1 unroll.c -O3 -funroll-loops', The compilation command for clang is 'clang unroll.c -O3 -S' ''' $

[Bug target/108910] [12 Regression] Further ICE in aarch64_layout_arg

2023-04-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 --- Comment #19 from CVS Commits --- The releases/gcc-12 branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:66700dde0dfb2c2b07d771f90df1fe16d1d61ce9 commit r12-9416-g66700dde0dfb2c2b07d771f90df1fe16d1d61ce9 Author: Richard Sa

[Bug target/108910] [12 Regression] Further ICE in aarch64_layout_arg

2023-04-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108910 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Status|

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 Li Pan changed: What|Removed |Added CC||pan2.li at intel dot com --- Comment #6 from L

[Bug ipa/109318] [12 Regression] csmith: -fipa-cp seems to cause trouble since r12-2523-g13586172d0b70c

2023-04-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109318 Martin Jambor changed: What|Removed |Added Summary|[12/13/14 Regression] |[12 Regression] csmith:

[Bug ipa/107769] [12 Regression] -flto with -Os/-O2/-O3 emitted code with gcc 12.x segfaults via mutated global in .rodata since r12-2887-ga6da2cddcf0e959d

2023-04-17 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769 Martin Jambor changed: What|Removed |Added Summary|[12/13/14 Regression] -flto |[12 Regression] -flto with

[Bug libstdc++/105440] c++20: std::string's destructor not a constant expression when it should

2023-04-17 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105440 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org --- Comment #

[Bug preprocessor/109534] -fdirectives-only does not work with assembler-with-cpp

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109534 --- Comment #5 from Andrew Pinski --- (In reply to Boris Kolpackov from comment #4) > Thanks for the link to the patch submission though I find the > "-fdirectives-only option is incompatible with assembly" statement puzzling. > > > So from wha

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread kito at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 Kito Cheng changed: What|Removed |Added Last reconfirmed||2023-04-17 Status|UNCONFIRMED

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #7 from JuzheZhong --- (In reply to rsand...@gcc.gnu.org from comment #2) > The assert in question fires if the pass creates an instruction > whose pattern uses a register or memory and if the pass doesn't > provide associated use in

[Bug testsuite/106227] [13/14 regression] g++.dg/modules/loc-prune-4.C fails after r13-1506-g069f46c71e9432

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106227 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug tree-optimization/106293] [13/14 Regression] 456.hmmer at -Ofast -march=native regressed by 19% on zen2 and zen3 in July 2022

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106293 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug target/109535] internal compiler error: in finalize_new_accesses, at rtl-ssa/changes.cc:471

2023-04-17 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109535 --- Comment #8 from rsandifo at gcc dot gnu.org --- Can you quote a dump of the new insn pattern? Or just: dump(change); in function_info::finalize_new_accesses should do.

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

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109231 Jakub Jelinek changed: What|Removed |Added Target Milestone|13.0|13.2 --- Comment #38 from Jakub Jelinek

[Bug target/102027] [11/12/13/14 Regression] ABI break when using vector type in function arg/return value

2023-04-17 Thread woodard at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102027 --- Comment #10 from Ben Woodard --- Currently Libabigail is not able to detect this kind of ABI break. We would be able to detect this if https://dwarfstd.org/issues/221105.1.html were implemented. As mentioned in the DWARF issue, this would al

[Bug libgomp/107041] [13/14 Regression] C '-Wenum-int-mismatch' diagnostic for OpenACC 'acc_on_device'

2023-04-17 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107041 --- Comment #3 from Jakub Jelinek --- If this is really just because it is a builtin, I think another possibility would be make it BT_FN_INT_VAR instead of BT_FN_INT_INT and verify it has just one argument which is either int or the particularly

  1   2   >