[Bug c++/108559] [13 Regression] A new crash with using a simple class, inheritance and a function

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108559 Richard Biener changed: What|Removed |Added Priority|P3 |P1

[Bug tree-optimization/107107] [10 Regression] Wrong codegen from TBAA when stores to distinct same-mode types are collapsed?

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

[Bug tree-optimization/107554] [10 Regression] Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

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

[Bug tree-optimization/106934] [10 Regression] ICE: verify_gimple failed since r9-5682-gef310a95a934d0f3

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106934 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to fail|

[Bug tree-optimization/107323] [10 Regression] Loop distribute issue

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:95e5c07aa216fe2863ea02e8508a51b5f7528839 commit r10-11178-g95e5c07aa216fe2863ea02e8508a51b5f7528839 Author: Richard

[Bug tree-optimization/107554] [10 Regression] Segmentation fault during GIMPLE pass: strlen (tree-ssa-strlen.cc:4772)

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107554 --- Comment #10 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5d62d86d958a217cdb4155a557aeda1d0e644aba commit r10-11179-g5d62d86d958a217cdb4155a557aeda1d0e644aba Author: Richard

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

2023-01-26 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108540 --- Comment #7 from Aldy Hernandez --- (In reply to Jakub Jelinek from comment #6) > Created attachment 54351 [details] > gcc13-pr108540.patch > > Untested fix. LGTM. Thanks for looking at this.

[Bug libstdc++/108554] [12 Regression] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 Jonathan Wakely changed: What|Removed |Added Known to work||11.3.0 Known to fail|

[Bug analyzer/108432] RFE: analyzer could detect out-of-bounds issues within loops

2023-01-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108432 David Malcolm changed: What|Removed |Added Summary|Analyzer fails to detect|RFE: analyzer could detect

[Bug c++/105300] [10/11/12/13 Regression] segfault from static_assert with user-defined string suffix argument

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105300 --- Comment #5 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:9f353b0c1dc9385ba8b8a64b65d66d5452383c11 commit r13-5390-g9f353b0c1dc9385ba8b8a64b65d66d5452383c11 Author: Marek Polacek Date:

[Bug tree-optimization/107323] [10 Regression] Loop distribute issue

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107323 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Known to work|

[Bug modula2/108557] Stuck compilation for empty file

2023-01-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108557 Gaius Mulley changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/108520] [13 Regression] ICE in nonnull_arg_p, at tree.cc:14372 with -O1 and above (gnu::assume and gnu::nonnull)

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108520 --- Comment #4 from Jakub Jelinek --- Slightly cleaned up testcase: static void foo () {} struct S { void (*f) (); }; [[gnu::nonnull (1)]] void bar (void *x) { struct S a[3] = { { foo }, { foo }, { foo } }; for (struct S *i = a, *e = a +

[Bug fortran/108558] OpenMP/Fortran 'has_device_addr' clause getting lost?

2023-01-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108558 --- Comment #2 from Thomas Schwinge --- (In reply to Tobias Burnus from comment #1) > I bet that this is a problem of 'gfc_split_omp_clauses': [...] Heh, so indeed as I suspected: (In reply to myself from comment #0) > (Decomposed combined

[Bug analyzer/108507] [13 regression] new test case gcc.dg/analyzer/SARD-tc841-basic-00182-min.c in r13-5244-gc6a011119bfa03 fails

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108507 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:f1eab269288ffa80ba924ddb4c4b36f8f781d613 commit r13-5389-gf1eab269288ffa80ba924ddb4c4b36f8f781d613 Author: David Malcolm Date:

[Bug analyzer/108524] -Wanalyzer-infinite-recursion false positives seen in qemu's JSON parser

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108524 --- Comment #2 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:7bffea89f1f164efc10dd37d979a83c4c5fbfa7e commit r13-5388-g7bffea89f1f164efc10dd37d979a83c4c5fbfa7e Author: David Malcolm Date:

[Bug fortran/108558] OpenMP/Fortran 'has_device_addr' clause getting lost?

2023-01-26 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108558 Tobias Burnus changed: What|Removed |Added Last reconfirmed||2023-01-26 Ever confirmed|0

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108540 --- Comment #5 from Jakub Jelinek --- --- gcc/range-op-float.cc.jj2023-01-16 09:39:36.191929750 +0100 +++ gcc/range-op-float.cc 2023-01-26 13:33:48.712018907 +0100 @@ -607,6 +607,10 @@ foperator_equal::fold_range (irange , {

[Bug modula2/108553] GM2 ICEs on mistyped command line options

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 --- Comment #4 from Richard Biener --- (In reply to Iain Sandoe from comment #3) > I'm trying to reproduce this - in the meantime does the obvious fix solve > the problem for you? > > diff --cc gcc/m2/gm2-lang.cc > index

[Bug modula2/108555] gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized

2023-01-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108555 Iain Sandoe changed: What|Removed |Added Assignee|gaius at gcc dot gnu.org |iains at gcc dot gnu.org ---

[Bug tree-optimization/108520] [13 Regression] ICE in nonnull_arg_p, at tree.cc:14372 with -O1 and above (gnu::assume and gnu::nonnull)

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108520 Jakub Jelinek changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug analyzer/108507] [13 regression] new test case gcc.dg/analyzer/SARD-tc841-basic-00182-min.c in r13-5244-gc6a011119bfa03 fails

2023-01-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108507 David Malcolm changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug analyzer/108524] -Wanalyzer-infinite-recursion false positives seen in qemu's JSON parser

2023-01-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108524 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/88443] [meta-bug] bogus/missing -Wstringop-overflow warnings

2023-01-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88443 Bug 88443 depends on bug 108507, which changed state. Bug 108507 Summary: [13 regression] new test case gcc.dg/analyzer/SARD-tc841-basic-00182-min.c in r13-5244-gc6a09bfa03 fails https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108507

[Bug tree-optimization/107608] [13 Regression] Failure on fold-overflow-1.c and pr95115.c

2023-01-26 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 --- Comment #44 from Xi Ruoyao --- (In reply to rguent...@suse.de from comment #43) > On Thu, 19 Jan 2023, xry111 at gcc dot gnu.org wrote: > > > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107608 > > > > --- Comment #42 from Xi Ruoyao ---

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #5 from Andrew Pinski --- Everything we needed is listed at https://gcc.gnu.org/bugs/

[Bug modula2/108555] New: gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108555 Bug ID: 108555 Summary: gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug modula2/108553] GM2 ICEs on mistyped command line options

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug libstdc++/108554] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread fcontact at cuveland dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 --- Comment #2 from Jan de Cuveland --- Thanks for the insight! Adding a check on empty() for my_map.extract(it) resolves the issue. So it is just that the static analyzer does not see that (to my understanding) "it" has to be a valid

[Bug modula2/108557] New: Stuck compilation for empty file

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108557 Bug ID: 108557 Summary: Stuck compilation for empty file Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: modula2

[Bug modula2/108555] gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized

2023-01-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108555 Iain Sandoe changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #2

[Bug c++/108503] [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119

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

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108540 --- Comment #2 from Jakub Jelinek --- This goes wrong during thread1 pass I think. Before that we have in the IL early exits for x != 42, d NAN or d +-INF, and then: [local count: 96926676]: if (d_16(D) == 0.0) goto ; [50.00%] else

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #8 from Tang, Feng --- Created attachment 54350 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54350=edit i386 kernel config In https://lore.kernel.org/lkml/202301170941.49728982-oliver.s...@intel.com/t/ Oliver Sang provided

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108540 --- Comment #4 from Jakub Jelinek --- Ah, so back_threader::find_taken_edge_cond calls path_range_query::range_of_stmt on the d_1 == 0.0 with the assumption that d_1 is -0.0, fold_using_range::range_of_range_op sees (gdb) p debug (range1)

[Bug tree-optimization/108547] [13 Regression] ice in decompose, at wide-int.h:984 for -O2 with -Wall since r13-2500-g0a4a2667dc115ca7

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108547 Richard Biener changed: What|Removed |Added Last reconfirmed|2023-01-25 00:00:00 |2023-1-26 Status|ASSIGNED

[Bug c++/108539] Wrong register usage for -m16 -masm=intel -march=i386 on asm volatile

2023-01-26 Thread arheik at dnainternet dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108539 arheik at dnainternet dot net changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #3

[Bug tree-optimization/108547] [13 Regression] ice in decompose, at wide-int.h:984 for -O2 with -Wall since r13-2500-g0a4a2667dc115ca7

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108547 --- Comment #8 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:c71a128a3e1ff6ee5274fc2df49ea650bc9e6c2d commit r13-5383-gc71a128a3e1ff6ee5274fc2df49ea650bc9e6c2d Author: Richard Biener Date:

[Bug modula2/108551] gcc/m2/gm2-libs-pim/Termbase.mod:128:1: error: control reaches end of non-void function [-Werror=return-type]

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108551 --- Comment #4 from Richard Biener --- (In reply to Martin Liška from comment #3) > I might reduced that: > > $ cat Termbase.mod > IMPLEMENTATION MODULE Termbase ; > TYPE >ReadMethods = POINTER TO RECORD >s

[Bug tree-optimization/107107] [10 Regression] Wrong codegen from TBAA when stores to distinct same-mode types are collapsed?

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107107 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:58e39fcaaf298ff54b6f1a45fa9d15390e8113fb commit r10-11177-g58e39fcaaf298ff54b6f1a45fa9d15390e8113fb Author: Richard

[Bug tree-optimization/106934] [10 Regression] ICE: verify_gimple failed since r9-5682-gef310a95a934d0f3

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106934 --- Comment #6 from CVS Commits --- The releases/gcc-10 branch has been updated by Richard Biener : https://gcc.gnu.org/g:d0a3e323a0c0e3db7dcd428587f0633209f9ceec commit r10-11176-gd0a3e323a0c0e3db7dcd428587f0633209f9ceec Author: Richard

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

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

[Bug libstdc++/108554] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 --- Comment #5 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:3376467ce090aa0966d59ca3aea35db4f17a4b47 commit r13-5386-g3376467ce090aa0966d59ca3aea35db4f17a4b47 Author: Jonathan Wakely

[Bug libstdc++/108530] [13 regression] std/time/tzdb/1.cc fails after r13-5168-g559993b85744ae

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108530 --- Comment #8 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:93e2bf51dedd0870b78b770b72e34b15a7a0d14a commit r13-5385-g93e2bf51dedd0870b78b770b72e34b15a7a0d14a Author: Jonathan Wakely

[Bug analyzer/108535] RFE: analyzer to allow ifdef inclusion/exclusion like cppcheck -D/-U

2023-01-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108535 David Malcolm changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/105300] [10/11/12 Regression] segfault from static_assert with user-defined string suffix argument

2023-01-26 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105300 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #1 from Tang, Feng --- Created attachment 54346 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54346=edit kernel log with error message

[Bug modula2/108553] New: GM2 ICEs on mistyped command line options

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 Bug ID: 108553 Summary: GM2 ICEs on mistyped command line options Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/108554] New: Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread fcontact at cuveland dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 Bug ID: 108554 Summary: Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag Product: gcc Version: 12.2.0 Status:

[Bug sanitizer/108541] ASAN since GCC 9 missed a stack-buffer-overflow since r9-4503-g6e644a50045f8032

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108541 Martin Liška changed: What|Removed |Added Last reconfirmed||2023-01-26 Summary|ASAN

[Bug fortran/108546] [11/12/13 Regression] ICE in expand_expr_real_1, at expr.cc:10910 since r10-4531-ga2c26c50310a3363

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108546 Martin Liška changed: What|Removed |Added Summary|[11/12/13 Regression] ICE |[11/12/13 Regression] ICE

[Bug libstdc++/108556] std::sort changes objects' member values

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108556 --- Comment #2 from Jonathan Wakely --- Compiling with -D_GLIBCXX_DEBUG shows the problem: /home/jwakely/gcc/13/include/c++/13.0.1/bits/stl_algo.h:4892: In function: void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter =

[Bug libstdc++/108554] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2023-01-26

[Bug libstdc++/108554] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 --- Comment #4 from Jonathan Wakely --- (In reply to Jan de Cuveland from comment #2) > So it is just that the static analyzer does not see that (to my > understanding) "it" has to be a valid iterator and thus will always result > in a

[Bug libstdc++/108556] std::sort changes objects' member values

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

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 Tang, Feng changed: What|Removed |Added Attachment #54345|0 |1 is obsolete|

[Bug c++/108559] [13 Regression] A new crash with using a simple class, inheritance and a function

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108559 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Known to fail|

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 Andrew Pinski changed: What|Removed |Added Component|c |target --- Comment #2 from Andrew

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #4 from Tang, Feng --- (In reply to Andrew Pinski from comment #3) > Do you have the preprocessed source that is used generate the bad object > file? > How about the exact command line? Thanks for the prompt response! The error

[Bug modula2/108553] GM2 ICEs on mistyped command line options

2023-01-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 --- Comment #2 from Iain Sandoe --- (In reply to Richard Biener from comment #1) > diagnosing options in gm2_langhook_init_options is probably not the way to > go. > > Looks like this creeped in by recent refactoring? Yeah, there is no

[Bug modula2/108553] GM2 ICEs on mistyped command line options

2023-01-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 --- Comment #3 from Iain Sandoe --- I'm trying to reproduce this - in the meantime does the obvious fix solve the problem for you? diff --cc gcc/m2/gm2-lang.cc index 4d9cae205a7,4d9cae205a7..a30e626620c --- a/gcc/m2/gm2-lang.cc +++

[Bug fortran/108545] [13 Regression] ICE in install_var_field, at omp-low.cc:799 since r13-2665-g23baa717c991d77f

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108545 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/108503] [13 Regression] ICE in get_array_or_vector_nelts, at cp/constexpr.cc:4119

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108503 --- Comment #4 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:d427407a199a0c276cb02d6bbb64e6ecc02e590d commit r13-5379-gd427407a199a0c276cb02d6bbb64e6ecc02e590d Author: Jakub Jelinek Date:

[Bug libstdc++/108556] std::sort changes objects' member values

2023-01-26 Thread gnu.iodaj at simplelogin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108556 --- Comment #1 from gnu.iodaj at simplelogin dot com --- Created attachment 54347 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54347=edit source file

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #7 from Tang, Feng --- Created attachment 54349 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54349=edit original job-script from Oliver (0Day)

[Bug modula2/108551] gcc/m2/gm2-libs-pim/Termbase.mod:128:1: error: control reaches end of non-void function [-Werror=return-type]

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108551 --- Comment #2 from Richard Biener --- OK, I have a reduced MODULE Test; PROCEDURE X (VAR Y : BOOLEAN) : BOOLEAN; BEGIN IF Y THEN RETURN FALSE ELSE RETURN TRUE END END X ; END Test. and > ./cc1gm2 -quiet test.mod -I

[Bug modula2/108551] gcc/m2/gm2-libs-pim/Termbase.mod:128:1: error: control reaches end of non-void function [-Werror=return-type]

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108551 Martin Liška changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/108542] [13 Regression] ICE in instantiate_type, at cp/class.cc:8833

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

[Bug tree-optimization/108547] [13 Regression] ice in decompose, at wide-int.h:984 for -O2 with -Wall since r13-2500-g0a4a2667dc115ca7

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108547 Martin Liška changed: What|Removed |Added Summary|[13 Regression] ice in |[13 Regression] ice in

[Bug libstdc++/108554] Warning "null pointer dereferece" raised when extracting a unique_ptr from a map and any "-O" flag

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108554 --- Comment #1 from Jonathan Wakely --- (In reply to Jan de Cuveland from comment #0) > This behavior does not show up in GCC 9, 10, and 11. It does if you use -Wsystem-headers -- the only thing that changed is that the compiler now ignores

[Bug modula2/108555] gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108555 --- Comment #1 from Richard Biener --- CL_DRIVER should also not be there

[Bug libstdc++/108556] New: std::sort changes objects' member values

2023-01-26 Thread gnu.iodaj at simplelogin dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108556 Bug ID: 108556 Summary: std::sort changes objects' member values Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/108558] New: OpenMP/Fortran 'has_device_addr' clause getting lost?

2023-01-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108558 Bug ID: 108558 Summary: OpenMP/Fortran 'has_device_addr' clause getting lost? Product: gcc Version: 13.0 Status: UNCONFIRMED Keywords: openmp Severity: normal

[Bug tree-optimization/108522] [12/13 Regression] ICE in tree-object-size when struct has VLA

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108522 --- Comment #4 from CVS Commits --- The master branch has been updated by Siddhesh Poyarekar : https://gcc.gnu.org/g:0573a0778af88e805f7630ac8640ecd67d692665 commit r13-5382-g0573a0778af88e805f7630ac8640ecd67d692665 Author: Siddhesh Poyarekar

[Bug modula2/108555] gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108555 --- Comment #3 from Richard Biener --- (In reply to Iain Sandoe from comment #2) > We do claim the ones that modula-2 actually uses in gm2-lang.opt > > (previous to r13-5373-g80cf2c5e8f496b we had a large and growing set to > accommodate

[Bug c/108552] New: Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 Bug ID: 108552 Summary: Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled Product: gcc Version: 11.3.0 Status: UNCONFIRMED

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

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

[Bug modula2/108553] GM2 ICEs on mistyped command line options

2023-01-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 Richard Biener changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment

[Bug modula2/108551] gcc/m2/gm2-libs-pim/Termbase.mod:128:1: error: control reaches end of non-void function [-Werror=return-type]

2023-01-26 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108551 --- Comment #3 from Martin Liška --- I might reduced that: $ cat Termbase.mod IMPLEMENTATION MODULE Termbase ; TYPE ReadMethods = POINTER TO RECORD s : StatusProcedure ; END ;

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108540 --- Comment #3 from Jakub Jelinek --- I think int foo (int x, double d) { if (x == 42) d = -0.0; if (d == 0.0) return 42; return 12; } behaves similarly with threading. The above function is basically return (x == 42 || d == 0.0)

[Bug c++/108559] New: A new crash with using a simple class, inheritance and a function

2023-01-26 Thread zakkariusr at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108559 Bug ID: 108559 Summary: A new crash with using a simple class, inheritance and a function Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug analyzer/108400] false positive: null dereference (SoftEtherVPN)

2023-01-26 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108400 --- Comment #1 from David Malcolm --- Created attachment 54356 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54356=edit Reduced reproducer False positive seen here with no optimization: https://godbolt.org/z/cfqz1fYKx with -O2:

[Bug rtl-optimization/108463] [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108463 --- Comment #3 from Jakub Jelinek --- Oops, ignore the 0 && part in the above patch, I've added that while trying to get the ICE on this PR back.

[Bug other/108560] builtin_va_arg_pack_len is documented to return size_t, but actually returns int

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108560 Jakub Jelinek changed: What|Removed |Added Ever confirmed|0 |1 Assignee|unassigned at gcc

[Bug modula2/108551] gcc/m2/gm2-libs-pim/Termbase.mod:128:1: error: control reaches end of non-void function [-Werror=return-type]

2023-01-26 Thread gaius at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108551 Gaius Mulley changed: What|Removed |Added CC||gaius at gcc dot gnu.org --- Comment #5

[Bug tree-optimization/108540] [13 Regression] Frange miscompilation of ruby since r13-3261

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108540 --- Comment #8 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:09176201ec6a21c25b1edb07f19f83be22a123f9 commit r13-5397-g09176201ec6a21c25b1edb07f19f83be22a123f9 Author: Jakub Jelinek Date:

[Bug modula2/108553] GM2 ICEs on mistyped command line options

2023-01-26 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108553 --- Comment #5 from CVS Commits --- The master branch has been updated by Iain D Sandoe : https://gcc.gnu.org/g:6dd4578f4779b27b2115d78226ff7df46c939061 commit r13-5398-g6dd4578f4779b27b2115d78226ff7df46c939061 Author: Iain Sandoe Date:

[Bug modula2/108555] gm2_langhook_option_lang_mask causes all (unappropriate) C language options to be recognized

2023-01-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108555 --- Comment #5 from Iain Sandoe --- Created attachment 54355 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54355=edit Partch under test - partial reversion of r13-5373-g80cf2c5e8f496b This reverts the part of r13-5373-g80cf2c5e8f496b

[Bug libstdc++/108561] New: std::endl causes a flush on a bad stream

2023-01-26 Thread lavr at ncbi dot nlm.nih.gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108561 Bug ID: 108561 Summary: std::endl causes a flush on a bad stream Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/108561] std::endl causes a flush on a bad stream

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108561 --- Comment #1 from Jonathan Wakely --- The standard doesn't say anything about not flushing if the put (or any previous output function) failed. > Calls os.put(os.widen(’\n’)), then os.flush().

[Bug rtl-optimization/108463] [13 Regression] ICE: in cselib_subst_to_values, at cselib.cc:2148 with -O2 -fsched2-use-superblocks -g

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108463 --- Comment #2 from Jakub Jelinek --- >From what I can see, the r13-5252 change removed for DEBUG_INSNs two things, one is the cselib_lookup_from_insn call with 1 as create and the other is the shallow_copy_rtx +

[Bug libstdc++/108561] std::endl causes a flush on a bad stream

2023-01-26 Thread lavr at ncbi dot nlm.nih.gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108561 --- Comment #2 from lavr at ncbi dot nlm.nih.gov --- Indeed, it does not. But the reason the endl manipulator is there, is to flush _after_ '\n'. If the stream has gone bad in between, it is the gray area, but for the output device (the stream

[Bug c++/108560] New: builtin_va_arg_pack_len is documented to return size_t, but actually returns int

2023-01-26 Thread jens.seifert at de dot ibm.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108560 Bug ID: 108560 Summary: builtin_va_arg_pack_len is documented to return size_t, but actually returns int Product: gcc Version: 12.2.0 Status: UNCONFIRMED

[Bug c++/108560] builtin_va_arg_pack_len is documented to return size_t, but actually returns int

2023-01-26 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108560 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment

[Bug c++/108559] [13 Regression] A new crash with using a simple class, inheritance and a function

2023-01-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108559 --- Comment #2 from Andrew Pinski --- This might be related to C++ core issue cwg2403: https://wg21.link/cwg2403

[Bug libstdc++/108561] std::endl causes a flush on a bad stream

2023-01-26 Thread lavr at ncbi dot nlm.nih.gov via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108561 --- Comment #3 from lavr at ncbi dot nlm.nih.gov --- Also, the standard seems to mention that flush() is an "unformatted output function", meaning it is supposed to build and check a sentry object (which in case of a bad stream, would fail, so

[Bug libstdc++/108561] std::endl causes a flush on a bad stream

2023-01-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108561 --- Comment #4 from Jonathan Wakely --- That changed with https://cplusplus.github.io/LWG/issue581 which I implemented for GCC 12 in r12-1817-gf8c5b542f6cb6a so I guess you're looking at gcc-11 or older.

[Bug c++/88853] ICE: verify_type failed (error: type variant differs by TYPE_PACKED) with -fpack-struct -g

2023-01-26 Thread dcb314 at hotmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88853 David Binderman changed: What|Removed |Added CC||dcb314 at hotmail dot com --- Comment

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #9 from Tang, Feng --- For original report https://lore.kernel.org/lkml/202301170941.49728982-oliver.s...@intel.com/t/, it was reported by Sang Oliver from 0Day team, but I failed to add him too cc (probably due to he is not

[Bug target/108552] Linux i386 kernel 5.14 memory corruption for pre_compound_page() when gcov is enabled

2023-01-26 Thread feng.tang at intel dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108552 --- Comment #10 from Tang, Feng --- Created attachment 54352 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54352=edit page_alloc.i.xz

  1   2   >