[Bug c/103360] [meta-bug] bogus/missing -Waddress

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-11-22 Keywords|

[Bug c/103360] New: [meta-bug] bogus/missing -Waddress

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103360 Bug ID: 103360 Summary: [meta-bug] bogus/missing -Waddress Product: gcc Version: 4.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug middle-end/102431] [12 Regression] ICE in lower_gimple_bind, at gimple-low.c:439 since r12-1206-g178191e1dfafd8db

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

[Bug c/78989] Missing -Waddress warning due to -Wno-system-headers

2021-11-22 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 --- Comment #9 from Martin Sebor --- GCC 12 (and prior, down to 10) warns for the test case: $ cat pr78989.ii && gcc -S -Wall pr78989.ii int asan_poison_variables () { return (asan_poison_variables && # 6 "gimplify.cpp" 3 4

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355 --- Comment #4 from Martin Liška --- (In reply to Marek Polacek from comment #3) > Mine, but I'll just use Jon's patch. That's a reasonable solution for me ;)

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

2021-11-22 Thread theodort at inf dot ethz.ch via Gcc-bugs
%eax callfoo xorl%eax, %eax popq%rdx .cfi_def_cfa_offset 8 ret .cfi_endproc gcc-trunk -v Using built-in specs. Target: x86_64-pc-linux-gnu Thread model: posix Supported LTO compression algorithms: zlib zstd gcc version 12.0.0 20211122 (experime

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

2021-11-22 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/103238] c++ Feature: array-copy experimental extensions implementing P1997

2021-11-22 Thread wjwray at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103238 --- Comment #4 from Will Wray --- First cut implementation in two patches, submitted for review: https://gcc.gnu.org/pipermail/gcc-patches/2021-November/585105.html

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

2021-11-22 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #12 from hubicka at kam dot mff.cuni.cz --- > unsigned p; > unsigned __attribute__((noinline)) test (void) > { > return p; > } > > modref analyzing 'test' (ipa=0) (pure) > - Analyzing load: p >- Recording base_set=0 ref_set=0

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

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #11 from Richard Biener --- And interestingly for unsigned p; unsigned __attribute__((noinline)) test (void) { return p; } I do not get any modref summary!? ;; Function test (test, funcdef_no=0, decl_uid=1979, cgraph_uid=1, symb

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

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #10 from Richard Biener --- Created attachment 51847 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51847&action=edit patch Looks like I have to exclude summary->global_memory_read since otherwise a trivial testcase like the f

[Bug testsuite/103335] [12 Regression] new test case gcc.dg/tree-ssa/modref-dse-4.c fails

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103335 Jan Hubicka changed: What|Removed |Added Depends on||103282 Assignee|unassigned at g

[Bug driver/100937] configure: Add --enable-default-semantic-interposition

2021-11-22 Thread frankhb1989 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100937 --- Comment #10 from frankhb1989 at gmail dot com --- (In reply to Jonathan Wakely from comment #9) > (In reply to frankhb1989 from comment #7) > The toolchain might not be ELF-specific, but > on targets that *do* use ELF, of course the ELF speci

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

2021-11-22 Thread hubicka at kam dot mff.cuni.cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103168 --- Comment #9 from hubicka at kam dot mff.cuni.cz --- > so indeed that's an issue. So it's a bug fixed, not an optimization > regression. I know, but the bug was fixed in unnecesarily generous way preventing a lot of valid tranforms (esnetiall

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

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

[Bug c++/103358] New: what is the first constructor argument of lambda coroutine promise_type?

2021-11-22 Thread netcan1996 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103358 Bug ID: 103358 Summary: what is the first constructor argument of lambda coroutine promise_type? Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug ada/103357] GCC 11 branch can't be built with the current master

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103357 --- Comment #4 from Martin Liška --- Oh, got it, thanks for the explanation.

[Bug ada/103357] GCC 11 branch can't be built with the current master

2021-11-22 Thread charlet at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103357 Arnaud Charlet changed: What|Removed |Added CC||charlet at gcc dot gnu.org

[Bug ada/103357] GCC 11 branch can't be built with the current master

2021-11-22 Thread charlet at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103357 --- Comment #2 from Arnaud Charlet --- If you mean that you are building version X of gcc version version Y (newer than X) of gcc/gnat, then this is as expected and documented: this combination will not always work and isn't supported. You need

[Bug ada/103357] GCC 11 branch can't be built with the current master

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

[Bug ada/103357] New: GCC 11 branch can't be built with the current master

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103357 Bug ID: 103357 Summary: GCC 11 branch can't be built with the current master Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2 since r12-5301-g045206450386bcd7

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

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #13 from Jonathan Wakely --- For the "NULL hiding pedwarn about invalid C++11 code in C++98" case from PR 103347 #include struct test { void *x = NULL; //invalid in C++03 mode }; int main() {} The missing warning regression sta

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2 since r12-5301-g045206450386bcd7

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103351 --- Comment #6 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:f456eaf2e0fb3ceb51c641fd348429bf59d215a9 commit r12-5447-gf456eaf2e0fb3ceb51c641fd348429bf59d215a9 Author: Richard Biener Date:

[Bug tree-optimization/102872] If statement is always false but not figured out at gimple level

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102872 --- Comment #4 from Richard Biener --- ifcombine makes optimizing two comparisons to _13 Merging blocks 3 and 4 to [local count: 955630225]: d_10 = (short unsigned int) a.3_5; _9 = a.3_5 & 65535; _2 = d_10 != 0; _1 = _9 == 0; _13

[Bug tree-optimization/103356] bool0 == ~bool1 should simplify to bool1 ^ bool0

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Assignee|unassigned

[Bug tree-optimization/103356] New: bool0 == ~bool1 should simplify to bool1 ^ bool0

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103356 Bug ID: 103356 Summary: bool0 == ~bool1 should simplify to bool1 ^ bool0 Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhanceme

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #12 from Jonathan Wakely --- (In reply to Jakub Jelinek from comment #11) > So, do we want instead some pragma to temporarily do the > opposite of #pragma GCC system_header and another one to undo it? Something like PR 80472? That w

[Bug c++/103349] ICE in potential_constant_expression_1, at cp/constexpr.c:9104 (sorry, unimplemented: unexpected AST of kind omp_masked)

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

[Bug libstdc++/101227] Clang++ fails to instantiate std::optional if nested type has a non-static data member initializer

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

[Bug testsuite/103282] New test case gcc.dg/tree-ssa/modref-dse-5.c in r12-5292 fails

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103282 --- Comment #9 from Jan Hubicka --- So the problem is that dse is giving up on determining if partial stores was killed. This is completely unnecesary: one can kill partial store by a full store. diff --git a/gcc/tree-ssa-dse.c b/gcc/tree-ssa-

[Bug rtl-optimization/103350] [12 Regression] wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu since r12-2288-g8695bf78dad1a42636775843ca832a2f4dba4da3

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

[Bug rtl-optimization/103350] [12 Regression] wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu since r12-2288-g8695bf78dad1a42636775843ca832a2f4dba4da3

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

[Bug tree-optimization/95448] Missing optimization: pointer untag, re-tag should be no-op

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95448 --- Comment #2 from Andrew Pinski --- Simplified testcase: int f(int a) { if ((a&7) != 1) __builtin_unreachable(); a &= ~7; a |= 1; return a; }

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2 since r12-5301-g045206450386bcd7

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103351 --- Comment #5 from Richard Biener --- So the issue is that iterative_hash_expr of &__str._M_local_buf is not the same for -g vs. -g0 which results in different ordering of the vector of PHI arguments in sorted form. First there's missing order

[Bug tree-optimization/95230] Failure to optimize bit-scatter pattern to and 1

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

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #11 from Jakub Jelinek --- If it weren't for those *_MIN macros or NULL in C, we could have a hack that we ignore system headers flag from macro locus if a macro in system headers expands to a single token (e.g. in C++ NULL expands to

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #10 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #9) > GCC 5 warned, but we lost the warning with r230365 That was "Merge C++ delayed folding branch." > GCC 8 warned, but we lost the warning with r267272 And t

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #9 from Jonathan Wakely --- For the INT64_MIN case: # 1 "unused.C" int main() { # 5 "unused.C" 3 4 (-9223372036854775807L -1) # 5 "unused.C" ; } GCC 5 warned, but we lost the warning with r230365 For the INT64_MAX case:

[Bug c++/101180] [12 Regression] Rejected code since r12-299-ga0fdff3cf33f7284

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

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #8 from Jonathan Wakely --- This has regression repeatedly. GCC 5 warned about all the unused statements: unused.C: In function 'int main()': unused.C:5:12: warning: statement has no effect [-Wunused-value] INT64_MIN; // no warni

[Bug c++/103347] [9/10/11/12 Regression] Non-static data member initialization is erroneously allowed in C++03 with assignment to NULL

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.5

[Bug c++/77299] [9/10/11/12 Regression] No warning for unused "INT64_MAX" and similar constants due macro tracking from system headers

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 Andrew Pinski changed: What|Removed |Added Summary|No warning for unused |[9/10/11/12 Regression] No

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 Andrew Pinski changed: What|Removed |Added Resolution|DUPLICATE |--- Status|RESOLVED

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.0 See Also|

[Bug c++/101818] Error message for the wrong name in designated initializers could be improved

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101818 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/78989] Missing -Waddress warning due to -Wno-system-headers

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78989 Bug 78989 depends on bug 77513, which changed state. Bug 77513 Summary: -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 What|Removed |Added

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 Andrew Pinski changed: What|Removed |Added Known to work||9.1.0 Resolution|---

[Bug c++/101859] Misleading error message in designated initializers

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

[Bug c++/77299] No warning for unused "INT64_MAX" and similar constants

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 --- Comment #6 from Andrew Pinski --- Let's mark this as a dup of bug 77299. *** This bug has been marked as a duplicate of bug 77299 ***

[Bug c++/101818] Error message for the wrong name in designated initializers could be improved

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

[Bug c++/77299] No warning for unused "INT64_MAX" and similar constants

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 Andrew Pinski changed: What|Removed |Added Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug testsuite/103282] New test case gcc.dg/tree-ssa/modref-dse-5.c in r12-5292 fails

2021-11-22 Thread hubicka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103282 --- Comment #8 from Jan Hubicka --- OK, the difference seems to be that on x86_64 even with -m32 we vectorize kill_me: __attribute__((noinline)) void kill_me (struct a * a) { int * vectp.6; vector(2) int * vectp_a.5; [local count: 10737

[Bug c/57201] --save-temps shows correct warning about macro in system-header (Wsystem-header)

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57201 Andrew Pinski changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug c++/103347] Non-static data member initialization is erroneously allowed in C++03 mode

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103347 --- Comment #5 from Andrew Pinski --- Actually this is a dup of bug 57201. *** This bug has been marked as a duplicate of bug 57201 ***

[Bug c++/96868] C++20 designated initializer erroneous warnings

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96868 --- Comment #3 from Jonathan Wakely --- (In reply to Matt Godbolt from comment #2) > Thanks: I was confused (as I think will many folks be). Approximately everybody is confused by -Wmissing-field-initializers which is why people probably shouldn

[Bug c/57201] --save-temps shows correct warning about macro in system-header (Wsystem-header)

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57201 Andrew Pinski changed: What|Removed |Added CC||wipedout at yandex dot ru --- Comment #1

[Bug c++/77299] No warning for unused "INT64_MAX" and similar constants

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77299 --- Comment #4 from Andrew Pinski --- Actually a dup of bug 57201. *** This bug has been marked as a duplicate of bug 57201 ***

[Bug c++/88158] Document designated initializer support in C++

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

[Bug tree-optimization/93044] extra cast is not removed

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93044 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org

[Bug c++/77513] -Wzero-as-null-pointer-constant vs 0, nullptr, NULL and __null

2021-11-22 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77513 --- Comment #14 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #13) > An intereting case from PR 103347 where the pedwarn about the NSDMI is > suppressed because GCC thinks the initializer is in a system header: > > #include

[Bug rtl-optimization/103350] wrong code with -Os -fno-tree-ter on aarch64-unknown-linux-gnu

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103350 --- Comment #2 from Martin Liška --- I'm going to bisect that..

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2 since r12-5301-g045206450386bcd7

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

[Bug c++/103341] ICE type of variable instantiation constrained on template parameter

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

[Bug c++/103349] ICE in potential_constant_expression_1, at cp/constexpr.c:9104 (sorry, unimplemented: unexpected AST of kind omp_masked)

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103349 --- Comment #1 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:4b1e14346a08554dc33f71fca980578a7a3e38a2 commit r12-5446-g4b1e14346a08554dc33f71fca980578a7a3e38a2 Author: Jakub Jelinek Date: M

[Bug c++/103338] [9/10/11/12 Regression] ICE: in tsubst_pack_expansion with invalid template friend and packed expression

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

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

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

[Bug testsuite/103335] [12 Regression] new test case gcc.dg/tree-ssa/modref-dse-4.c fails

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103335 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Component

[Bug tree-optimization/103351] [12 Regression] '-fcompare-debug' failure (length) at -O2 since r12-5301-g045206450386bcd7

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

[Bug c++/103346] ICE on template specialization via alias template with a non-type parameter pack, and fold expression on lambda calls

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

[Bug tree-optimization/90437] Overflow detection too late for VRP

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90437 Andrew Pinski changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug preprocessor/103355] libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355 --- Comment #1 from Andrew Pinski --- The question becomes unknown attributes don't do anything right? If so the warning on an attribute like this seems over the top.

[Bug preprocessor/103355] New: libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions]

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103355 Bug ID: 103355 Summary: libcpp/lex.c:1289:9: warning: use of the 'likely' attribute is a C++20 extension [-Wc++20-extensions] Product: gcc Version: 12.0 Status: UNCONFIR

[Bug tree-optimization/98953] Failure to optimize two reads from adjacent addresses into one

2021-11-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98953 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

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

2021-11-22 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103171 --- Comment #2 from Martin Liška --- I have one more single file test-case (though one needs s390x cross compiler): $ s390x-linux-gnu-gcc /home/marxin/Programming/gcc/gcc/testsuite/gfortran.dg/class_result_7.f90 -fno-ipa-modref --param=max-inli

[Bug tree-optimization/103345] missed optimization: add/xor individual bytes to form a word

2021-11-22 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103345 Roger Sayle changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |roger at nextmovesoftware dot com

[Bug ipa/97783] [9/10/11/12 Regression] Optimizer assumes global static variable cannot be updated by external function, even though function is passed address of local functions

2021-11-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97783 Andrew Pinski changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug tree-optimization/100923] [9/10 Regression] wrong code at -O2 and above on x86_64-linux-gnu

2021-11-22 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100923 Bug 100923 depends on bug 103204, which changed state. Bug 103204 Summary: [11 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above) since r12-1295-g7a56d3d3e99cc77a https://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug tree-optimization/103204] [11 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above) since r12-1295-g7a56d3d3e99cc77a

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

[Bug middle-end/102970] [11 Regression] stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize since r11-2963-gd6a05b494b4b714e

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

[Bug tree-optimization/103237] [9/10/11 Regression] wrong code with -ftree-vectorize at -O1 on x86_64-linux-gnu starting with r7-1219-gb28ead45fe630b9e

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103237 --- Comment #9 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:fb1bc2c0865f2b15a219e11270b5c5fca565e169 commit r11-9261-gfb1bc2c0865f2b15a219e11270b5c5fca565e169 Author: Richard Biener

[Bug tree-optimization/103204] [11 Regression] ICE: in vn_reference_insert_pieces, at tree-ssa-sccvn.c:3842 (on -O2 and above) since r12-1295-g7a56d3d3e99cc77a

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103204 --- Comment #5 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:5571c2719269687ad518d5aadf248a7500f11f85 commit r11-9260-g5571c2719269687ad518d5aadf248a7500f11f85 Author: Richard Biener

[Bug middle-end/103248] [12 Regression] ICE in operation_could_trap_helper_p, at tree-eh.c:2479

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103248 --- Comment #14 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2f0c8f74daef93c0c7b33294213e7db6df58c4d1 commit r11-9259-g2f0c8f74daef93c0c7b33294213e7db6df58c4d1 Author: Richard Biene

[Bug tree-optimization/103181] [9/10/11 Regression] wrong code at -O1 due to conditional division by 0 being executed

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103181 --- Comment #7 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2f0c8f74daef93c0c7b33294213e7db6df58c4d1 commit r11-9259-g2f0c8f74daef93c0c7b33294213e7db6df58c4d1 Author: Richard Biener

[Bug middle-end/102970] [11 Regression] stable_sort uninitialized value with -funroll-loops -fno-tree-vectorize since r11-2963-gd6a05b494b4b714e

2021-11-22 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102970 --- Comment #8 from CVS Commits --- The releases/gcc-11 branch has been updated by Richard Biener : https://gcc.gnu.org/g:2936f551adec1d8f8c731d013e1b0d9d3f1e824a commit r11-9258-g2936f551adec1d8f8c731d013e1b0d9d3f1e824a Author: Richard Biener

<    1   2