https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102846
Andrew Pinski changed:
What|Removed |Added
CC||xry111 at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118625
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118625
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118597
--- Comment #5 from Andrew Pinski ---
(In reply to Richard Biener from comment #4)
> It will need less strict pattern matching, likely just the SSA names used
> changed (I also have the opinion -raw dumps should be removed, so try to
> not rely
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118625
Bug ID: 118625
Summary: Ironic fix-it hint when the right parenthesis of an
assert macro is forgotten
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Severity:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118597
Richard Biener changed:
What|Removed |Added
Keywords|missed-optimization |
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116578
Richard Biener changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
Richard Biener changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118558
--- Comment #10 from GCC Commits ---
The master branch has been updated by Richard Biener :
https://gcc.gnu.org/g:7f1deb47a70ff804f0b2cce7be7e5fe8ba13
commit r15-7149-g7f1deb47a70ff804f0b2cce7be7e5fe8ba13
Author: Richard Biener
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624
--- Comment #3 from Andrew Pinski ---
Or P1787R6 changed how the lookup here and I am not 100% sure if any compiler
implements that paper 100% either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|1 |0
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Blocks|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118624
Bug ID: 118624
Summary: in-class template declaration failed to match
out-class impl
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
Severity: normal
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
--- Comment #4 from Andrew Pinski ---
Created attachment 60247
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60247&action=edit
self testing testcase
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
--- Comment #3 from Andrew Pinski ---
(In reply to Sam James from comment #2)
> Changing it to:
> ```
> int a, b;
>
> int c(int f, int g) {
> for (int d = 0; d <= 4; d++) {
> int e = 1 << f;
> if (g & e)
> return d;
> }
> re
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
--- Comment #2 from Sam James ---
Changing it to:
```
int a, b;
int c(int f, int g) {
for (int d = 0; d <= 4; d++) {
int e = 1 << f;
if (g & e)
return d;
}
return 5;
}
int h(int f, int g) {
if ((c(g - 50, g) + g + g) & 1)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
Sam James changed:
What|Removed |Added
Component|c |tree-optimization
--- Comment #1 from Sam J
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
Sam James changed:
What|Removed |Added
Summary|Miscompile with -O2/3 and |[12/13/14/15 regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118623
Bug ID: 118623
Summary: Miscompile with -O2/3 and -O0/1
Product: gcc
Version: 12.1.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
As
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #11 from Andrew Pinski ---
(In reply to Sam James from comment #9)
> (In reply to Andrew Pinski from comment #8)
>
> Of course, you can try the new -fzero-init-padding-bits=all too.
I think would produce the same behavior as r15-57
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #10 from Sam James ---
(or unions, etc)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #8 from Andrew Pinski ---
Found out where the change from the self test failing to comparison fails:
r15-5746-g0547dbb725b6d8 self test fails
r15-5747-gfd62fdc5e1b3c4 fails with comparison
Maybe there is some uninitialized variable
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #9 from Sam James ---
(In reply to Andrew Pinski from comment #8)
Of course, you can try the new -fzero-init-padding-bits=all too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107741
Nathaniel Shead changed:
What|Removed |Added
Resolution|--- |FIXED
Assignee|unassigned a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103524
Bug 103524 depends on bug 118582, which changed state.
Bug 118582 Summary: [15 regression] [modules] Bad file data when building
as a header module since r15-2807
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118582
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118582
Nathaniel Shead changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118582
--- Comment #3 from GCC Commits ---
The master branch has been updated by Nathaniel Shead :
https://gcc.gnu.org/g:21cccfa91e6ed172062e0c62682422269c914937
commit r15-7146-g21cccfa91e6ed172062e0c62682422269c914937
Author: Nathaniel Shead
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107741
--- Comment #3 from GCC Commits ---
The master branch has been updated by Nathaniel Shead :
https://gcc.gnu.org/g:685c458fb4775cbd1a3b3d3585d1e5615d7eaee9
commit r15-7147-g685c458fb4775cbd1a3b3d3585d1e5615d7eaee9
Author: Nathaniel Shead
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118403
--- Comment #15 from Sam James ---
(In reply to Stephen Hemminger from comment #14)
> (In reply to Sam James from comment #13)
> > (In reply to Stephen Hemminger from comment #12)
> >
> > What does `gcc --version` give?
>
> $ gcc-15 --version
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118622
--- Comment #1 from Andrew Pinski ---
Created attachment 60246
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60246&action=edit
testcase
In comment #0, I forgot the add in the include files so I am attaching the full
testcase here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118622
Bug ID: 118622
Summary: vshrn_n_u16 with a vmvnq_u16 should produce the same
code as a vsubhn_u16 with -1
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118621
--- Comment #2 from Andrew Pinski ---
I suspect you file this bug with debian since that is where you got GCC and the
GSL library from.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118621
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118621
Bug ID: 118621
Summary: On PowerPC, taking address-of stack-allocated struct
variable gets 0x
Product: gcc
Version: 14.2.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82142
--- Comment #2 from Sam James ---
On trunk, the codegen looks optimal now (surely Jakub's changes in PR116416).
-explorer/gcc-snapshot/bin/g++
Target: x86_64-linux-gnu
Configured with: ../gcc-trunk-20250122/configure
--prefix=/opt/compiler-explorer/gcc-build/staging
--enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap
--enable-multiarch
-explorer/gcc-snapshot/bin/g++
Target: x86_64-linux-gnu
Configured with: ../gcc-trunk-20250122/configure
--prefix=/opt/compiler-explorer/gcc-build/staging
--enable-libstdcxx-backtrace=yes --build=x86_64-linux-gnu
--host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap
--enable-multiarch
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86284
--- Comment #7 from Sam James ---
(and for C, I think we have another bug for this, but it's very hard to do.)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104642
Sam James changed:
What|Removed |Added
CC||ktkachov at gcc dot gnu.org
--- Comment #8
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86284
Sam James changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501
--- Comment #12 from Xi Ruoyao ---
LoongArch fixed on trunk too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118501
--- Comment #11 from GCC Commits ---
The master branch has been updated by Xi Ruoyao :
https://gcc.gnu.org/g:9ddf4a6cc650360e620c8fd97f550bf833cc177a
commit r15-7145-g9ddf4a6cc650360e620c8fd97f550bf833cc177a
Author: Xi Ruoyao
Date: Wed Jan
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #7 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #6)
> r15-6007-g2c605367b4953f fails with comparison
r15-5801-g75ade6106bbe01 fails with comparison
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118618
Bug ID: 118618
Summary: RISC-V: Zcmp extension and RVV auto-vectorization are
both enabled,the sp register error.
Product: gcc
Version: 14.2.1
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
Andrew Pinski changed:
What|Removed |Added
Summary|[15 regression] |[15 regression] false
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #8 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #7)
> the auto_vec for converts could use N as being 2 too since
> supportable_indirect_convert_operation only currently pushes up to 2
> elements and allocating memor
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118617
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118617
Bug ID: 118617
Summary: the auto_vec converts variable that gets passed into
supportable_indirect_convert_operation could use
internal storage
Product: gcc
Versi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #7 from Andrew Pinski ---
the auto_vec for converts could use N as being 2 too since
supportable_indirect_convert_operation only currently pushes up to 2 elements
and allocating memory in the heap would be slowing than the internal s
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #6 from Andrew Pinski ---
r15-6007-g2c605367b4953f fails with comparison
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #6 from Andrew Pinski ---
This should avoid the warning and not change release checking performance:
```
[apinski@xeond2 gcc]$ git diff tree-vect-generic.cc
diff --git a/gcc/tree-vect-generic.cc b/gcc/tree-vect-generic.cc
index c2f7
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #5 from Andrew Pinski ---
I also think this warning is bogus.
Because converts will be non empty if supportable_indirect_convert_operation
returns true. Yes adding an assert will workaround the issue though. Maybe that
is enough her
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #9 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:5472f5185c0c78483f0d4e078e974030d7b5dccd
commit r15-7136-g5472f5185c0c78483f0d4e078e974030d7b5dccd
Author: Haochen Jiang
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #4 from Sam James ---
I am, fwiw, I just found the presence of the warning a bit odd as I've never
seen FPs with -Waggressive-loop-optimizations. But if it's a FP, then I don't
intend on trying to reduce it, and I'm fine with closing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #8 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:7f59b88279963cd05d2c2620a03d8ddc9b7a2775
commit r15-7135-g7f59b88279963cd05d2c2620a03d8ddc9b7a2775
Author: Haochen Jiang
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #3 from Andrew Pinski ---
I thought we documented somewhere you should use --disable-werror if you are
using bootstrap-O3 and/or bootstrap-lto .
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
Haochen Jiang changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
Sam James changed:
What|Removed |Added
Target Milestone|--- |15.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #13 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:a75896c142f845831a81f818dd329e87736c05a9
commit r15-7140-ga75896c142f845831a81f818dd329e87736c05a9
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #10 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:71a27375d09ec6b4dee3938b6d1ed6762ecdcfea
commit r15-7137-g71a27375d09ec6b4dee3938b6d1ed6762ecdcfea
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #15 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:f1056463cb4c7950fc1bada6485c14df71ea3dd7
commit r15-7142-gf1056463cb4c7950fc1bada6485c14df71ea3dd7
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #14 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:cfef82be8973c9dc481c96306ba3e2c342398e48
commit r15-7141-gcfef82be8973c9dc481c96306ba3e2c342398e48
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #12 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:a3e198853031504b5a71373ff09c33ee5be1a824
commit r15-7139-ga3e198853031504b5a71373ff09c33ee5be1a824
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #16 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:f1f281324b23e602436a10404c4b3a671d7f6f06
commit r15-7143-gf1f281324b23e602436a10404c4b3a671d7f6f06
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #7 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:d584660fd44c714855c5295b45cb4a06f1d82e58
commit r15-7134-gd584660fd44c714855c5295b45cb4a06f1d82e58
Author: Haochen Jiang
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #11 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:d4d5935f124ab72bb32d76ba8467aa2cdbc2a329
commit r15-7138-gd4d5935f124ab72bb32d76ba8467aa2cdbc2a329
Author: Haochen Jiang
Date:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #6 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:b2667fca938c393579e6e4ae9144ff5111ee8b8f
commit r15-7133-gb2667fca938c393579e6e4ae9144ff5111ee8b8f
Author: Haochen Jiang
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
--- Comment #5 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:a19aca8afbf141bb550e9040135cc46387ce7f73
commit r15-7132-ga19aca8afbf141bb550e9040135cc46387ce7f73
Author: Haochen Jiang
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118609
--- Comment #3 from GCC Commits ---
The master branch has been updated by Haochen Jiang :
https://gcc.gnu.org/g:a19aca8afbf141bb550e9040135cc46387ce7f73
commit r15-7132-ga19aca8afbf141bb550e9040135cc46387ce7f73
Author: Haochen Jiang
Date: T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #2 from Sam James ---
r15-1677-gc320a7efcd35ba
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
--- Comment #1 from Sam James ---
Created attachment 60244
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60244&action=edit
build.log.xz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118616
Bug ID: 118616
Summary: [15 regression] -Waggressive-loop-optimizations
warnings in tree-vect-generic.cc on x86
Product: gcc
Version: 15.0
Status: UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
Sam James changed:
What|Removed |Added
Keywords||patch
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118609
Sam James changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118270
Sam James changed:
What|Removed |Added
CC||ro at gcc dot gnu.org
--- Comment #3 from S
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118609
--- Comment #1 from Haochen Jiang ---
I am going to revise the testcase through the thread:
https://gcc.gnu.org/pipermail/gcc-patches/2025-January/674157.html
Dup with PR118270
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118572
Alexandre Oliva changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |aoliva at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497
Sam James changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |vmakarov at gcc dot
gnu.org
Last
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #5 from Andrew Pinski ---
(In reply to Jakub Jelinek from comment #4)
> My bet is on r15-6661 then.
That was my next guess anyways and you would be correct,
that is:
r15-6661-gc5db3f50bdf34e works
Now to start bisecting when the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
Jakub Jelinek changed:
What|Removed |Added
CC||jakub at gcc dot gnu.org
--- Comment #4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #3 from Andrew Pinski ---
r15-6660-g45d306a835cb3f fails with comparison
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91981
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91981
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107772
Andrew Pinski changed:
What|Removed |Added
Keywords||ra
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
--- Comment #2 from Andrew Pinski ---
So far I have the following data points after I reapplied the patch:
r15-5746-g0547dbb725b6d8 fails the way it was reported
r15-6350-gbb829ce157f8b4 fails with comparison
r15-6503-g2b687ad95de610 fails w
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116028
Bug 116028 depends on bug 118615, which changed state.
Bug 118615 Summary: [15 Regression] Bootstrap failure on aarch64 after r15-2810
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
What|Removed |Added
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118615
Bug ID: 118615
Summary: [15 Regression] Bootstrap failure on aarch64 after
r15-2810
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords: build
Se
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614
--- Comment #3 from Charlie ---
Oh okay, thank you for clarifying this behavior for me. I was assuming that in
a naked function there would be different behavior with register variables, but
I see that is an invalid assumption and it was just co
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118280
--- Comment #11 from Thomas Petazzoni ---
Is there any update about this patch? Should consider Microblaze
unmaintained/broken, and possibly drop support for it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613
anlauf at gcc dot gnu.org changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613
--- Comment #4 from anlauf at gcc dot gnu.org ---
Created attachment 60243
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=60243&action=edit
Preliminary patch
This does the job and fixes the rank-1 case. Regtests ok.
Still need to adjust
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614
Andrew Pinski changed:
What|Removed |Added
Component|c |middle-end
--- Comment #1 from Andrew P
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118614
Bug ID: 118614
Summary: [riscv] Naked function attribute on riscv optimizes
away C conditional
Product: gcc
Version: 14.2.1
Status: UNCONFIRMED
Severity: norma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118497
--- Comment #3 from Vladimir Makarov ---
(In reply to Andrew Pinski from comment #2)
> I wonder if the patch in r15-2810-g3c67a0fa1dd39a3378deb854a7fef0ff7fe38004
> (which was reverted due to a bootstrap failure on aarch64) fixes this one
> too
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613
--- Comment #3 from anlauf at gcc dot gnu.org ---
Adding a second temporary reduces the evaluation count for the rank-1 case
further:
diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intrinsic.cc
index afbec5b2752..0cdc886a715 100
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118562
Richard Sandiford changed:
What|Removed |Added
Assignee|unassigned at gcc dot gnu.org |rsandifo at gcc dot
gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613
--- Comment #2 from anlauf at gcc dot gnu.org ---
(In reply to anlauf from comment #1)
> The following partial patch seems to fix the rank-2 cases here by forcing
> a temporary that gets reused:
This prints:
4 0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118613
--- Comment #1 from anlauf at gcc dot gnu.org ---
The following partial patch seems to fix the rank-2 cases here by forcing
a temporary that gets reused:
diff --git a/gcc/fortran/trans-intrinsic.cc b/gcc/fortran/trans-intrinsic.cc
index afbec5b2
1 - 100 of 188 matches
Mail list logo