[Bug c/110789] Internal Compiler Error: Illegal instruction

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110789 --- Comment #10 from Xi Ruoyao --- (In reply to Xi Ruoyao from comment #9) > (In reply to Andrew Pinski from comment #7) > > If you compile GMP (MPFR and MPC) as part of GCC build rather than > > seperately, the build will do the correct thing

[Bug c/110789] Internal Compiler Error: Illegal instruction

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110789 --- Comment #9 from Xi Ruoyao --- (In reply to Andrew Pinski from comment #7) > If you compile GMP (MPFR and MPC) as part of GCC build rather than > seperately, the build will do the correct thing and not use the "native" > options by default.

[Bug c++/103497] [11/12/13/14 Regression] ICE when decltype(auto)... as parameters

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103497 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ca912a39cccdd990ef705768faa7311ac210b3f3 commit r14-2814-gca912a39cccdd990ef705768faa7311ac210b3f3 Author: Nathaniel Shead Date:

[Bug target/110795] Bad code gen for vector compare booleans

2023-07-26 Thread linkw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110795 Kewen Lin changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned at

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

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

[Bug target/110776] [14 Regression] powerpc-darwin bootstrap broken after r14-2490 with ICE rs6000.cc:5069 building libgfortran

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110776 --- Comment #10 from CVS Commits --- The master branch has been updated by Kewen Lin : https://gcc.gnu.org/g:9890d4e8bcda1f34b8eefb481935ef0e4cd8069e commit r14-2813-g9890d4e8bcda1f34b8eefb481935ef0e4cd8069e Author: Kewen Lin Date: Wed Jul

[Bug gcov-profile/110827] New: C++20 coroutines aren't being measured by gcov

2023-07-26 Thread mwd at md5i dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110827 Bug ID: 110827 Summary: C++20 coroutines aren't being measured by gcov Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/110789] Internal Compiler Error: Illegal instruction

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110789 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #8

[Bug middle-end/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Xi Ruoyao changed: What|Removed |Added Keywords||needs-bisection, |

[Bug middle-end/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #5

[Bug target/88160] Error: register save offset not a multiple of 4 only with optimize

2023-07-26 Thread vincent.riviere at freesbee dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88160 --- Comment #4 from Vincent Riviere --- Created attachment 55647 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55647=edit Workaround for compiling libgcc with -mcpu=5475 -mshort Here is a patch for GCC 13.1.0. It allows libgcc to be

[Bug target/88160] Error: register save offset not a multiple of 4 only with optimize

2023-07-26 Thread vincent.riviere at freesbee dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88160 --- Comment #3 from Vincent Riviere --- There are 2 lightweight workarounds for the OP testcase: -fno-combine-stack-adjustments -fno-omit-frame-pointer $ m68k-elf-gcc -mshort -mcpu=5475 -g -O2 -c test.c /tmp/ccW6hc6h.s: Assembler messages:

[Bug other/95316] Offload compilation fails when not all offload compilers are installed that were configured

2023-07-26 Thread burnus--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95316 bur...@net-b.de changed: What|Removed |Added CC||bur...@net-b.de --- Comment #6 from

[Bug fortran/110825] TYPE(*) dummy argument to generate an unused hidden argument

2023-07-26 Thread sgk at troutmask dot apl.washington.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110825 --- Comment #3 from Steve Kargl --- On Wed, Jul 26, 2023 at 08:54:01PM +, anlauf at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110825 > > --- Comment #1 from anlauf at gcc dot gnu.org --- > (In reply to kargl

[Bug c++/110566] [13 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.cc:1

2023-07-26 Thread waffl3x at protonmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 --- Comment #6 from waffl3x --- (In reply to Patrick Palka from comment #5) > Should be fixed on trunk so far. Once it shows up on godbolt I will make sure that all the cases that exhibited the bug are working for me now. I had a bunch of

[Bug middle-end/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Andrew Pinski changed: What|Removed |Added Component|c |middle-end --- Comment #4 from Andrew

[Bug c++/110566] [13 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.cc:1

2023-07-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 Patrick Palka changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/110566] [13/14 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.c

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 --- Comment #4 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b8218eb2266811991b8163f36d5c1d974cb50b93 commit r14-2810-gb8218eb2266811991b8163f36d5c1d974cb50b93 Author: Patrick Palka Date:

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #11 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b8218eb2266811991b8163f36d5c1d974cb50b93 commit r14-2810-gb8218eb2266811991b8163f36d5c1d974cb50b93 Author: Patrick Palka Date:

[Bug c++/110566] [13/14 Regression] ICE when instantiating function template with template template parameter with 2 or more auto parameters with a dependent member template, ICE in tsubst, at cp/pt.c

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110566 --- Comment #3 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b3adcc60dcf3314f47f5409aecef40607f82b80b commit r14-2809-gb3adcc60dcf3314f47f5409aecef40607f82b80b Author: Patrick Palka Date:

[Bug c++/108179] [11/12 regression] ICE related to template template parameters in tsubst, at cp/pt.cc:15782

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108179 --- Comment #10 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:b3adcc60dcf3314f47f5409aecef40607f82b80b commit r14-2809-gb3adcc60dcf3314f47f5409aecef40607f82b80b Author: Patrick Palka Date:

[Bug fortran/110825] TYPE(*) dummy argument to generate an unused hidden argument

2023-07-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110825 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/110826] New: Fortran array of derived type with a pointer to function with dimensional arguments

2023-07-26 Thread mysecmailboks at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110826 Bug ID: 110826 Summary: Fortran array of derived type with a pointer to function with dimensional arguments Product: gcc Version: 13.1.0 Status: UNCONFIRMED

[Bug fortran/110825] TYPE(*) dummy argument to generate an unused hidden argument

2023-07-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110825 --- Comment #1 from anlauf at gcc dot gnu.org --- (In reply to kargl from comment #0) > Thus, when compiled and executed the program hits 'STOP 1'. Likely, > gfortran needs to add a possibly unused hidden argument to the argument list > for a

[Bug c++/110809] ICE: in unify, at cp/pt.cc:25226 with floating-point NTTPs

2023-07-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110809 Patrick Palka changed: What|Removed |Added Target Milestone|--- |13.3 --- Comment #8 from Patrick Palka

[Bug c++/110809] ICE: in unify, at cp/pt.cc:25226 with floating-point NTTPs

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110809 --- Comment #7 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:744e1f35266dbd6b6fb95c7e8422562815f8b56f commit r14-2806-g744e1f35266dbd6b6fb95c7e8422562815f8b56f Author: Patrick Palka Date:

[Bug c++/110824] Gcc crashing on a lambda capture

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110824 --- Comment #1 from Andrew Pinski --- Reducing to see if it is reproducible on the trunk ...

[Bug fortran/110825] TYPE(*) dummy argument to generate an unused hidden argument

2023-07-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110825 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Priority|P3

[Bug fortran/110825] New: TYPE(*) dummy argument to generate an unused hidden argument

2023-07-26 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110825 Bug ID: 110825 Summary: TYPE(*) dummy argument to generate an unused hidden argument Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/80256] Cygwin test fail: bind_c_array_params_2.f90 scan-assembler-times

2023-07-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80256 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|WAITING --- Comment #7 from

[Bug c++/110824] New: Gcc crashing on a lambda capture

2023-07-26 Thread denis.yaroshevskij at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110824 Bug ID: 110824 Summary: Gcc crashing on a lambda capture Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug rtl-optimization/110823] [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823 --- Comment #3 from Andrew Pinski --- The gimple level looks like: ``` if (_54 >= 0) goto ; [90.00%] else goto ; [10.00%] [local count: 63261141172]: _18 = (unsigned int) _54; goto ; [100.00%] ... len_37 = mbrtoc32 (,

[Bug fortran/68569] ICE with automatic character object and DATA

2023-07-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569 anlauf at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug fortran/33056] [Meta-bug] Data - statement related bugs

2023-07-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33056 Bug 33056 depends on bug 68569, which changed state. Bug 68569 Summary: ICE with automatic character object and DATA https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569 What|Removed |Added

[Bug fortran/68569] ICE with automatic character object and DATA

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569 --- Comment #9 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:27ba73644f53c118e3f9b3fe9cd792210696ec55 commit r14-2805-g27ba73644f53c118e3f9b3fe9cd792210696ec55 Author: Harald Anlauf Date:

[Bug rtl-optimization/110823] [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils

2023-07-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823 --- Comment #2 from Paul Eggert --- Created attachment 55645 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55645=edit code-mbcel1.s with the optimization suggested in the bug report

[Bug rtl-optimization/110823] [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug rtl-optimization/110823] [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils

2023-07-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823 --- Comment #1 from Paul Eggert --- Created attachment 55644 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55644=edit gcc -O2 -S output (from code-mbcel1.i)

[Bug rtl-optimization/110823] New: [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils

2023-07-26 Thread eggert at cs dot ucla.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110823 Bug ID: 110823 Summary: [missed optimization] >50% speedup for x86-64 ASCII processing a la GNU diffutils Product: gcc Version: 13.1.1 Status: UNCONFIRMED

[Bug c++/110822] [13/14 Regression] ICE on constexpr initialized with non-constant expression also accepts-invalid

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Andrew Pinski changed: What|Removed |Added Summary|ICE on constexpr|[13/14 Regression] ICE on

[Bug c++/110822] New: ICE on constexpr initialized with non-constant expression also accepts-invalid

2023-07-26 Thread stevenxia990430 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110822 Bug ID: 110822 Summary: ICE on constexpr initialized with non-constant expression also accepts-invalid Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c++/106310] [12/13 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-07-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Known to work||11.3.0, 14.0

[Bug fortran/68569] ICE with automatic character object and DATA

2023-07-26 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68569 --- Comment #8 from anlauf at gcc dot gnu.org --- Submitted (v2): https://gcc.gnu.org/pipermail/fortran/2023-July/059652.html

[Bug c++/110821] gcc inline asm for the riscv architecture with the BNE (and possibly other instructions)

2023-07-26 Thread devnexen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110821 --- Comment #2 from David CARLIER --- Ah, makes sense sorry for the disturbance. thanks

[Bug c++/110821] gcc inline asm for the riscv architecture with the BNE (and possibly other instructions)

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

[Bug libstdc++/110807] [13 Regression] Copy list initialisation of a vector raises a warning with -O2

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 --- Comment #7 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:f30e62b0ee05befd20863466d1fb55a34d15c228 commit r14-2802-gf30e62b0ee05befd20863466d1fb55a34d15c228 Author: Jonathan Wakely

[Bug bootstrap/106472] No rule to make target '../libbacktrace/libbacktrace.la', needed by 'libgo.la'.

2023-07-26 Thread dilyan.palauzov at aegee dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106472 Дилян Палаузов changed: What|Removed |Added CC||dilyan.palauzov at aegee dot org ---

[Bug c++/110821] New: gcc inline asm for the riscv architecture with the BNE (and possibly other instructions)

2023-07-26 Thread devnexen at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110821 Bug ID: 110821 Summary: gcc inline asm for the riscv architecture with the BNE (and possibly other instructions) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug tree-optimization/110819] Missed optimization: when vector's size is 0 but vector::reserve has been called.

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110819 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/110817] [14 Regression] wrong code with vector compares and vector lowering

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

[Bug tree-optimization/110817] [14 Regression] wrong code with vector compares on multiple targets

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110817 Andrew Pinski changed: What|Removed |Added Target|riscv64-unknown-linux-gnu | Target Milestone|---

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55637|0 |1 is obsolete|

[Bug c++/110820] New: vector_size attribute does not apply inside a template nttp argument

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110820 Bug ID: 110820 Summary: vector_size attribute does not apply inside a template nttp argument Product: gcc Version: 14.0 Status: UNCONFIRMED Keywords:

[Bug analyzer/109365] Double delete yields -Wanalyzer-use-after-free instead of -Wanalyzer-double-free

2023-07-26 Thread vultkayn at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109365 --- Comment #6 from Benjamin Priour --- (In reply to David Malcolm from comment #5) > (In reply to Benjamin Priour from comment #4) > > (In reply to Benjamin Priour from comment #3) > > Here's a link to the reproducer: >

[Bug target/110796] builtin_iseqsig fails some tests in armv8l-linux-gnueabihf

2023-07-26 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110796 Richard Earnshaw changed: What|Removed |Added Last reconfirmed||2023-07-26 CC|

[Bug c++/106310] [12/13/14 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 --- Comment #9 from CVS Commits --- The trunk branch has been updated by Jason Merrill : https://gcc.gnu.org/g:51b997ea1d07465cb0208c711975b545872a2d2b commit r14-2799-g51b997ea1d07465cb0208c711975b545872a2d2b Author: Jason Merrill Date:

[Bug tree-optimization/110819] Missed optimization: when vector's size is 0 but vector::reserve has been called.

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110819 Andrew Pinski changed: What|Removed |Added Component|c++ |tree-optimization Keywords|

[Bug c++/110819] New: Missed optimization: when vector size is 0 but vector::reserve has been called.

2023-07-26 Thread hiraditya at msn dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110819 Bug ID: 110819 Summary: Missed optimization: when vector size is 0 but vector::reserve has been called. Product: gcc Version: unknown Status: UNCONFIRMED

[Bug c/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #3 from CTC <19373742 at buaa dot edu.cn> --- Created attachment 55641 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55641=edit The compiler output

[Bug c/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #2 from CTC <19373742 at buaa dot edu.cn> --- (In reply to Andrew Pinski from comment #1) > The reduced testcase is undefined code > Though the original is most likely well defined valid code. I tried to add

[Bug c/110818] Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 --- Comment #1 from Andrew Pinski --- The reduced testcase is undefined code Though the original is most likely well defined valid code.

[Bug c++/110816] Emit initialization code for empty class under -ftrivial-auto-var-init

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110816 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c/110818] New: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink'

2023-07-26 Thread 19373742 at buaa dot edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110818 Bug ID: 110818 Summary: Segmentation fault with '-O3 -fno-dce -fno-ipa-cp -fno-tree-dce -fno-tree-sink' Product: gcc Version: 11.4.1 Status: UNCONFIRMED

[Bug c++/110816] Emit initialization code for empty class under -ftrivial-auto-var-init

2023-07-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110816 --- Comment #2 from Andrew Pinski --- > This potentially leaks a byte of memory. The only way to access that byte is to use memcpy or via char. -ftrivial-auto-var-init is not designed for security this way but rather for normal code ...

[Bug libstdc++/110807] [13 Regression] Copy list initialisation of a vector raises a warning with -O2

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 Jonathan Wakely changed: What|Removed |Added Summary|[13/14 Regression] Copy |[13 Regression] Copy list

[Bug libstdc++/110807] [13/14 Regression] Copy list initialisation of a vector raises a warning with -O2

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:7931a1de9ec87b996d51d3d60786f5c81f63919f commit r14-2797-g7931a1de9ec87b996d51d3d60786f5c81f63919f Author: Jonathan Wakely

[Bug c++/84542] missing -Wdeprecated-declarations on a redeclared function template

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84542 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:c01b344e814001e07fd304ce98d013d811e90192 commit r14-2796-gc01b344e814001e07fd304ce98d013d811e90192 Author: Jonathan Wakely Date:

[Bug tree-optimization/110817] New: [14 Regression] wrong code with vector compares on multiple targets

2023-07-26 Thread zsojka at seznam dot cz via Gcc-bugs
rmv7a-hardfloat-linux-gnueabi-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-20230726115220-g819f3d3692c-checking-yes-rtl-df-extra-sanitizer-armv7a-hardfloat Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 14.0.0 20230726 (experimental) (GCC) $

[Bug c++/106310] [12/13/14 Regression] lookup after this-> seems wrong for dependent lookup since r12-6754-g30f2c22def739211

2023-07-26 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106310 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/110816] Emit initialization code for empty class under -ftrivial-auto-var-init

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110816 --- Comment #1 from Jonathan Wakely --- The testcase is: struct f { void crash(); }; void bar(bool cond) { f t; if(cond) t.crash(); //user(); }

[Bug analyzer/104940] RFE: integrate analyzer with an SMT solver

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104940 --- Comment #4 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:9d804f9b2709b38235a2fe4c6705f2af6784aa2a commit r14-2793-g9d804f9b2709b38235a2fe4c6705f2af6784aa2a Author: David Malcolm Date:

[Bug c/110815] [static] not as useful as the nonnull attribute

2023-07-26 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110815 --- Comment #1 from Martin Uecker --- Created attachment 55638 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55638=edit patch This patch would synthesize a nonnull attribute for such parameters, making this fully equivalent.

[Bug c++/110809] ICE: in unify, at cp/pt.cc:25226 with floating-point NTTPs

2023-07-26 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110809 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org

[Bug c++/110816] New: Emit initialization code for empty class under -ftrivial-auto-var-init

2023-07-26 Thread serge.guelton--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110816 Bug ID: 110816 Summary: Emit initialization code for empty class under -ftrivial-auto-var-init Product: gcc Version: unknown Status: UNCONFIRMED Severity:

[Bug c/110815] New: [static] not as useful as the nonnull attribute

2023-07-26 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110815 Bug ID: 110815 Summary: [static] not as useful as the nonnull attribute Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/108080] ICE: in core_vals, at cp/module.cc:6262 with -fmodule-header

2023-07-26 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 --- Comment #4 from Matthias Klose --- the original attached test case also fails

[Bug c++/108080] ICE: in core_vals, at cp/module.cc:6262 with -fmodule-header

2023-07-26 Thread doko at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108080 Matthias Klose changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment

[Bug libstdc++/110807] [13/14 Regression] Copy list initialisation of a vector raises a warning with -O2

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 Jonathan Wakely changed: What|Removed |Added Target Milestone|13.2|13.3

[Bug libstdc++/110807] [13/14 Regression] Copy list initialisation of a vector raises a warning with -O2

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 Jonathan Wakely changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |redi at gcc dot gnu.org

[Bug middle-end/26163] [meta-bug] missed optimization in SPEC (2k17, 2k and 2k6 and 95)

2023-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=26163 Bug 26163 depends on bug 106081, which changed state. Bug 106081 Summary: missed vectorization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 What|Removed |Added

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

2023-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947 Bug 53947 depends on bug 106081, which changed state. Bug 106081 Summary: missed vectorization https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 What|Removed |Added

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #16 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:5d09fb683a8abce49dc0992f5102aa0189f8f632 commit r14-2790-g5d09fb683a8abce49dc0992f5102aa0189f8f632 Author: Richard Biener Date:

[Bug c/102989] Implement C2x's n2763 (_BitInt)

2023-07-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102989 Jakub Jelinek changed: What|Removed |Added Attachment #55628|0 |1 is obsolete|

[Bug target/110758] [14 Regression] 8% hmmer regression on zen1/3 with -Ofast -march=native -flto between g:8377cf1bf41a0a9d (2023-07-05 01:46) and g:3a61ca1b9256535e (2023-07-06 16:56); g:d76d19c9bc5

2023-07-26 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110758 Jan Hubicka changed: What|Removed |Added Last reconfirmed||2023-07-26

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #15 from rguenther at suse dot de --- On Wed, 26 Jul 2023, rsandifo at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 > > --- Comment #14 from rsandifo at gcc dot gnu.org gnu.org> --- > FWIW,

[Bug sanitizer/110814] New: Address Sanitizer misses 'global-buffer-overflow' for const arrays

2023-07-26 Thread egor_suvorov at mail dot ru via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110814 Bug ID: 110814 Summary: Address Sanitizer misses 'global-buffer-overflow' for const arrays Product: gcc Version: 13.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/110807] [13/14 Regression] Copy list initialisation of a vector raises a warning with -O2

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110807 --- Comment #3 from Jonathan Wakely --- I think this is the same warning that causes libstdc++ testsuite failures when testing with --target_board=unix/-D_GLIBCXX_DEBUG FAIL: 23_containers/vector/bool/swap.cc (test for excess errors) I

[Bug testsuite/110763] FAIL: gcc.dg/ubsan/object-size-dyn.c -O2 execution test

2023-07-26 Thread siddhesh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110763 Siddhesh Poyarekar changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug web/53257] GCC wiki takes a very, very long time to save a page

2023-07-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53257 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WORKSFORME

[Bug testsuite/110763] FAIL: gcc.dg/ubsan/object-size-dyn.c -O2 execution test

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110763 --- Comment #1 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:386df7ce7b38ef00e28080a779ef2dfd6949cf15 commit r14-2789-g386df7ce7b38ef00e28080a779ef2dfd6949cf15 Author: Siddhesh Poyarekar

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #14 from rsandifo at gcc dot gnu.org --- FWIW, changing: if (!STMT_VINFO_GROUPED_ACCESS (dr_stmt)) continue; to: if (!STMT_VINFO_GROUPED_ACCESS (dr_stmt)) {

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #13 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #12) > Btw, I see we actually materialize a permute before the splat: > > t.c:14:24: note: node 0x5b311c0 (max_nunits=1, refcnt=2) vector(2)

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #12 from Richard Biener --- Btw, I see we actually materialize a permute before the splat: t.c:14:24: note: node 0x5b311c0 (max_nunits=1, refcnt=2) vector(2) double t.c:14:24: note: op: VEC_PERM_EXPR t.c:14:24: note:

[Bug libgomp/110813] New: [OpenMP] omp_target_memcpy_rect (+ strided 'target update'): Improve GCN performance and contiguous subranges

2023-07-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110813 Bug ID: 110813 Summary: [OpenMP] omp_target_memcpy_rect (+ strided 'target update'): Improve GCN performance and contiguous subranges Product: gcc Version: 14.0

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #11 from Richard Biener --- (In reply to rsand...@gcc.gnu.org from comment #10) > (In reply to Richard Biener from comment #9) [...] > > The following elides the unnecessary permutation for this special case > > (but not the general

[Bug target/110762] inappropriate use of SSE (or AVX) insns for v2sf mode operations

2023-07-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110762 --- Comment #19 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:ade30fad6669e5f34ca4c587c724d74ecc953175 commit r14-2786-gade30fad6669e5f34ca4c587c724d74ecc953175 Author: Uros Bizjak Date: Wed

[Bug libgomp/101581] [OpenMP] omp_target_memcpy – support inter-device memcpy

2023-07-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101581 --- Comment #1 from Tobias Burnus --- For omp_target_memcpy_rect, see: "[patch] OpenMP: Call cuMemcpy2D/cuMemcpy3D for nvptx for omp_target_memcpy_rect" https://gcc.gnu.org/pipermail/gcc-patches/2023-July/625465.html

[Bug sanitizer/110799] [tsan] False positive due to -fhoist-adjacent-loads

2023-07-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110799 --- Comment #14 from Richard Biener --- The PRE/hoisting bug is fixed now.

[Bug middle-end/106081] missed vectorization

2023-07-26 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106081 --- Comment #10 from rsandifo at gcc dot gnu.org --- (In reply to Richard Biener from comment #9) > So I can adjust change_layout_cost in a bit awkward way, but it seems that > internal_node_cost would already work out that a permute can be

  1   2   >