[Bug tree-optimization/107672] [13 Regression] ICE during GIMPLE pass: slp

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672 --- Comment #2 from Richard Biener --- It looks like the code looks for a vector type even ... I'm going to test diff --git a/gcc/tree-vect-stmts.cc b/gcc/tree-vect-stmts.cc index bc0ef136f19..b35b986889d 100644 --- a/gcc/tree-vect-stmts.cc ++

[Bug tree-optimization/107672] [13 Regression] ICE during GIMPLE pass: slp

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/107493] [13 Regression] Wrong code at -Os on x86_64-linux-gnu since r13-3486-g4c5b116077638277

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107493 Richard Biener changed: What|Removed |Added Blocks||107176 Priority|P3

[Bug tree-optimization/107672] [13 Regression] ICE during GIMPLE pass: slp

2022-11-22 Thread creatorsmithmdt at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672 --- Comment #3 from Zopolis0 --- I was in the middle of bisecting it, but that solved the issue perfectly! Thanks! I haven't tested it yet on a fresh rebase on upstream, but there's no reason why it wouldn't work there.

[Bug rtl-optimization/107762] [13 Regression] Recent change causing regressions on s390-linux-gnu

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107762 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107765] missing (int)-(unsigned)int_val to just -int_val if int_val is known not to contain INT_MIN

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107765 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ipa/107769] [12/13 Regression] -flto with -Os/-O2/-O3 emitted code with gcc 12.x segfaults via mutated global in .rodata since r12-2887-ga6da2cddcf0e959d

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107769 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug rtl-optimization/107775] misoptimization in vec_set lower part of vector in the memory.

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107775 --- Comment #1 from Richard Biener --- misoptimization as in wrong-code or missed-optimization?

[Bug lto/107779] Support implicit references from inline assembler to compiler symbols

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107779 --- Comment #3 from Richard Biener --- I think we'd need a target hook for the attempt to handle legacy code patterns and we should rewrite the asm text in a way properly using (added) input constraints to support symbol renaming. I would also

[Bug analyzer/107783] [13 Regression] ICE in deref_rvalue, at analyzer/region-model.cc:3238 since r13-4074-g86a90006864840c2

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107783 Richard Biener changed: What|Removed |Added Target Milestone|--- |13.0 Priority|P3

[Bug c++/107764] -Wreturn-type and -Wuninitialized documentation could link to a FAQ about enum and switches

2022-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107764 --- Comment #5 from Martin Liška --- Or it can be even includeded in https://gcc.gnu.org/onlinedocs/gcc/C_002b_002b-Misunderstandings.html#C_002b_002b-Misunderstandings (or next to -Wreturn-type and -Wuninitialized). Well, our documentation eff

[Bug driver/107787] -Werror=array-bounds=X does not work as expected

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107787 Richard Biener changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIR

[Bug c/107796] The vector extension documentation should be improved

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107796 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-11-22 Status|UNCONFIR

[Bug rtl-optimization/107775] misoptimization in vec_set lower part of vector in the memory.

2022-11-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107775 --- Comment #2 from Hongtao.liu --- (In reply to Richard Biener from comment #1) > misoptimization as in wrong-code or missed-optimization? missed optimization.

[Bug tree-optimization/107803] [13 Regression] ICE in init_from_control_deps, at gimple-predicate-analysis.cc:1699 since r13-2314-ga8ebd27d0ab69b

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107803 Richard Biener changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |rguenth at gcc dot gnu.org

[Bug tree-optimization/107672] [13 Regression] ICE during GIMPLE pass: slp

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107672 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:09b7993ab6d93716f77c03ff9a9165fa4b579f0d commit r13-4227-g09b7993ab6d93716f77c03ff9a9165fa4b579f0d Author: Richard Biener Date:

[Bug tree-optimization/107672] [13 Regression] ICE during GIMPLE pass: slp

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

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

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

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |11.4 Keywords|

[Bug tree-optimization/107803] [13 Regression] ICE in init_from_control_deps, at gimple-predicate-analysis.cc:1699 since r13-2314-ga8ebd27d0ab69b

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107803 --- Comment #2 from Richard Biener --- So it's CCP which turns : __cancel_routine_8 = func; ... : __cancel_routine.0_1 = __cancel_routine_8; __cancel_routine.0_1 (0B); into : func (0B); but fails to invoke abnormal cleanup h

[Bug go/107804] New: libgo is serial and so slow

2022-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107804 Bug ID: 107804 Summary: libgo is serial and so slow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: go Assigne

[Bug go/107804] libgo is serial and so slow

2022-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107804 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-11-22 Status|UNCONFIRME

[Bug c/107805] New: Spurious warning after redefinition of type

2022-11-22 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805 Bug ID: 107805 Summary: Spurious warning after redefinition of type Product: gcc Version: 12.2.1 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Prio

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 --- Comment #2 from Jonathan Wakely --- But you probably don't want those huge pools if you only have 16-bit int, so checking __SIZE_WIDTH__ isn't enough here.

[Bug c/107805] [12/13 Regression] Spurious “type defaults to ‘int’” warning after redefinition of type

2022-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805 Richard Biener changed: What|Removed |Added Summary|Spurious “type defaults to |[12/13 Regression] Spurious

[Bug go/107804] libgo is serial and so slow

2022-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107804 Martin Liška changed: What|Removed |Added Attachment #53939|0 |1 is obsolete|

[Bug libgcc/107675] [13 Regression] GCC-13 is significantly slower to startup on C++ programs

2022-11-22 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107675 Thomas Neumann changed: What|Removed |Added CC||tneumann at users dot sourceforge.

[Bug c/107805] [12/13 Regression] Spurious “type defaults to ‘int’” warning after redefinition of type

2022-11-22 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805 Florian Weimer changed: What|Removed |Added CC||roger at nextmovesoftware dot com

[Bug c/107805] [12/13 Regression] Spurious “type defaults to ‘int’” warning after redefinition of type

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

[Bug c/107805] [12/13 Regression] Spurious “type defaults to ‘int’” warning after redefinition of type

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c/107805] [12/13 Regression] Spurious “type defaults to ‘int’” warning after redefinition of type

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805 --- Comment #3 from Jakub Jelinek --- One side-effect of not setting specs->type to error_mark_node is that on: typedef int t; typedef struct { double a; int b; } t; t int x; we don't diagnose the second bug (two or more types in the x declarati

[Bug tree-optimization/80548] -Wmaybe-uninitialized false positive when an assignment is added

2022-11-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80548 --- Comment #10 from Vincent Lefèvre --- (In reply to Jeffrey A. Law from comment #9) > These warnings are certainly sensitive to all kinds of things, so it's > possible it's just gone latent. The only way to be sure would be to bisect > all the

[Bug tree-optimization/106754] compute_control_dep_chain over-estimates domain

2022-11-22 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106754 Vincent Lefèvre changed: What|Removed |Added CC||vincent-gcc at vinc17 dot net --- Com

[Bug sanitizer/107806] New: gcc trunk at -O3 misses a global-buffer-overflow

2022-11-22 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107806 Bug ID: 107806 Summary: gcc trunk at -O3 misses a global-buffer-overflow Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug rtl-optimization/106418] '-fcompare-debug' failure w/ -mcpu=e500mc -O2 -fnon-call-exceptions -fsched-stalled-insns -fno-reorder-blocks -fno-thread-jumps -fno-tree-dce

2022-11-22 Thread jskumari at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106418 Surya Kumari Jangala changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFI

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:0f9659e770304d3c44cfa0e793833a461bc487aa commit r13-4228-g0f9659e770304d3c44cfa0e793833a461bc487aa Author: Jonathan Wakely Date:

[Bug c++/107138] [12/13 regression] std::variant triggers false-positive 'may be used uninitialized' warning

2022-11-22 Thread marco.clemencic at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 --- Comment #6 from Marco Clemencic --- I seem to be stumbling on more and more of these spurious warnings. The latest one is from a header that is found in a directory added to the search path with "-isystem", and in all cases the warnings tal

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107781 --- Comment #4 from Jonathan Wakely --- If we don't want to introduce a configure check for strchrnul then this would work: --- a/gcc/cp/contracts.cc +++ b/gcc/cp/contracts.cc @@ -210,8 +210,8 @@ lookup_concrete_semantic (const char *name) sta

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107781 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107781 --- Comment #6 from Jakub Jelinek --- (In reply to Jonathan Wakely from comment #4) > If we don't want to introduce a configure check for strchrnul then this > would work: > > --- a/gcc/cp/contracts.cc > +++ b/gcc/cp/contracts.cc > @@ -210,8 +2

[Bug tree-optimization/107803] [13 Regression] ICE in init_from_control_deps, at gimple-predicate-analysis.cc:1699 since r13-2314-ga8ebd27d0ab69b

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107803 --- Comment #3 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:e4faee8d02ec5d65bf418612f7181823eb08c078 commit r13-4229-ge4faee8d02ec5d65bf418612f7181823eb08c078 Author: Richard Biener Date:

[Bug libstdc++/107801] Building cross compiler for H8 family fails in libstdc++ (c++17/memory_resource.cc)

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107801 --- Comment #4 from CVS Commits --- The releases/gcc-12 branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:691012693aaa831e4cd1ab5180195792e32baceb commit r12-8926-g691012693aaa831e4cd1ab5180195792e32baceb Author: Jonathan Wake

[Bug c/107127] [11/12/13 Regression] Long compile times on code with C complex since r11-3299-gcba079f354a55363

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107127 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/107803] [13 Regression] ICE in init_from_control_deps, at gimple-predicate-analysis.cc:1699 since r13-2314-ga8ebd27d0ab69b

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

[Bug bootstrap/107722] [13 Regression] Bootstrap failure for some locales starting with r13-4070

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107722 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug preprocessor/107691] [10/11/12 Regression] libcpp configure fails on empty expansion

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107691 Jakub Jelinek changed: What|Removed |Added Summary|[10/11/12/13 Regression]|[10/11/12 Regression]

[Bug libstdc++/95048] [10/11 Regression] wstring-constructor of std::filesystem::path throws for non-ASCII characters

2022-11-22 Thread ulf.lorenz at ptvgroup dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048 --- Comment #23 from Ulf Lorenz --- I have just one tiny comment on the patches, and that is the tests. In my original submission, I also modified the tests that verify the path output (path::wstring() in particular) that AFAIR also had the enco

[Bug debug/107231] [13 Regression] c-c++-common/goacc/kernels-loop-g.c: '-fcompare-debug' failure (length)

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107231 Rainer Orth changed: What|Removed |Added CC||ro at gcc dot gnu.org --- Comment #1 from

[Bug analyzer/107807] New: gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 Bug ID: 107807 Summary: gcc.dg/analyzer/errno-1.c FAILs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: analyzer

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107808] New: gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107808 Bug ID: 107808 Summary: gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tre

[Bug tree-optimization/107808] gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107808 --- Comment #1 from Rainer Orth --- Created attachment 53943 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53943&action=edit 32-bit sparc-sun-solaris2.11 vect-bitfield-write-2.c.172t.vect

[Bug tree-optimization/107808] gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107808 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug tree-optimization/107809] New: gcc.dg/vect/vect-recurr-1.c etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107809 Bug ID: 107809 Summary: gcc.dg/vect/vect-recurr-1.c etc. FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optim

[Bug tree-optimization/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107809 --- Comment #1 from Rainer Orth --- Created attachment 53944 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53944&action=edit 32-bit sparc-sun-solaris2.11 vect-recurr-1.c.172t.vect

[Bug tree-optimization/107809] gcc.dg/vect/vect-recurr-1.c etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107809 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug ada/107810] New: [13 regression] gnat.dg/unchecked_convert9.adb FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107810 Bug ID: 107810 Summary: [13 regression] gnat.dg/unchecked_convert9.adb FAILs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug ada/107810] [13 regression] gnat.dg/unchecked_convert9.adb FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107810 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug sanitizer/107806] gcc trunk at -O3 misses a global-buffer-overflow

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

[Bug c/107805] [12/13 Regression] Spurious “type defaults to ‘int’” warning after redefinition of type

2022-11-22 Thread fw at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107805 --- Comment #4 from Florian Weimer --- Patch posted: [PATCH] c: Propagate erroneous types to declaration specifiers [PR107805]

[Bug sanitizer/106558] ASan failed to detect a global-buffer-overflow

2022-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106558 --- Comment #18 from Martin Liška --- *** Bug 107806 has been marked as a duplicate of this bug. ***

[Bug tree-optimization/107808] gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL

2022-11-22 Thread avieira at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107808 --- Comment #2 from avieira at gcc dot gnu.org --- Hi Rainer, I suspect this means SPARC should be added to the list of targets that fail check_effective_target_vect_long_long. From the dump it looks like the target doesn't support a long long v

[Bug libstdc++/95048] [10/11 Regression] wstring-constructor of std::filesystem::path throws for non-ASCII characters

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95048 --- Comment #24 from Jonathan Wakely --- Yes, I agree. I'll get those added.

[Bug c++/107138] [12/13 regression] std::variant triggers false-positive 'may be used uninitialized' warning

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 --- Comment #7 from Jonathan Wakely --- No, it's just that some warnings coming from code in system headers are no longer suppressed if they are the result of a template instantiation triggered in user code. That was a deliberate choice (althoug

[Bug libstdc++/106201] filesystem::directory_iterator is a borrowable range?

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106201 --- Comment #10 from Jonathan Wakely --- I'm planning to use this workaround for gcc-11 and gcc-12: --- a/libstdc++-v3/include/bits/fs_path.h +++ b/libstdc++-v3/include/bits/fs_path.h @@ -737,7 +737,14 @@ namespace __detail /// @{ /// @re

[Bug libstdc++/107811] New: libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107811 Bug ID: 107811 Summary: libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug target/107627] [13 Regression] int128_t shift generates extra xor/or.

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107627 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug target/107812] New: [11/12/13 Regression] RTL SSA forwprop introduced regression

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107812 Bug ID: 107812 Summary: [11/12/13 Regression] RTL SSA forwprop introduced regression Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: missed-optimizati

[Bug target/107812] [11/12/13 Regression] RTL SSA forwprop introduced regression since r11-6188

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107812 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c++/107813] New: Enum with underlying type uint8_t bad promotion for unsigned char

2022-11-22 Thread gdrzewo at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107813 Bug ID: 107813 Summary: Enum with underlying type uint8_t bad promotion for unsigned char Product: gcc Version: og10 (devel/omp/gcc-10) Status: UNCONFIRMED Sev

[Bug libstdc++/107811] libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared

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

[Bug libstdc++/107811] libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107811 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |13.0

[Bug target/107604] FAIL: gcc.target/aarch64/aapcs64/test_dfp_17.c execution, -O0 fails on aarch64_be

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107604 --- Comment #4 from CVS Commits --- The master branch has been updated by Christophe Lyon : https://gcc.gnu.org/g:4eb3a48698b2ca43967a4e7e7cfc0408192e85b2 commit r13-4235-g4eb3a48698b2ca43967a4e7e7cfc0408192e85b2 Author: Christophe Lyon Date:

[Bug tree-optimization/80548] -Wmaybe-uninitialized false positive when an assignment is added

2022-11-22 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80548 --- Comment #11 from Jeffrey A. Law --- Thanks! So the change in question improves the decisions in the predicate analysis code, which can be best thought of as a filter for the false positives that are still in the IL. As I said in my previous

[Bug target/107604] FAIL: gcc.target/aarch64/aapcs64/test_dfp_17.c execution, -O0 fails on aarch64_be

2022-11-22 Thread clyon at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107604 Christophe Lyon changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 --- Comment #1 from David Malcolm --- Thanks for filing this bug; sorry about the test failures. I've tested errno-1.c with glibc's errno.h, and with a simple "extern int errno;". What does look like on your machine? In particular, how is "e

[Bug libstdc++/107811] libstdc++-v3/src/c++17/floating_from_chars.cc:787:9: error: 'fast_float' has not been declared

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107811 --- Comment #2 from Jonathan Wakely --- Yes it does

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 --- Comment #2 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #1 from David Malcolm --- > I've tested errno-1.c with glibc's errno.h, and with a simple "extern int > errno;". > > What does look like on your machine? In particular,

[Bug libstdc++/107799] Wrong return type for std::bit_width

2022-11-22 Thread diego at baldassar dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107799 --- Comment #2 from Diego Baldassar --- Ah I see, it was a DR. My mistake. Will we see this updated for GCC 13? Or is it considered a breaking change that's too late to fix?

[Bug c++/107813] Enum with underlying type uint8_t bad promotion for unsigned char

2022-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107813 --- Comment #1 from Jonathan Wakely --- GCC 10 is correct. The template is a exact match for the argument, accepting any argument type, so the enum should not be converted to unsigned char. When you call this->o << t then there is no exact matc

[Bug libstdc++/107814] New: [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814 Bug ID: 107814 Summary: [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug c++/107813] Enum with underlying type uint8_t bad promotion for unsigned char

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

[Bug libstdc++/107814] [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107814 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107814] [13 regression] experimental/filesystem/iterators/error_reporting.cc FAILs

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

[Bug libstdc++/107815] New: 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 Bug ID: 107815 Summary: 20_util/to_chars/float128_c++23.cc FAILs Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107816] New: 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107816 Bug ID: 107816 Summary: 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Prior

[Bug libstdc++/107816] 29_atomics/atomic/compare_exchange_padding.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107816 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107817] New: std/format/functions/format.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Bug ID: 107817 Summary: std/format/functions/format.cc etc. FAIL Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libstdc

[Bug libstdc++/107817] std/format/functions/format.cc etc. FAIL

2022-11-22 Thread ro at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107817 Rainer Orth changed: What|Removed |Added Target Milestone|--- |13.0

[Bug libstdc++/107784] QOI: sizeof( bind_front( Member-Function ) ) too big

2022-11-22 Thread joerg.richter--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107784 --- Comment #8 from Jörg Richter --- To be honest, I can't tell from the description that this option unlocks a libstdc++ that makes no allowance for ABI incompatibilities. If you had a libstdc++ that didn't care about the ABI, similar to boos

[Bug ipa/107661] [13 Regression] lambdas get merged incorrectly in tempaltes, cause llvm-12 miscompilation since r13-3358-ge0403e95689af7

2022-11-22 Thread jamborm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107661 --- Comment #15 from Martin Jambor --- I have proposed a patch on the mailing list: https://gcc.gnu.org/pipermail/gcc-patches/2022-November/607017.html

[Bug libstdc++/107815] 20_util/to_chars/float128_c++23.cc FAILs

2022-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107815 --- Comment #1 from Jakub Jelinek --- Can you please uncomment the //std::cout << i << ' ' << std::string_view (str1, ptr1) << '\n'; and //std::cout << i << ' ' << std::string_view (str1, ptr5) << '\n'; lines in the test, so that it is c

[Bug target/107812] [11/12/13 Regression] RTL SSA forwprop introduced regression since r11-6188

2022-11-22 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107812 rsandifo at gcc dot gnu.org changed: What|Removed |Added Last reconfirmed||2022-11-22 Ever confi

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

2022-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107781 --- Comment #7 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:ac5054144bd2248e948842937448eb5f4ce36bfd commit r13-4236-gac5054144bd2248e948842937448eb5f4ce36bfd Author: Jason Merrill Date: M

[Bug c++/107781] strchrnul' was not declared in this scope; did you mean 'strchr'? For contracts for canadian compilation

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

[Bug c/107405] [13 Regression] enum change causing Linux kernel to fail to build due to Linux depending on old behavior

2022-11-22 Thread macro at orcam dot me.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107405 --- Comment #18 from Maciej W. Rozycki --- Well, according to the assertion triggered `typeof (EM_MAX_SLOTS)' will yield a data type of a different width depending on the compiler version. Even if this GNU extension does not constitute a part of

[Bug tree-optimization/107818] New: Overflow of linemap breaks its chronological order

2022-11-22 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107818 Bug ID: 107818 Summary: Overflow of linemap breaks its chronological order Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug analyzer/107807] gcc.dg/analyzer/errno-1.c FAILs

2022-11-22 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107807 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug tree-optimization/107808] gcc.dg/vect/vect-bitfield-write-2.c etc.FAIL

2022-11-22 Thread ro at CeBiTec dot Uni-Bielefeld.DE via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107808 --- Comment #3 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #2 from avieira at gcc dot gnu.org --- > Hi Rainer, > > I suspect this means SPARC should be added to the list of targets that fail > check_effective_target_vect_long_long.

  1   2   >