[Bug tree-optimization/105643] [13 Regression] Code-Size regression for specrate 538.imagick_r

2022-05-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105643 --- Comment #3 from Levy Hsu --- I forgot to mention, that the build time also increased by 128% on the Intel platform above, but no performance improvement was spotted. I'll check the objdump and see what happens.

[Bug tree-optimization/105643] [13 Regression] Code-Size regression for specrate 538.imagick_r

2022-05-19 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105643 --- Comment #4 from Levy Hsu --- Created attachment 52995 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52995&action=edit -fopt-info-vec before that commit

[Bug tree-optimization/105643] [13 Regression] Code-Size regression for specrate 538.imagick_r

2022-05-19 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105643 --- Comment #5 from Levy Hsu --- Created attachment 52996 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52996&action=edit -fopt-info-vec after this commit

[Bug tree-optimization/105643] [13 Regression] Code-Size regression for specrate 538.imagick_r

2022-05-19 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105643 --- Comment #6 from Levy Hsu --- Created attachment 52997 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52997&action=edit Vec different seems to related SetPixelPacket

[Bug target/106222] New: x86 Better code squence for __builtin_shuffle

2022-07-06 Thread admin at levyhsu dot com via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: admin at levyhsu dot com Target Milestone: --- Related bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54346 After I merge two VEC_PERM_EXPR in the match.pd, I found that two __builtin_shuffle actually generate better

[Bug tree-optimization/106315] New: 7.8% increased codesize on specfp 507.cactuBSSN_r

2022-07-15 Thread admin at levyhsu dot com via Gcc-bugs
Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: admin at levyhsu dot com Target Milestone: --- when compiled with march_native_ofast_lto (-march=native -Ofast -funroll-loops -flto) on IceLake,CascadeLake, SkylakeW, Zen3 Server/Client, r13-1268

[Bug c++/113852] New: -Wsign-compare doesn't warn on unsigned result types

2024-02-09 Thread admin at computerquip dot com via Gcc-bugs
y: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at computerquip dot com Target Milestone: --- I haven't quite figured out the pattern here so the title may not be great. Some code may help explain better: https://godbolt.org/z/d8cqd1WqP ``

[Bug c++/113852] -Wsign-compare doesn't warn on unsigned result types

2024-02-09 Thread admin at computerquip dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113852 --- Comment #1 from Zachary L --- Sorry, that should say "If *both* a1 or a2 are constexpr, the warning will occur."

[Bug c++/113852] -Wsign-compare doesn't warn on unsigned result types

2024-02-12 Thread admin at computerquip dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113852 --- Comment #7 from Zachary L --- (In reply to Richard Biener from comment #6) > Well, given athat a1 * a2 is carried out in 'int' you are invoking undefined > behavior if it overflows. GCC assumes that doesn't happen so it's correct > to elide

[Bug libstdc++/111145] New: istream::operator>>(streambuf*) does not set gcount

2023-08-24 Thread admin at computerquip dot com via Gcc-bugs
ty: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at computerquip dot com Target Milestone: --- Example code: https://godbolt.org/z/cW9Pe1c85 ``` #include #include int main() { std::ostringstream oss; std::istringstream iss("test&

[Bug c++/116167] New: "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded

2024-07-31 Thread admin at hexadigm dot com via Gcc-bugs
sion: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at hexadigm dot com Target Milestone: --- The following code correctly fails to compile based on my resear

[Bug c++/116167] "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded

2024-08-01 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116167 --- Comment #2 from Larry Smith --- Thanks for the quick reply. Probably a very rare scenario so a fix maybe low priority, but for my purposes the situation is required in a particular SFINAE context for an open source function traits library (h

[Bug c++/116639] New: "private" access specifier not respected in overloaded SFINAE context

2024-09-07 Thread admin at hexadigm dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at hexadigm dot com Target Milestone: --- Given the following code (run it at https://godbolt.org/z/cqv78Pdda), where "Base::Whatever" is private (

[Bug c++/116639] "private" access specifier not respected in overloaded SFINAE context

2024-09-07 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116639 --- Comment #1 from Larry Smith --- FYI that the behavior table I posted above is a bit long but appeared correct in the preview window when I submitted it (after expanding it using the window's sizing grip). Wrapping now occurring instead in th

[Bug c++/116639] "private" access specifier not respected in overloaded SFINAE context

2024-09-07 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116639 --- Comment #3 from Larry Smith --- Thanks for the quick turnaround (and reference to the similar issue a few years back). Appreciated. I see you also found (and cited) my Clang post. Credit for your thoroughness :)

[Bug c++/114990] New: Compiler errors in compiling a module-based app

2024-05-08 Thread admin at hexadigm dot com via Gcc-bugs
: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at hexadigm dot com Target Milestone: --- Hi there, This is a bit lengthy (code to reproduce reasonably short though) but intended to provide sufficient detail. I'm getting numerous erro

[Bug c++/114990] Compiler errors in compiling a module-based app

2024-05-08 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #2 from Larry Smith --- Thanks for the (very) fast turn-around (!). I'll look into the situation over the coming days and reply further (so if you can keep the issue alive for now, thanks). Just briefly though, can you (or anyone) co

[Bug target/107563] __builtin_shufflevector fails to pshufd instructions under default x86_64 compilation toggle which is the sse2 one

2024-05-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107563 --- Comment #12 from Levy Hsu --- switch (d->vmode) { case E_V8QImode: if (!TARGET_MMX_WITH_SSE) return false; mode = V4HImode; gen_shr = gen_ashrv4hi3(should be gen_lshrv4hi3); gen_shl = gen_ashlv4hi3;

[Bug target/115146] [15 Regression] Incorrect 8-byte vectorization: psrlw/psraw confusion

2024-05-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115146 --- Comment #5 from Levy Hsu --- switch (d->vmode) { case E_V8QImode: if (!TARGET_MMX_WITH_SSE) return false; mode = V4HImode; gen_shr = gen_ashrv4hi3(should be gen_lshrv4hi3); gen_shl = gen_ashlv4hi3;

[Bug target/115146] [15 Regression] Incorrect 8-byte vectorization: psrlw/psraw confusion

2024-05-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115146 --- Comment #7 from Levy Hsu --- Created attachment 58236 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58236&action=edit [PR]115146

[Bug target/115146] [15 Regression] Incorrect 8-byte vectorization: psrlw/psraw confusion

2024-05-19 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115146 --- Comment #11 from Levy Hsu --- (In reply to Uroš Bizjak from comment #8) > (In reply to Levy Hsu from comment #5) > > case E_V16QImode: > > mode = V8HImode; > > gen_shr = gen_vlshrv8hi3; > > gen_shl = gen_vashlv8hi3; >

[Bug tree-optimization/115256] New: [15 Regression] 502.gcc_r Run failed with '-march=native -Ofast -funroll-loops -flto' since r15-571-g1e0ae1f52741f7

2024-05-28 Thread admin at levyhsu dot com via Gcc-bugs
Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: admin at levyhsu dot com Target Milestone: --- Bisect down to r15-571-g1e0a

[Bug tree-optimization/115256] [15 Regression] 502.gcc_r Run failed with '-march=native -Ofast -funroll-loops -flto' since r15-571-g1e0ae1f52741f7

2024-05-28 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115256 --- Comment #3 from Levy Hsu --- FYI we tried serval combinations, -funroll-loops didn't cause the issue, The link-time optimization -flto may caused the issue, we can pass with the option [-march=native -Ofast -funroll-loops]. But compiling wi

[Bug tree-optimization/111858] New: [14 Regression] ICE: in vectorizable_simd_clone_call, at tree-vect-stmts.cc:4263

2023-10-17 Thread admin at levyhsu dot com via Gcc-bugs
Severity: normal Priority: P3 Component: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: admin at levyhsu dot com Target Milestone: --- This bug appears to be caused by a commit r14-4628-g63eaccd114393f (63eaccd114393f4692976bb78b30148e6d77a89e

[Bug tree-optimization/111858] [14 Regression] ICE: in vectorizable_simd_clone_call, at tree-vect-stmts.cc:4263

2023-10-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111858 --- Comment #2 from Levy Hsu --- Checked the parent commit and confirmed r14-4682-g323209cd73bf1d fixed the ICE. Thanks~

[Bug tree-optimization/111858] [14 Regression] ICE: in vectorizable_simd_clone_call, at tree-vect-stmts.cc:4263

2023-10-18 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111858 Levy Hsu changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug c++/113129] New: "using declaration" not detected as "exported" in exported namespace

2023-12-24 Thread admin at hexadigm dot com via Gcc-bugs
D Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at hexadigm dot com Target Milestone: --- Hi there, See https://godbolt.org/z/MdToP8nP8 for a demo (self-explanatory and very short). GCC version fail

[Bug c++/113129] "using declaration" not detected as "exported" in exported namespace (C++ modules)

2023-12-24 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113129 --- Comment #2 from Larry Smith --- @Andrew Thanks for the feedback. I don't work in Unix-like environments though normally (including Linux) so CMake, make, and shell commands are something I rarely work with (I specialize on Microsoft platform

[Bug c++/113129] "using declaration" not detected as "exported" in exported namespace (C++ modules)

2023-12-25 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113129 --- Comment #3 from Larry Smith --- UPDATE: This issue is presumably the same as this (didn't come across it when I searched for any similar bugs prior to posting): https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109679 Agree with Nicolai Josutti

[Bug c++/109679] export using for functions does not work as specified

2023-12-25 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109679 Larry Smith changed: What|Removed |Added CC||admin at hexadigm dot com --- Comment #3

[Bug target/115889] [15 Regression] FAIL: gcc.dg/vect/vect-vfa-03.c execution test with -march=znver4 --param vect-partial-vector-usage=1 since r15-1368-g6d0b7b69d14302

2024-07-13 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115889 --- Comment #7 from Levy Hsu --- It appears that vect-partial-vector-usage=2 causes short int type V32HI falls into vpermt2_sepcial_bf16_shuffle_ while the original one was intended for bf16, will investigate.

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

2024-07-23 Thread admin at levyhsu dot com via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: admin at levyhsu dot com Target Milestone: --- On x86 CascadeLake/IceLake/Sapphire Rapids/Zen4/Zen3, compile with: -march=native -Ofast -funroll-loops -flto or -mtune=generic -O2 -march=x86-64

[Bug c++/116167] "static_cast" of member function pointer (non-noexcept) to noexcept erroneously succeeds if not overloaded

2024-10-16 Thread admin at hexadigm dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116167 --- Comment #3 from Larry Smith --- Just a follow-up (discovered since original post), if the function in question is inherited then the issue disappears: class BaseClass { public: //

[Bug tree-optimization/115693] 8 std::byte std::array comparison potential missed optimization

2024-09-22 Thread admin at levyhsu dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115693 Levy Hsu changed: What|Removed |Added CC||admin at levyhsu dot com --- Comment #7

<    1   2