[Bug rtl-optimization/105041] '-fcompare-debug' failure w/ -mcpu=power6 -O2 -fharden-compares -frename-registers

2022-07-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105041 --- Comment #13 from Arseny Solokha --- After the fix was backported to all open branches, should this PR be closed?

[Bug debug/106418] New: '-fcompare-debug' failure w/ -mcpu=e500mc -O2 -fnon-call-exceptions -fsched-stalled-insns -fno-reorder-blocks -fno-thread-jumps -fno-tree-dce

2022-07-22 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106418 Bug ID: 106418 Summary: '-fcompare-debug' failure w/ -mcpu=e500mc -O2 -fnon-call-exceptions -fsched-stalled-insns -fno-reorder-blocks -fno-thread-jumps -fno-tree-dce Produc

[Bug tree-optimization/106417] New: [13 Regression] Wrong code with -O0

2022-07-22 Thread vsevolod.livinskiy at gmail dot com via Gcc-bugs
int main() { test(); printf("%d\n", var_84); if (var_84 != -1) __builtin_abort(); } Error: >$ /usr/bin/g++ -O0 driver.cpp && ./a.out -1 >$ g++ -O0 driver.cpp && ./a.out 1 Aborted (core dumped) gcc version 13.0.0 20220722 (3c4af0f0549a07799d76e9e48d3d3bd85197b92a)

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-07-22 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 --- Comment #41 from Kees Cook --- (In reply to Bill Wendling from comment #40) > The question then is if `-fstrict-flex-arrays=3' is used, what does a `[0]' > at the end of a struct represent (assuming GCC no longer treats it as an > FAM)? It'

[Bug analyzer/106140] RFE: analyzer could complain about misuses of socket APIs

2022-07-22 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106140 Eric Gallager changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=1

[Bug analyzer/106413] State explosion on va_arg when va_start is in top-level function of analysis

2022-07-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106413 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/106401] [13 Regression] ICE: in binding_cluster, at analyzer/store.cc:1110 with -fanalyzer since r13-1761-g68871a008e686dbe

2022-07-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106401 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug analyzer/106413] State explosion on va_arg when va_start is in top-level function of analysis

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106413 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:6d5194a10dc103031b9c8a03091ca70f6db33c8b commit r13-1807-g6d5194a10dc103031b9c8a03091ca70f6db33c8b Author: David Malcolm Date: F

[Bug analyzer/106401] [13 Regression] ICE: in binding_cluster, at analyzer/store.cc:1110 with -fanalyzer since r13-1761-g68871a008e686dbe

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106401 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:0fb35a45a28c674d5d420528f7dec629e42b4850 commit r13-1806-g0fb35a45a28c674d5d420528f7dec629e42b4850 Author: David Malcolm Date: F

[Bug c/106416] New: -Wint-conversion should be an error, not a pedwarn

2022-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106416 Bug ID: 106416 Summary: -Wint-conversion should be an error, not a pedwarn Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/106366] CTAD fails to prioritize initializer_list when done via Deduction guide and inherited CTORS

2022-07-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106366 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/106366] CTAD fails to prioritize initializer_list when done via Deduction guide and inherited CTORS

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106366 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:f77bbc8f86900b21abdec457b4153b30512e192d commit r13-1805-gf77bbc8f86900b21abdec457b4153b30512e192d Author: Patrick Palka Date: F

[Bug middle-end/101836] __builtin_object_size(P->M, 1) where M is an array and the last member of a struct fails

2022-07-22 Thread isanbard at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101836 Bill Wendling changed: What|Removed |Added CC||isanbard at gmail dot com --- Comment #

[Bug analyzer/106413] State explosion on va_arg when va_start is in top-level function of analysis

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

[Bug target/106265] RISC-V SPEC2017 507.cactu code bloat due to address generation

2022-07-22 Thread vineet.gupta at linux dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106265 --- Comment #10 from Vineet Gupta --- Created a small test case which emulates generation of 2 split consts. void foo(void) { bar(2072, 2096); } 253r.expand has 4 instructions: Pair of LI 4096 + ADDI for each const. 260r.fwprop1 prune

[Bug tree-optimization/106414] [13 Regression] wrong code at -O1 and above on x86_64-linux-gnu by r13-1779

2022-07-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106414 --- Comment #2 from Zhendong Su --- A couple of related tests that fail at -O0: [587] % gcctk -O0 small.c [588] % ./a.out Aborted [589] % cat small.c int a, b, c, d; unsigned e; int main() { c = e = -((a && 1) ^ ~(b || 0)); if (e < -1)

[Bug analyzer/106358] [meta-bug] tracker bug for building the Linux kernel with -fanalyzer

2022-07-22 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106358 Bug 106358 depends on bug 106394, which changed state. Bug 106394 Summary: False positive from -Wanalyzer-allocation-size with empty array https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106394 What|Removed |Adde

[Bug analyzer/106394] False positive from -Wanalyzer-allocation-size with empty array

2022-07-22 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106394 Tim Lange changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/106394] False positive from -Wanalyzer-allocation-size with empty array

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106394 --- Comment #3 from CVS Commits --- The master branch has been updated by Tim Lange : https://gcc.gnu.org/g:b4cc945c045db74f719ab030969806c14e2d5fc3 commit r13-1802-gb4cc945c045db74f719ab030969806c14e2d5fc3 Author: Tim Lange Date: Fri Jul 2

[Bug fortran/106410] Internal compiler error: with nested parametrized types

2022-07-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106410 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to anlauf from comment #2) > ICE confirmed on x86_64-pc-linux-gnu. > > Not sure if the code is valid. > > Intel rejects the code, as well as NAG. Cray accepts it. Interestingly, I may

[Bug tree-optimization/106414] [13 Regression] wrong code at -O1 and above on x86_64-linux-gnu by r13-1779

2022-07-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106414 H.J. Lu changed: What|Removed |Added Version|unknown |13.0 Target Milestone|---

[Bug tree-optimization/106414] [13 Regression] wrong code at -O1 and above on x86_64-linux-gnu by r13-1779

2022-07-22 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106414 H.J. Lu changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/106415] loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-22 Thread undefinedopcode2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 --- Comment #1 from Undefined Opcode --- Adding `-fno-tree-loop-ivcanon -fno-ivopts` to the compiler flags ensures the second example function gets a properly optimized DBRA loop.

[Bug fortran/102818] ICE in gfc_resolve_formal_arglist, at fortran/resolve.c:282

2022-07-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102818 --- Comment #1 from anlauf at gcc dot gnu.org --- The proper function name is diagnosed after the following patch: diff --git a/gcc/fortran/symbol.cc b/gcc/fortran/symbol.cc index 7a80dfd063b..0d0221fc3c4 100644 --- a/gcc/fortran/symbol.cc +++ b

[Bug fortran/106402] half preicision is not supported by gfortran(real*2).

2022-07-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106402 --- Comment #1 from anlauf at gcc dot gnu.org --- See also thread at: https://gcc.gnu.org/pipermail/fortran/2022-May/057860.html

[Bug libstdc++/106320] [10 regression] build failure (due to view requirement changes?)

2022-07-22 Thread h2+bugs at fsfe dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106320 --- Comment #8 from Hannes Hauswedell --- Thanks a lot for fixing this in a way that preserves the backport <3

[Bug tree-optimization/106415] New: loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k

2022-07-22 Thread undefinedopcode2 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106415 Bug ID: 106415 Summary: loop-ivopts prevents correct usage of dbra with 16-bit loop counters on m68k Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/106414] New: wrong code at -O1 and above on x86_64-linux-gnu

2022-07-22 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
--with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20220722 (experimental) [master r13-1799-g41da4070a2a] (GCC) [673] % [673] % gcctk -O0 small.c; ./a.out [674] % gcctk -O1 small.c [675] % ./a.out Aborted [676] % cat small.c int printf(const char

[Bug fortran/106410] Internal compiler error: with nested parametrized types

2022-07-22 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106410 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-07-22 Ever confirme

[Bug libstdc++/106320] [10 regression] build failure (due to view requirement changes?)

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106320 --- Comment #7 from CVS Commits --- The releases/gcc-10 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2cad5c5c2de819b7a5177aa87e5e2fd088357b01 commit r10-10908-g2cad5c5c2de819b7a5177aa87e5e2fd088357b01 Author: Patrick Palka

[Bug libstdc++/106320] [10 regression] build failure (due to view requirement changes?)

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106320 --- Comment #6 from CVS Commits --- The releases/gcc-11 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:36dd51bf87e1c533bf33ad3b16fd3fe06c356746 commit r11-10170-g36dd51bf87e1c533bf33ad3b16fd3fe06c356746 Author: Patrick Palka

[Bug fortran/106410] Internal compiler error: with nested parametrized types

2022-07-22 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106410 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug c++/106412] Code initializing static variables with local variables compiles without errors or warnings

2022-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106412 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|WAITING

[Bug c++/106412] Code initializing static variables with local variables compiles without errors or warnings

2022-07-22 Thread menkaur at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106412 --- Comment #2 from Arsen Zahray --- > Why do you think it's a bug? The code is valid. The bug I made with a code like this was that I first declared a static const variable and used it in the program, later on I added local variables on which t

[Bug analyzer/106413] New: State explosion on va_arg when va_start is in top-level function of analysis

2022-07-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106413 Bug ID: 106413 Summary: State explosion on va_arg when va_start is in top-level function of analysis Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: n

[Bug c++/106412] Code initializing static variables with local variables compiles without errors or warnings

2022-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106412 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2022-07-22 Status|UNCONFI

[Bug c++/106412] New: Code initializing static variables with local variables compiles without errors or warnings

2022-07-22 Thread menkaur at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106412 Bug ID: 106412 Summary: Code initializing static variables with local variables compiles without errors or warnings Product: gcc Version: og11 (devel/omp/gcc-11) Status:

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2022-07-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 --- Comment #9 from Thomas Schwinge --- One concrete question, on example of: (In reply to myself from comment #8) > hard-code '-foffload-options=nvptx-none=-mptx=6.3\ -malias' to work around > GCC PR105018 "[nvptx] Need better alias support"

[Bug c++/106411] New: Wdangling-pointer for a class that cleans up on destruction

2022-07-22 Thread ed at catmur dot uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106411 Bug ID: 106411 Summary: Wdangling-pointer for a class that cleans up on destruction Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/25689] missed diagnostic about assignment used as truth value.

2022-07-22 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25689 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug target/101544] [OpenMP][AMDGCN][nvptx] C++ offloading: unresolved _Znwm = "operator new(unsigned long)"

2022-07-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101544 Thomas Schwinge changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Commen

[Bug target/106407] [13 Regression] ICE: in copy_to_mode_reg, at explow.cc:652 with -O2 -fno-dce -fno-tree-dce -fno-tree-dse since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106407 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/106303] [13 Regression] ICE on valid code at -O3 with -fno-inline-small-functions on x86_64-linux-gnu: in extract_insn, at recog.cc:2791 since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106303 --- Comment #8 from Roger Sayle --- *** Bug 106407 has been marked as a duplicate of this bug. ***

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-22 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 --- Comment #33 from Richard Earnshaw --- I suspect there is still a question, though, as to whether it is safe in general for two objects with non-conflicting alias sets to share a stack slot.

[Bug target/105018] [nvptx] Need better alias support

2022-07-22 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105018 Thomas Schwinge changed: What|Removed |Added See Also||https://github.com/MentorEm

[Bug c++/106389] [11/12/13 Regression] IPA modref breaks Safe Bitfields in C++

2022-07-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106389 --- Comment #4 from Marek Polacek --- (In reply to Richard Biener from comment #3) > For the rule to take effect the frontend needs to mark each access that > falls under the rule as to have alias-set zero. Something like: make c_common_get_ali

[Bug target/106187] armhf: Miscompilation at O2 level (O0 / O1 are working)

2022-07-22 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106187 Richard Earnshaw changed: What|Removed |Added Last reconfirmed|2022-07-04 00:00:00 |2022-07-22 Status|UNCONF

[Bug debug/106399] [10/11/12/13 Regression] Wrong debug info for function with nested function under O0 since r9-1284-gd70ba0c10dec6968

2022-07-22 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106399 Eric Botcazou changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from Eric Botcaz

[Bug fortran/106410] New: Internal compiler error: with nested parametrized types

2022-07-22 Thread s.lopez at brgm dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106410 Bug ID: 106410 Summary: Internal compiler error: with nested parametrized types Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Pri

[Bug c++/106409] GCC with LTO: Warning: argument 1 value ‘18...615’ (SIZE_MAX) exceeds maximum object size

2022-07-22 Thread lluis.alemany.puig at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106409 --- Comment #3 from llualpu --- Created attachment 53336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53336&action=edit (Compressed) preprocessed file generated by GCC as required by "What we need" I couldn't upload it raw (in plain tex

[Bug c/106406] _Static_assert declaration can not be first of for-triplet

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406 --- Comment #1 from Richard Biener --- it doesn't declare anything so why should it be invalid?

[Bug target/106407] [13 Regression] ICE: in copy_to_mode_reg, at explow.cc:652 with -O2 -fno-dce -fno-tree-dce -fno-tree-dse since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106407 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug middle-end/106408] PRE with infinite loops

2022-07-22 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106408 --- Comment #3 from rguenther at suse dot de --- On Fri, 22 Jul 2022, hubicka at ucw dot cz wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106408 > > --- Comment #2 from Jan Hubicka --- > > + /* If block is a loop that is possibly

[Bug middle-end/106408] PRE with infinite loops

2022-07-22 Thread hubicka at ucw dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106408 --- Comment #2 from Jan Hubicka --- > + /* If block is a loop that is possibly infinite we should not > +hoist across it. */ > + if (block->loop_father->header == block > + && !finite_loop_p (block->loop_father)) > +

[Bug c++/106409] GCC with LTO: Warning: argument 1 value ‘18...615’ (SIZE_MAX) exceeds maximum object size

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106409 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

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

[Bug middle-end/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|

[Bug tree-optimization/105618] [11 Regression] Missed loop body simplification by -O3 (trunk v.s. 10.3)

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105618 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:dba0883cbbd0ce7545041be96ae75db1d577affb commit r11-10169-gdba0883cbbd0ce7545041be96ae75db1d577affb Author: Richard Biene

[Bug tree-optimization/105618] [11 Regression] Missed loop body simplification by -O3 (trunk v.s. 10.3)

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105618 Richard Biener changed: What|Removed |Added Known to fail|11.3.1 |11.3.0 Known to work|

[Bug tree-optimization/103116] SLP vectoriser fails to peel for gaps

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103116 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:ff408622a5f8fb395e5584a494d05b3611db commit r11-10167-gff408622a5f8fb395e5584a494d05b3611db Author: Richard Bien

[Bug middle-end/103193] gcc for x86_64: wrong code generation: ucomiss instead of comiss

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103193 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:e2b97d6883a72b0c51dd0455acea43e21b5537d9 commit r11-10168-ge2b97d6883a72b0c51dd0455acea43e21b5537d9 Author: Richard Biene

[Bug sanitizer/105531] [13 regression] Recent libsanitizer imports breaks Solaris 11.3 build

2022-07-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105531 Rainer Orth changed: What|Removed |Added Resolution|--- |FIXED URL|

[Bug sanitizer/105531] [13 regression] Recent libsanitizer imports breaks Solaris 11.3 build

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105531 --- Comment #1 from CVS Commits --- The master branch has been updated by Rainer Orth : https://gcc.gnu.org/g:786e51648bd9a6880339329380751809fb97cd6d commit r13-1797-g786e51648bd9a6880339329380751809fb97cd6d Author: Rainer Orth Date: Fri J

[Bug c++/106409] GCC with LTO: Warning: argument 1 value ‘18...615’ (SIZE_MAX) exceeds maximum object size

2022-07-22 Thread lluis.alemany.puig at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106409 --- Comment #1 from llualpu --- This was originally submitted at Stack Overflow: https://stackoverflow.com/questions/73047957/gcc-with-lto-warning-argument-1-value-18-615-size-max-exceeds-maximum-ob

[Bug c++/106409] New: GCC with LTO: Warning: argument 1 value ‘18...615’ (SIZE_MAX) exceeds maximum object size

2022-07-22 Thread lluis.alemany.puig at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106409 Bug ID: 106409 Summary: GCC with LTO: Warning: argument 1 value ‘18...615’ (SIZE_MAX) exceeds maximum object size Product: gcc Version: 11.1.1 Status: UNCONFIRMED

[Bug target/106346] Potential regression on vectorization of left shift with constants since r11-5160-g9fc9573f9a5e94

2022-07-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106346 Tamar Christina changed: What|Removed |Added CC||tnfchris at gcc dot gnu.org --- Comme

[Bug middle-end/106408] PRE with infinite loops

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106408 --- Comment #1 from Richard Biener --- An incomplete solution on the GIMPLE level is the following. It's incomplete because there's a hole for irreducible regions which we do not represent explicitely (nor their sub-irreducible regions). rev_p

[Bug rtl-optimization/106078] RTL PRE with non-call-exceptions

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 --- Comment #7 from Richard Biener --- I split out the inifinite loop case to PR106408.

[Bug middle-end/106408] New: PRE with infinite loops

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106408 Bug ID: 106408 Summary: PRE with infinite loops Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Ass

[Bug rtl-optimization/106078] RTL PRE with non-call-exceptions

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106078 Richard Biener changed: What|Removed |Added Summary|Invalid loop invariant |RTL PRE with |motion

[Bug target/106407] [13 Regression] ICE: in copy_to_mode_reg, at explow.cc:652 with -O2 -fno-dce -fno-tree-dce -fno-tree-dse since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106407 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug target/106346] Potential regression on vectorization of left shift with constants since r11-5160-g9fc9573f9a5e94

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106346 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Status|UNCONFIRMED

[Bug debug/106399] [10/11/12/13 Regression] Wrong debug info for function with nested function under O0 since r9-1284-gd70ba0c10dec6968

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106399 Martin Liška changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org,

[Bug target/106407] New: [13 Regression] ICE: in copy_to_mode_reg, at explow.cc:652 with -O2 -fno-dce -fno-tree-dce -fno-tree-dse

2022-07-22 Thread zsojka at seznam dot cz via Gcc-bugs
ecking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220722 (experimental) (GCC)

[Bug c++/106405] GCC incorrectly accepts function template specialization

2022-07-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106405 Jonathan Wakely changed: What|Removed |Added Keywords||accepts-invalid --- Comment #1 from J

[Bug rtl-optimization/105041] '-fcompare-debug' failure w/ -mcpu=power6 -O2 -fharden-compares -frename-registers

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105041 --- Comment #12 from CVS Commits --- The releases/gcc-10 branch has been updated by Surya Kumari Jangala : https://gcc.gnu.org/g:2753c7d0cd95a3db9d97c5ee674917ad11de5246 commit r10-10907-g2753c7d0cd95a3db9d97c5ee674917ad11de5246 Author: Surya

[Bug c/106406] New: _Static_assert declaration can not be first of for-triplet

2022-07-22 Thread chumarshal at foxmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106406 Bug ID: 106406 Summary: _Static_assert declaration can not be first of for-triplet Product: gcc Version: rust/master Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/105376] ICE: in decimal_to_decnumber, at dfp.cc:134 with _Decimal128 at -O -g

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

[Bug tree-optimization/101555] Compile slowdown in tree PRE

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

[Bug c++/106405] New: GCC incorrectly accepts function template specialization

2022-07-22 Thread jlame646 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106405 Bug ID: 106405 Summary: GCC incorrectly accepts function template specialization Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Pr

[Bug tree-optimization/106397] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a898666609452e

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

[Bug tree-optimization/106403] [13 Regression] ICE in rpo_vn_valueize at gcc/tree-ssa-sccvn.cc:7505

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

[Bug tree-optimization/106397] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a898666609452e

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106397 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b2e99bb6900f33f46a0f4ca6ae94b8a39b0b9bb1 commit r13-1794-gb2e99bb6900f33f46a0f4ca6ae94b8a39b0b9bb1 Author: Richard Biener Date:

[Bug tree-optimization/106403] [13 Regression] ICE in rpo_vn_valueize at gcc/tree-ssa-sccvn.cc:7505

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106403 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:d85e5aeb7665ea941ff0ef7c11bfe1d39986b48a commit r13-1795-gd85e5aeb7665ea941ff0ef7c11bfe1d39986b48a Author: Richard Biener Date:

[Bug target/106404] [13 Regression] ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O2 -fno-dce --param=max-cse-insns=1 since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106404 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug target/106303] [13 Regression] ICE on valid code at -O3 with -fno-inline-small-functions on x86_64-linux-gnu: in extract_insn, at recog.cc:2791 since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106303 Roger Sayle changed: What|Removed |Added CC||zsojka at seznam dot cz --- Comment #7 fr

[Bug tree-optimization/106403] [13 Regression] ICE in rpo_vn_valueize at gcc/tree-ssa-sccvn.cc:7505

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106403 --- Comment #3 from Richard Biener --- Ah, internal_fn_stored_value_index returns -1 for .STORE_LANES :/ Well, the fix is reasonably easy.

[Bug tree-optimization/106403] [13 Regression] ICE in rpo_vn_valueize at gcc/tree-ssa-sccvn.cc:7505

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106403 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/106404] [13 Regression] ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O2 -fno-dce --param=max-cse-insns=1 since r13-1607-gc3ed9e0d6e96d869

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106404 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/106404] [13 Regression] ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O2 -fno-dce --param=max-cse-insns=1 since r13-1607-gc3ed9e0d6e96d869

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

[Bug tree-optimization/106397] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a898666609452e

2022-07-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106397 --- Comment #3 from Richard Biener --- The prefetching pass puts a __builtin_ia32_mfence () before the __builtin_unreachable () at the loop exit. IIRC there's a related bug that while return statements have a VUSE alternate "function returns" m

[Bug target/106404] New: [13 Regression] ICE: in extract_insn, at recog.cc:2791 (unrecognizable insn) with -O2 -fno-dce --param=max-cse-insns=1

2022-07-22 Thread zsojka at seznam dot cz via Gcc-bugs
2100642-g1cc0e9a46e7-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20220722 (experimental) (GCC)

[Bug tree-optimization/106403] [13 Regression] ICE in rpo_vn_valueize at gcc/tree-ssa-sccvn.cc:7505

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106403 --- Comment #1 from Martin Liška --- where it gets RHS for: # .MEM_136 = VDEF <.MEM_129> MEM [(real(kind=4) *)vectp.64_120] = .STORE_LANES (vect_array.66);

[Bug tree-optimization/106403] [13 Regression] ICE in vect pass

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106403 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org S

[Bug tree-optimization/106403] New: [13 Regression] ICE in vect pass

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106403 Bug ID: 106403 Summary: [13 Regression] ICE in vect pass Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority:

[Bug analyzer/106401] [13 Regression] ICE: in binding_cluster, at analyzer/store.cc:1110 with -fanalyzer since r13-1761-g68871a008e686dbe

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106401 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug tree-optimization/106397] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645 since r13-1450-gd2a898666609452e

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106397 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Sum

[Bug c++/106398] ICE in finish_expr_stmt at cp/semantics.c:872 for lambda with conditional noexcept against lambda in unevaluated context

2022-07-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106398 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug tree-optimization/106387] [13 regression] ICE when building gcc after r13-1764-g5f59d0f2d9fa92

2022-07-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106387 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:3c4af0f0549a07799d76e9e48d3d3bd85197b92a commit r13-1793-g3c4af0f0549a07799d76e9e48d3d3bd85197b92a Author: Richard Biener Date:

[Bug tree-optimization/106387] [13 regression] ICE when building gcc after r13-1764-g5f59d0f2d9fa92

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

  1   2   >