[Bug rtl-optimization/116053] [14/15 Regression] during RTL pass: cprop_hardreg ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -O1 -finstrument-functions -fno-forward

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116053 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection --- Comment #2 from

[Bug rtl-optimization/116053] [14/15 Regression] during RTL pass: cprop_hardreg ICE: verify_flow_info failed: missing REG_EH_REGION note at the end of bb 2 with -O1 -finstrument-functions -fno-forward

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116053 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-25 Ever confirmed|0

[Bug c/105612] [meta-bug] bogus/missing -Wtautological-compare

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105612 Bug 105612 depends on bug 116069, which changed state. Bug 116069 Summary: tautological-compare warnings observed only with -save-temps https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116069 What|Removed |Added

[Bug c/80369] Warnings from preprocessor generated code not shown

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80369 Andrew Pinski changed: What|Removed |Added CC||jbeulich at suse dot com --- Comment #3

[Bug c/116069] tautological-compare warnings observed only with -save-temps

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116069 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/116069] tautological-compare warnings observed only with -save-temps

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116069 --- Comment #1 from Andrew Pinski --- This happens IIRC tracking from macros is lost.

[Bug target/116076] [15 Regression] 4.5% slowdown of 433.milc on AMD Zen4

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug target/116076] [15 Regression] 4.5% slowdown of 433.milc on AMD Zen4

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116076 --- Comment #1 from Andrew Pinski --- Might be: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=1e3aa9c9278db69d4bdb661a750a7268789188d6

[Bug c++/107211] [12/13/14/15 Regression] GCC compiles invalid use of non static member function in noexcept operator

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107211 --- Comment #7 from Andrew Pinski --- (In reply to Tymi from comment #6) > And just as an addition, it always yields true. > For example here: > ```cpp > int awoo(void) noexcept(false); > int awoo(int) noexcept(false); > > int main(void) > {

[Bug tree-optimization/116079] [15 Regression] ice during GIMPLE pass lim

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116079 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-24

[Bug tree-optimization/116079] [15 Regression] ice during GIMPLE pass lim

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116079 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Summary|ice during

[Bug c++/116064] [15 Regression] SPEC 2017 523.xalancbmk_r failed to build

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116064 --- Comment #6 from Andrew Pinski --- By the way Xalan even upstream still has this bug. https://github.com/apache/xalan-c/blob/c326619da4813acfc845c2830d904a4860f9afe1/src/xalanc/XMLSupport/XalanOtherEncodingWriter.hpp#L323 They do have a

[Bug tree-optimization/116075] Inefficient SVE INSR codegen

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116075 --- Comment #2 from Andrew Pinski --- Short not using the vectorizer testcase: ``` #include svint8_t f(void) { svint8_t tt; tt = svdup_s8 (0); tt = svinsr (tt, 0); return tt; } ``` Note LLVM does not optimize the above to just `mov

[Bug target/116072] [15 Regression] 4.5% slowdown of 447.dealII on aarch64

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116072 --- Comment #2 from Andrew Pinski --- Also what glibc version is on the system? Since if it is std::find that is causing the regression memchr was improved in the last year or so in glibc.

[Bug tree-optimization/87985] Compile-time and memory hog w/ -O1 -ftree-slp-vectorize

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87985 --- Comment #7 from Andrew Pinski --- This seems to regressed again on the trunk for aarch64 (didn't check x86_64).

[Bug c++/109126] [DR2387] Linkage of const-qualified variable template

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109126 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/94404] [meta-bug] C++ core issues

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94404 Bug 94404 depends on bug 116077, which changed state. Bug 116077 Summary: GCC hasn't implemented CWG DR 2387 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116077 What|Removed |Added

[Bug c++/109126] [DR2387] Linkage of const-qualified variable template

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109126 Andrew Pinski changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1

[Bug c++/116077] GCC hasn't implemented CWG DR 2387

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116077 Andrew Pinski changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug target/116059] [14/15 Regression] Miscompile at -O2 since r14-6420-g85c5efcffed

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116059 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/116059] [14/15 Regression] Miscompile at -O2 since r14-6420-g85c5efcffed

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116059 --- Comment #5 from Andrew Pinski --- (In reply to Robin Dapp from comment #4) > Strange, Andrew's comment didn't reach my inbox while both of Patrick's did. Are you subscribed to gcc-bugs@ if not then you were added to the CC after my comment

[Bug target/116072] [15 Regression] 4.5% slowdown of 447.dealII on aarch64

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116072 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug tree-optimization/116074] [15 regression] ICE when building harfbuzz-9.0.0 on arm64 (related_int_vector_mode, at stor-layout.cc:581)

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116074 --- Comment #2 from Andrew Pinski --- opt_machine_mode related_int_vector_mode (machine_mode vector_mode) { gcc_assert (VECTOR_MODE_P (vector_mode)); So it is not passing a vector type here ...

[Bug tree-optimization/116074] [15 regression] ICE when building harfbuzz-9.0.0 on arm64 (related_int_vector_mode, at stor-layout.cc:581)

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116074 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 --- Comment #4 from Andrew Pinski --- I am reducing but it is going slowly.

[Bug tree-optimization/116075] Inefficient SVE INSR codegen

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116075 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Component|target

[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-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115961 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 Bug 115086 depends on bug 115961, which changed state. Bug 115961 Summary: [15 Regression] wrong code on llvm-18.1.8 since r15-1936-g80e446e829d818 with bitfields less than the type mode precision

[Bug middle-end/116065] [13/14/15 Regression] Function attribute optimize() might make ISA target attribute broken

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug target/116065] [13/14/15 Regression] Function attribute optimize() might make ISA target attribute broken

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116065 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |13.4 CC|

[Bug target/116063] [PPC] Transparent union issue with signedness when optimizing

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116063 --- Comment #3 from Andrew Pinski --- (In reply to Hubert Tong from comment #2) > If it is invalid, a diagnostic like this should appear: > ``` > warning: union cannot be made transparent > ``` Not always. typedef union

[Bug target/116063] [PPC] Transparent union issue with signedness when optimizing

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116063 --- Comment #1 from Andrew Pinski --- Hmm (https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Common-Type-Attributes.html): Second, the argument is passed to the function using the calling conventions of the first member of the transparent union,

[Bug c++/116064] [15 Regression] SPEC 2017 523.xalancbmk_r failed to build

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116064 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #8 from Andrew Pinski --- Created attachment 58745 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58745=edit Try2 This fixes the disconnect between genorg and genemit inside genemit's removing the explicit PARALLEL when

[Bug middle-end/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|target

[Bug target/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #5 from Andrew Pinski --- So from what I can tell is happening is recog_level2 (in rtl-ssa/changes.cc) calls recog: icode = ::recog (pat, rtl, _clobbers); num_clobbers is greater than 0 and then we remove the clobbers inside

[Bug rtl-optimization/116062] Exponentially slow compilation at -O3 with __attribute__((flatten))

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116062 Andrew Pinski changed: What|Removed |Added Component|ipa |rtl-optimization --- Comment #2 from

[Bug ipa/116062] Exponentially slow compilation at -O3 with __attribute__((flatten))

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116062 Andrew Pinski changed: What|Removed |Added Keywords||compile-time-hog

[Bug target/116043] [15 regression] TLS relocation issue when building glibc with -O3 -mavx512bf16 by r15-1619

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116043 --- Comment #14 from Andrew Pinski --- (In reply to H.J. Lu from comment #13) > This caused by r15-1619-g3b9b8d6cfdf593. exposed by because that just changed the register allocation allocation really.

[Bug target/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #3 from Andrew Pinski --- Created attachment 58744 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58744=edit Patch which seems to fix the issue This patch removes the parallel in the define_insn and seems to fix the issue.

[Bug rtl-optimization/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #2 from Andrew Pinski --- trying to combine definition of r8 in: ``` 2004: r8:SI=r2:SI into: 725: {[r4:SI]=[r5:SI];use r8:SI;use 0;use r6:SI;clobber pr:SI;clobber t:SI;clobber r4:SI;clobber r5:SI;clobber r6:SI;clobber

[Bug rtl-optimization/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 --- Comment #1 from Andrew Pinski --- from reading the code, this means add_clobbers was called on an unrecognized insn.

[Bug rtl-optimization/116058] [15 Regression] sh4-linux-gnu fails to bootstrap, late combine issue

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116058 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |15.0 Keywords|

[Bug target/116059] [14/15 Regression] Miscompile at -O2 since r14-6420-g85c5efcffed

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116059 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |target Target Milestone|---

[Bug tree-optimization/116057] [12/13/14/15 Regression] SLP can introduces partialized unintialized vectors

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 Andrew Pinski changed: What|Removed |Added Summary|Miscompilation of nodejs|[12/13/14/15 Regression]

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 Andrew Pinski changed: What|Removed |Added Target|aarch64-unknown-linux-gnu |aarch64-unknown-linux-gnu

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 --- Comment #8 from Andrew Pinski --- The question comes is this defined or undefined? I think it is still undefined. Changing: Maybe() : has_value_(false) {} into: Maybe() : has_value_(false), value_() {} Makes this well defined. And has no

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 --- Comment #7 from Andrew Pinski --- Can you attach the full preprocessed source instead of just linking?

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-23

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 --- Comment #5 from Andrew Pinski --- Can you attach the original code that was failing since the reduced one is questionable?

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 --- Comment #4 from Andrew Pinski --- So this code might have undefined behavior. At the very least it is questionable.

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 --- Comment #3 from Andrew Pinski --- #define vect8 __attribute__((vector_size(8))) vect8 int f(int a) { int b; vect int t={1,1}; if(a) return t; return (vect8 int){0, b}; }

[Bug tree-optimization/116057] Miscompilation of nodejs with -ftree-slp-vectorize on arm64 and probably others

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116057 --- Comment #2 from Andrew Pinski --- g:33c2b70dbabc02788caabcbc66b7baeafeb95bcf That just changed the cost model. Most likely could be reproduced with -fno-cost-model beforehand. Note there is an unitialized usage on one side of the if so

[Bug preprocessor/108900] [libcpp] cpp gives wrong line number information with a file huge number of lines

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108900 Andrew Pinski changed: What|Removed |Added CC||ovidiu.panait at windriver dot com

[Bug preprocessor/116047] C preprocessor bug

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 --- Comment #4 from Andrew Pinski --- Wrong one. *** This bug has been marked as a duplicate of bug 108900 ***

[Bug preprocessor/84864] Issues with large line numbers >= 2^31

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84864 Andrew Pinski changed: What|Removed |Added CC||ovidiu.panait at windriver dot com ---

[Bug preprocessor/116047] C preprocessor bug

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116047 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug driver/116050] Passing invalid option to gcc with --version results in exit status of 0

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116050 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-23

[Bug ipa/106783] [12/13/14/15 Regression] ICE in ipa-modref.cc:analyze_function since r12-5247-ga34edf9a3e907de2

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106783 --- Comment #7 from Andrew Pinski --- (In reply to Jan Hubicka from comment #6) > The problem is that n/=0 is undefined behavior (so we can optimize out call > to function doing divide by zero), while __builtin_trap is observable and we > do

[Bug ipa/116055] [14 regression] ICE from gcc.c-torture/unsorted/dump-noaddr.c after r14-10495-g9ddd5f88e60972

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116055 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 Andrew Pinski changed: What|Removed |Added Attachment #58737|0 |1 is obsolete|

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization, ra --- Comment #2

[Bug target/116054] RISCV: RV32: prologue/epilogue degradation

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116054 --- Comment #1 from Andrew Pinski --- Created attachment 58737 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58737=edit testcase from godbolt Please next time attach or put the testcase inline instead of just linking to godbolt .

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 Andrew Pinski changed: What|Removed |Added URL|https://godbolt.org/z/rq67M | |nsrr

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 Andrew Pinski changed: What|Removed |Added Ever confirmed|1 |0 Status|WAITING

[Bug c++/116052] [15 Regression] ICE in diagnostic_context::diagnostic_impl

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116052 --- Comment #2 from Andrew Pinski --- Created attachment 58736 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58736=edit preprocessed testcase from godbolt

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 Andrew Pinski changed: What|Removed |Added Depends on||115961 --- Comment #13 from Andrew

[Bug target/116013] Missed optimization opportunity with andn involving consts

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013 --- Comment #6 from Andrew Pinski --- Note I attached my patches to PR 115086 which fixes this for aarch64. All that is needed after these patches get approved is either rename the current patterns in the i386 backend to be andn3 and iorn3 and

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 Andrew Pinski changed: What|Removed |Added Attachment #58726|0 |1 is obsolete|

[Bug target/116013] Missed optimization opportunity with andn involving consts

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013 --- Comment #5 from Andrew Pinski --- (In reply to Andrew Pinski from comment #4) > I have patches for part of this, though the optabs need to be renamed so the > backend changes have to wait until I finish that. and I need to also match > ~(a

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 --- Comment #11 from Andrew Pinski --- Created attachment 58728 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58728=edit Patch that goes on top of the rest This will fix the testcase in comment #10. It does fix the vector type one

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 --- Comment #10 from Andrew Pinski --- Another testcase: ``` unsigned test1(unsigned value) { return ~(value | 0xf); } ``` This one is reduced from PR 116013 .

[Bug target/116013] Missed optimization opportunity with andn involving consts

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013 --- Comment #4 from Andrew Pinski --- I have patches for part of this, though the optabs need to be renamed so the backend changes have to wait until I finish that. and I need to also match ~(a | CST) into `BIT_ANDC (~CST, a)` which I will add

[Bug target/116013] Missed optimization opportunity with andn involving consts

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116013 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug rtl-optimization/116037] [15 Regression] wrong code at -O2 with vector masking and add

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116037 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug rtl-optimization/116039] [15 Regression] rv64gc miscompile at -O3 with -fno-strict-aliasing since r15-1901-g98914f9eba5

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116039 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-23 Ever confirmed|0

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 --- Comment #9 from Andrew Pinski --- Created attachment 58726 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58726=edit Current set of patches This is the current set of patches but still need the optab name changes which I will work on

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 --- Comment #7 from Andrew Pinski --- (In reply to Andrew Pinski from comment #6) > Note andc optab was added with r15-1890-gf379596e0ba99d . Note the c here will need to be changed as there is a mode called csi (which is the complex si mode

[Bug target/116010] [15 regression] vectorization regressions on arm and aarch64 since r15-491-gc290e6a0b7a9de

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116010 --- Comment #5 from Andrew Pinski --- (In reply to Thiago Jung Bauermann from comment #3) > Created attachment 58725 [details] > mve-vabs.s generated by the test after commit c290e6a0b7a9. > > (In reply to Andrew Pinski from comment #1) > > So

[Bug testsuite/116041] aarch64 fallout from removing vcond{,u,eq} patterns

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116041 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-07-22

[Bug testsuite/116041] aarch64 fallout from removing vcond{,u,eq} patterns

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116041 Andrew Pinski changed: What|Removed |Added Component|tree-optimization |testsuite

[Bug tree-optimization/116041] New: aarch64 fallout from removing vcond{,u,eq} patterns

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116041 Bug ID: 116041 Summary: aarch64 fallout from removing vcond{,u,eq} patterns Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: internal-improvement, missed-optimization

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #12 from Andrew Pinski --- (In reply to Andrew Pinski from comment #11) > (In reply to Richard Biener from comment #4) > > aarch64 reports just > > > > FAIL: gcc.target/aarch64/if-compare_2.c check-function-bodies bar1 > > FAIL:

[Bug rtl-optimization/116039] [15] rv64gc miscompile at -O3 with -fno-strict-aliasing since r15-1901-g98914f9eba5

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116039 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization CC|

[Bug libstdc++/116038] ambiguous overload in bind_front caused by deducing this

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116038 --- Comment #2 from Andrew Pinski --- >A smaller reproduction without including the stdlib is: While the original is accepted by clang, this one is rejected by clang. I have not looked into why though.

[Bug c++/116038] ambiguous overload in bind_front caused by deducing this

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116038 Andrew Pinski changed: What|Removed |Added Summary|[14/15 Regression] |ambiguous overload in

[Bug middle-end/100395] Bogus -Wstringop-overflow warning

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100395 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/116034] [12/13/14/15 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 --- Comment #8 from Andrew Pinski --- (In reply to Jakub Jelinek from comment #7) > Created attachment 58723 [details] > gcc15-pr116034.patch > > Full untested patch. This looks good to me. This is basically the same as the patch which I was

[Bug tree-optimization/116034] [12/13/14/15 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 --- Comment #4 from Andrew Pinski --- I think the issue is in maybe_rewrite_mem_ref_base : else if (TREE_CODE (TREE_TYPE (sym)) == COMPLEX_TYPE && useless_type_conversion_p (TREE_TYPE (*tp),

[Bug tree-optimization/116034] [12/13/14/15 Regression] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/116034] wrong code with memcpy() from _Complex unsigned short at -fno-strict-aliasing -O1 and above

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116034 --- Comment #2 from Andrew Pinski --- Folding statement: _1 = + 1; Queued stmt for removal. Folds to: <__complex__ short unsigned int> [(void *) + 1B] Folding statement: _3 = MEM [(char * {ref-all})_1]; Folded into: _3 = MEM [(char *

[Bug target/114189] Target implements obsolete vcond{,u,eq} expanders

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114189 --- Comment #11 from Andrew Pinski --- (In reply to Richard Biener from comment #4) > aarch64 reports just > > FAIL: gcc.target/aarch64/if-compare_2.c check-function-bodies bar1 > FAIL: gcc.target/aarch64/if-compare_2.c check-function-bodies

[Bug target/115086] bic is not used when the non-not part is a constant

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115086 --- Comment #6 from Andrew Pinski --- Note andc optab was added with r15-1890-gf379596e0ba99d .

[Bug sanitizer/115793] signed integer overflow check missing at optimization levels -O2, -O3, and -Os

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115793 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/116031] signed integer overflow check at optimization level -O3

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116031 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug ipa/115033] [12/13/14/15 Regression] Incorrect optimization of by-reference closure fields by fre1 pass since r12-5113-gd70ef65692fced

2024-07-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115033 --- Comment #19 from Andrew Pinski --- (In reply to Jan Hubicka from comment #18) > modref_eaf_analysis::analyze_ssa_name misinterprets EAF flags. If > dereferenced > parameter is passed (to map_iterator in the testcase) it can be returned >

[Bug rtl-optimization/116027] Redundant backup and restore of register with -flive-range-shrinkage

2024-07-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116027 --- Comment #1 from Andrew Pinski --- -O2 -mpreferred-stack-boundary=3 -flive-range-shrinkage

[Bug target/116021] Ada build on Darwin: gen_il-main: Symbol not found: ___builtin_nested_func_ptr_created

2024-07-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116021 Andrew Pinski changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

[Bug sanitizer/116026] Copying or moving a std::variant that can be a vector causes a maybe-uninitialized warning with -fsanitize=address -Og -finline-functions-called-once

2024-07-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116026 --- Comment #1 from Andrew Pinski --- Note the documentation warns about this case https://gcc.gnu.org/onlinedocs/gcc-14.1.0/gcc/Instrumentation-Options.html#index-fsanitize_003daddress Note that sanitizers tend to increase the rate of false

  1   2   3   4   5   6   7   8   9   10   >