[Bug c++/107178] Diagnosis for colon vs semi-colon in a member function declaration

2022-10-06 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178 --- Comment #2 from Jeremy R. --- The easy solution is to mention both the bitfield and "hey maybe you meant to use a ;"

[Bug c++/107178] Diagnosis for colon vs semi-colon in a member function declaration

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic Severity|normal

[Bug c++/107178] New: Diagnosis for colon vs semi-colon in a member function declaration

2022-10-06 Thread llvm at rifkin dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107178 Bug ID: 107178 Summary: Diagnosis for colon vs semi-colon in a member function declaration Product: gcc Version: 12.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/107177] ICE: tree check: expected type_argument_pack or nontype_argument_pack, have integer_type in unify_pack_expansion, at cp/pt.cc:23912

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

[Bug c++/86426] g++ ICE at on valid code in tree_operand_check, at tree.h:3615

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86426 --- Comment #10 from Andrew Pinski --- *** Bug 107177 has been marked as a duplicate of this bug. ***

[Bug rtl-optimization/107167] It looks like GCC wastes registers on trivial computations when result can be cached

2022-10-06 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107167 --- Comment #6 from cqwrteur --- (In reply to Andrew Pinski from comment #5) > You already filed this one. > > *** This bug has been marked as a duplicate of bug 103550 *** (In reply to Andrew Pinski from comment #1) > This is a

[Bug c/107177] New: ICE: tree check: expected type_argument_pack or nontype_argument_pack, have integer_type in unify_pack_expansion, at cp/pt.cc:23912

2022-10-06 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107177 Bug ID: 107177 Summary: ICE: tree check: expected type_argument_pack or nontype_argument_pack, have integer_type in unify_pack_expansion, at cp/pt.cc:23912 Product: gcc

[Bug preprocessor/60014] Bad warning suppression caused by track-macro-expansion when not using integrated cpp

2022-10-06 Thread lhyatt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60014 Lewis Hyatt changed: What|Removed |Added CC||lhyatt at gcc dot gnu.org --- Comment #8

[Bug rtl-optimization/107094] [13 Regression] ICE in require, at machmode.h:297 since r13-2916-gd0b00b63a39108

2022-10-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107094 --- Comment #5 from Tobias Burnus --- I believe this is now fixed via commit r13-3105-g5fc4d3e1837ea4850aac6460f563913f1d3fc5b8 for PR 107088

[Bug analyzer/105783] -Wanalyzer-null-dereference false positive with union and functions

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

[Bug fortran/100971] ICE: Bad IO basetype (7)

2022-10-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100971 --- Comment #3 from anlauf at gcc dot gnu.org --- Just from a purely technical point, the following would allow to trigger the proper check, as it allows to look into arrays, and regtests OK: diff --git a/gcc/fortran/resolve.cc

[Bug tree-optimization/107176] [10/11/12/13 Regression] Wrong code at -Os on x86_64-pc-linux-gnu

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107176 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.5 Component|c

[Bug tree-optimization/107170] [13 Regression] ICE on valid code: in as_a, at value-range.h:381

2022-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107170 Aldy Hernandez changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c/107176] New: Wrong code at -O0/-Os on x86_64-pc-linux-gnu

2022-10-06 Thread shaohua.li at inf dot ethz.ch via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107176 Bug ID: 107176 Summary: Wrong code at -O0/-Os on x86_64-pc-linux-gnu Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug tree-optimization/107170] [13 Regression] ICE on valid code: in as_a, at value-range.h:381

2022-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107170 --- Comment #2 from CVS Commits --- The master branch has been updated by Aldy Hernandez : https://gcc.gnu.org/g:49b9a8c8cc498b1ed2f566bee858e651e14ba37b commit r13-3139-g49b9a8c8cc498b1ed2f566bee858e651e14ba37b Author: Aldy Hernandez Date:

[Bug c++/68942] overly strict use of deleted function before argument-dependent lookup (ADL)

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68942 Andrew Pinski changed: What|Removed |Added CC||physhivam at gmail dot com --- Comment

[Bug c++/107175] overloaded resolution has a bug incase of deleted functions

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

[Bug c++/107175] New: overloaded resolution has a bug incase of deleted functions

2022-10-06 Thread physhivam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107175 Bug ID: 107175 Summary: overloaded resolution has a bug incase of deleted functions Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug analyzer/106000] RFE: -fanalyzer should complain about memory accesses that are definitely out-of-bounds

2022-10-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement

2022-10-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887 Bug 105887 depends on bug 106000, which changed state. Bug 106000 Summary: RFE: -fanalyzer should complain about memory accesses that are definitely out-of-bounds https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 What|Removed

[Bug analyzer/106625] RFE: support some symbolic values in -Wanalyzer-out-of-bounds

2022-10-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106625 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-10-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 --- Comment #8 from David Malcolm --- I believe the above patch fixes the remaining ICEs on the attachment. Please let me know if you find other ways to crash it. Keeping this open to track the memory leak false +ves.

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 --- Comment #7 from CVS Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:629b4813e91aba0a8fc9b18434ec1808776a4b3d commit r13-3138-g629b4813e91aba0a8fc9b18434ec1808776a4b3d Author: David Malcolm Date:

[Bug debug/107169] [13 Regression] -fcompare-debug failure at -O and above since r13-2921-gf1adf45b17f7f1ed

2022-10-06 Thread erozen at microsoft dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107169 --- Comment #2 from Eugene Rozenfeld --- When -gstatement-frontiers is on, the IR coming from the front end may be different with and without debug information turned on. That may cause e.g., different discriminator values and -fcompare-debug

Re: gcc-12: FTBFS on hurd-i386

2022-10-06 Thread Jonathan Wakely via Gcc-bugs
Hello, This mailing list is for automated mail from Bugzilla. Emails sent directly to this list are liable to be missed or just ignored. Please report bugs to Bugzilla instead, see https://gcc.gnu.org/bugs/ Patches should be sent to the gcc-patches mailing list, not gcc-bugs:

[Bug fortran/107075] ICE in get, at cgraph.h:461

2022-10-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107075 --- Comment #6 from anlauf at gcc dot gnu.org --- I tried the following patch, which however regresses on a couple testcases: diff --git a/gcc/fortran/resolve.cc b/gcc/fortran/resolve.cc index d9d101775f6..cfc6fc055bd 100644 ---

[Bug testsuite/107171] New test case gcc.target/powerpc/pr105586.c fails after its introduction in r13-2525-gbec35caafae8db

2022-10-06 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107171 --- Comment #3 from Peter Bergner --- (In reply to Andrew Pinski from comment #2) > /* { dg-require-effective-target int128 } */ > might be better if it is just __int128 that is causing the issue. Good point! Thanks Andrew.

[Bug target/107160] [13 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006

2022-10-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107160 --- Comment #3 from seurer at gcc dot gnu.org --- Note that 554.roms_r from spec2017 also fails after this commit.

[Bug testsuite/107171] New test case gcc.target/powerpc/pr105586.c fails after its introduction in r13-2525-gbec35caafae8db

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107171 Andrew Pinski changed: What|Removed |Added Keywords||testsuite-fail --- Comment #2 from

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #9 from Andrew Pinski --- (In reply to Alexander Monakov from comment #8) > We need a solution that works for combine too — is it possible to invent a > representation for a no-op in-place MEM "move" that only changes its alias >

[Bug testsuite/107171] New test case gcc.target/powerpc/pr105586.c fails after its introduction in r13-2525-gbec35caafae8db

2022-10-06 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107171 Peter Bergner changed: What|Removed |Added Last reconfirmed||2022-10-06

[Bug target/107174] [ARM] Wrong opcodes *.f64.s32 (signed) in conversion [unsigned ->double] with -O2

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107174 --- Comment #2 from Andrew Pinski --- -fsanitize=undefined catches this at runtime: /app/example.cpp:10:28: runtime error: signed integer overflow: 20 - -10 cannot be represented in type 'int' /app/example.cpp:7:28: runtime

[Bug target/107174] [ARM] Wrong opcodes *.f64.s32 (signed) in conversion [unsigned ->double] with -O2

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107174 Andrew Pinski changed: What|Removed |Added Resolution|--- |INVALID Status|UNCONFIRMED

[Bug target/107174] New: [ARM] Wrong opcodes *.f64.s32 (signed) in conversion [unsigned ->double] with -O2

2022-10-06 Thread rozne at pabich dot waw.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107174 Bug ID: 107174 Summary: [ARM] Wrong opcodes *.f64.s32 (signed) in conversion [unsigned ->double] with -O2 Product: gcc Version: 8.3.0 Status: UNCONFIRMED

[Bug tree-optimization/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu since r13-1268-g8c99e307b20c502e

2022-10-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 Martin Liška changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug tree-optimization/107170] [13 Regression] ICE on valid code: in as_a, at value-range.h:381

2022-10-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107170 Martin Liška changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug tree-optimization/107172] [13 Regression] wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107172 Andrew Pinski changed: What|Removed |Added Summary|wrong code with "-O1|[13 Regression] wrong code

[Bug fortran/107075] ICE in get, at cgraph.h:461

2022-10-06 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107075 --- Comment #5 from anlauf at gcc dot gnu.org --- There is a check in expr.cc:2623 that is reached if one changes the testcase to a subroutine, but not if it is a program: 4615 if (!attr.save && rvalue->expr_type == EXPR_VARIABLE 4616

[Bug c++/107173] New: ICE: unspellable token PRAGMA_EOL on type_traits:1446:26

2022-10-06 Thread esa.pulkkinen at iki dot fi via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107173 Bug ID: 107173 Summary: ICE: unspellable token PRAGMA_EOL on type_traits:1446:26 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/107172] New: wrong code with "-O1 -ftree-vrp" on x86_64-linux-gnu

2022-10-06 Thread zhendong.su at inf dot ethz.ch via Gcc-bugs
sanitizers --enable-languages=c,c++ --disable-werror --enable-multilib --with-system-zlib Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221006 (experimental) [master r13-3101-g966010b2eb4] (GCC) [597] % [597] % gcctk -O1 small.c; ./a.out [598] % [598] % gcctk -O1

[Bug c++/107140] Potential false positive uninitialized variable warning with -Wmaybe-uninitialized

2022-10-06 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107140 --- Comment #3 from Kip Warner --- If you click the Save button in Godbolt's CE, you can download a compressed archive. I've attached it for you.

[Bug c++/107140] Potential false positive uninitialized variable warning with -Wmaybe-uninitialized

2022-10-06 Thread kip at thevertigo dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107140 --- Comment #2 from Kip Warner --- Created attachment 53673 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53673=edit Minimal

[Bug tree-optimization/107170] [13 Regression] ICE on valid code: in as_a, at value-range.h:381

2022-10-06 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107170 Andrew Pinski changed: What|Removed |Added Component|c |tree-optimization Target

[Bug c/107170] ICE on valid code: in as_a, at value-range.h:381

2022-10-06 Thread aldyh at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107170 --- Comment #1 from Aldy Hernandez --- Created attachment 53672 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53672=edit untested patch

[Bug tree-optimization/105679] [12 Regression] extra -Warray-bounds warning added with -fsanitize=shift due to jump threading

2022-10-06 Thread kees at outflux dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105679 Kees Cook changed: What|Removed |Added CC||qing.zhao at oracle dot com --- Comment #9

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-10-06 Thread hjl.tools at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #5

[Bug c/107170] ICE on valid code: in as_a, at value-range.h:381

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

[Bug testsuite/107171] New: New test case gcc.target/powerpc/pr105586.c fails after its introduction in r13-2525-gbec35caafae8db

2022-10-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107171 Bug ID: 107171 Summary: New test case gcc.target/powerpc/pr105586.c fails after its introduction in r13-2525-gbec35caafae8db Product: gcc Version: 13.0 Status:

[Bug target/106933] [13 Regression] ICE in extract_insn, at recog.cc:2791 (error: unrecognizable insn) since r13-2049-g6f94923dea21bd92

2022-10-06 Thread asolokha at gmx dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106933 --- Comment #4 from Arseny Solokha --- JFTR, I've just got an ICE that I presume to be another manifestation of the same issue. The current gcc trunk snapshots ICE the way reported in comment 0 on the following testcase w/ -msse4 -Os: __int128

gcc-12: FTBFS on hurd-i386

2022-10-06 Thread Svante Signell via Gcc-bugs
Source: gcc-12 Version: 12_12.2.0-5 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-12-12.2.0-4/5 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error for

[Bug c/107170] New: ICE on valid code: in as_a, at value-range.h:381

2022-10-06 Thread k.even-mendoza at imperial dot ac.uk via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107170 Bug ID: 107170 Summary: ICE on valid code: in as_a, at value-range.h:381 Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/105660] [12/13 Regression] ICE in warn_parm_array_mismatch when merging two function decls and VLA arguments since r12-1218-gc6503fa93b5565c9

2022-10-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105660 --- Comment #9 from Alex Coplan --- (In reply to Romain Dolbeau from comment #8) > Hello, > > I only posted the patch to the (web) bug report, I'm not sure if that > automatically notify the ML or not... No, you will need to submit the patch

[Bug c++/106841] [12 Regression] ICE in vect_get_vec_defs_for_operand, at tree-vect-stmts.cc:1509 since r12-2733-g31855ba6b16cd138

2022-10-06 Thread kenneth.hoste at ugent dot be via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106841 Kenneth Hoste changed: What|Removed |Added CC||kenneth.hoste at ugent dot be ---

[Bug c/105660] [12/13 Regression] ICE in warn_parm_array_mismatch when merging two function decls and VLA arguments since r12-1218-gc6503fa93b5565c9

2022-10-06 Thread romain at dolbeau dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105660 --- Comment #8 from Romain Dolbeau --- Hello, I only posted the patch to the (web) bug report, I'm not sure if that automatically notify the ML or not... Cordially,

[Bug c/105660] [12/13 Regression] ICE in warn_parm_array_mismatch when merging two function decls and VLA arguments since r12-1218-gc6503fa93b5565c9

2022-10-06 Thread acoplan at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105660 Alex Coplan changed: What|Removed |Added CC||acoplan at gcc dot gnu.org --- Comment

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #8 from Alexander Monakov --- Just optimizing out the redundant store seems difficult because on some targets scheduling is invoked from reorg (and it relies on alias sets). We need a solution that works for combine too — is it

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #7 from Jakub Jelinek --- If we don't want to treat such copies as noop moves, then either we need to change rtx_equal_p such that it will say MEMs aren't equal if the the alias sets are different, or should tweak in the same spirit

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org,

[Bug c++/104433] [modules] Importing and using std::make_shared causes linker errors

2022-10-06 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104433 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED CC|

[Bug target/107160] [13 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006

2022-10-06 Thread seurer at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107160 --- Comment #2 from seurer at gcc dot gnu.org --- One of the compilation commands: /home/seurer/gcc/git/install/gcc-test/bin/g++ -c -o auto_derivative_function.o -DSPEC_CPU -DNDEBUG -Iinclude -DBOOST_DISABLE_THREADS -Ddeal_II_dimension=3 -m64

[Bug analyzer/107158] False postives from -Wanalyzer-malloc-leak on tin-2.6.2

2022-10-06 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107158 --- Comment #6 from David Malcolm --- Thanks; I can reproduce the ICE using the attachment. Looks like I reduced the reproducer too much; sorry.

[Bug c++/107161] gcc doesn't constant fold member if any other member is mutable

2022-10-06 Thread vanyacpp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107161 --- Comment #2 from Ivan Sorokin --- > Do constexpr/consteval work in such circumstances? Yes, constexpr works for variables like "p.a": extern constexpr mytype p = {1, 2}; int foo() { constexpr int t = p.a + 10; return t; } foo():

[Bug sanitizer/87191] UBSan doesn't catch invalid pointer arithmetic outside known object bounds

2022-10-06 Thread Dmitriy.Poterukha at uvoteam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87191 --- Comment #6 from creeon --- #0 0x401191 in bar (/home/marxin/Programming/testcases/a.out+0x401191) #1 0x40122a in main https://stemhave.com/programming-help.html (/home/marxin/Programming/testcases/a.out+0x40122a) #2 0x76c71fea in

[Bug sanitizer/87191] UBSan doesn't catch invalid pointer arithmetic outside known object bounds

2022-10-06 Thread Dmitriy.Poterukha at uvoteam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87191 creeon changed: What|Removed |Added CC||Dmitriy.Poterukha at uvoteam dot c

[Bug tree-optimization/56826] [4.9 Regression] Run-fail after r197189.

2022-10-06 Thread Dmitriy.Poterukha at uvoteam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56826 creeon changed: What|Removed |Added CC||Dmitriy.Poterukha at uvoteam dot c

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #5 from Richard Biener --- The bug in instruction scheduling remains (if it is really there).

[Bug debug/107169] [13 Regression] -fcompare-debug failure at -O and above since r13-2921-gf1adf45b17f7f1ed

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

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #4 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0af8d957d5911fc7659b4174cfc2213289bbed23 commit r13-3131-g0af8d957d5911fc7659b4174cfc2213289bbed23 Author: Richard Biener Date:

[Bug preprocessor/56549] #pragma once ineffective with BOM in include file

2022-10-06 Thread Dmitriy.Poterukha at uvoteam dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56549 creeon changed: What|Removed |Added CC||Dmitriy.Poterukha at uvoteam dot c

[Bug debug/107169] [13 Regression] -fcompare-debug failure at -O and above since r13-2921-gf1adf45b17f7f1ed

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

[Bug debug/107169] New: [13 Regression] -fcompare-debug failure at -O and above

2022-10-06 Thread zsojka at seznam dot cz via Gcc-bugs
d --with-as=/usr/bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-r13-3128-20221006123905-gdb2f5d66123-checking-yes-rtl-df-extra-nobootstrap-amd64 Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 13.0.0 20221006 (experimental) (GCC)

[Bug c++/107168] [11/12/13 Regression] Wrong errors for concepts with default lambda not-type argument since r11-3714-gc1c62aec6751678e

2022-10-06 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168 Martin Liška changed: What|Removed |Added Summary|Wrong errors for concepts |[11/12/13 Regression] Wrong

[Bug c/107162] -Wmisleading-indentation is blinded by comments

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107162 --- Comment #1 from Richard Biener --- I suppose the better diagnostic would point out that if (num > 20) return num * num; else return num + num; is unreachable?

[Bug c++/107161] gcc doesn't constant fold member if any other member is mutable

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107161 --- Comment #1 from Richard Biener --- GCC relies on 'p' being in .rodata for the folding which of course cannot be the case with a mutable member. Note the frontend clears the 'const' from the declaration because of the mutable member and we

[Bug target/107160] [13 regression] r13-2641-g0ee1548d96884d causes verification failure in spec2006

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107160 Richard Biener changed: What|Removed |Added Keywords||wrong-code Target Milestone|---

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

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107154 Richard Biener changed: What|Removed |Added Summary|[12/13 Regression] GDB |[12 Regression] GDB jumping

[Bug tree-optimization/107153] [13 Regression] ICE in check_loop_closed_ssa_def, at tree-ssa-loop-manip.cc:645

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

[Bug c++/107148] [10/11/12/13 Regression] ICE in bot_manip, at cp/tree.cc:3252

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

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

2022-10-06 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 Known to work||13.0 Summary|[10/11/12/13

[Bug c++/107147] [13 Regression] ICE in register_local_var_uses, at cp/coroutines.cc:3923

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

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

2022-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107107 --- Comment #10 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:85333b9265720fc4e49397301cb16324d2b89aa7 commit r13-3126-g85333b9265720fc4e49397301cb16324d2b89aa7 Author: Richard Biener Date:

[Bug c++/107140] Potential false positive uninitialized variable warning with -Wmaybe-uninitialized

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107140 Richard Biener changed: What|Removed |Added Blocks||24639 Last reconfirmed|

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

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107138 Richard Biener changed: What|Removed |Added Keywords||diagnostic Summary|[12

[Bug tree-optimization/107137] (unsigned)-(int)(bool_var) should be optimized to -(unsigned)bool_var

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107137 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/107128] armhf: floatn-common.h:214:9: error: multiple types in one declaration

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107128 Richard Biener changed: What|Removed |Added Resolution|--- |INVALID Target|

[Bug preprocessor/107089] Line-terminating '\' leaves the characters when the next-line is a multi-line comment

2022-10-06 Thread wcs84014 at xcoxc dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107089 JohnDoe changed: What|Removed |Added Resolution|--- |WONTFIX Status|UNCONFIRMED

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

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107127 Richard Biener changed: What|Removed |Added Priority|P3 |P2 --- Comment #4 from Richard Biener

[Bug bootstrap/107120] [13 Regression] trunk fails to bootstrap on powerpc64le-linux-gnu

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

[Bug middle-end/107117] "atan2" fails to set the floating-point inexact exception due to constant folding, in some cases

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107117 --- Comment #5 from Richard Biener --- Btw, we only avoid inexact constant foldings for -frounding-math, not with -ftrapping-math (which guards FP exception state). See do_mpfr_ckconv. So we could do better here if we want (but then if at

[Bug middle-end/107115] Wrong codegen from TBAA under stores that change effective type?

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107115 --- Comment #3 from Richard Biener --- So possibly expand_assignment is eliding the store somewhere downthread (it's operand_equal_p check shouldn't fire). It's rtx store_expr (tree exp, rtx target, int call_param_p, bool

[Bug tree-optimization/107114] [13 Regression] Failure to discover range results in bogus warning

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107114 Richard Biener changed: What|Removed |Added Priority|P4 |P3 Keywords|

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

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107107 --- Comment #9 from Richard Biener --- The issue is how we value-number for tail-merging. We do Processing block 1: BB4 Value numbering stmt = MEM[(long int *)_3] = 2; RHS 2 simplified to 2 No store match Value numbering store MEM[(long int

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

2022-10-06 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|NEW |ASSIGNED

[Bug tree-optimization/107099] uncprop a bit too eager

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107099 Richard Biener changed: What|Removed |Added Last reconfirmed||2022-10-06

[Bug middle-end/107088] [13 Regression] cselib ICE building __trunctfxf2 on ia64

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

[Bug target/107131] [11/12/13 Regression] wrong code with -Os -fno-ipa-vrp -fno-tree-bit-ccp

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107131 Richard Biener changed: What|Removed |Added Summary|[11/12 Regression] wrong|[11/12/13 Regression] wrong

[Bug c++/107168] New: Wrong errors for concepts with default lambda not-type argument

2022-10-06 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107168 Bug ID: 107168 Summary: Wrong errors for concepts with default lambda not-type argument Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug c++/106654] [C++23] P1774 - Portable assumptions

2022-10-06 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106654 --- Comment #13 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:08b51baddc53d64aa4c5e7a81ef3c4bf320293be commit r13-3106-g08b51baddc53d64aa4c5e7a81ef3c4bf320293be Author: Jakub Jelinek Date:

[Bug tree-optimization/107129] [13 Regression] False positive -Wstringop-overflow warning with -O2 or -O3 since r13-137-gee1cb43bc76de800

2022-10-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107129 Richard Biener changed: What|Removed |Added Blocks||88443 Target Milestone|---

[Bug c++/101670] Internal compiler error with concepts

2022-10-06 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101670 --- Comment #3 from Fedor Chelnokov --- A shorter example: template concept x = true; void foo(x auto) {} Online demo: https://godbolt.org/z/sT74G8crE

  1   2   >