[Bug ipa/103155] [12 Regression] ICE in get_expr_operands, at tree-ssa-operands.c:813

2021-11-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103155 Martin Jambor changed: What|Removed |Added CC||jamborm at gcc dot gnu.org --- Comment

[Bug ipa/97403] Ancestor jump function should be generalized

2021-11-10 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97403 --- Comment #3 from Martin Jambor --- (In reply to Jan Hubicka from comment #2) > Martin, > I think we can close this (possibly adding the testcase) Depends. ANCESTOR got generalized a bit but the propagation at IPA-CP level still does not take

[Bug c++/86491] bogus and unsuppressible warning: 'YYY' has a base 'ZZZ' whose type uses the anonymous namespace

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86491 --- Comment #8 from Jonathan Wakely --- A variable declared 'static' has internal linkage, and so does a variable in an anonymous namespace, which is probably the source of the mix-up in GCC's warning. N.B. your names like _C_ have undefined beh

[Bug tree-optimization/103126] Miss vectorization for bit_and/bit_ior/bit_xor reduction

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103126 --- Comment #2 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:249b4eeef1fe30237acb4d8e1832243b39d61e7e commit r12-5084-g249b4eeef1fe30237acb4d8e1832243b39d61e7e Author: liuhongt Date: Mon Nov

[Bug tree-optimization/103126] Miss vectorization for bit_and/bit_ior/bit_xor reduction

2021-11-10 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103126 Hongtao.liu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug ipa/97403] Ancestor jump function should be generalized

2021-11-10 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97403 --- Comment #4 from hubicka at kam dot mff.cuni.cz --- > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97403 > > --- Comment #3 from Martin Jambor --- > (In reply to Jan Hubicka from comment #2) > > Martin, > > I think we can close this (possibly

[Bug preprocessor/103165] New: [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103165 Bug ID: 103165 Summary: [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords:

[Bug testsuite/102690] [11/12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Commen

[Bug c++/86491] bogus and unsuppressible warning: 'YYY' has a base 'ZZZ' whose type uses the anonymous namespace

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86491 --- Comment #9 from Jonathan Wakely --- (In reply to Jason Vas Dias from comment #4) > I see now I should have used 'extern C c_', and defined it in tM.C. Or give the whole template internal linkage. > > But actually, in the context in which i

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103165 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libstdc++/103166] New: [12 regression] wrong dependency on getentropy on newlib-based targets

2021-11-10 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103166 Bug ID: 103166 Summary: [12 regression] wrong dependency on getentropy on newlib-based targets Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/103164] -fipa-pta degrades aliasing oracle for tramp3d

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103164 --- Comment #1 from Richard Biener --- IPA PTA disables local re-computation of PTA info after inlining. There must be also some pessimization around not computing a function-local escaped solution since that's used to keep stores to "globals"

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 Aldy Hernandez changed: What|Removed |Added CC||amacleod at redhat dot com --- Comment

[Bug testsuite/102690] [11/12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 --- Comment #8 from Richard Biener --- (In reply to Eric Botcazou from comment #7) > So can we XFAIL it in the meantime, especially on the 11 branch? Let me do that.

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

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

[Bug middle-end/102566] [i386] GCC should emit LOCK BTS for simple bit-test-and-set operations with std::atomic

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102566 --- Comment #30 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:fb161782545224f55ba26ba663889c5e6e9a04d1 commit r12-5102-gfb161782545224f55ba26ba663889c5e6e9a04d1 Author: liuhongt Date: Mon Oct

[Bug target/49244] __sync or __atomic builtins will not emit 'lock bts/btr/btc'

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49244 --- Comment #27 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:fb161782545224f55ba26ba663889c5e6e9a04d1 commit r12-5102-gfb161782545224f55ba26ba663889c5e6e9a04d1 Author: liuhongt Date: Mon Oct

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #13 from rguenther at suse dot de --- On Wed, 10 Nov 2021, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 > > Aldy Hernandez changed: > >What|Removed |Add

[Bug libstdc++/103166] [12 regression] wrong dependency on getentropy on newlib-based targets

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103166 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-11-10 Status|UNCONFIRM

[Bug libstdc++/103166] [12 regression] wrong dependency on getentropy on newlib-based targets

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103166 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigne

[Bug ipa/103164] -fipa-pta degrades aliasing oracle for tramp3d

2021-11-10 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103164 --- Comment #2 from hubicka at kam dot mff.cuni.cz --- Yep, it only shows that we want to run ipa-pta and local oracle in parallel since ipa-pta can not be realistically assumed to subsume all of local PTA (for example due to being necessarily l

[Bug c++/59246] GCC should issue runtime error for calling pure virtual function with definition

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59246 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Last reconfirmed|2013-11-2

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 Aldy Hernandez changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |aldyh at gcc dot gnu.org --- Co

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #15 from rguenther at suse dot de --- On Wed, 10 Nov 2021, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 > > Aldy Hernandez changed: > >What|Removed |Add

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #16 from Aldy Hernandez --- (In reply to rguent...@suse.de from comment #15) > On Wed, 10 Nov 2021, aldyh at gcc dot gnu.org wrote: > > @@ -60,6 +63,24 @@ should_duplicate_loop_header_p (basic_block header, class > > loop *loop, > >

[Bug testsuite/102690] [11/12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 --- Comment #9 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:b2cd32b743ba440e75505ce30c6b5c592ed144ea commit r12-5107-gb2cd32b743ba440e75505ce30c6b5c592ed144ea Author: Richard Biener Date:

[Bug testsuite/102690] [11/12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:3dea90505df136a4b361665772ef8e62306cfcdb commit r11-9233-g3dea90505df136a4b361665772ef8e62306cfcdb Author: Richard Biene

[Bug c++/61808] Linking error with explicit template instantiation and default template param

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

[Bug testsuite/102690] [11/12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 Richard Biener changed: What|Removed |Added Keywords||xfail Priority|P1

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #17 from rguenther at suse dot de --- On Wed, 10 Nov 2021, aldyh at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 > > --- Comment #16 from Aldy Hernandez --- > (In reply to rguent...@suse.de from com

[Bug ipa/103164] -fipa-pta degrades aliasing oracle for tramp3d

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103164 --- Comment #3 from Richard Biener --- We need to resolve issues around the fake UIDs PTA allocates though, those make both solutions "incompatible" since for example a malloc stmt result is getting a new UID each PTA run. So when you intersect

[Bug ipa/103164] -fipa-pta degrades aliasing oracle for tramp3d

2021-11-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103164 --- Comment #4 from Richard Biener --- See allocate_decl_uid calls in PTA.

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #18 from Defunct account. Do not use. --- > Yes. I guess it would be nice to have a CTOR or so for the case > where the path is really a single edge like in this case. Good idea. Will do.

[Bug c++/66671] Failure to create a new family of templates for template alias

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66671 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2021-11-10 Status|UNCONFIRME

[Bug libbacktrace/103167] New: UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 Bug ID: 103167 Summary: UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 --- Comment #2 from Martin Liška --- > And one more related ASAN error related to the same revision: This one is also UBSAN error.

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 --- Comment #3 from Martin Liška --- And the last one I see: UBSAN error: /home/mliska/Programming/binutils-gdb/libbacktrace/elf.c:3178:26: The following fails when I build binutils with: configure --build=x86_64-linux --disable-gdb --disable-

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 --- Comment #4 from Andrew Pinski --- (In reply to Martin Liška from comment #3) > /home/mliska/Programming/binutils-gdb/libbacktrace/elf.c:3178:26: runtime > error: left shift of 163 by 24 places cannot be represented in type 'int' diff --git

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 --- Comment #5 from Andrew Pinski --- (In reply to Martin Liška from comment #1) > /home/mliska/Programming/binutils-gdb/libbacktrace/xztest.c:175:13: runtime > error: null pointer passed as argument 2, which is declared to never be null diff -

[Bug tree-optimization/103168] New: Value numbering of pure functions can be improved

2021-11-10 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 Bug ID: 103168 Summary: Value numbering of pure functions can be improved Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/103168] Value numbering of pure functions can be improved

2021-11-10 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #1 from Jan Hubicka --- Sorry the testcase should have pure in it __attribute__((pure)) int test(); int main() { int ret; int a[10]; for (int i=0; i<10;i++) if (test()) a[i]++;

[Bug tree-optimization/103169] New: [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4)

2021-11-10 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 Bug ID: 103169 Summary: [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) Product: gcc Version: 12.0

[Bug testsuite/102690] [11/12 regression] g++.dg/warn/Warray-bounds-16.C fails

2021-11-10 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102690 --- Comment #12 from Eric Botcazou --- > XFAILed. I still think the diagnostic should be fixed. This works fine on the 11 branch, thanks!

[Bug rtl-optimization/103170] New: ICE: output_operand: incompatible floating point / vector register operand for '%s'

2021-11-10 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103170 Bug ID: 103170 Summary: ICE: output_operand: incompatible floating point / vector register operand for '%s' Product: gcc Version: 12.0 Status: UNCONFIRMED Keyw

[Bug preprocessor/90400] _Pragma not always expanded in the right location within macros

2021-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90400 --- Comment #7 from Tobias Burnus --- (In reply to Tobias Burnus from comment #6) > Created attachment 51700 [details] > Draft patch for the 'gcc -E' / 'gcc -save-temps' issue > > This solves the -E / -save-temps preprocessing issue. > > For th

[Bug testsuite/100748] [12 regression] 30_threads/jthread/95989.cc fails after r12-843

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100748 --- Comment #9 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:80fe172ba9820199c2bbce5d0611ffca27823049 commit r12-5108-g80fe172ba9820199c2bbce5d0611ffca27823049 Author: Jonathan Wakely Date:

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:80fe172ba9820199c2bbce5d0611ffca27823049 commit r12-5108-g80fe172ba9820199c2bbce5d0611ffca27823049 Author: Jonathan Wakely Date:

[Bug libstdc++/100117] FAIL testsuite/17_intro/headers/c++1998/49745.cc with trunk glibc

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100117 --- Comment #6 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:77963796aef8aa07993c0bc757c15848fab7432a commit r12-5109-g77963796aef8aa07993c0bc757c15848fab7432a Author: Jonathan Wakely Date:

[Bug libstdc++/49745] error: ‘int truncate’ redeclared as different kind of symbol

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49745 --- Comment #23 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:77963796aef8aa07993c0bc757c15848fab7432a commit r12-5109-g77963796aef8aa07993c0bc757c15848fab7432a Author: Jonathan Wakely Date:

[Bug libstdc++/100117] FAIL testsuite/17_intro/headers/c++1998/49745.cc with trunk glibc

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100117 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Ever confirmed|0

[Bug testsuite/103042] gcc.dg/vect/complex/bb-slp-complex-add-pattern-unsigned-long.c etc. FAIL

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103042 --- Comment #8 from CVS Commits --- The master branch has been updated by Tamar Christina : https://gcc.gnu.org/g:0cf6065ce4997774de66db4de83d461013e0f0e1 commit r12-5112-g0cf6065ce4997774de66db4de83d461013e0f0e1 Author: Tamar Christina Date:

[Bug testsuite/100748] [12 regression] 30_threads/jthread/95989.cc fails after r12-843

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100748 Jonathan Wakely changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/103133] Binary built with -static using std::thread crashes

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103133 --- Comment #7 from Jonathan Wakely --- Fixed on trunk, backports needed too.

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID Status|NEW

[Bug ipa/103171] New: [12 Regression] ICE Segmentation fault since r12-2523-g13586172d0b70c9d

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103171 Bug ID: 103171 Summary: [12 Regression] ICE Segmentation fault since r12-2523-g13586172d0b70c9d Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: ice-on

[Bug ipa/103171] [12 Regression] ICE Segmentation fault since r12-2523-g13586172d0b70c9d

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103171 Martin Liška changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Ever conf

[Bug preprocessor/103165] [12 Regression] ICE unspellable token PRAGMA since r12-4797-g0078a058a5693871

2021-11-10 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103165 --- Comment #2 from Tobias Burnus --- Simpler to read example: #define inner(...) #__VA_ARGS__ _Pragma("GCC diagnostic pop") #define outer(...) inner(__VA_ARGS__) outer(inner(1,2)) the expected result is something like: "\"1,2\" _Pragm

[Bug tree-optimization/102906] [12 regression] gcc.target/arm/ivopts-4.c fails since r12-4526

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102906 --- Comment #19 from Aldy Hernandez --- Created attachment 51757 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51757&action=edit proposed patch in testing Patch depends on some shuffling in the path solver to make way for non-threader cl

[Bug c++/67762] [C++1z] 'not a constant expression" errors only with -fsanitize=undefined

2021-11-10 Thread curdeius at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67762 --- Comment #8 from Curdeius Curdeius --- A different (rather small) reproduce. https://godbolt.org/z/bz9sTd34o It fails with all the versions of gcc from at least 7 (the above code needs `auto` in template non-type parameter) to trunk from 2021

Re: Namespace inside module partition not exported

2021-11-10 Thread Richard Sandiford via Gcc-bugs
Hi, This list is mostly just a bugzilla feed and so isn't widely monitored. If you're confident the behaviour is a bug then it would be better to file a bugzilla ticket. If you're not sure and want to double-check what the correct behaviour is then it'd be better to ask on gcc-help. Thanks, Rich

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 Martin Liška changed: What|Removed |Added Last reconfirmed||2021-11-10 Summary|[12 Regres

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 Martin Liška changed: What|Removed |Added CC||willschm at gcc dot gnu.org --- Comment

[Bug tree-optimization/103169] [12 Regression] ICE: verify_ssa failed (error: definition in block 3 does not dominate use in block 4) since r12-4785-ged3de62ac949c92ad41ef6de7cc926fbb2a510ce

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103169 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org Target Mil

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 --- Comment #6 from Martin Liška --- Andrew, are you planning sending a patch candidate for this, please?

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 --- Comment #7 from Andrew Pinski --- (In reply to Martin Liška from comment #6) > Andrew, are you planning sending a patch candidate for this, please? I doubt it, I have so many other things on my plate right now.

[Bug c++/99911] C++20 adl issue

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | CC|

[Bug c++/99911] C++20 adl issue

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911 --- Comment #5 from Jonathan Wakely --- That isn't valid though.

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org St

[Bug c++/101940] Implement -Wno-attributes=vendor::attr

2021-11-10 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 --- Comment #6 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:a1ad0d84d7fcbcaa7a697290387b911eb7e1bd46 commit r12-5123-ga1ad0d84d7fcbcaa7a697290387b911eb7e1bd46 Author: Marek Polacek Date: Th

[Bug preprocessor/103130] [11/12 Regression] \*/ is not detected as the end of a comment with -fdirectives-only since r11-206-gb224c3763e018e8b

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103130 Martin Liška changed: What|Removed |Added Summary|[11/12 Regression] \*/ is |[11/12 Regression] \*/ is

[Bug c++/101940] Implement -Wno-attributes=vendor::attr

2021-11-10 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101940 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/101757] [9 Regression] Simple integer assigment fails (off-seted by -1) when compiling with -O3

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101757 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | Last reconfirmed|

[Bug tree-optimization/102711] [9/10/11 Regression] CDDCE removes condition that might lead to an infinite loop causing an unconditional infinite loop

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102711 --- Comment #6 from Martin Liška --- > I see - probably makes sense since that subtly changes post-dominators > for backwards unreachable regions which reflects back on control > dependence. But there's nothing "wrong" here, I think it avoided

[Bug c++/101680] [9/10 Regression] spurious error: use of ‘this’ in a constant expression

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101680 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug c++/71740] [9/10 Regression] ICE when defining a pointer to the `memcpy()` function with namespace scope using `auto` targeting i686

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71740 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org Keywo

[Bug fortran/103172] New: ICE in gfc_check_init_expr, at fortran/expr.c:3014

2021-11-10 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103172 Bug ID: 103172 Summary: ICE in gfc_check_init_expr, at fortran/expr.c:3014 Product: gcc Version: 10.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug fortran/103172] ICE in gfc_check_init_expr, at fortran/expr.c:3014

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103172 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/96727] ICE with character length specified using specification function on assumed-rank array

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96727 Martin Liška changed: What|Removed |Added CC||wileamyp at outlook dot com --- Comment #

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/103172] ICE in gfc_check_init_expr, at fortran/expr.c:3014

2021-11-10 Thread wileamyp at outlook dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103172 --- Comment #2 from Wileam Yonatan Phan --- Comment on attachment 51758 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51758 Source code for minimal reproducer >function assumed_rank_crash ( arr ) result( res ) > implicit none > > ! Arg

[Bug testsuite/103051] [12 regression] new test case gcc.dg/vect/tsvc/vect-tsvc-s112.c fails in r12-4840

2021-11-10 Thread willschm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103051 Will Schmidt changed: What|Removed |Added CC||segher at gcc dot gnu.org,

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #7 from Florin Iucha --- That is most unfortunate because it will force us to duplicate the library used for resource management. Not only that, but if I were to implement the pmr::memory_resource interface in terms of the other libr

[Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered

2021-11-10 Thread plasmahh at gmx dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 --- Comment #5 from Dennis Lubert --- Created attachment 51759 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51759&action=edit cvise generated compling testcase This one is pretty big but compiles with -w but ICEs without it. Differently

[Bug c++/103057] [11/12 Regression] Internal compiler error: Error reporting routines re-entered since r11-291-g0f50f6daa140186a

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103057 Martin Liška changed: What|Removed |Added Summary|[11/12 Regression] Internal |[11/12 Regression] Internal

[Bug c++/99911] C++20 adl issue

2021-11-10 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99911 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug libbacktrace/103167] UBSAN error since g:05f40bc4c116ba48843728201bc7290a5e518598

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103167 Martin Liška changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/103173] New: strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation]

2021-11-10 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103173 Bug ID: 103173 Summary: strncpy output may be truncated copying 32 bytes from a string of length 1439 (bogus) [-Werror=stringop-truncation] Product: gcc Version:

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 Aldy Hernandez changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | --- Comment #5 from Martin Liška --- F

[Bug tree-optimization/102892] [12 Regression] Dead Code Elimination Regression at -O3 (trunk vs 11.2.0)

2021-11-10 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102892 --- Comment #6 from Aldy Hernandez --- (In reply to Martin Liška from comment #5) > Fixed on master with r12-4790-g4b3a325f07acebf4. Wadayaknow...I fixed it and didn't even know it :) Thanks.

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #8 from Jonathan Wakely --- (In reply to Florin Iucha from comment #7) > There are uses for the memory_resources pattern, outside of its current > application in the standard library - for example allocating ranges in a > file, or in

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #9 from Jonathan Wakely --- (In reply to Florin Iucha from comment #2) > It indicates that it reports errors via exceptions. Yes, but that doesn't mean 0 is a valid return value. The non-nothrow forms of operator new also use except

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #10 from Florin Iucha --- (In reply to Jonathan Wakely from comment #8) > > There are uses for the memory_resources pattern, outside of its current > > application in the standard library - for example allocating ranges in a > > file

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #11 from Jonathan Wakely --- I'm going to get the standard clarified instead (and then cppreference will probably follow suit).

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #12 from Florin Iucha --- (In reply to Jonathan Wakely from comment #9) > (In reply to Florin Iucha from comment #2) > > It indicates that it reports errors via exceptions. > > Yes, but that doesn't mean 0 is a valid return value. T

[Bug libstdc++/103162] overconstrained std::pmr::memory_resource allocate/deallocate methods

2021-11-10 Thread florin.iucha at amd dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103162 --- Comment #13 from Florin Iucha --- (In reply to Jonathan Wakely from comment #11) > I'm going to get the standard clarified instead (and then cppreference will > probably follow suit). That will be great!

[Bug tree-optimization/102232] Missed arithmetic fold

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 navidrahimi changed: What|Removed |Added Attachment #51752|0 |1 is obsolete|

[Bug tree-optimization/102232] Missed arithmetic fold

2021-11-10 Thread navidrahimi at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102232 --- Comment #6 from navidrahimi --- Created attachment 51760 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51760&action=edit [PATCH] PR tree-optimization/102232 Adding a missing pattern to match.pd

[Bug testsuite/103161] [12 Regression] Better ranges cause builtin-sprintf-warn-16.c failure

2021-11-10 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103161 Martin Sebor changed: What|Removed |Added Component|tree-optimization |testsuite --- Comment #5 from Martin Seb

  1   2   >