[Bug middle-end/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 --- Comment #1 from Sergei Trofimovich --- Created attachment 55330 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55330&action=edit mont.c.c.orig.xz In case I reduced it too much mont.c.c.orig.xz is the original preprocessed file. ICEs w

[Bug target/110274] New: [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Initially observed test failures on highway-1.0.4 project against r14-1868-ga4df0ce78d6f1b . There testsuite fails as: The

[Bug target/110274] [14 Regression] Wrong AVX2 code on highway-1.0.4 on -O1 and above

2023-06-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110274 --- Comment #1 from Sergei Trofimovich --- Created attachment 55336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55336&action=edit shift_test.cc

[Bug tree-optimization/110271] [14 Regression] UICE on pycryptodome-3.17.0 during GIMPLE pass: widening_mul: in gsi_replace, at gimple-iterator.cc:437

2023-06-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110271 --- Comment #7 from Sergei Trofimovich --- I confirm the fix also fixes pycryptodome-3.17.0 package build. Thank you!

[Bug middle-end/110228] [14 Regression] llvm-16 miscompiled due to an maybe uninitialized and optimizations saying that the uninitialized has a nonzero bits of 1.

2023-06-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #14 from Sergei Trofimovich --- > LookupFlags = LookupFlags | t; That makes `LookupFlags` to guarantee to contain uninitialized bits. Did you mean `LookupFlags = t;`?

[Bug debug/110308] New: [14 Regression] ICE on audiofile-0.3.6: RTL: vartrack: Segmentation fault in mode_to_precision(machine_mode)

2023-06-19 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Initially observed ICE on audiofile-0.3.6 when building with r14-1921-g7360cba833cd92

[Bug debug/110308] [14 Regression] ICE on audiofile-0.3.6: RTL: vartrack: Segmentation fault in mode_to_precision(machine_mode)

2023-06-19 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110308 --- Comment #1 from Sergei Trofimovich --- Created attachment 55362 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55362&action=edit bug.cpp.cpp.orig.xz - unreduced In case I reduced it incorrectly bug.cpp.cpp.orig.xz is the unreduced pre

[Bug debug/110308] [14 Regression] ICE on audiofile-0.3.6: RTL: vartrack: Segmentation fault in mode_to_precision(machine_mode)

2023-06-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110308 --- Comment #11 from Sergei Trofimovich --- (In reply to manolis.tsamis from comment #10) > Created attachment 55369 [details] > ICE-fix-proposal-1 Proposed patch fixes ICE on audiofile-0.3.6 for me. Thank you!

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-21 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 --- Comment #9 from Sergei Trofimovich --- (In reply to Andrew Pinski from comment #2) > Either r14-1981 or r14-1951 Reverting r14-1981-g85107abeb71bbf restores llvm-12 build for me.

[Bug tree-optimization/110332] [14 regression] ICE in dominated_by_p when building LLVM with -O3

2023-06-22 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110332 --- Comment #13 from Sergei Trofimovich --- The fix fixes llvm-12 build for me. Thank you!

[Bug middle-end/110443] New: [14 Regression] ICE on a52dec-0.7.4:

2023-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticerd ICE on a52dec-0.7.4 against gcc r14-2134-g231f6b56c77c50. Extracted minimal example is: Extracted reproducer: // $ cat bug.c.c typedef struct { float real; float

[Bug middle-end/110443] [14 Regression] ICE on a52dec-0.7.4: GIMPLE pass: vect SIGSEGV in vect_get_gather_scatter_ops()

2023-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110443 Sergei Trofimovich changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Com

[Bug middle-end/110443] [14 Regression] ICE on a52dec-0.7.4: GIMPLE pass: vect SIGSEGV in vect_get_gather_scatter_ops()

2023-06-27 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110443 --- Comment #3 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #2) > I wonder if it's a r14-2117-gdd86a5a69cbda4 "tree-optimization/96208 - SLP > of non-grouped loads". Reverting r14-2117-gdd86a5a69cbda4 fixes a52dec-0.

[Bug middle-end/110443] [14 Regression] ICE on a52dec-0.7.4: GIMPLE pass: vect SIGSEGV in vect_get_gather_scatter_ops()

2023-06-28 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110443 --- Comment #8 from Sergei Trofimovich --- I confirm a52dec-0.7.4 is fixed as well now. Thank you!

[Bug middle-end/110515] New: [14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Created attachment 55447 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55447&action=edit DwarfCompileUnit.cpp Initia

[Bug middle-end/110515] [14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-01 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 --- Comment #1 from Sergei Trofimovich --- I tried reverting r14-1597-g64d90d06d2db43 in hopes to sidestep PR110228. It did not help.

[Bug c++/110523] New: [14 Regression] ICE in redeclare_class_template, at cp/pt.cc:6391 on json-3.11.2

2023-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed ICE on r14-2233-gfca6d9c12f5bf0 when was building json-3.11.2 package. Extracted reproducer: // $ cat bug.cpp

[Bug c++/110523] [14 Regression] ICE in redeclare_class_template, at cp/pt.cc:6391 on json-3.11.2

2023-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110523 --- Comment #1 from Sergei Trofimovich --- Created attachment 55452 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55452&action=edit bug.cpp.orig.xz In case I reduced the file incorrectly attaching bug.cpp.orig.xz which should build with

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-03 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 Sergei Trofimovich changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Com

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-03 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #25 from Sergei Trofimovich --- Specifically this bug.c.034t.ccp1's bit looks fishy: ... Folding statement: LookupFlags_14 = 1; Queued stmt for removal. Folds to: 1 Folding statement: LookupFlags_15 = 0; Queued stmt for removal. F

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #32 from Sergei Trofimovich --- (In reply to Richard Biener from comment #29) > I can't reproduce the original failure on trunk or with GCC 13.1, but the > testcase from comment#16 is now fixed. I also cannot reproduce the testcase

[Bug middle-end/110228] [13/14 Regression] llvm-16 miscompiled due to an maybe uninitialized variable

2023-07-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 --- Comment #34 from Sergei Trofimovich --- (In reply to rguent...@suse.de from comment #33) > On Tue, 4 Jul 2023, slyfox at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110228 > > > > ---

[Bug middle-end/110515] [12/13/14 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-04 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 --- Comment #7 from Sergei Trofimovich --- (In reply to Richard Biener from comment #6) > Turning off PRE also allows it to pass but I guess it's the same as with SRA. > -fno-strict-aliasing also helps, -fno-ipa-modref doesn't. I suspect > bise

[Bug middle-end/110515] [12/13 Regression] llvm-15.0.7 possibly invalid code on -O3

2023-07-06 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110515 --- Comment #13 from Sergei Trofimovich --- I confirm the change fixed llvm-15.0.7 test suite. Thank you!

[Bug c++/110580] New: [14 Regression] gcc fails to typecheck nix-2.16.1 source: error: invalid initialization of reference of type

2023-07-06 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Created attachment 55495 --> https://gcc.gnu.org/bugzi

[Bug c++/110598] New: [14 Regression] wrong code on llvm-14.0.6

2023-07-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Initially observed the failure as llvm-14.0.6 testsuite hangup on gcc 15bbf1826a01f5beb2d7c0f74d6270bbc94ece91. Initially observed on llvm-src-14.0.6/llvm/lib/Target/AMDGPU

[Bug middle-end/110601] New: [14 Regression] ICE on systemd-253.5: during GIMPLE pass: cunroll: internal compiler error: Segmentation fault in scale_loop_profile()

2023-07-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed ICE on gcc-master r14-2396

[Bug middle-end/110601] [14 Regression] ICE on systemd-253.5: during GIMPLE pass: cunroll: internal compiler error: Segmentation fault in scale_loop_profile()

2023-07-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110601 --- Comment #1 from Sergei Trofimovich --- Created attachment 55505 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55505&action=edit bug.c.org Attaching bug.c.org in case reduced example is too artificial.

[Bug target/110598] [14 Regression] wrong code on llvm-14.0.6 due to memcmp being miscompiled

2023-07-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110598 Sergei Trofimovich changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c++/96425] ICE in maybe_process_partial_specialization() since r11-2735-g634046d1a81b48

2023-07-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96425 Sergei Trofimovich changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/110523] [14 Regression] ICE in redeclare_class_template, at cp/pt.cc:6391 on json-3.11.2

2023-07-10 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110523 --- Comment #12 from Sergei Trofimovich --- I confirm ICE gone away for json-3.11.2. json-3.11.2 still odes not compile same as in https://gcc.gnu.org/PR110580

[Bug c++/110580] [14 Regression] gcc fails to typecheck nix-2.16.1 source: error: invalid initialization of reference of type

2023-07-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110580 --- Comment #10 from Sergei Trofimovich --- I confirm the change fixed nix-2.16.1 and json-3.11.2 builds for me. Thank you!

[Bug target/110598] [14 Regression] wrong code on llvm-14.0.6 due to memcmp being miscompiled

2023-07-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110598 --- Comment #6 from Sergei Trofimovich --- The change fixed test suite on llvm-14.0.6 and on llvm-12.0.1. Thank you!

[Bug tree-optimization/110652] New: [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
oduct: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed build failure

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 Sergei Trofimovich changed: What|Removed |Added CC||linkw at gcc dot gnu.org --- Comme

[Bug middle-end/110697] New: [14 Regression] bootstrap failure on

2023-07-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed bootstrap build failure today on r14-2553-ga5088dc3f5ef73 : $ ~/dev/git/gcc/configure --disable-multilib $ make /tmp/gb/./prev-gcc/xg++ -B/tmp/gb/./prev-gcc/ -B/usr

[Bug tree-optimization/110652] [14 Regression] bootstrap failure on tree-vect-stmts.cc with --enable-checking=release: error: 'new_temp' may be used uninitialized

2023-07-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110652 --- Comment #10 from Sergei Trofimovich --- I confirm the change fixed build for me (it also needed unrelated workaround for https://gcc.gnu.org/PR110697). Thank you!

[Bug middle-end/110697] [14 Regression] bootstrap failure on gcc/tree-ssa-loop-ivcanon.cc:1170 error: variable 'entry_count' set but not used [-Werror=unused-but-set-variable]

2023-07-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110697 --- Comment #3 from Sergei Trofimovich --- I confirm this fixed the bootstrap for me. Thank you!

[Bug middle-end/110726] New: [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
ty: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- This week's gcc r14-2600-g3a407070b610a8 fails llvm-16 test suite as: Failed Tests (1): LLVM-

[Bug middle-end/110726] [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726 --- Comment #7 from Sergei Trofimovich --- Silly question: I would expect -O0 not to perform any simplifications like that. Does `gcc` have a knob to disable `match.pd` templates? Or some of them are crucial for correctness?

[Bug middle-end/110726] [14 Regression] wrong code on llvm-16 around 'a |= a == 0'

2023-07-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110726 --- Comment #10 from Sergei Trofimovich --- (In reply to Andrew Pinski from comment #5) > Created attachment 55575 [details] > Patch which should fix this This fixed llvm-16 test suite for me. Thank you!

[Bug tree-optimization/112991] New: [14 Regression] ICE during GIMPLE pass: ifcvt on p7zip-17.05

2023-12-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed ICE on current gcc-master when built p7zip-17.05 with r14-6466-gcd7d0b4cf78926 . Minimized example: $ cat a.c.c

[Bug tree-optimization/112991] [14 Regression] ICE during GIMPLE pass: ifcvt on p7zip-17.05 since r14-6457

2023-12-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112991 --- Comment #5 from Sergei Trofimovich --- The change also fixes p7zip-17.05 build for me. Thank you!

[Bug bootstrap/113132] New: [14 regression] --enable-checking=release build fails: tree-vect-loop.cc:6221:34: error: ‘vec_stmts.vec::m_vec’ may be used uninitialized [-Werror

2023-12-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
[-Werror=maybe-uninitialized] Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target

[Bug bootstrap/113132] [14 regression] --enable-checking=release build fails: tree-vect-loop.cc:6221:34: error: ‘vec_stmts.vec::m_vec’ may be used uninitialized [-Werror=mayb

2023-12-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113132 Sergei Trofimovich changed: What|Removed |Added CC||tamar.christina at arm dot com ---

[Bug bootstrap/113445] New: [14 Regression] bootstrap failure on f95-lang.cc: ‘-fcompare-debug’ failure

2024-01-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed bootstrap failure on today's gcc-master from r14-8179-g97089a54f7529a: $ ~/dev/git/gcc/configure --di

[Bug bootstrap/113445] [14 Regression] bootstrap failure on f95-lang.cc: ‘-fcompare-debug’ failure since r14-8174

2024-01-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113445 --- Comment #10 from Sergei Trofimovich --- The patch fixes bootstrap for me as well. Thank you!

[Bug c++/113141] [13/14 Regression] ICE on conversion to reference in aggregate initialization

2024-01-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113141 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org

[Bug tree-optimization/115387] [15 regression] ICE in iovsprintf.c since r15-1081-ge14afbe2d1c

2024-06-10 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115387 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org

[Bug tree-optimization/115404] [15 Regression] possibly wrong code on glibc-2.39 since r15-1113-gde05e44b2ad963

2024-06-10 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115404 Sergei Trofimovich changed: What|Removed |Added Resolution|--- |DUPLICATE Status|NEW

[Bug tree-optimization/115602] New: [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643

2024-06-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Possibly recent regression observed on liblapack-3.12.0 on r15-1566-gfd536b8412d4da. Reduced

[Bug tree-optimization/115602] [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643

2024-06-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115602 --- Comment #1 from Sergei Trofimovich --- Created attachment 58501 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58501&action=edit ztpmv.f.f Also attaching unreduced 'ztpmv.f.f' in case cvise mangled it too much.

[Bug tree-optimization/115602] [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643 since r15-1565-g2a345214fc332b

2024-06-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115602 --- Comment #3 from Sergei Trofimovich --- bisect landed at r15-1565-g2a345214fc332b commit 2a345214fc332b6f0821edf394ff8802b768db1d (HEAD) Author: Richard Biener Date: Sun Jun 23 11:26:39 2024 +0200 tree-optimization/115597 - allow CSE

[Bug tree-optimization/115602] [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643 since r15-1565-g2a345214fc332b

2024-06-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115602 --- Comment #4 from Sergei Trofimovich --- If C example is easier to debug graphviz-10.0.1 exhibits the same ICE. Minimized example: // $ cat gvevent.c.c typedef struct { double x, y; } pointf; struct { pointf focus; double zoom; pointf

[Bug tree-optimization/115602] [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643 since r15-1565-g2a345214fc332b

2024-06-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115602 --- Comment #5 from Sergei Trofimovich --- Created attachment 58502 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58502&action=edit gvevent.c.c Attaching unreduced gvevent.c.c in case cvise mangled it too much.

[Bug tree-optimization/115602] [15 Regression] ICE on liblapack-3.12.0: in vect_schedule_slp_node, at tree-vect-slp.cc:9643 since r15-1565-g2a345214fc332b

2024-06-24 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115602 --- Comment #11 from Sergei Trofimovich --- The change fixed both liblapack-3.12.0 and graphviz-10.0.1 builds for me. Thank you!

[Bug bootstrap/115655] New: [15 Regression] bootstrap failure on legitimize_dllimport_symbol:

2024-06-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- The bootstrap build fails on x86_64-linux as: ../../source/gcc/config/i386/i386.cc:107:12: error: 'rt

[Bug target/115643] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64

2024-06-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #3 from Sergei Trofimovich --- I got a similar failure for `--target=i686-w64-mingw32`. It is probably slightly dependent on system headers and binutils version. Mine is binutils-2.42. I extracted the following self-contained exampl

[Bug target/115643] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64

2024-06-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #4 from Sergei Trofimovich --- `gcc` produces the following assembly: $ gcc/xgcc -Bgcc -fbuilding-libgcc -fno-stack-protector -S __main.c.c -o - -O2 .file "__main.c.c" .text .p2align 4 .globl _

[Bug target/115643] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64

2024-06-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #5 from Sergei Trofimovich --- Bisected down to r15-1602-ged20feebd9ea31 commit ed20feebd9ea31d58861f61205bd412b0c3febd0 Author: Evgeny Karpov Date: Mon Jun 24 12:46:54 2024 + Adjust DLL import/export implementation for

[Bug target/115643] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64

2024-06-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #6 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #5) > Bisected down to r15-1602-ged20feebd9ea31 > +#define PE_COFF_EXTERN_DECL_SHOULD_BE_LEGITIMIZED \ > + ix86_cmodel == CM_LARGE_PIC || ix86_cmodel == C

[Bug target/115643] [15 regression] aarch64-w64-mingw32 support today breaks x86_64-w64-mingw32 build cannot represent relocation type BFD_RELOC_64 since r15-1602-ged20feebd9ea31

2024-06-28 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115643 --- Comment #18 from Sergei Trofimovich --- (In reply to Evgeny Karpov from comment #13) > Could you please confirm that the patch resolves the issue? The change fixes --target=i686-w64-mingw32 for me. Thank you!

[Bug c++/115797] New: [15 Regression] 'extern "C" { #include }' fails with 'error: template with C linkage' since r15-1857-gde19b516edbf91

2024-07-05 Thread slyfox at gcc dot gnu.org via Gcc-bugs
edbf91 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed on jemalloc-5.3.0 which

[Bug libstdc++/115797] [15 Regression] 'extern "C" { #include }' fails with 'error: template with C linkage' since r15-1857-gde19b516edbf91

2024-07-05 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115797 --- Comment #6 from Sergei Trofimovich --- Another build failure example is pipewire-1.2.0. There is included indirectly through another header: https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/master/spa/plugins/alsa/alsa-pcm.h#L2

[Bug middle-end/115863] New: [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-10 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed as a zlib-1.3.1 test failure on today's gcc r15-1936-g80e446e829d818. The symptom is a test crash on zlib-

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-11 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 --- Comment #5 from Sergei Trofimovich --- (In reply to H.J. Lu from comment #3) > This may be fixed by r15-1954. Great find! That fix repairs `zlib` and `perl` for me. Here is the extracted example from zlib-1.3.1 for completeness in case it'

[Bug middle-end/115916] New: [15 Regression] wrong code on highway-1.2.0

2024-07-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Seemingly a recent regression. On gcc-master r15-2026-g44c9403ed1833a highway-1.2.0 testsuite fails as: The following tests FAILED: 1190 - HwyShuffle4TestGroup

[Bug middle-end/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 Sergei Trofimovich changed: What|Removed |Added CC||law at gcc dot gnu.org

[Bug c/115185] Missing "too long" warning when string-array size doesn't include NULL byte

2024-07-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
, ||mark at gcc dot gnu.org, ||slyfox at gcc dot gnu.org --- Comment #14 from Sergei Trofimovich --- This generates warning on reasonably looking code. On strace-6.9: https://github.com/strace/strace/blob/v6.9

[Bug c/115185] Missing "too long" warning when string-array size doesn't include NULL byte

2024-07-15 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115185 --- Comment #16 from Sergei Trofimovich --- Sounds reasonable. Proposed possible changes upstream: - elfutils: https://patchwork.sourceware.org/project/elfutils/patch/20240715212340.190915-1-sly...@gmail.com/ - strace: https://github.com/strace/

[Bug target/115961] New: [15 Regression] wrong code on llvm-18.1.8 since r15-1936-g80e446e829d818

2024-07-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Initially observed the failure on r15-1936-g80e446e829d818 compiler on llvm-18.1.8 testsuite as failures: Failed Tests (22

[Bug target/115961] [15 Regression] wrong code on llvm-18.1.8 since r15-1936-g80e446e829d818

2024-07-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115961 --- Comment #1 from Sergei Trofimovich --- Forgot to post minimized example: // $ cat a.cc struct e { unsigned pre : 12; unsigned a : 4; }; static unsigned min_u(unsigned a, unsigned b) { return (b < a) ? b : a; } __attribute__((noipa)) void

[Bug rtl-optimization/115916] [15 Regression] wrong code on highway-1.2.0 since r15-2011-ga6f551d079de1d

2024-07-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115916 --- Comment #7 from Sergei Trofimovich --- The change also fixed highway-1.2.0 testsuite for me. Thank you!

[Bug rtl-optimization/115991] New: [15 Regression] ICE on linux-6.10 in ix86_print_operand_address_as()

2024-07-18 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed the ICE when was building linux-6.10 with r15-2147-g9846b0916c1a9b gcc-master: CC [M] drivers/gpu/drm/nouveau

[Bug tree-optimization/115991] [15 Regression] ICE on linux-6.10 in ix86_print_operand_address_as() since r15-1945-g9d20529d94b232

2024-07-23 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115991 --- Comment #10 from Sergei Trofimovich --- Slightly more type-sound program, still ICEs: typedef unsigned u32; int b(void); void f_l_u32(long, u32); void bug(void) { u32 hdr[3]; u32 offset = 0; for (;b();) { u32 _addr = offset; u

[Bug tree-optimization/115991] [15 Regression] ICE on linux-6.10 in ix86_print_operand_address_as() since r15-1945-g9d20529d94b232

2024-07-24 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115991 --- Comment #11 from Sergei Trofimovich --- Looking at indunction variable candidates: : inv_expr 1: (signed int) offset_5 + 12 inv_expr 2: (signed int) offset_5 + 16 inv_expr 3: (signed int) offset_5 - (signed int) (unsigned long)

[Bug tree-optimization/115991] [15 Regression] ICE on linux-6.10 in ix86_print_operand_address_as() since r15-1945-g9d20529d94b232

2024-07-24 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115991 --- Comment #13 from Sergei Trofimovich --- (In reply to Andrew Pinski from comment #1) > BUT BUT ivopts does: > > _30 = (unsigned int) &hdr; > ivtmp.22_24 = -_30; > > which does not make sense. > > So I think this is a bug in IV_OPTs in the

[Bug middle-end/115961] [15 Regression] wrong code on llvm-18.1.8 since r15-1936-g80e446e829d818 with bitfields less than the type mode precision

2024-07-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115961 --- Comment #8 from Sergei Trofimovich --- The change also fixes all llvm-18.1.8 testsuite failures for me. Thank you!

[Bug middle-end/115863] [15 Regression] zlib-1.3.1 miscompilation since r15-1936-g80e446e829d818

2024-07-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115863 Sergei Trofimovich changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/115161] highway-1.0.7 miscompilation of _mm_cvttps_epi32(): invalid result assumed

2024-07-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115161 Sergei Trofimovich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/115991] [15 Regression] ICE on linux-6.10 in ix86_print_operand_address_as() since r15-1945-g9d20529d94b232

2024-07-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115991 Sergei Trofimovich changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org

[Bug target/115881] [15 Regression] ICE: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:1934 with -O2 -mx32 -maddress-mode=long

2024-07-25 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115881 --- Comment #7 from Sergei Trofimovich --- Started from r15-1945-g9d20529d94b232. https://gcc.gnu.org/PR115991#c10 also has an `x86_64 -m64 -O2` example extracted from ICE during `linux-6.10` kernel build.

[Bug c++/115403] [15 Regression] highway build from git fails with 'target specific option mismatch' (templates) since r15-902-geff00046409a72

2024-07-26 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115403 --- Comment #7 from Sergei Trofimovich --- The change fixed highway build for me as well. Thank you!

[Bug bootstrap/117039] New: [15 Regression] Build failure: libcpp/directives.cc:2078:34: error: unknown conversion type character '>' in format [-Werror=format=]

2024-10-08 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Werror=format=] Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed

[Bug c++/117114] [15 Regression] -Woverloaded-virtual false positives on multiple inheritance since r15-4282-g60163c85730e6b

2024-10-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117114 Sergei Trofimovich changed: What|Removed |Added Summary|[15 Regression] |[15 Regression]

[Bug c++/117114] New: [15 Regression] -Woverloaded-virtual false positives on multiple inheritance

2024-10-13 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed the warnings and -Werror build failures on today's gcc-master from r15-4297-gc38385ddbcce9f. Self-contained ex

[Bug ipa/112601] [12/13/14/15 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2024-10-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 --- Comment #3 from Sergei Trofimovich --- Slightly shorter reproducer: static void printChar(int &, char) {} int emit_OS; char emit___trans_tmp_1; static void emit(void Print(int &, char)) { Print(emit_OS, emit___trans_tmp_1); } struct Seque

[Bug middle-end/116814] [15 Regression] ICE on libjack2-1.9.22: in expand_fn_using_insn, at internal-fn.cc:263 since r15-1671-gf2476a2649e997

2024-10-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116814 Sergei Trofimovich changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug ipa/112601] [12/13/14/15 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2024-10-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 --- Comment #7 from Sergei Trofimovich --- Here is my understanding of the issue: The problem appears when ipa-inline (at `a.cpp.089i.inline` pass) tries to inline: a.cpp:5:9: note: Inlining void emit(void (*)())/1 to static void S::sm()/2

[Bug middle-end/117141] New: gcc/match.pd: patten duplicates around signed_integer_sat_sub

2024-10-14 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed today that `gcc/match.pd` contains duplicate patterns. Build also complains about them on `x86_64-linux` as: build/genmatch

[Bug ipa/112601] [12/13/14/15 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2024-10-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 --- Comment #4 from Sergei Trofimovich --- Cloud also get rid of all the globals: static void printChar() {} static void emit(void Print()) { Print(); } struct S { __attribute__((noinline)) static void sm() { emit(printChar); } }; void

[Bug ipa/112601] [12/13/14/15 Regression] ICE in cgraph_node::verify_node(): error: invalid calls_comdat_local flag

2024-10-12 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112601 --- Comment #5 from Sergei Trofimovich --- (In reply to Sergei Trofimovich from comment #4) > Cloud also get rid of all the globals: > > static void printChar() {} > static void emit(void Print()) { Print(); } > struct S { > __attribute__((no

[Bug bootstrap/117039] [15 Regression] Build failure: libcpp/directives.cc:2078:34: error: unknown conversion type character '>' in format [-Werror=format=]

2024-10-09 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117039 --- Comment #6 from Sergei Trofimovich --- The change fixed the build for my environment as well. Thank you!

[Bug c/117177] [15 regression] RISC-V: Error when building glibc from source since r15-4377-gf9bac238840

2024-10-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117177 --- Comment #7 from Sergei Trofimovich --- The change fixed python-3.12.7 build failure for me. Thank you!

[Bug c/117177] [15 regression] RISC-V: Error when building glibc from source since r15-4377-gf9bac238840

2024-10-16 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117177 Sergei Trofimovich changed: What|Removed |Added CC||slyfox at gcc dot gnu.org

[Bug target/117194] New: [15 Regression] Wrong code on highway-1.2.0

2024-10-17 Thread slyfox at gcc dot gnu.org via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Noticed on current gcc-master from r15-4419-g6604a05fa27bc2 (did not bisect to precise commit) `highway-1.2.0` testsuite fails as: > The following tests FAI

[Bug c/117288] [15 Regression] LTO ICE in output_constructor_regular_field at varasm.cc:5644 on wolfssl-5.7.2 since r15-4377-gf9bac238840155

2024-10-24 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117288 Sergei Trofimovich changed: What|Removed |Added Summary|[15 Regression] LTO ICE in |[15 Regression] LTO ICE in

[Bug middle-end/117378] New: [15 Regression] ICE on waybar-0.11.0: verify_gimple failed

2024-10-30 Thread slyfox at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: slyfox at gcc dot gnu.org Target Milestone: --- Created attachment 59508 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59508&action=edit power_profiles_daemon.cpp.cpp

<    1   2   3   4   5   6   7   >