[Bug tree-optimization/116808] Valgrind reports mismatched new/delete in value-range.h

2024-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116808 --- Comment #3 from Andrew Pinski --- Yes this is a dup of 109920. I wonder if that should be backported or this closed as won't fix since it is semi harmless.

[Bug tree-optimization/116808] Valgrind reports mismatched new/delete in value-range.h

2024-09-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116808 --- Comment #2 from Andrew Pinski --- I think there is a dup around.

[Bug c++/116807] About c++ 20 module,chrono header file

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116807 --- Comment #2 from Andrew Pinski --- >I used CMake for the build Please read https://gcc.gnu.org/bugs/#need : the complete command line that triggers the bug (this should be expanded to say not cmake or make command line though).

[Bug c++/116807] About c++ 20 module,chrono header file

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116807 --- Comment #1 from Andrew Pinski --- Can you just provide the exact GCC commands that are invoked instead of a cmake file?

[Bug testsuite/116806] gcc.dg/cpp/charconst-3.c breakage on 16-bit targets

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

[Bug tree-optimization/116643] PHI_RESULT vs gimple_phi_result/gimple_phi_result_ptr

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116643 --- Comment #7 from Andrew Pinski --- here is a few more that should/can be changed: ``` #define USE_FROM_PTR(PTR) get_use_from_ptr (PTR) #define DEF_FROM_PTR(PTR) get_def_from_ptr (PTR) #define SET_USE(USE, V) set_ssa_use_f

[Bug target/116799] [14/15 Regression] Miscompiled code on s390x at -O2

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799 --- Comment #3 from Andrew Pinski --- (In reply to James McCoy from comment #2) > My initial bisect pointed to that, but I was using the Vim test suite as the > good/bad check. > > I'm rerunning now with just the minimal reproduction to double

[Bug libstdc++/116802] Symbol `is` (non-standard) is user inside the library.

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116802 --- Comment #10 from Andrew Pinski --- You only looked at the first error message and thought that. I looked at: /opt/compiler-explorer/gcc-trunk-20240921/include/c++/15.0.0/bits/locale_facets.h:2626:49: error: expected unqualified-id before '('

[Bug target/116800] std::simd: poor code generation of AVX512 fused multiply-add

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

[Bug libstdc++/116802] Symbol `is` (non-standard) is user inside the library.

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116802 --- Comment #4 from Andrew Pinski --- https://godbolt.org/z/d1s39v57v Does not work with either for me .

[Bug libstdc++/116802] Symbol `is` (non-standard) is user inside the library.

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116802 --- Comment #3 from Andrew Pinski --- (In reply to Tymi from comment #2) > Oh, did not see that detail. It does compile with clang though. By clang you mean with libstd++ with clang or libc++?

[Bug libstdc++/116802] Symbol `is` (non-standard) is user inside the library.

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

[Bug target/116799] [14/15 Regression] Miscompiled code on s390x at -O2

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799 Andrew Pinski changed: What|Removed |Added Target||s390x Component|tree-optimizat

[Bug tree-optimization/116799] [14/15 Regression] Miscompiled code on s390x at -O2

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116799 Andrew Pinski changed: What|Removed |Added Keywords||wrong-code Summary|[14 Regre

[Bug tree-optimization/116643] PHI_RESULT vs gimple_phi_result/gimple_phi_result_ptr

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116643 --- Comment #6 from Andrew Pinski --- here is the current list of files which have both PHI_RESULT and gimple_phi_result: gimple-streamer-out.cc tree-call-cdce.cc tree-cfg.cc tree-if-conv.cc tree-into-ssa.cc tree-parloops.cc tree-phinodes.cc tre

[Bug middle-end/116797] [15 Regression] ICE on libvpx-1.14.1 on -O3: during GIMPLE pass: vect: ICE in operator[], at vec.h:910

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

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910 since r15-3735-g664e0ce580a8f2

2024-09-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 Andrew Pinski changed: What|Removed |Added CC||slyfox at gcc dot gnu.org --- Comment #

[Bug rtl-optimization/48037] Missed optimization: unnecessary register moves

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48037 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED See Also|

[Bug c++/97383] Consider special casing diagnostics for C++20 customization point objects

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97383 --- Comment #1 from Andrew Pinski --- Note clang is worse than GCC here: clang with libc++ does: :8:3: error: no matching function for call to object of type 'const __sort' With libstdc++ clang does: :8:3: error: no matching function for call t

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

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

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | Target Milestone|---

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 --- Comment #4 from Andrew Pinski --- Created attachment 59167 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59167&action=edit Semi reduced with some includes added back This is the best I could get but I decided to add back tuple and co

[Bug middle-end/116788] Relative sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 Andrew Pinski changed: What|Removed |Added Component|preprocessor|middle-end --- Comment #5 from Andrew P

[Bug middle-end/116788] Relative sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 --- Comment #6 from Andrew Pinski --- But we already ignore non-existing directories passed via -I. So yes both EACCES and ENOTDIR should be added. Note we do warn about the case where it is not a directory: ``` [apinski@xeond2 tt]$ touch trttt

[Bug driver/54560] g++ with --sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54560 --- Comment #5 from Andrew Pinski --- The question comes do we want to allow: ``` touch file touch file.c gcc -I./file/dir file.c ``` Or not.

[Bug preprocessor/116788] Relative sysroot and -save-temps don't play nicely

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

[Bug driver/54560] g++ with --sysroot and -save-temps don't play nicely

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

[Bug preprocessor/116788] Relative sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 --- Comment #3 from Andrew Pinski --- So maybe EACCES should be ignored too.

[Bug preprocessor/116788] Relative sysroot and -save-temps don't play nicely

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

[Bug preprocessor/116788] Relative sysroot and -save-temps don't play nicely

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116788 Andrew Pinski changed: What|Removed |Added Component|driver |preprocessor --- Comment #1 from Andrew

[Bug c++/116793] [15 regression] ice in gimplify_var_or_parm_decl, at gimplify.cc:3309 since r15-3513

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116793 --- Comment #3 from Andrew Pinski --- Reducing this further.

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116789 --- Comment #7 from Andrew Pinski --- Reduced testcase: ``` struct s3 { template constexpr s3(T x){} }; template class s1; template class s2; template using ali1 = s1; template void h() { s2 A; ali1 b; } ``` The important part is t

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

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

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116789 --- Comment #8 from Andrew Pinski --- (In reply to Andrew Pinski from comment #7) > The important part is the type alias ali1. Even from the commit message: ``` it occurred to me that the problem is really with alias (and concept) templates ```

[Bug driver/116794] gcc -pipe does not work on macOS with as from Xcode 16 (on macOS 15)

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116794 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug other/116792] RFE: should we be able to generate diagnostics in HTML format?

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116792 --- Comment #1 from Andrew Pinski --- Maybe just a post processing of json is needed instead.

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116789 --- Comment #6 from Andrew Pinski --- Looks to be fixed on the trunk. Will reduce in a few.

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910

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

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

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109126 --- Comment #7 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #6) > It looks like explicit specializations are not given vague linkage. Is that > the correct behaviour? I wonder if that is related to PR 116746 .

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

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

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 --- Comment #3 from Andrew Pinski --- Full backtrace for r15-3741-gee3efe06c9c49c : apinski@xeond:~/src/upstream-gcc/gcc/objdir/gcc$ ./cc1 ../../../t.i -quiet -O2 -mavx2 during GIMPLE pass: vect ../mesa-/src/gallium/frontends/nine/nine_ff.c:

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 Andrew Pinski changed: What|Removed |Added Keywords||needs-bisection, |

[Bug c++/116789] Internal compiler error for non-type template parameter to alias template inside macro

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116789 --- Comment #3 from Andrew Pinski --- We need the preprocessed source as requested by https://gcc.gnu.org/bugs/ If you add -freport-bug to the command line of gcc while compiling, it will save the preprocessed source to a file and report the fil

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 --- Comment #1 from Andrew Pinski --- Looks very recent as it worked at r15-3721-ga2746e43470 . And it was reported against r15-3737-g33ccc1314dcdb0 .

[Bug tree-optimization/116791] [15 Regression] ICE in operator[], at vec.h:910

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116791 Andrew Pinski changed: What|Removed |Added Summary|ICE in operator[], at |[15 Regression] ICE in

[Bug target/55212] [SH] Switch to LRA

2024-09-20 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55212 --- Comment #291 from Andrew Pinski --- (In reply to Kazumoto Kojima from comment #285) > (In reply to Oleg Endo from comment #284) > > (In reply to Kazumoto Kojima from comment #283) > ... > > > It turned out that the c#276 version of block_lump

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #7 from Andrew Pinski --- that part comes from: https://github.com/LLNL/RAJAPerf/blob/262dcbb405b00ebc3e3184685743e9d1199a45b6/src/apps/CONVECTION3DPA.hpp#L235 I really think that is undefined and you can't pointer casting like tha

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #3 from Andrew Pinski --- (In reply to kugan from comment #2) > Created attachment 59155 [details] > creduce reduced file This just compiles down to an empty loop on the trunk and in GCC 14. It is definitely not correctly reduced.

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #6 from Andrew Pinski --- Link to the original source on github: https://github.com/LLNL/RAJAPerf

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 --- Comment #5 from Andrew Pinski --- Note I think this code has undefined code in it. double sm0[max_DQ*max_DQ*max_DQ]; double (*u)[max_D1D][max_D1D] = (double (*)[max_D1D][max_D1D]) sm0; That seems questionable.

[Bug tree-optimization/116785] [15 Regression] RAJAPerf REDUCE_SUM regresses with r15-792-gf0a02467bbc35a

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116785 Andrew Pinski changed: What|Removed |Added CC||rguenth at gcc dot gnu.org S

[Bug c/116735] ICE in build_counted_by_ref

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

[Bug rtl-optimization/116783] [14/15 Regression] Wrong code at -O2 with late pair fusion pass (wrong alias analysis)

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116783 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |14.3 --- Comment #1 from Andrew Pinski

[Bug libstdc++/116777] [14/15 regression] error: 'current_zone' is not a member of 'std::chrono'

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116777 --- Comment #1 from Andrew Pinski --- The issue is due to use of _GLIBCXX_USE_CXX11_ABI

[Bug tree-optimization/116776] Complex if conditions not hoisted from loop

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116776 --- Comment #2 from Andrew Pinski --- Has the loads all been lifted? If so this might be a dup of an unswitch issue I filed a few days ago.

[Bug c++/88176] Overload resolution chooses template non-member operator over non-template member operator

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88176 --- Comment #2 from Andrew Pinski --- EDG also accepts this.

[Bug c++/91464] C++ extern "C" namespace A {int value;}; is definition not declaration

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91464 Andrew Pinski changed: What|Removed |Added Keywords||needs-testcase --- Comment #4 from Andre

[Bug tree-optimization/116352] [15 regression] ICE when building opencv-4.9.0 (error: definition in block 208 does not dominate use in block 188) since r15-2820-gab18785840d7b8

2024-09-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 Andrew Pinski changed: What|Removed |Added Keywords|needs-reduction | --- Comment #17 from Andrew Pinski --

[Bug c++/91464] C++ extern "C" namespace A {int value;}; is definition not declaration

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91464 Andrew Pinski changed: What|Removed |Added Known to work||15.0 Keywords|

[Bug c++/84030] Name lookup in presence of namespace

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

[Bug c++/58052] Copy initialization using conversion operator does not find correct candidates for initialization of final result

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58052 --- Comment #5 from Andrew Pinski --- GCC accepts this for C++17+ . I wonder what is causing the difference between C++14 and C++17 in GCC.

[Bug c++/96821] [concepts] Incorrect evaluation of concept with ill-formed expression

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

[Bug c++/96821] [concepts] Incorrect evaluation of concept with ill-formed expression

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96821 --- Comment #8 from Andrew Pinski --- So if I change constant_expression to be: ``` template concept constant_expression = (b, true); ``` I noticed that GCC and clang now have different output. I have seen this reported before too.

[Bug c++/99975] wrong variable alignment on a locally redeclared overaligned extern variable

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

[Bug c++/81349] Classes with deleted constructor templates incorrectly labeled as non-aggregates

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81349 Andrew Pinski changed: What|Removed |Added Status|ASSIGNED|RESOLVED Target Milestone|---

[Bug rtl-optimization/116774] ICE bootstrapping on cfarm92 (a riscv64 machine)

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116774 Andrew Pinski changed: What|Removed |Added Component|target |rtl-optimization Status|UNC

[Bug tree-optimization/116352] [15 regression] ICE when building opencv-4.9.0 (error: definition in block 208 does not dominate use in block 188) since r15-2820-gab18785840d7b8

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116352 Andrew Pinski changed: What|Removed |Added Keywords|needs-bisection |needs-reduction --- Comment #16 from An

[Bug tree-optimization/116766] Missed loop vectorization case with gather/scatter

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116766 --- Comment #1 from Andrew Pinski --- I thought I had saw this one before ...

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772 --- Comment #7 from Andrew Pinski --- I am wondering if genmatch should generate the call to generic_expr_could_trap_p rather than adding it to the pattern because there could be more issues like this learking around.

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772 --- Comment #6 from Andrew Pinski --- Created attachment 59143 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=59143&action=edit Better reduced testcase Here is a better reduced testcase. The problem only shows up with these 2 patterns be

[Bug tree-optimization/116773] New: [meta-bug] TSVC missed optimizations

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: pinskia at gcc dot gnu.org Target Milestone: --- Just a meta bug recording all of the TSVC related missed optimizations in one place.

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772 --- Comment #5 from Andrew Pinski --- The easiest fix is to add: && !generic_expr_could_trap_p (@3) There but I am not sure if that will always work even though generic_expr_could_trap_p is recusive.

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772 --- Comment #4 from Andrew Pinski --- if (TREE_SIDE_EFFECTS (_p0)) goto next_after_fail964; if (TREE_SIDE_EFFECTS (_p1)) goto next_after_fail964; if (TREE_SIDE_EFFECTS (_p2)) goto next_after_fail964; We check for SIDE_EFFECTS

[Bug middle-end/116772] [15 regression] SIGFPE (branch optimised out) in eigen-3.4.0 testsuite

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116772 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/116769] Instantiation of defaulted default constructor with non default constructible NDSMIs

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116769 --- Comment #3 from Andrew Pinski --- (In reply to Giuseppe D'Angelo from comment #2) > > * rejects the code due to the default constructor being invalid. > > That would be Clang? Yes sorry I forgot to mark it as such.

[Bug c++/116769] Instantiation of defaulted default constructor with non default constructible NDSMIs

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116769 --- Comment #1 from Andrew Pinski --- MSVC (and EDG) return true for is_default_constructible_v> . Which is different from clang. So in summary we have the following 3 behaviors: * accepts the code and is_default_constructible_v> value is tru

[Bug c++/116770] Diagnostic 'explicit qualification in declaration of' could be clearer when explicit namespace qualifier matches the open namespace

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

[Bug c++/116770] Diagnostic 'explicit qualification in declaration of' could be clearer when explicit namespace qualifier matches the open namespace

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116770 --- Comment #2 from Andrew Pinski --- DR482

[Bug c++/116771] Missing suggestion on mispelled class name

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116771 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-09-18 Severity|normal

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 --- Comment #5 from Andrew Pinski --- (In reply to Alisa Sireneva from comment #4) > With the new reproducer, this doesn't work on 11.4 Oh right I must have missed that when I moved over to the new testcase.

[Bug c/116767] C const function pointer no code generated (or optimized out)

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

[Bug c/116767] C const function pointer no code generated (or optimized out)

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116767 --- Comment #5 from Andrew Pinski --- This extension is documented: https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Const-and-Volatile-Functions.html

[Bug c/107942] [11/12/13/14 Regression] Documentation of the volatile style for noreturn is gone and const style for const attribute is gone

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107942 Andrew Pinski changed: What|Removed |Added Target Milestone|11.5|14.0

[Bug tree-optimization/116766] Missed loop vectorization case with gather/scatter

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116766 Andrew Pinski changed: What|Removed |Added Blocks||53947 Severity|normal

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 --- Comment #3 from Andrew Pinski --- Here is a testcase which does NOT need -mavx to fail and fails on aarch64 too: ``` #define numwords 2 typedef struct { unsigned words[numwords]; } Child; typedef struct { Child child; } Parent; Parent

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2024-09-18 Known to fail|

[Bug tree-optimization/116768] [12/13/14/15 regression] Strict aliasing breaks autovectorization with -O3

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116768 --- Comment #1 from Andrew Pinski --- -fno-vect-cost-model hides it

[Bug c/116764] SIGSEGV in C

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

[Bug bootstrap/116730] build is broken when building in subdirectory of a subdirectory of the src directory

2024-09-18 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116730 --- Comment #42 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #41) > I still can't reproduce it even with a 14.2.0 worktree nested under the main > repo dir. > > What does this show when run in the build dir? > > grep -w VPA

[Bug tree-optimization/116747] [12/13/14/15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 Andrew Pinski changed: What|Removed |Added Target Milestone|15.0|12.5 --- Comment #13 from Andrew Pinski

[Bug tree-optimization/116747] [12/13/14/15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
] |valid code at -O3 on|ICE on valid code at -O3 on |x86_64-linux-gnu: |x86_64-linux-gnu: |Segmentation fault |Segmentation fault Known to work||8.5.0 Assignee|pinskia at gcc dot gnu.org

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

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

[Bug libstdc++/116755] format and print functions prepend extra minus sign for min value of chrono duration type

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116755 --- Comment #3 from Andrew Pinski --- Issue 2: std println treats duration(54) as char '6' d2 "6s" I think issue 2 is not an bug and it happens with libc++ too. issue 1 does seem like a bug though.

[Bug middle-end/116753] [13/14/15 Regression] GCC trunk (-O3) can't fold a loop into a constant

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116753 Andrew Pinski changed: What|Removed |Added Summary|[regression from GCC 12.4] |[13/14/15 Regression] GCC

[Bug tree-optimization/116747] [15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 --- Comment #11 from Andrew Pinski --- Note if I have refs_may_alias_p return true always, the code to check to see if there was a write after write dependent store happening works and cselim does nothing here.

[Bug tree-optimization/116747] [15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 Andrew Pinski changed: What|Removed |Added Keywords||alias Status|ASSIGNED

[Bug tree-optimization/116747] [15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 --- Comment #9 from Andrew Pinski --- Looks like dr_may_alias_p is returning the wrong result.

[Bug tree-optimization/116747] [15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 --- Comment #8 from Andrew Pinski --- 1: dump_data_dependence_relation(stdout, ddr) = (Data Dep: #(Data Ref: # bb: 12 # stmt: d[e.0_43] = _17; # ref: d[e.0_43]; # base_object: d[e.0_43]; #) #(Data Ref: # bb: 12 # stmt: d[e.0_43] = _41; #

[Bug tree-optimization/116747] [15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 --- Comment #7 from Andrew Pinski --- So reading the code: Check that there are no read-after-write or write-after-write dependencies in THEN_BB. /* Check that there are no read-after-write or write-after-write dependencies in ELSE_

[Bug tree-optimization/116747] [15 Regression] ICE on valid code at -O3 on x86_64-linux-gnu: Segmentation fault

2024-09-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116747 Andrew Pinski changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #6 from Andrew Pin

  1   2   3   4   5   6   7   8   9   10   >