https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115363
Bug ID: 115363
Summary: Missing loop vectorization due to loop bound load not
being pulled out
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54013
--- Comment #3 from Andrew Pinski ---
I think for SVE(2?) this could be vectorized using the fault first case.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115362
Andrew Pinski changed:
What|Removed |Added
Keywords||missed-optimization
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |12.4
Summary|PPCLE:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115361
--- Comment #1 from Andrew Pinski ---
GetKey() is the temporary in all cases.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115356
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-06-05
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111658
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |15.0
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
--- Comment #5 from Andrew Pinski ---
Note this is not related to NSDMI nor related to use of STR in a non-complete
type context as shown by:
```
template
void foo(const int ()[N]) {}
template
struct Bar
{
static constexpr int STR[] =
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115358
Andrew Pinski changed:
What|Removed |Added
Summary|template argument |[13/14/15 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115352
Andrew Pinski changed:
What|Removed |Added
Component|tree-optimization |middle-end
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115350
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
Component|c++
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115350
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58661
--- Comment #1 from Andrew Pinski ---
Just for reference this was defect #347 which was closed as not a defect due to
other changes (defect report #284)
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#347
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115338
--- Comment #1 from Andrew Pinski ---
MSVC and GCC accepts it.
EDG and clang rejects it.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115347
Andrew Pinski changed:
What|Removed |Added
Keywords||needs-bisection
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115347
Andrew Pinski changed:
What|Removed |Added
Keywords||wrong-code
Summary|wrong
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115343
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115343
--- Comment #1 from Andrew Pinski ---
Note the original example is invalid code to begin.
```
:5:11: warning: declaration of 'using foo::tag = struct tag' changes
meaning of 'tag' [-Wchanges-meaning]
5 | using tag = tag;
|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115344
Andrew Pinski changed:
What|Removed |Added
Severity|normal |enhancement
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346
--- Comment #3 from Andrew Pinski ---
(In reply to Andrew Pinski from comment #2)
> Note this is not even emitted at -O0, the gimplifier removes it for some
> reason ...
Oh see PR 99258 for analysis of the gimplifier (I think). with `#pragma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346
--- Comment #2 from Andrew Pinski ---
Note this is not even emitted at -O0, the gimplifier removes it for some reason
...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115346
--- Comment #1 from Andrew Pinski ---
>GCC 4.0.4 does not eliminate the loads: https://godbolt.org/z/frsP8o7YT
But 3.4.6 did not emit them either.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115345
Andrew Pinski changed:
What|Removed |Added
Keywords||wrong-code
--- Comment #7 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115337
--- Comment #2 from Andrew Pinski ---
Looks like the code in `cfn_clz::fold_range` in gimple-range-op.cc assume that
the return value for defining of 0 should only be positive.
`cfn_ctz::fold_range` has a similar issue too.
As a seperate note
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115337
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115331
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-06-03
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115331
Andrew Pinski changed:
What|Removed |Added
Summary|[15 regression] |ICE-on-invalid passing a
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115321
Andrew Pinski changed:
What|Removed |Added
CC||jamborm at gcc dot gnu.org
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115329
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108789
--- Comment #4 from Andrew Pinski ---
Note the missing SAVE_EXPR issue is similar to PR 52339 (which has a patch
attached to it that would fix the issue here too I think).
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108789
Andrew Pinski changed:
What|Removed |Added
CC||cody at tapscott dot me
--- Comment #3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115326
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115325
--- Comment #1 from Andrew Pinski ---
The correct way of doing this is to use `pragma GCC target` but that is not
supported on riscv yet ...
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115323
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108256
--- Comment #7 from Andrew Pinski ---
*** Bug 115323 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115322
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Component|c
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115321
Andrew Pinski changed:
What|Removed |Added
Summary|[15 regression] ICE when|[15 regression] ICE when
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576
Andrew Pinski changed:
What|Removed |Added
CC||msl023508 at gmail dot com
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93298
Andrew Pinski changed:
What|Removed |Added
Resolution|INVALID |DUPLICATE
--- Comment #3 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576
--- Comment #4 from Andrew Pinski ---
*** Bug 56577 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56577
Andrew Pinski changed:
What|Removed |Added
Resolution|INVALID |DUPLICATE
--- Comment #4 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56576
Andrew Pinski changed:
What|Removed |Added
CC||tangyixuan at mail dot
dlut.edu.cn
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115320
Andrew Pinski changed:
What|Removed |Added
Resolution|INVALID |DUPLICATE
--- Comment #2 from Andrew
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115320
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115255
--- Comment #5 from Andrew Pinski ---
The question comes is musttail going to always work at -O0 or should it just
fail at -O0 with an error message. Or rather is musttail is just a hack in
itself and should never be implemented.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115273
--- Comment #4 from Andrew Pinski ---
Note ubsan can detect (correctly) a different undefined behavior since GCC 13
(since r13-4988-g8692b15ae7c05e; aka PR108256) but the undefinedness of passing
0 to ctz is still not detected and that is a dup
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115127
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed|2024-05-18 00:00:00 |2024-06-02
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115127
--- Comment #5 from Andrew Pinski ---
*** Bug 115273 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115273
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115273
--- Comment #2 from Andrew Pinski ---
Reduced testcase:
```
int f(int a)
{
return __builtin_ctz(a) == 0;
}
int main(void)
{
__builtin_printf("%d\n", f(0));
}
```
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115314
Andrew Pinski changed:
What|Removed |Added
Summary|Type of the `auto` template |auto template parameter has
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103562
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115318
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111536
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111536
Andrew Pinski changed:
What|Removed |Added
CC||llvm at rifkin dot dev
--- Comment #1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115313
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|NEW
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115313
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Ever confirmed|0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999
--- Comment #9 from Andrew Pinski ---
```
float f(float a, float b, float x)
{
x = a - b;
float t = 0;
t = t - x;
return t/x;
}
```
! HONOR_NANS (type) && ! HONOR_INFINITIES (type)
```
int f(int a, int b, int A)
{
A = ~A;
int t
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114999
--- Comment #8 from Andrew Pinski ---
```
int f(int x)
{
x = ~x;
int t = (x >= 0 ? x : 0);
int t1 = (x <= 0 ? -x : 0);
return t + t1;
}
```
abs(~x)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115309
Andrew Pinski changed:
What|Removed |Added
Component|middle-end |ipa
--- Comment #1 from Andrew Pinski
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115306
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |ASSIGNED
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115306
Bug ID: 115306
Summary: (X + 1) > Y ? -X : 1 pattern does not handle X=~X nor
X = -X;
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278
--- Comment #7 from Andrew Pinski ---
(In reply to avieira from comment #5)
> > I think we fixed similar bug on the read side.
>
> I don't have the best memory, but the one I can remember is PR 111882, where
> we had the SAVE_EXPR. And the the
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115022
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |FIXED
Target Milestone|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115300
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |WAITING
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115299
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |14.2
Summary|[14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115299
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-05-31
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115291
--- Comment #2 from Andrew Pinski ---
See https://libeigen.gitlab.io/docs/TopicPitfalls.html
section "C++11 and the auto keyword" explictly.
"In short: do not use the auto keywords with Eigen's expressions, unless you
are 100% sure about what
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115288
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-05-30
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115288
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |15.0
Summary|File
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115290
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Summary|tree check fail
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115291
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115287
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113105
--- Comment #6 from Andrew Pinski ---
*** Bug 115287 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113072
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |DUPLICATE
Status|ASSIGNED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115224
--- Comment #5 from Andrew Pinski ---
*** Bug 113072 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115022
Andrew Pinski changed:
What|Removed |Added
URL||https://gcc.gnu.org/piperma
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
Andrew Pinski changed:
What|Removed |Added
Last reconfirmed||2024-05-30
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
Andrew Pinski changed:
What|Removed |Added
Keywords||needs-bisection
Target
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
--- Comment #5 from Andrew Pinski ---
Created attachment 58312
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58312=edit
Testcase which fails for GCC 12+ (rather than 13+)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
--- Comment #4 from Andrew Pinski ---
Though I think the standard says only one is entered rather than both ... But
not which one.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
--- Comment #3 from Andrew Pinski ---
Looks to be a defect:
https://cplusplus.github.io/LWG/issue2844
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115285
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |13.4
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115283
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115283
--- Comment #2 from Andrew Pinski ---
Created attachment 58311
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58311=edit
Reduced
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115283
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |14.2
Summary|[14
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115212
Andrew Pinski changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115214
Andrew Pinski changed:
What|Removed |Added
Target Milestone|--- |15.0
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278
Andrew Pinski changed:
What|Removed |Added
Summary|[13/14/15 Regression] |[13/14/15 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115278
Andrew Pinski changed:
What|Removed |Added
Summary|-ftree-vectorize optimizes |[13/14/15 Regression]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115280
Andrew Pinski changed:
What|Removed |Added
Keywords||accepts-invalid
Last reconfirmed|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115275
--- Comment #2 from Andrew Pinski ---
I suspect r14-1951-g7b34cacc573538 exposes the missed optimization here.
You can see the same missed optimization with:
```
template
T min(T a, T b)
{
return a < b ? a : b;
}
template
T max(T a, T
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115224
Andrew Pinski changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115274
--- Comment #1 from Andrew Pinski ---
>Compiled attached sqlite3.c
Looks like it didn't attach. Can you try again? Maybe compress it?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115268
--- Comment #2 from Andrew Pinski ---
https://gcc.gnu.org/pipermail/gcc/2010-May/192142.html
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115268
Andrew Pinski changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115266
--- Comment #1 from Andrew Pinski ---
https://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#2389
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115266
Bug ID: 115266
Summary: [cwg2389] Agreement of deduced and
explicitly-specified variable types
Product: gcc
Version: 15.0
Status: UNCONFIRMED
Keywords:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115077
Andrew Pinski changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
701 - 800 of 24043 matches
Mail list logo