[Bug target/115763] RISC-V: Use wrong SEW for vfmv.v.f when -march only has zvfhmin

2024-07-02 Thread pan2.li at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115763 --- Comment #1 from Li Pan --- Thanks for reporting this, I can reproduce from today's upstream by the below command: ../__RV64/bin/riscv64-unknown-elf-gcc pr115763.c -mabi=lp64d -march=rv64gcv_zfh_zvfhmin -O3 -ftree-vectorize -fno-vect-cost-mo

[Bug target/115763] New: RISC-V: Use wrong SEW for vfmv.v.f when -march only has zvfhmin

2024-07-02 Thread sh.chiang04 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115763 Bug ID: 115763 Summary: RISC-V: Use wrong SEW for vfmv.v.f when -march only has zvfhmin Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread antony at liquidinstruments dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 --- Comment #5 from Antony Searle --- > You can get the same size back with `-gdwarf-4` option even. Substituting -gdwarf-4 for -g only changes the file size by 1 kb of 1.3 Gb Antony-Air:bug $ ls -l bug.o* -rw-r--r-- 1

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > "f int]::]::]:: >" > > > vs > > "f(int):: >(f(int)::):: > >(f(int):: > >(f(int)::)::):: >" > For the DW_AT_name > > Clang just uses "f" or "f<(lambda at bug.

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |WONTFIX --- Comment #3 from Andrew Pins

[Bug debug/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 Andrew Pinski changed: What|Removed |Added Component|c++ |debug Resolution|---

[Bug target/115750] [14/15 regression] Emacs fails to build on HPPA since r14-4426-g0ee3266b3dec4d

2024-07-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115750 --- Comment #7 from John David Anglin --- Created attachment 58576 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58576&action=edit emacs patch to adjust lisp alignment on hppa Full build in progress. We will have to see if ignoring 14-b

[Bug sanitizer/115762] [14 Regression] ASAN FPE on unknown address check missing

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

[Bug ipa/102061] .constprop gets exposed in warning message

2024-07-02 Thread peter0x44 at disroot dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102061 --- Comment #3 from Peter Damianov --- diff --git a/gcc/langhooks.cc b/gcc/langhooks.cc index 61f2b676256..89a89b74535 100644 --- a/gcc/langhooks.cc +++ b/gcc/langhooks.cc @@ -223,6 +223,8 @@ lhd_get_alias_set (tree ARG_UNUSED (t)) const char *

[Bug c++/115761] Huge .o and compile times related to lambda debug strings

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 --- Comment #1 from Andrew Pinski --- You know what the difference in gcc 11 vs GCC 12 is actually dwarf 4 vs dwarf 5. GCC now outputs a lot more debugging information in GCC 12 vs before. You can get the same size back with `-gdwarf-4` option

[Bug sanitizer/115762] New: [14 Regression] ASAN FPE on unknown address check missing

2024-07-02 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115762 Bug ID: 115762 Summary: [14 Regression] ASAN FPE on unknown address check missing Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/115761] New: Huge .o and compile times related to lambda debug strings

2024-07-02 Thread antony at liquidinstruments dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115761 Bug ID: 115761 Summary: Huge .o and compile times related to lambda debug strings Product: gcc Version: 14.1.0 Status: UNCONFIRMED Severity: normal P

[Bug ipa/107931] [12/13/14 Regression] -Og causes always_inline to fail since r12-6677-gc952126870c92cf2

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

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

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

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 --- Comment #7 from Sam James --- Not trying to bikeshed it though, I'd be fine with us adding "definitely terrible" functions first.

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 --- Comment #8 from Andrew Pinski --- (In reply to Jan Hubicka from comment #2) > > With -Og it's usually that the always-inline function is called indirectly - > > that's an unsupported case. > We can probably add CIF code for functions that we

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 --- Comment #6 from Sam James --- (In reply to Sam James from comment #4) > [...] ... another issue is how we handle extensions (non-standard functions; may behave differently across impls), or where glibc might say something is safe as an exte

[Bug sanitizer/115760] FPE on unknown address check missing

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

[Bug sanitizer/115760] New: FPE on unknown address check missing

2024-07-02 Thread bic60176 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115760 Bug ID: 115760 Summary: FPE on unknown address check missing Product: gcc Version: 13.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: sanitizer

[Bug target/115759] New: RISC-V: complex code generated for lmbench's fwr when uses scalable autovec

2024-07-02 Thread deminhan at gcc dot gnu.org via Gcc-bugs
restore 26 ld s11,368(sp) .cfi_restore 27 .L37: ld s8,392(sp) .cfi_restore 24 addisp,sp,464 .cfi_def_cfa_offset 0 jr ra .cfi_endproc .LFE0: .size fwr, .-fwr .ident "GCC: (g0b4fd672bf0) 15.0.0

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 --- Comment #7 from Andrew Pinski --- Here is a float/longlong that fails for both aarch64 and x86_64 (it works on i686 though): ``` void f(float*); void foo1 () { long long t0 = __LONG_LONG_MAX__; long long t1 = __LONG_LONG_MAX__ - 1; flo

[Bug c/115758] Segmentation fault with -O2

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

[Bug target/115466] rs6000 vec_ld built-in works on BE but not LE

2024-07-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115466 Kewen Lin changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-02 Thread lin1.hu at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 --- Comment #6 from Hu Lin --- (In reply to Andrew Pinski from comment #5) > Note the correct way to have a testcase that is able to handle float16 is to > do: > /* { dg-add-options float16 } */ > /* { dg-require-effective-target float16 } */ >

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 Kewen Lin changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 Kewen Lin changed: What|Removed |Added Resolution|--- |FIXED Assignee|unassigned at gcc

[Bug c/115758] New: Segmentation fault with -O2

2024-07-02 Thread luwei6 at nuaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115758 Bug ID: 115758 Summary: Segmentation fault with -O2 Product: gcc Version: 15.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #51 from GCC Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ca6eea0eb33de8b2e23e0bef3466575bb14ab63f commit r12-10595-gca6eea0eb33de8b2e23e0bef3466575bb14ab63f Author: Kewen Lin Date:

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #23 from GCC Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:13f0528c782c3732052973a5d340769af8182c8f commit r12-10594-g13f0528c782c3732052973a5d340769af8182c8f Author: Kewen Lin Date:

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #50 from GCC Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:13f0528c782c3732052973a5d340769af8182c8f commit r12-10594-g13f0528c782c3732052973a5d340769af8182c8f Author: Kewen Lin Date:

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #24 from GCC Commits --- The releases/gcc-12 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ca6eea0eb33de8b2e23e0bef3466575bb14ab63f commit r12-10595-gca6eea0eb33de8b2e23e0bef3466575bb14ab63f Author: Kewen Lin Date:

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #49 from GCC Commits --- The releases/gcc-13 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:bab38d9271ce3f26cb64b8cb712351eb3fedd559 commit r13-8886-gbab38d9271ce3f26cb64b8cb712351eb3fedd559 Author: Kewen Lin Date:

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #48 from GCC Commits --- The releases/gcc-13 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ffdd377fc07cdc7b62669d354e23f30940eaaffe commit r13-8885-gffdd377fc07cdc7b62669d354e23f30940eaaffe Author: Kewen Lin Date:

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #22 from GCC Commits --- The releases/gcc-13 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:bab38d9271ce3f26cb64b8cb712351eb3fedd559 commit r13-8886-gbab38d9271ce3f26cb64b8cb712351eb3fedd559 Author: Kewen Lin Date:

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #21 from GCC Commits --- The releases/gcc-13 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:ffdd377fc07cdc7b62669d354e23f30940eaaffe commit r13-8885-gffdd377fc07cdc7b62669d354e23f30940eaaffe Author: Kewen Lin Date:

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #46 from GCC Commits --- The releases/gcc-14 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:0e495e8e3fde11e430a77db6b477319ed0ae0b7c commit r14-10371-g0e495e8e3fde11e430a77db6b477319ed0ae0b7c Author: Kewen Lin Date:

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #20 from GCC Commits --- The releases/gcc-14 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:052f78d010d224c7289f1cf6eec784ac4eeed351 commit r14-10372-g052f78d010d224c7289f1cf6eec784ac4eeed351 Author: Kewen Lin Date:

[Bug target/106069] [12/13/14/15 Regression] wrong code with -O -fno-tree-forwprop -maltivec on ppc64le

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106069 --- Comment #46 from GCC Commits --- The releases/gcc-14 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:0e495e8e3fde11e430a77db6b477319ed0ae0b7c commit r14-10371-g0e495e8e3fde11e430a77db6b477319ed0ae0b7c Author: Kewen Lin Date:

[Bug target/115355] [12/13/14/15 Regression] vectorization exposes wrong code on P9 LE starting from r12-4496

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115355 --- Comment #19 from GCC Commits --- The releases/gcc-14 branch has been updated by Kewen Lin : https://gcc.gnu.org/g:0e495e8e3fde11e430a77db6b477319ed0ae0b7c commit r14-10371-g0e495e8e3fde11e430a77db6b477319ed0ae0b7c Author: Kewen Lin Date:

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 --- Comment #5 from Andrew Pinski --- Note the correct way to have a testcase that is able to handle float16 is to do: /* { dg-add-options float16 } */ /* { dg-require-effective-target float16 } */ This will allow it to work on 32bit x86 and a

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 --- Comment #4 from Andrew Pinski --- Here is one testcase that ICEs on aarch64 in the same way at `-O2 -frounding-math` since there is V4HF support there: ``` void f(_Float16*); void foo1 () { int t0 = 3967; int t1 = 3969; int t2 = 3971;

[Bug pch/115312] [14/15 Regression] ICE when including a PCH via compiler option -include since r14-5836

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115312 --- Comment #9 from GCC Commits --- The master branch has been updated by Lewis Hyatt : https://gcc.gnu.org/g:038d64f62271ddc62aa35d0a5dfd3843fdb9e6d7 commit r15-1803-g038d64f62271ddc62aa35d0a5dfd3843fdb9e6d7 Author: Lewis Hyatt Date: Sat J

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 --- Comment #3 from Andrew Pinski --- (In reply to Hu Lin from comment #2) > Created attachment 58572 [details] > Untested fix. > > Confirmed, I need to check if TYPE_CODE is SSA_NAME before > SSA_NAME_RANGE_INFO. I think you could make the te

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

2024-07-02 Thread lin1.hu at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115753 --- Comment #2 from Hu Lin --- Created attachment 58572 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58572&action=edit Untested fix. Confirmed, I need to check if TYPE_CODE is SSA_NAME before SSA_NAME_RANGE_INFO.

[Bug c++/115757] New: [modules] [[maybe_unused]] not honored in member function of imported class template

2024-07-02 Thread rs2740 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115757 Bug ID: 115757 Summary: [modules] [[maybe_unused]] not honored in member function of imported class template Product: gcc Version: 15.0 Status: UNCONFIRMED Sev

[Bug target/109812] GraphicsMagick resize is a lot slower in GCC 13.1 vs Clang 16 on Intel Raptor Lake

2024-07-02 Thread edison_chan_gz at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 --- Comment #24 from edison --- (In reply to Hongtao Liu from comment #23) > (In reply to edison from comment #22) > > for 607.cactuBSSN_s,if use preENV_GOMP_CPU_AFFINITY = 0-23 in CPU2017 .cfg, > > all p-core(i9-13900k) usage will down to 15%(

[Bug target/109812] GraphicsMagick resize is a lot slower in GCC 13.1 vs Clang 16 on Intel Raptor Lake

2024-07-02 Thread liuhongt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 --- Comment #23 from Hongtao Liu --- (In reply to edison from comment #22) > for 607.cactuBSSN_s,if use preENV_GOMP_CPU_AFFINITY = 0-23 in CPU2017 .cfg, > all p-core(i9-13900k) usage will down to 15%(the e-core almost 100%), if > comment out it

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-07-02 Thread Changqing.Li at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 Li, Changqing changed: What|Removed |Added Attachment #58570|0 |1 is obsolete|

[Bug target/115751] [15 Regression] ICE building 521.wrf_r

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115751 Andrew Pinski changed: What|Removed |Added Summary|ICE building 521.wrf_r |[15 Regression] ICE |

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 --- Comment #6 from Andrew Pinski --- (In reply to Li, Changqing from comment #4) > Created attachment 58570 [details] > preprocessed source This is not the preprocessed source. Please read https://gcc.gnu.org/bugs/ and try again.

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743 Andrew Pinski changed: What|Removed |Added Status|WAITING |NEW --- Comment #7 from Andrew Pinski

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-07-02 Thread Changqing.Li at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 --- Comment #5 from Li, Changqing --- Hi, I have attached the preprocessed source. You can also get it from here: https://cairographics.org/releases/pixman-0.43.4.tar.gz

[Bug tree-optimization/115679] inlining failed in call to 'foo': function not considered for inlining

2024-07-02 Thread Changqing.Li at windriver dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115679 --- Comment #4 from Li, Changqing --- Created attachment 58570 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58570&action=edit preprocessed source

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

2024-07-02 Thread ralf.habacker at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743 --- Comment #6 from Ralf Habacker --- Created attachment 58569 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58569&action=edit Logfile building gcc without patch (In reply to Andrew Pinski from comment #5) > Can you attach the resulting

[Bug target/109812] GraphicsMagick resize is a lot slower in GCC 13.1 vs Clang 16 on Intel Raptor Lake

2024-07-02 Thread edison_chan_gz at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109812 edison changed: What|Removed |Added CC||edison_chan_gz at hotmail dot com --- Comment

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

2024-07-02 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114990 --- Comment #17 from cqwrteur --- (In reply to Jason Merrill from comment #16) > (In reply to cqwrteur from comment #15) > > But it is not declaration, but definition. The actual implementation > > duplicates twice. > > Definitions are also mer

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743 --- Comment #5 from Andrew Pinski --- Can you attach the resulting `libstdc++.*-gdb.py` file (without the patch included) and where it is located?

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

2024-07-02 Thread ralf.habacker at freenet dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743 --- Comment #4 from Ralf Habacker --- Created attachment 58568 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58568&action=edit compressed log file (In reply to Andrew Pinski from comment #1) > How did you configure GCC? >From the append

[Bug tree-optimization/115723] [14 Regression] SPEC CPU2017 521/621 build error with -Ofast and AVX512 enabled(-ftree-vectorize?)

2024-07-02 Thread edison_chan_gz at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115723 --- Comment #17 from edison --- (In reply to Richard Biener from comment #16) > Created attachment 58561 [details] > patch > > I have attached it as a patch for your convenience. You can apply it to a > source tree with the 'patch' utility. T

[Bug target/109130] [13/14/15 Regression] 464.h264ref regressed by 6.5% on a Neoverse-N1 CPU with PGO, LTO, -Ofast and -march=native

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109130 --- Comment #5 from Andrew Pinski --- This looks like it was fixed already, back to 355 which is GCC 13 .

[Bug target/113859] popcount HI can be vectorized for non-SVE

2024-07-02 Thread pzheng at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113859 Pengxuan Zheng changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/114412] [14/15 Regression] 7% slowdown of 436.cactusADM on aarch64

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114412 --- Comment #6 from Andrew Pinski --- Looks like the regression mentioned in comment #0 is fixed. And even the regression that happened during GCC 14. There is still more from GCC 13 though.

[Bug target/114510] [15 Regression] missed proping of multiply by 2 into address of load/stores

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

[Bug target/113859] popcount HI can be vectorized for non-SVE

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113859 --- Comment #5 from GCC Commits --- The master branch has been updated by Pengxuan Zheng : https://gcc.gnu.org/g:895bbc08d38c2aca3cbbab273a247021fea73930 commit r15-1801-g895bbc08d38c2aca3cbbab273a247021fea73930 Author: Pengxuan Zheng Date:

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug other/115705] dubious macro definition ‘__attr_dealloc_fclose’ [-Winvalid-imported-macros]

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

[Bug middle-end/88670] [meta-bug] generic vector extension issues

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88670 Bug 88670 depends on bug 110473, which changed state. Bug 110473 Summary: vec_convert for aarch64 seems to lower to something which should be improved https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110473 What|Removed

[Bug target/110473] vec_convert for aarch64 seems to lower to something which should be improved

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

[Bug target/110473] vec_convert for aarch64 seems to lower to something which should be improved

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110473 --- Comment #3 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a7ad9cb813063ddf51269910f33b56116c10462c commit r15-1800-ga7ad9cb813063ddf51269910f33b56116c10462c Author: Andrew Pinski Date: Tu

[Bug target/107432] __builtin_convertvector generates inefficient code

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107432 --- Comment #14 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:a7ad9cb813063ddf51269910f33b56116c10462c commit r15-1800-ga7ad9cb813063ddf51269910f33b56116c10462c Author: Andrew Pinski Date: T

[Bug target/115750] [14/15 regression] Emacs fails to build on HPPA since r14-4426-g0ee3266b3dec4d

2024-07-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115750 John David Anglin changed: What|Removed |Added CC||helge.deller at sap dot com --- Com

[Bug tree-optimization/115710] [11/12/13/14/15 Regression] complex abs does not vectorise

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

[Bug tree-optimization/53947] [meta-bug] vectorizer missed-optimizations

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 115710, which changed state. Bug 115710 Summary: [11/12/13/14/15 Regression] complex abs does not vectorise https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115710 What|Removed |Added --

[Bug tree-optimization/115710] [11/12/13/14/15 Regression] complex abs does not vectorise

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115710 --- Comment #13 from GCC Commits --- The trunk branch has been updated by Andrew Pinski : https://gcc.gnu.org/g:d8fe4f05ef448e6a136398d38c0f2170d3c6bb0d commit r15-1797-gd8fe4f05ef448e6a136398d38c0f2170d3c6bb0d Author: Andrew Pinski Date: S

[Bug target/115750] [14/15 regression] Emacs fails to build on HPPA since r14-4426-g0ee3266b3dec4d

2024-07-02 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115750 --- Comment #5 from John David Anglin --- I did a build with gcc-14. It fails here: ./temacs --batch -l loadup --temacs=pbootstrap \ --bin-dest /usr/bin/ --eln-dest /usr/lib/emacs/29.4/ Memory exhausted--use M-x save-some-buffers then

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-02 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 --- Comment #4 from Sam James --- Hi David, I started hacking up a list based on the man pages I had from `man-pages` & removing the POSIX list of safe functions, but it's kind of gross. It's not something we could put in the build system. A fr

[Bug analyzer/115735] Analyzer misses trivial syslog() call in signal handler for -Wanalyzer-unsafe-call-within-signal-handler

2024-07-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115735 --- Comment #3 from David Malcolm --- The analyzer's list of functions known to be signal unsafe was introduced in r10-5959-g4804c5fe965eef and has only gained "exit" since then, in r11-577-g2221fb6f668a7e. Is there a wider list of such functio

[Bug fortran/107996] ICE in gfc_walk_array_ref, at fortran/trans-array.cc:11429

2024-07-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107996 anlauf at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2024-07-02 Statu

[Bug c++/115754] [14 Regression] C++26 ICE on constexpr new

2024-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115754 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2024-07-02 Blocks|110338

[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

2024-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747 Jakub Jelinek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/110338] Implement C++26 language features

2024-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 115747, which changed state. Bug 115747 Summary: [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747 What|Removed

[Bug c++/110338] Implement C++26 language features

2024-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110338 Bug 110338 depends on bug 115745, which changed state. Bug 115745 Summary: [C++26] P0963R3 - Structured binding declaration as a condition https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115745 What|Removed |Adde

[Bug c++/115745] [C++26] P0963R3 - Structured binding declaration as a condition

2024-07-02 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115745 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/115754] [14/15 Regression] C++26 ICE on constexpr new

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115754 --- Comment #2 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1250540a98e0a1dfa4d7834672d88d8543ea70b1 commit r15-1795-g1250540a98e0a1dfa4d7834672d88d8543ea70b1 Author: Jakub Jelinek Date: T

[Bug c++/115747] [C++26] P3144R2 - Deleting a pointer to an incomplete type should be ill-formed

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115747 --- Comment #9 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:beb7a418aaef2ec8a812712110b007c091a73491 commit r15-1794-gbeb7a418aaef2ec8a812712110b007c091a73491 Author: Jakub Jelinek Date: T

[Bug c++/115745] [C++26] P0963R3 - Structured binding declaration as a condition

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115745 --- Comment #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:f30bdb1f2d79fd787e0c270039179bf80830161f commit r15-1793-gf30bdb1f2d79fd787e0c270039179bf80830161f Author: Jakub Jelinek Date: T

[Bug fortran/115700] [11/12/13/14 regression] Bogus warning for associate with assumed-length character array

2024-07-02 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115700 anlauf at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |anlauf at gcc dot gnu

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743 --- Comment #3 from Andrew Pinski --- So for a cross to aarch64-linux-gnu we get: pythondir = '/home/apinski/src/upstream-full-cross/install/share/gcc-15.0.0/python' libdir = '/home/apinski/src/upstream-full-cross/install/aarch64-linux-gnu/lib/.

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115743 --- Comment #2 from Andrew Pinski --- Note for native, normally installs under /home/apinski/upstream-gcc-new/share/gcc-14.0.0/python/libstdcxx/v6/printers.py That is: $prefix/share/gcc-$version/python/libstdcxx/v6/ . For cross (to *-*-linux)

[Bug tree-optimization/115629] Inefficient if-convert of masked conditionals

2024-07-02 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115629 Richard Sandiford changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org --- Com

[Bug libstdc++/115743] libstdc++: pretty printer is installed in wrong location on cross compiled i686|x86_64-w64-mingw32 target

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

[Bug analyzer/115724] analyzer does not recognise glibc (GNU) extension, non-returning error

2024-07-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115724 David Malcolm changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #7 from David Malc

[Bug target/115591] internal error on global variable-length array

2024-07-02 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115591 --- Comment #8 from Jeffrey A. Law --- Passed without issue. I'll go ahead and ACK the patch here. It's good to go IMHO.

[Bug target/115756] default tuning for x86_64 produces shifts for `*240`

2024-07-02 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115756 Roger Sayle changed: What|Removed |Added CC||roger at nextmovesoftware dot com --- Co

[Bug target/115749] Non optimal assembly for integer modulo by a constant on x86-64 CPUs

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115749 --- Comment #8 from Andrew Pinski --- (In reply to kim.walisch from comment #4) > One possible explanation for why GCC's current integer division by a > constant assembly sequence was chosen back in the day (I guess one or two > decades ago) is

[Bug target/114936] [14 Regression] Typo in aarch64-ldp-fusion.cc:combine_reg_notes

2024-07-02 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114936 Alex Coplan changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug target/114936] [14 Regression] Typo in aarch64-ldp-fusion.cc:combine_reg_notes

2024-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114936 --- Comment #3 from GCC Commits --- The releases/gcc-14 branch has been updated by Alex Coplan : https://gcc.gnu.org/g:8eb469546f7f32dcec5d3376dfb419c1d4f21e4a commit r14-10369-g8eb469546f7f32dcec5d3376dfb419c1d4f21e4a Author: Alex Coplan Dat

[Bug tree-optimization/115753] [15 Regression] ICE: tree check: expected ssa_name, have integer_cst in supportable_indirect_convert_operation, at tree-vect-stmts.cc:14680

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

[Bug target/115749] Non optimal assembly for integer modulo by a constant on x86-64 CPUs

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

[Bug target/115756] New: default tuning for x86_64 produces shifts for `*240`

2024-07-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115756 Bug ID: 115756 Summary: default tuning for x86_64 produces shifts for `*240` Product: gcc Version: 15.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: norma

  1   2   3   >