[Bug c++/84695] Missed opportunity to issue warning about override [-Winconsistent-missing-override]

2022-02-04 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84695 Eric Gallager changed: What|Removed |Added Summary|Missed opportunity to issue |Missed opportunity to issue

[Bug target/104371] [x86] Failure to use optimize pxor+pcmpeqb+pmovmskb+cmp 0xFFFF pattern to ptest

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104371 --- Comment #1 from Richard Biener --- [local count: 1073741824]: _2 = VIEW_CONVERT_EXPR<__v16qi>(x_3(D)); _6 = _2 == { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; _7 = VIEW_CONVERT_EXPR(_6); _4 = __builtin_ia32_pmovmskb128 (_7)

[Bug c/103920] No warning for large structs passed by value ?

2022-02-04 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103920 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/104092] [12 Regression] Invalid -Wdangling-pointer warning after writes by calls

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104092 --- Comment #4 from CVS Commits --- The trunk branch has been updated by Richard Sandiford : https://gcc.gnu.org/g:5b6370295d1efaa563f6d8c45f1fb779c3db452e commit r12-7045-g5b6370295d1efaa563f6d8c45f1fb779c3db452e Author: Richard Sandiford Da

[Bug c++/104365] Overload ambiguity not detected

2022-02-04 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Commen

[Bug tree-optimization/104373] [12 regression] bogus -Wmaybe-uninitialized warning with array new

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104373 --- Comment #2 from Richard Biener --- When not optimizing we intentionally warn about only conditionally executed cases early - and not optimizing means we do not detect trivially unreachable paths like this. I don't know whether we have good

[Bug c++/104365] Overload ambiguity not detected

2022-02-04 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 --- Comment #11 from Andris Pavenis --- OK. New version: 20220203-1.cpp: In function 'int main()': 20220203-1.cpp:19:24: warning: suspicious use of overloaded 'Test(const char [4], const char[4])' 21 | Test test("foo", "bar"); |

[Bug c/82283] Wrong warning with -Wmissing-field-initializers

2022-02-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82283 rsandifo at gcc dot gnu.org changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org

[Bug tree-optimization/104373] [12 regression] bogus -Wmaybe-uninitialized warning with array new

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

[Bug tree-optimization/104378] (N - x) ^ N should be optimized to x if x <= N (unsigned) and N is a pow2 - 1

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104378 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug rtl-optimization/101885] [10/11/12 Regression] wrong code at -O3 on x86_64-linux-gnu

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101885 --- Comment #13 from CVS Commits --- The master branch has been updated by Roger Sayle : https://gcc.gnu.org/g:49365d511ac9b64009b1de11ef8a941f59407f67 commit r12-7046-g49365d511ac9b64009b1de11ef8a941f59407f67 Author: Roger Sayle Date: Fri

[Bug debug/104366] [12 Regression] Regression: infinite loop in add_sibling_attributes

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104366 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/104356] [12 Regression] divide by zero trap incorrectly optimized away

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 Eric Botcazou changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #27 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:876e70d4681332a600492173af0c7259e5a438c6 commit r12-7047-g876e70d4681332a600492173af0c7259e5a438c6 Author: Richard Biener Date:

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #28 from Richard Biener --- I'm not removing the regression marker yet - can ARM folks please update the trunk numbers with a fully built compiler (w/o checking)?

[Bug libstdc++/102994] std::atomic::wait is not marked const

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102994 Jonathan Wakely changed: What|Removed |Added Status|RESOLVED|SUSPENDED Resolution|FIXED

[Bug c++/12341] Request for additional warning for variable shadowing

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=12341 --- Comment #6 from Jonathan Wakely --- This inheritance case is "name hiding" and we have other requests for warnings about it. I think it should be distinct from -Wshadow.

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #9 from Richard Earnshaw --- I've seen things like this with other structures passed as parameters. Part of the problem here is that the gimple expansion does not see the argument unpacking or understand how the parameters are passed

[Bug middle-end/104132] OpenACC 'kernels' decomposition: internal compiler error: verify_gimple failed, error: non-register as LHS of binary operation

2022-02-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104132 Thomas Schwinge changed: What|Removed |Added CC||jakub at gcc dot gnu.org

[Bug middle-end/103641] [11/12 regression] Severe compile time regression in SLP vectorize step

2022-02-04 Thread tnfchris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103641 --- Comment #29 from Tamar Christina --- (In reply to Richard Biener from comment #28) > I'm not removing the regression marker yet - can ARM folks please update the > trunk numbers with a fully built compiler (w/o checking)? Sure, I'll come ba

[Bug c++/56556] Wshadow warns for private members in base classes

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

[Bug tree-optimization/104356] [12 Regression] divide by zero trap incorrectly optimized away

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #43 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:bd14cdceb9c6f4800e25a9fbca635a1d4c06fd32 commit r12-7048-gbd14cdceb9c6f4800e25a9fbca635a1d4c06fd32 Author: Eric Botcazou Date:

[Bug debug/104366] [12 Regression] Regression: infinite loop in add_sibling_attributes

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104366 --- Comment #5 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:38948b77dbc16f4c6cf6cff8661bab699b306f03 commit r12-7049-g38948b77dbc16f4c6cf6cff8661bab699b306f03 Author: Eric Botcazou Date: F

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #10 from Andrew Pinski --- (In reply to Richard Earnshaw from comment #9) > Part of the problem here is that the gimple expansion does not see the > argument unpacking or understand how the parameters are passed; so this is > only exp

[Bug c++/104379] New: [p/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 Bug ID: 104379 Summary: [p/10/11/12 Regression] -Wshadow warning given three times Product: gcc Version: 11.2.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 Jonathan Wakely changed: What|Removed |Added Known to work||8.4.0 Last reconfirmed|

[Bug c++/78147] The -Wshadow warning is too aggressive with constructor parameters

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78147 --- Comment #6 from Jonathan Wakely --- (In reply to Tillmann Karras from comment #5) > This warning is useful, but as was pointed out in comment #2, it currently > triggers three times for each parameter. That's a separate issue, now reported a

[Bug tree-optimization/104356] [12 Regression] divide by zero trap incorrectly optimized away

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug debug/104366] [12 Regression] Regression: infinite loop in add_sibling_attributes

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104366 Eric Botcazou changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 Jonathan Wakely changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Commen

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #11 from Richard Biener --- (In reply to Andrew Pinski from comment #10) > (In reply to Richard Earnshaw from comment #9) > > Part of the problem here is that the gimple expansion does not see the > > argument unpacking or understand

[Bug target/104380] New: -D_FORTIFY_SOURCE -mabi=ieeelongdouble -std=c* wrong-code

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104380 Bug ID: 104380 Summary: -D_FORTIFY_SOURCE -mabi=ieeelongdouble -std=c* wrong-code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Pri

[Bug target/104380] -D_FORTIFY_SOURCE -mabi=ieeelongdouble -std=c* wrong-code

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104380 Jakub Jelinek changed: What|Removed |Added Target Milestone|--- |12.0 CC|

[Bug target/104380] -D_FORTIFY_SOURCE -mabi=ieeelongdouble -std=c* wrong-code

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104380 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug fortran/102330] [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 since r12-980-g29a2f51806c

2022-02-04 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330 Thomas Schwinge changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Commen

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 Richard Biener changed: What|Removed |Added Target Milestone|--- |9.5

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 --- Comment #2 from Richard Biener --- I suspect we warn once for each CTOR clone, whilst with checking DECL_FROM_INLINE we excluded all but the master clone. "from inline" is of course misleading here. I suppose the same issue might happen wi

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #13 from rguenther at suse dot de --- On Fri, 4 Feb 2022, ebotcazou at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 > > Eric Botcazou changed: > >What|Removed |Add

[Bug fortran/102330] [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 since r12-980-g29a2f51806c

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330 --- Comment #9 from Jakub Jelinek --- If you need to mark some var as addressable during omp lowering, then you need to treat it similarly to the task shared case, so during scan phase of that pass do something like: /* Taking addr

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 --- Comment #3 from Jonathan Wakely --- (In reply to Richard Biener from comment #2) > I suppose the same issue might happen with templates where we'd warn > once per instantiation? Yes indeed. Once for the primary template, and then again for

[Bug fortran/102330] [12 Regression] ICE in expand_gimple_stmt_1, at cfgexpand.c:3932 since r12-980-g29a2f51806c

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102330 --- Comment #10 from Jakub Jelinek --- Of course exceptions would be vars that certainly don't appear in the IL yet, what I wrote about are vars that may appear there already. Generally, vars should be marked as addressable before gimplification

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 --- Comment #4 from Jonathan Wakely --- So you can imagine what happens if you combine constructor clones with templates! :-D template struct S { int i; S(int i) { (void) i; } }; S i(1); S j(1); whe! shad2.C: In constructor ‘S::S

[Bug ipa/104377] Unreachable code in create_specialized_node of ipa-prop.c?

2022-02-04 Thread fxue at os dot amperecomputing.com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104377 --- Comment #1 from Feng Xue --- (In reply to Feng Xue from comment #0) > For function create_specialized_node(), the "node" to operated on seems > always to be an original cgraph node, never a clone node. From call graph > related to the functi

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #14 from Eric Botcazou --- > But no, I don't remember any case from SPEC where it makes a difference > in the end. Judging from the amount of duplicates we get around > parameter / return issues people do run into this. Yes, but I'd

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #15 from Richard Earnshaw --- Even if the performance impact is low, it does matter when optimizing for size.

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #16 from Richard Earnshaw --- And there are also cases where we end up with dead stack slots which can't be removed, so there's a stack size impact as well.

[Bug middle-end/104381] New: [12 Regression] -gtoggle no longer applied when using optimize attribute

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104381 Bug ID: 104381 Summary: [12 Regression] -gtoggle no longer applied when using optimize attribute Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: norma

[Bug middle-end/104381] [12 Regression] -gtoggle no longer applied when using optimize attribute

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104381 Richard Biener changed: What|Removed |Added Target Milestone|--- |12.0 CC|

[Bug middle-end/104381] [12 Regression] -gtoggle no longer applied when using optimize attribute

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104381 --- Comment #1 from Richard Biener --- Err, it's worse(?) > ./xgcc -B. t.c -O2 -fdump-tree-optimized -c ;; Function foo (foo, funcdef_no=0, decl_uid=1979, cgraph_uid=1, symbol_order=0) int foo (int x) { [local count: 1073741824]: return

[Bug fortran/104382] New: Finalization of parent components not compliant with standard

2022-02-04 Thread pault at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104382 Bug ID: 104382 Summary: Finalization of parent components not compliant with standard Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #17 from Eric Botcazou --- > Even if the performance impact is low, it does matter when optimizing for > size. Worth addressing for sure, but IMO not at expense of exposing calling conventions and other low-level stuff in GIMPLE.

[Bug middle-end/104381] [12 Regression] -gtoggle no longer applied when using optimize attribute since r12-4608-gb4702276615ff8d4

2022-02-04 Thread marxin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104381 Martin Liška changed: What|Removed |Added Last reconfirmed||2022-02-04 Assignee|unassigned

[Bug rtl-optimization/103006] [9/10/11/12 Regression] wrong code at -O1 or -O2 on x86_64-linux-gnu by r7-7101

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103006 --- Comment #14 from Richard Biener --- There's an interesting case, a = BIRTH loop: b = DEATH a = DEATH b = BIRTH goto loop; where we end up having both a and b in the live-in set at the loop label but a is removed before we see the

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread rguenther at suse dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 --- Comment #5 from rguenther at suse dot de --- On Fri, 4 Feb 2022, redi at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 > > --- Comment #4 from Jonathan Wakely --- > So you can imagine what happens if you com

[Bug c++/104379] [9/10/11/12 Regression] -Wshadow warning given three times

2022-02-04 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104379 --- Comment #6 from Richard Biener --- Oh, btw - we'd also warn N times for an uninitialized variable use for example unless the location-based diagnostic suppression gets this right now - tree or GIMPLE no-warning flags definitely don't.

[Bug tree-optimization/100499] [9/10/11/12 Regression] Different results with -fpeel-loops -ftree-loop-vectorize options

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499 --- Comment #40 from CVS Commits --- The master branch has been updated by Richard Biener : https://gcc.gnu.org/g:0898049ad9bf6c46e510b18aaafca4946802749f commit r12-7052-g0898049ad9bf6c46e510b18aaafca4946802749f Author: Richard Biener Date:

[Bug tree-optimization/100499] [9/10/11 Regression] Different results with -fpeel-loops -ftree-loop-vectorize options

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

[Bug tree-optimization/104356] [12 Regression] divide by zero trap incorrectly optimized away

2022-02-04 Thread amacleod at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #45 from Andrew Macleod --- > > That said, range-ops, from say > > [0,1] = [0,2] / y; > > may _not_ reason that 'y' is not 0 when non-call EH. That is, you need to be > careful on the reverse ops but I think not on the forward

[Bug c++/104383] New: User-defined conversion is preferred over standard-one

2022-02-04 Thread fchelnokov at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104383 Bug ID: 104383 Summary: User-defined conversion is preferred over standard-one Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug c++/104383] User-defined conversion is preferred over standard-one

2022-02-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104383 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/99273] List initialization prefers initializer_list a little too strongly

2022-02-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99273 Patrick Palka changed: What|Removed |Added CC||fchelnokov at gmail dot com --- Comment

[Bug middle-end/103642] [12 Regression] ICE in lower_omp_target: omp-low.c:12977 (fold_convert_loc) for omp target map(from: t.s->a[:N]) since r12-5835-g0ab29cf0bb68960c

2022-02-04 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103642 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug c++/80951] Deducing noexcept only works when also deducing something else

2022-02-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80951 Patrick Palka changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |ppalka at gcc dot gnu.org

[Bug c++/69778] Bogus "qualifiers cannot be applied" error with redundant (but legal) 'typename'

2022-02-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69778 Patrick Palka changed: What|Removed |Added CC||ppalka at gcc dot gnu.org St

[Bug c++/101783] unnecessary error when top level cv qualifier is dropped

2022-02-04 Thread ppalka at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101783 Patrick Palka changed: What|Removed |Added CC||rs2740 at gmail dot com --- Comment #12

[Bug c++/90816] -finstrument-functions-exclude-function-list improperly handles namespace/class definitions

2022-02-04 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90816 Thomas De Schampheleire changed: What|Removed |Added CC||patrickdepinguin at gmail dot

[Bug c++/90809] -finstrument-functions-exclude-function-list mishandles comma escaping

2022-02-04 Thread patrickdepinguin at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90809 Thomas De Schampheleire changed: What|Removed |Added CC||patrickdepinguin at gmail dot

[Bug c++/104384] New: Heap corruption when initializing struct with co_await

2022-02-04 Thread max at duempel dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104384 Bug ID: 104384 Summary: Heap corruption when initializing struct with co_await Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug target/50883] [ARM] Suboptimal optimization for small structures

2022-02-04 Thread sebastian.huber--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50883 --- Comment #18 from Sebastian Huber --- clang 11 produces this code for the attached test case: clang -O2 -S -o - pr50883.c -target arm clang-11.0: warning: unknown platform, assuming -mfloat-abi=soft clang-11.0: warning: unknown platform, ass

[Bug tree-optimization/104356] [12 Regression] divide by zero trap incorrectly optimized away

2022-02-04 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #46 from Eric Botcazou --- > I meant something like: > with System.Unsigned_Types; use System.Unsigned_Types; > > function F (X, Y : Unsigned) return Unsigned is > Z : Unsigned; > begin > if X >=2 then > return 0; > end if

[Bug libgomp/104385] New: Segmentation fault when using nested dependent tasks

2022-02-04 Thread wacrenier at labri dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104385 Bug ID: 104385 Summary: Segmentation fault when using nested dependent tasks Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Comp

[Bug analyzer/101081] analyzer testsuite failures seen with new glibc due to malloc attribute

2022-02-04 Thread joel at teichroeb dot net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101081 Joel Teichroeb changed: What|Removed |Added CC||joel at teichroeb dot net --- Comment

[Bug tree-optimization/104356] [12 Regression] divide by zero trap incorrectly optimized away

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104356 --- Comment #47 from CVS Commits --- The master branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:1f722e35ab3805de6eeace770508a9085944e93e commit r12-7058-g1f722e35ab3805de6eeace770508a9085944e93e Author: Eric Botcazou Date:

[Bug target/100808] PPC: ISA 3.1 builtin documentation

2022-02-04 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100808 Bill Schmidt changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug target/104380] -D_FORTIFY_SOURCE -mabi=ieeelongdouble -std=c* wrong-code

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104380 --- Comment #3 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:8d6fffc4bcd4afa0beb0efad4f3b95394aa15618 commit r12-7059-g8d6fffc4bcd4afa0beb0efad4f3b95394aa15618 Author: Jakub Jelinek Date: F

[Bug target/104380] -D_FORTIFY_SOURCE -mabi=ieeelongdouble -std=c* wrong-code

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

[Bug c++/104386] New: no_unique_address causes invalid member alignment of pod struct

2022-02-04 Thread gcc at ebasoft dot com.pl via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104386 Bug ID: 104386 Summary: no_unique_address causes invalid member alignment of pod struct Product: gcc Version: 11.2.1 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/104387] New: aarch64: Redundant SXTH for “bag of bits” moves

2022-02-04 Thread rsandifo at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104387 Bug ID: 104387 Summary: aarch64: Redundant SXTH for “bag of bits” moves Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancemen

[Bug fortran/103828] Type generated for CHARACTER(C_CHAR), VALUE arguments is wrong

2022-02-04 Thread fxcoudert at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103828 --- Comment #8 from Francois-Xavier Coudert --- I'm not sure if it really counts as an ABI change, given that I know no existing target where this resulted in an actual change in the argument passing convention. (i.e., where that test actually f

[Bug c++/104388] New: Request: A builtin to mark an object as invalid

2022-02-04 Thread Darrell.Wright at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104388 Bug ID: 104388 Summary: Request: A builtin to mark an object as invalid Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2022-02-04 Thread pc at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 pc at gcc dot gnu.org changed: What|Removed |Added CC||pc at gcc dot gnu.org --- Commen

[Bug c/104389] New: HUGE_VAL * 0.0 is no longer a NaN

2022-02-04 Thread vstinner at redhat dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 Bug ID: 104389 Summary: HUGE_VAL * 0.0 is no longer a NaN Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug c/104389] [10/11/12 Regression] HUGE_VAL * 0.0 is no longer a NaN

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Prio

[Bug fortran/104311] [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104311 --- Comment #10 from CVS Commits --- The releases/gcc-11 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:7a0fab4bddce549380b2713a910127332a091e19 commit r11-9539-g7a0fab4bddce549380b2713a910127332a091e19 Author: Harald Anlauf

[Bug fortran/104311] [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104311 --- Comment #11 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:837ad03ad4a95629a0d17108f5258568bebbf13f commit r10-10437-g837ad03ad4a95629a0d17108f5258568bebbf13f Author: Harald Anlauf

[Bug c/104389] [10/11/12 Regression] HUGE_VAL * 0.0 is no longer a NaN

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 Jakub Jelinek changed: What|Removed |Added Last reconfirmed||2022-02-04 Status|UNCONFIRM

[Bug fortran/104311] [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104311 --- Comment #12 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:2953e3d1b9b36b441f5a33d696760ed56742ee1e commit r9-9939-g2953e3d1b9b36b441f5a33d696760ed56742ee1e Author: Harald Anlauf D

[Bug target/104371] [x86] Failure to use optimize pxor+pcmpeqb+pmovmskb+cmp 0xFFFF pattern to ptest

2022-02-04 Thread gabravier at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104371 --- Comment #2 from Gabriel Ravier --- Although I agree the pattern doesn't seem that useful at first, I've seen it crop up in several places, such as: - in pixman: https://github.com/servo/pixman/blob/master/pixman/pixman-sse2.c on line 181 -

[Bug fortran/104311] [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce

2022-02-04 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104311 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|

[Bug c/104389] [10/11/12 Regression] HUGE_VAL * 0.0 is no longer a NaN

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 --- Comment #3 from Jakub Jelinek --- Changing it to double foo (void) { double a = __builtin_huge_val (); return a * 0.0; } shows ccp1 applies /* Maybe fold x * 0 to 0. The expressions aren't the same when x is NaN, since x * 0 is also

[Bug c/104389] [10/11/12 Regression] HUGE_VAL * 0.0 is no longer a NaN

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 --- Comment #4 from Jakub Jelinek --- Ah, of course it isn't NAN, it is infinity, but +-Inf * 0 is still NAN.

[Bug c++/104390] New: Tree check ICE for valid code

2022-02-04 Thread colavitam at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104390 Bug ID: 104390 Summary: Tree check ICE for valid code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assi

[Bug target/100808] PPC: ISA 3.1 builtin documentation

2022-02-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100808 --- Comment #5 from CVS Commits --- The master branch has been updated by William Schmidt : https://gcc.gnu.org/g:8cb748a31cd8c7ac9c88b6abc38ce077dd462a7a commit r12-7060-g8cb748a31cd8c7ac9c88b6abc38ce077dd462a7a Author: Bill Schmidt Date:

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2022-02-04 Thread dan at danny dot cz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 --- Comment #28 from Dan Horák --- comment #27 matches our experience in Fedora, still a build issue in Eigen with gcc12 and LTO

[Bug target/100808] PPC: ISA 3.1 builtin documentation

2022-02-04 Thread wschmidt at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100808 Bill Schmidt changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug tree-optimization/104389] [10/11/12 Regression] HUGE_VAL * 0.0 is no longer a NaN

2022-02-04 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104389 Jakub Jelinek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jakub at gcc dot gnu.org

[Bug ipa/102059] Incorrect always_inline diagnostic in LTO mode with #pragma GCC target("cpu=power10")

2022-02-04 Thread bergner at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059 Peter Bergner changed: What|Removed |Added Known to fail||12.0 Known to work|12.0

[Bug fortran/104391] New: Gfortran 9 regression with bind(C) and allocatable or pointer attribute

2022-02-04 Thread michael at scivision dot dev via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104391 Bug ID: 104391 Summary: Gfortran 9 regression with bind(C) and allocatable or pointer attribute Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: norma

[Bug c++/104392] New: Unexpected Narrowing Warning when spaceship comparison of unsigned bit field

2022-02-04 Thread bieri.hp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104392 Bug ID: 104392 Summary: Unexpected Narrowing Warning when spaceship comparison of unsigned bit field Product: gcc Version: 11.2.0 Status: UNCONFIRMED Severity:

  1   2   >