Re: About initialization of automatic variables

2023-04-18 Thread Andreas Schwab
On Apr 18 2023, naoki ueda via Gcc-bugs wrote: > The attached code says "int a = 100;", but it should normally be > initialized with an "undefined value", but in the case of gcc-10, it is > initialized with "0". Isn't this a bug in gcc-10? 0 is just one instance of "undefined value". -- Andreas

[Bug tree-optimization/109176] [11/12 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 --- Comment #18 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0a4cf0e92cbd5f18de3195fa2deb058f2f88e77e commit r12-9421-g0a4cf0e92cbd5f18de3195fa2deb058f2f88e77e Author: Jakub Jelinek

[Bug middle-end/106190] [10/11/12 Regression] ICE in expand_builtin_eh_common with -fnon-call-exceptions -fsanitize=address,undefined -fno-sanitize-recover=all

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106190 --- Comment #11 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2d96422f4608c04d6a7c8444f14446c309416e24 commit r12-9424-g2d96422f4608c04d6a7c8444f14446c309416e24 Author: Jakub Jelinek

[Bug c++/109319] [12 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3793 since r12-5510

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109319 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:6a5c0588ac00f6f55ae7ed2bb791e7e119a01c43 commit r12-9425-g6a5c0588ac00f6f55ae7ed2bb791e7e119a01c43 Author: Jakub Jelinek

[Bug c++/109164] wrong code with thread_local reference, loops and -ftree-pre

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109164 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:c534a9e56cf16fd996c78f443b6c91f403d794ed commit r12-9420-gc534a9e56cf16fd996c78f443b6c91f403d794ed Author: Jakub Jelinek

[Bug tree-optimization/109410] [13 Regression] ICE: verify_flow_info failed

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109410 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:0e55b8e091a7263364cb08fd2c9172babb554ab1 commit r12-9428-g0e55b8e091a7263364cb08fd2c9172babb554ab1 Author: Jakub Jelinek

[Bug ipa/105685] [10/11/12 Regression] Bogus `-Wsuggest-attribute=cold` on function already marked as `__attribute__((cold))`

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105685 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2407495178fa20382944cdbb875e940ad109f9fb commit r12-9422-g2407495178fa20382944cdbb875e940ad109f9fb Author: Jakub Jelinek

[Bug target/109276] [11/12 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 --- Comment #20 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:429a5143d17bd83d4662cd6c7a2c30d065c8f65b commit r12-9423-g429a5143d17bd83d4662cd6c7a2c30d065c8f65b Author: Jakub Jelinek

[Bug other/109306] The strstr implementation in libiberty might have undefined behavior (out of bounds mem access)

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109306 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:1c7d418661e385d7428842088b93016e2be43ce4 commit r12-9426-g1c7d418661e385d7428842088b93016e2be43ce4 Author: Jakub Jelinek

[Bug c++/109319] [12 Regression] ICE in build_min_non_dep_op_overload, at cp/tree.cc:3793 since r12-5510

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

[Bug target/109276] [11 Regression] ICE: in assign_stack_local_1, at function.cc:429 with -mpreferred-stack-boundary=2

2023-04-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109276 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] ICE: in |[11 Regression] ICE: in

[Bug ipa/105685] [10/11 Regression] Bogus `-Wsuggest-attribute=cold` on function already marked as `__attribute__((cold))`

2023-04-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105685 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] Bogus |[10/11 Regression] Bogus

[Bug middle-end/106190] [10/11 Regression] ICE in expand_builtin_eh_common with -fnon-call-exceptions -fsanitize=address,undefined -fno-sanitize-recover=all

2023-04-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106190 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12 Regression] ICE |[10/11 Regression] ICE in

[Bug tree-optimization/109176] [11 Regression] internal compiler error: in to_constant, at poly-int.h:504

2023-04-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109176 Jakub Jelinek changed: What|Removed |Added Summary|[11/12 Regression] internal |[11 Regression] internal

[Bug testsuite/106879] [13/14 regression] new test case gcc.dg/vect/bb-slp-layout-19.c fails

2023-04-18 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106879 Jiu Fu Guo changed: What|Removed |Added CC||guojiufu at gcc dot gnu.org --- Comment #5

[Bug libgcc/109540] New: Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread punitb20 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 Bug ID: 109540 Summary: Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values Product: gcc Version: 9.3.0 Status: UNCONFIRMED Seve

[Bug libgcc/109540] Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread punitb20 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 --- Comment #1 from Puneet B --- Here issue is weakref symbol in gcc not using the __asm_ function pointed by pthread.h instead its calling directly ___pthread_cond_timedwait which is exposed by version_symbol in pthread_cond_wait.c of glibc

[Bug c++/109532] -fshort-enums does not pick smallest underlying type for scoped enum

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109532 --- Comment #6 from Jonathan Wakely --- (In reply to Wilhelm M from comment #5) > So in general a scoped-enum inside a class (nested type) maybe always a bad > idea, because it prevents optimization. I don't know how you have drawn that conclus

Re: About initialization of automatic variables

2023-04-18 Thread naoki ueda via Gcc-bugs
Ok, thanks! 2023年4月18日(火) 16:06 Andreas Schwab : > On Apr 18 2023, naoki ueda via Gcc-bugs wrote: > > > The attached code says "int a = 100;", but it should normally be > > initialized with an "undefined value", but in the case of gcc-10, it is > > initialized with "0". Isn't this a bug in gcc-10

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

2023-04-18 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109539 --- Comment #1 from Martin Liška --- Created attachment 54877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54877&action=edit Reduced test-case Takes 1.77s after the mentioned revision and 0.15s before it.

Re: About initialization of automatic variables

2023-04-18 Thread Jonathan Wakely via Gcc-bugs
The gcc-bugs@gcc.gnu.org list is for automated email from our Bugzilla database, please don't use it to report bugs or to ask questions about how GCC works. For questions about using GCC send email to gcc-h...@gcc.gnu.org and to report bugs please use bugzilla: https://gcc.gnu.org/bugs/ Thanks!

[Bug libgomp/107041] [13/14 Regression] C '-Wenum-int-mismatch' diagnostic for OpenACC 'acc_on_device'

2023-04-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107041 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109539 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug target/109541] New: ICE in extract_constrain_insn on sparc64-unknown-linux-gnu when building rhash-1.4.3

2023-04-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 Bug ID: 109541 Summary: ICE in extract_constrain_insn on sparc64-unknown-linux-gnu when building rhash-1.4.3 Product: gcc Version: 13.0 Status: UNCONFIRMED Sev

[Bug target/109541] ICE in extract_constrain_insn on sparc64-unknown-linux-gnu when building rhash-1.4.3

2023-04-18 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109541 --- Comment #1 from Sam James --- Maybe a dupe of PR108703? Need to rebuild with debugging symbols as well now.

[Bug tree-optimization/109240] Missed fneg/fsub optimization

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109240 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:2349e69125335d4c8c5e43cf3643844519d154c3 commit r14-22-g2349e69125335d4c8c5e43cf3643844519d154c3 Author: Jakub Jelinek Date: Tue

[Bug tree-optimization/109240] Missed fneg/fsub optimization

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

[Bug tree-optimization/98856] [11/12/13/14 Regression] botan AES-128/XTS is slower by ~17% since r11-6649-g285fa338b06b804e72997c4d876ecf08a9c083af

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98856 Richard Biener changed: What|Removed |Added Assignee|rguenth at gcc dot gnu.org |unassigned at gcc dot gnu.org

Re: About initialization of automatic variables

2023-04-18 Thread naoki ueda via Gcc-bugs
Ok, I see. 2023年4月18日(火) 17:27 Jonathan Wakely : > The gcc-bugs@gcc.gnu.org list is for automated email from our Bugzilla > database, please don't use it to report bugs or to ask questions about > how GCC works. > > For questions about using GCC send email to gcc-h...@gcc.gnu.org and > to report

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109539 --- Comment #3 from Richard Biener --- The issue is almost certainly the cost of pointers_related_p Samples: 3M of event 'cycles', Event count (approx.): 3573086788171 Children Self Samples Command Shared Object

[Bug fortran/108961] Segfault when associating to pointer from C_F_POINTER

2023-04-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108961 Paul Thomas changed: What|Removed |Added Blocks|87477 | Assignee|unassigned at gcc dot

[Bug c++/109518] invalid constexpr code is accepted

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109518 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109539 --- Comment #4 from Richard Biener --- So what we try to do is, when check_pointer_uses follows the use chain of 'ptr' through say ptr2 = ptr + 4; then it wants to visit ptr2 uses as well. For PHIs we get to ptr2 = PHI <..., ptr, ...>; an

[Bug libstdc++/109517] Failure to compile constexpr std::copy with -D_GLIBCXX_DEBUG

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

[Bug libstdc++/109517] Failure to compile constexpr std::copy with -D_GLIBCXX_DEBUG

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109517 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/85944] Address of temporary bound to a function parameter at global scope not considered constexpr

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85944 Jonathan Wakely changed: What|Removed |Added CC||terra at gnome dot org --- Comment #9

[Bug libgcc/109540] Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 --- Comment #2 from Jonathan Wakely --- N.B. GCC 9 is no longer supported, so any changes will not help that version.

[Bug libgcc/109540] Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread punitb20 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 --- Comment #3 from Puneet B --- It can be reproduceable in gcc master branch or latest release..dont look at it as GCC particular version bug.

[Bug c/109542] New: bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread amos.maimon at sap dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 Bug ID: 109542 Summary: bad detection of null dereferance cause ud2a in valid inline function code Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: n

[Bug tree-optimization/109543] New: Avoid using BLKmode for unions with a non-BLKmode member when possible

2023-04-18 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109543 Bug ID: 109543 Summary: Avoid using BLKmode for unions with a non-BLKmode member when possible Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: normal

[Bug libgcc/109540] Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 --- Comment #4 from Jonathan Wakely --- Yes, I know. I'm just pointing out that you're reporting a bug against an unsupported version.

[Bug libgcc/109540] Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 --- Comment #5 from Jonathan Wakely --- The description is a bit confusing, but the issue is that we define: typedef struct timespec __gthread_time_t; and then use that in several functions like this: static inline int __gthread_cond_timedwai

[Bug libstdc++/109536] Failure to compile constexpr std::vector with -D_GLIBCXX_DEBUG

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109536 --- Comment #3 from Jonathan Wakely --- Right - using std::vector in constant expressions isn't supported by debug mode. Somebody needs to work on that.

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 Xi Ruoyao changed: What|Removed |Added CC||xry111 at gcc dot gnu.org --- Comment #1 fr

[Bug libstdc++/109525] typo in views::as_const::operator()

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109525 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4ec4ceafcc04ec7bafb1857cf6d491030440a765 commit r14-27-g4ec4ceafcc04ec7bafb1857cf6d491030440a765 Author: Patrick Palka Date: Tue

[Bug libstdc++/108827] [C++23] Implement P2387R3, Pipe support for user-defined range adaptors

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108827 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:cb5c71d16d0fb47638498365f5c857ce7c673eaf commit r14-29-gcb5c71d16d0fb47638498365f5c857ce7c673eaf Author: Patrick Palka Date: Tue

[Bug tree-optimization/109543] Avoid using BLKmode for unions with a non-BLKmode member when possible

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109543 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status

[Bug libstdc++/109525] typo in views::as_const::operator()

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109525 --- Comment #3 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:4dc8c0b62d91d239b88cc81bbb8f4fbde317fde6 commit r13-7212-g4dc8c0b62d91d239b88cc81bbb8f4fbde317fde6 Author: Patrick Palka

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 Richard Biener changed: What|Removed |Added Target||x86_64-*-* i?86-*-* Resolution

[Bug libstdc++/108827] [C++23] Implement P2387R3, Pipe support for user-defined range adaptors

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108827 --- Comment #2 from CVS Commits --- The releases/gcc-13 branch has been updated by Patrick Palka : https://gcc.gnu.org/g:769c324424500a3d20de7417f62a4e7bce345775 commit r13-7214-g769c324424500a3d20de7417f62a4e7bce345775 Author: Patrick Palka

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread amos.maimon at sap dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 --- Comment #3 from Amos Maimon --- 1. the same will occur if you will do : p[0xe] = 0xfc; 2. how do you explin the fact that if the null set in the function (SIMPLE_WRITE case) gcc compile it without ud2a

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 --- Comment #4 from Xi Ruoyao --- (In reply to Amos Maimon from comment #3) > 1. the same will occur if you will do : > p[0xe] = 0xfc; Yes, it's undefined behavior too as C defines a[b] as *(a+b). > 2. how do you explin the fact that if th

[Bug c/109542] bad detection of null dereferance cause ud2a in valid inline function code

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109542 --- Comment #5 from Jonathan Wakely --- You can either perform the arithmetic using intptr_t or uintptr_t, or use -fdelete-null-pointer-checks (as the documentation for that option explains). Also I would expect a volatile char* to be used for

[Bug libstdc++/109525] typo in views::as_const::operator()

2023-04-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109525 Patrick Palka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109539 --- Comment #6 from CVS Commits --- The releases/gcc-13 branch has been updated by Richard Biener : https://gcc.gnu.org/g:68aea7801848f978f8b5461807dfd3b7a504da1e commit r13-7215-g68aea7801848f978f8b5461807dfd3b7a504da1e Author: Richard Biener

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

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

[Bug tree-optimization/109539] [13/14 Regression] Compile-time hog in gimple-ssa-warn-access.cc since r13-6706-gadb70c2d1060b3

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109539 --- Comment #5 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:fdbaab2dc886f78a1e755120faa17e77c862 commit r14-30-gfdbaab2dc886f78a1e755120faa17e77c862 Author: Richard Biener Date: T

[Bug libgcc/109540] Y2038: GCC gthr-posix.h weakref symbol invoking function has impact on time values

2023-04-18 Thread punitb20 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109540 --- Comment #6 from Puneet B --- its not after refer the wiki, its observed on target where its clear that even after compiling application with -D_TIME_BITS=64 -D_FILE_OFFSET_BITS=64 its still calling ___pthread_cond_timedwait More over if i

[Bug c++/105351] [concepts] Constraint checking does correctly match static member attributes

2023-04-18 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105351 Patrick Palka changed: What|Removed |Added Target Milestone|--- |13.0 Resolution|---

[Bug libstdc++/108976] codecvt for Unicode allows surrogate code points

2023-04-18 Thread dmjpp at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108976 --- Comment #7 from Dimitrij Mijoski --- I put a second version of the patch https://gcc.gnu.org/pipermail/libstdc++/2023-March/055667.html about a month ago.

[Bug target/105325] power10: Error: operand out of range

2023-04-18 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105325 Peter Bergner changed: What|Removed |Added CC||bergner at gcc dot gnu.org Target Mil

[Bug target/109544] New: implicit declaration of function '__riscv_vsseg4e8_v_i8mf8'

2023-04-18 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109544 Bug ID: 109544 Summary: implicit declaration of function '__riscv_vsseg4e8_v_i8mf8' Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal P

[Bug middle-end/109545] New: first_stmt has strange semantics

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109545 Bug ID: 109545 Summary: first_stmt has strange semantics Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end

[Bug target/109544] implicit declaration of function '__riscv_vsseg4e8_v_i8mf8'

2023-04-18 Thread juzhe.zhong at rivai dot ai via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109544 --- Comment #1 from JuzheZhong --- We don't support segment yet since segment load/store api will be changed. For example: The old api: __riscv_vsseg4e8_v_i8mf8(base, vint8mf8_t v0, vint8mf8_t v1, vint8mf8_t v2, vint8mf8_t v3, vl); will be cha

[Bug target/109544] implicit declaration of function '__riscv_vsseg4e8_v_i8mf8'

2023-04-18 Thread malat at debian dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109544 Mathieu Malaterre changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIR

[Bug middle-end/108786] bitmap_first_set_bit misses a bitmap_clear_first_bit

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108786 --- Comment #2 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f548ece7abc0a0c81dd049e9f8b480ff2c38e18b commit r14-41-gf548ece7abc0a0c81dd049e9f8b480ff2c38e18b Author: Richard Biener Date: T

[Bug tree-optimization/58359] __builtin_unreachable prevents vectorization

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

[Bug middle-end/108786] bitmap_first_set_bit misses a bitmap_clear_first_bit

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

[Bug tree-optimization/109546] New: [13 Regression] Missed Dead Code Elimination when using __builtin_unreachable

2023-04-18 Thread theodort at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109546 Bug ID: 109546 Summary: [13 Regression] Missed Dead Code Elimination when using __builtin_unreachable Product: gcc Version: 13.0 Status: UNCONFIRMED Severity:

[Bug target/107674] [11/12/13 Regressions] arm: MVE codegen regressions on VCTP and vector LDR/STR instructions

2023-04-18 Thread stammark at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107674 Stam Markianos-Wright changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONF

[Bug middle-end/109545] first_stmt has strange semantics

2023-04-18 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109545 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug fortran/93338] [10/11/12/13/14 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2023-04-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #12 from Paul Thomas --- This is fixed on current 10- through 13-branches. I don't quite know why it hasn't been closed. Paul

[Bug middle-end/109545] first_stmt has strange semantics

2023-04-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109545 --- Comment #2 from Richard Biener --- Yep, but it will for label: # DEBUG ... _1 = xyz; return 'label'. It surely depends on what the users intend (and we have only very few). Likely the tree-vect-slp.cc case (I've only added recently .

[Bug fortran/93338] [10/11/12/13/14 Regression] ICE in make_ssa_name_fn, at tree-ssanames.c:282

2023-04-18 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93338 --- Comment #13 from anlauf at gcc dot gnu.org --- (In reply to Paul Thomas from comment #12) > This is fixed on current 10- through 13-branches. > > I don't quite know why it hasn't been closed. It still fails for me at -O1 and higher for 10-br

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #15 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:b7c54e3f48086c29179f7765a35c381de5109a0a commit r14-43-gb7c54e3f48086c29179f7765a35c381de5109a0a Author: Jonathan Wakely Date:

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #16 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:762be0646bf96761ce68a9e06ab60c453e0963d0 commit r13-7217-g762be0646bf96761ce68a9e06ab60c453e0963d0 Author: Jonathan Wak

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-18 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 Jonathan Wakely changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #19 from CVS Commits --- The releases/gcc-13 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:ed933888e680384e1e7af361b20dd484ad424f7d commit r13-7218-ged933888e680384e1e7af361b20dd484ad424f7d Author: Jonathan Wak

[Bug libstdc++/108969] [13/14 Regression] Initializing iostreams in the library needs a GLIBCXX_3.4.31 versioned symbol

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108969 --- Comment #18 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:6067ae4557a3a7e5b08359e78a29b8a9d5dfedce commit r14-46-g6067ae4557a3a7e5b08359e78a29b8a9d5dfedce Author: Jonathan Wakely Date:

[Bug fortran/82064] [10/11/12/13/14 Regression] [OOP] multiple incompatible definitions of extended derived type via module use

2023-04-18 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82064 Paul Thomas changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug target/94908] Failure to optimally optimize certain shuffle patterns

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94908 --- Comment #11 from CVS Commits --- The master branch has been updated by Uros Bizjak : https://gcc.gnu.org/g:95b99e47f4f2df2d0c5680f45e3ec0a3170218ad commit r14-47-g95b99e47f4f2df2d0c5680f45e3ec0a3170218ad Author: Uros Bizjak Date: Tue Apr

[Bug target/94908] Failure to optimally optimize certain shuffle patterns

2023-04-18 Thread ubizjak at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94908 --- Comment #12 from Uroš Bizjak --- Implemented also for x86.

[Bug c++/108099] [12 Regression] ICE with type alias with `signed __int128_t`

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108099 --- Comment #20 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:32955c1c2246aa336d3fd2423c32546c39a6ca30 commit r12-9429-g32955c1c2246aa336d3fd2423c32546c39a6ca30 Author: Jason Merrill

[Bug debug/107154] [12 Regression] GDB jumping to end of block when stepping over construction of local variable

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107154 --- Comment #5 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2088358b658c44f69d37af0d7deec321f557741d commit r12-9430-g2088358b658c44f69d37af0d7deec321f557741d Author: Jason Merrill

[Bug c++/108468] [11/12 Regression] ICE in most_specialized_partial_spec/builtin_guide_p in C++20 mode

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108468 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:b210f028ee9dd55bfd9f60ccfc2c015f73dbe930 commit r12-9433-gb210f028ee9dd55bfd9f60ccfc2c015f73dbe930 Author: Jason Merrill

[Bug c++/98056] coroutines: ICE tree check: expected record_type or union_type or qual_union_type, have array_type since r11-2183-g0f66b8486cea8668

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98056 --- Comment #23 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1da2d99c632a90e5af55c8f8db1c11af587bb0a0 commit r12-9434-g1da2d99c632a90e5af55c8f8db1c11af587bb0a0 Author: Jason Merrill

[Bug c++/108566] [11/12 Regression] ICE: tree check: expected tree that contains 'decl with visibility' structure, have 'field_decl' in write_unqualified_name with anonymous struct inside an anonymous

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108566 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:f483dc1367294d02581e2d98c5f84be4dd67f26b commit r12-9431-gf483dc1367294d02581e2d98c5f84be4dd67f26b Author: Jason Merrill

[Bug c++/107310] [12 Regression] "warning: control reaches end of non-void function" with a throw under a trivially-true conditional since r12-5638-ga3e75c1491cd2d50

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107310 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0f6d443f0d0dd8a6bab99ab1957df3cd82541b27 commit r12-9432-g0f6d443f0d0dd8a6bab99ab1957df3cd82541b27 Author: Jason Merrill

[Bug c++/103871] [11/12 Regression] coroutines: co_await causes build error

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103871 --- Comment #20 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:1da2d99c632a90e5af55c8f8db1c11af587bb0a0 commit r12-9434-g1da2d99c632a90e5af55c8f8db1c11af587bb0a0 Author: Jason Merrill

[Bug c++/101869] [10/11/12 Regression] &enumclass::enumvalue is rejected

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101869 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:2f9bb63c5e82512ba9e53f4d5e67949c100d8830 commit r12-9436-g2f9bb63c5e82512ba9e53f4d5e67949c100d8830 Author: Jason Merrill

[Bug c++/108975] [10/11/12 Regression] ICE on constexpr variable used as nontype template since r9-5473-ge32fc4499f863f

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108975 --- Comment #14 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:55ab4606ab1084a55d53184c5cf4543740a7f65d commit r12-9440-g55ab4606ab1084a55d53184c5cf4543740a7f65d Author: Jason Merrill

[Bug c++/105809] [10/11/12 Regression] __PRETTY_FUNCTION__ in constexpr in function vs NSDMI

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105809 --- Comment #7 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:dbd8af5d8f4568ed5683ae8aa15ccb330bbf74c0 commit r12-9438-gdbd8af5d8f4568ed5683ae8aa15ccb330bbf74c0 Author: Jason Merrill

[Bug c++/105406] [11/12 Regression] coroutines: since 11.3 co_await attempts to copy a move-only value when await_transform(T &) exists

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105406 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:6fd32842404ac1a3cd98189f61d93c5bc9c8680c commit r12-9435-g6fd32842404ac1a3cd98189f61d93c5bc9c8680c Author: Jason Merrill

[Bug c++/108242] [10/11/12 Regression] '__FUNCTION__' was not declared when used inside a generic (templated) lambda declared inside a template function

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108242 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:890d711a2477119a34cf435f6159b6253b124374 commit r12-9437-g890d711a2477119a34cf435f6159b6253b124374 Author: Jason Merrill

[Bug c++/109357] [12 Regression] internal compiler error in cp/constexpr.cc:1685

2023-04-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109357 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/69410] [10/11/12 Regression] friend declarations in local classes

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69410 --- Comment #13 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:615c48b317397c2dc3d6769954d5c399ea882f7a commit r12-9439-g615c48b317397c2dc3d6769954d5c399ea882f7a Author: Jason Merrill

[Bug debug/107154] [12 Regression] GDB jumping to end of block when stepping over construction of local variable

2023-04-18 Thread jason at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107154 Jason Merrill changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/106890] [10/11/12 Regression] virtual inheritance triggers compiler error when instatiating derived class with in-class initialization since r8-2709-g12659e10c7820071

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106890 --- Comment #3 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:94569d91bd4c604da755b4aae84256e7fe21196a commit r12-9441-g94569d91bd4c604da755b4aae84256e7fe21196a Author: Jason Merrill

[Bug c++/105481] [10/11/12 Regression] ICE: unexpected expression of kind template_parm_index

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105481 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ab7c0a44ca9e913af654ae82963565d61d8bb39f commit r12-9443-gab7c0a44ca9e913af654ae82963565d61d8bb39f Author: Jason Merrill

[Bug c++/105996] [10/11/12 Regression] reinterpret_cast in constexpr failure creating a pair with a function pointer of class parent

2023-04-18 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105996 --- Comment #6 from CVS Commits --- The releases/gcc-12 branch has been updated by Jason Merrill : https://gcc.gnu.org/g:12d7fb7e5810cc5e394d3cbea43d1b19ea7f9348 commit r12-9442-g12d7fb7e5810cc5e394d3cbea43d1b19ea7f9348 Author: Jason Merrill

  1   2   >