https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121185
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121091
--- Comment #7 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #5)
> Patch posted:
> https://gcc.gnu.org/pipermail/gcc-patches/2025-July/689666.html
I am still working on getting a fixed up patch. Hopefully by the end of the
week
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121183
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Take:
```
long long f(long long l){
if(l>1000) return l;
if(l<-1000) return l;
int t = l;
return t + 2;
}
long long f
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|NEW
Assignee|pinskia at gcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247
--- Comment #9 from Andrew Pinski ---
gnat.dg/opt86[abc].adb still fails.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110949
--- Comment #3 from Andrew Pinski ---
Created attachment 61919
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61919&action=edit
patch which is under testing
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110949
--- Comment #2 from Andrew Pinski ---
I wonder if we should only do this if it is single use ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95906
--- Comment #10 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #8)
> cmp_8 = -_2;
> _3 = cmp_8 & a_6(D);
> We convert that into:
> _2 * a_6(D);
>
> And then have:
> _11 = _2 + -1;
> _5 = b_7(D) & _11;
>
> This could be c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247
Andrew Pinski changed:
What|Removed |Added
Attachment #55714|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121181
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83247
--- Comment #7 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #6)
> (In reply to Andrew Pinski from comment #5)
> > Some failures ...
> >
> > gnat.dg/opt86a.adb: pattern found 1 times
> > FAIL: gnat.dg/opt86a.adb scan-tree-dump-t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120867
Bug 120867 depends on bug 120859, which changed state.
Bug 120859 Summary: FAIL: gcc.dg/tree-prof/afdo-crossmodule-1b.c compilation
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120859
What|Removed |Added
--
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120859
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120555
Andrew Pinski changed:
What|Removed |Added
CC||terryinzaghi at 163 dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121172
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121172
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |15.2
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80635
--- Comment #72 from Andrew Pinski ---
(In reply to Milian Wolff from comment #69)
> Here's another test case that still emits warnings in latest GCC trunk as
> available through godbolt: https://godbolt.org/z/cWaca3s5s
I think this is PR 116090
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180
--- Comment #3 from Andrew Pinski ---
Actually I think this is valid since std::any is in the tail padding of the
base class of J here.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180
--- Comment #2 from Andrew Pinski ---
So is MSVC. So maybe this is a defect in the standard ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121180
--- Comment #1 from Andrew Pinski ---
LLVM's libc++ has the same behavior here ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267
--- Comment #12 from Andrew Pinski ---
Update patch:
https://gcc.gnu.org/pipermail/gcc-patches/2025-July/690018.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121173
--- Comment #2 from Andrew Pinski ---
I am still trying to figure out how to reproduce this since using he trunk on
x86_64-linux-gnu does not produce a warning and using GCC 10 from ubuntu 2204
also does not produce a warning.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267
--- Comment #11 from Andrew Pinski ---
```
proc check_effective_target_trap { } {
return [check_no_messages_and_pattern trap "!\\(call" rtl-expand {
void foo ()
{
return __builtin_trap ();
}
} "" ]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109267
Andrew Pinski changed:
What|Removed |Added
Attachment #61200|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121171
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121176
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Status|UNCONFIR
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121177
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121174
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|std::dextents was
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121174
--- Comment #2 from Andrew Pinski ---
>import std;
Oh wait, maybe it is because mdspan is not included in bits/std.cc yet.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121174
--- Comment #1 from Andrew Pinski ---
Most likely this feature of c++26 has not been implemented yet ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121173
--- Comment #1 from Andrew Pinski ---
Might be related to pr 116090.
Will try to reproduce tomorrow.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169
--- Comment #3 from Andrew Pinski ---
See https://forums.developer.nvidia.com/t/using-deviceptr-with-structs/136334
also.
>member variables of structs
Those not member variables but rather member fields and the only variables in
your case is t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121170
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121169
--- Comment #1 from Andrew Pinski ---
*** Bug 121170 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2025-07-19
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111400
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104690
Andrew Pinski changed:
What|Removed |Added
CC||david at westcontrol dot com
--- Commen
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Blocks: 121165
Target Milestone: ---
Take:
```
int f1(int a, char *p)
{
char y = 0;
__SIZE_TYPE__ ttt = a != 0;
if (ttt == 1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117881
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
Keywords: documentation
Severity: enhancement
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165
--- Comment #2 from Andrew Pinski ---
Created attachment 61914
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61914&action=edit
testcase
Warnings happen with `-std=c++23 -O3 -W -Wall -fsanitize=undefined` but without
`-fsanitize=undefined
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121165
Andrew Pinski changed:
What|Removed |Added
Summary|false positive |false positive
|Warra
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Blocks: 56456
Target Milestone: ---
Originally reported via masterdon:
https://hachyderm.io/@manx
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149
--- Comment #7 from Andrew Pinski ---
I think the canonical is the right fix. Most likely the other needs to be
changed too. Of nobody gets to it before tomorrow i will handle it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149
--- Comment #6 from Andrew Pinski ---
Then maybe target_cannonical or something like that instead.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Summary|[16 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121149
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
||pinskia at gcc dot gnu.org
Summary|build broken for bpf in |[16 Regression] build
|libgcc |broken for bpf in libgcc
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121153
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121153
--- Comment #3 from Andrew Pinski ---
vect_condition
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121158
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|
||pinskia at gcc dot gnu.org
Severity|normal |enhancement
Component|target |middle-end
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121160
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |16.0
Summary|RISC-V: ICE in
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Andrew Pinski changed:
What|Removed |Added
CC||antoshkka at gmail dot com
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159
Andrew Pinski changed:
What|Removed |Added
Resolution|WONTFIX |DUPLICATE
--- Comment #4 from Andrew Pi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121159
Andrew Pinski changed:
What|Removed |Added
Component|tree-optimization |middle-end
--- Comment #1 from Andrew P
||2025-07-18
Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot
gnu.org
Status|UNCONFIRMED |ASSIGNED
--- Comment #2 from Andrew Pinski ---
Looks like i missed some testsuite dg-requires for the condition. Will look
into which one
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147
--- Comment #8 from Andrew Pinski ---
(In reply to terryinzaghi from comment #5)
> Created attachment 61900 [details]
> auto-host.hWHEN do ./configure --disable-multilib
This looks correct has the defines as expected.
Do you have the full
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121148
--- Comment #8 from Andrew Pinski ---
(In reply to Jonathan Wakely from comment #7)
> Nearly all the plain C++ code can be fixed just by compiling it with
> -ftrapv, there's only one inline function where we can't control the
> compiler flags th
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095
Andrew Pinski changed:
What|Removed |Added
Summary|[15/16 Regression] Possibly |[15 Regression] Possibly
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117756
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95145
Andrew Pinski changed:
What|Removed |Added
CC||xieym3 at zohomail dot com
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121140
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|UNCONFIRME
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117756
Andrew Pinski changed:
What|Removed |Added
CC||njuwy at smail dot nju.edu.cn
--- Comme
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117756
--- Comment #3 from Andrew Pinski ---
Reduced to:
```
void bar ( void ) {
extern inline void check3 ( void ) {}
check3();
}
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121146
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121146
--- Comment #1 from Andrew Pinski ---
Adding:
x = (B*)__builtin_assume_aligned (x, 16);
y = (B*)__builtin_assume_aligned (y, 16);
At the begining of the function fixes the issue ...
There might be another bug about memcpy with argumen
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121147
--- Comment #4 from Andrew Pinski ---
So auto-host.h should include the define:
from config.in:
```
/* Define this to enable support for offloading. */
#ifndef USED_FOR_TARGET
#undef ENABLE_OFFLOADING
#endif
```
The correctly generated auto-ho
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120003
Bug 120003 depends on bug 121138, which changed state.
Bug 121138 Summary: [16 Regression] missed optimization in the loop caused by
r16-303-g1a13684dfc7286
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138
What|Removed
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138
--- Comment #5 from Andrew Pinski ---
So looking again, it just peeled off one iteration. So there is no
missed-optimization.
Can you explain why you think it is worse. Both are infinite loops too.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138
--- Comment #4 from Andrew Pinski ---
>From the looks of it, the loop got copied.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2025-07-17
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121138
--- Comment #1 from Andrew Pinski ---
This looks reduced too much.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121136
Andrew Pinski changed:
What|Removed |Added
Component|other |middle-end
Keywords|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121095
--- Comment #5 from Andrew Pinski ---
(In reply to lucier from comment #4)
> Thanks for the explanation.
>
> Now that I understand the issue better, this whole approach---hijacking and
> hacking the PRE infrastructure to elide unnecessary reads
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121133
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.5
Known to fail|
Keywords: diagnostic
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: pinskia at gcc dot gnu.org
Target Milestone: ---
Take:
```
__extension__ typedef long long tt;
```
With `-std=c++98 -pedantic
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121132
Andrew Pinski changed:
What|Removed |Added
Depends on||71003
--- Comment #2 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121132
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121131
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2025-07-16
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121131
Andrew Pinski changed:
What|Removed |Added
Known to fail||14.1.0
--- Comment #1 from Andrew Pinsk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121130
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2025-07-16
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121130
Andrew Pinski changed:
What|Removed |Added
Known to work||14.3.0
Known to fail|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121129
Andrew Pinski changed:
What|Removed |Added
Summary|segmentation fault at |[15/16 Regression]
|p
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121127
Andrew Pinski changed:
What|Removed |Added
Component|c |tree-optimization
Summary|IC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121125
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.5
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121125
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2025-07-16
Status|UNCONFIRM
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121100
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108953
--- Comment #9 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #6)
> LLVM has a full pass that does this:
> https://reviews.llvm.org/D33987
https://github.com/llvm/llvm-project/blob/b470ac419d7e8eec6c8a27539096e38a1751ee12/llvm/l
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
Bug 53947 depends on bug 121120, which changed state.
Bug 121120 Summary: Missed vectorization of default struct equality operator
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121120
What|Removed |Added
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108953
--- Comment #8 from Andrew Pinski ---
*** Bug 121120 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121120
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|WAITING
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121123
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121112
Andrew Pinski changed:
What|Removed |Added
Keywords|documentation |wrong-code
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121117
--- Comment #1 from Andrew Pinski ---
Created attachment 61884
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61884&action=edit
testcase
Please attach the testcase next time rather than just link to godbolt.
1 - 100 of 26782 matches
Mail list logo