[Bug tree-optimization/102382] Missing optimization for strlen after enable O2 vectorization

2021-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102382 Richard Biener changed: What|Removed |Added Last reconfirmed||2021-09-17 CC|

[Bug testsuite/84023] gcc.dg/ipa/inline-8.c fail with -fpic

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84023 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug rtl-optimization/100622] Conversion to smaller unsigned type in loop

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100622 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug middle-end/100951] vec_duplicate leads to worse code

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100951 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization Target Milestone|

[Bug libfortran/98301] random_init() is broken

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98301 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug middle-end/100905] [OpenMP] ICE in convert_nonlocal_omp_clauses, at tree-nested.c:1514 with 'omp loop' in Fortran internal procedure

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100905 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug d/100882] ICE in gimplify_var_or_parm_decl, at gimplify.c:2755

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

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #4 from Richard Biener --- Btw, it works with a cross from x86_64 to hppa64-hp-hpux11, but maybe I'm doing it wrong?

[Bug target/100333] arm: ICE (unrecognizable insn) with CMSE nonsecure call and -march=armv8.1-m.main

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100333 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug target/100841] xtensa-linux: dwarf2cfi.c:291:12: error: comparison of integer expressions of different signedness: 'const unsigned int' and 'int'

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100841 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug rtl-optimization/100264] REE does not work on PARALLEL expressions with a single register SET child

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100264 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/96674] Failure to optimize combination of comparisons to dec+compare

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96674 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug testsuite/100750] new test case gcc.target/powerpc/rop-5.c fails on BE

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100750 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug target/99725] arm: ICE in dwarf2out_frame_debug_adjust_cfa with -mcmse

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99725 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug other/100826] Add that "-fgcse-after-reload" is enabled at "-O3"

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100826 Andrew Pinski changed: What|Removed |Added Keywords||documentation Target Milestone|---

[Bug middle-end/100278] IBM Z: Segmentation fault when building valgrind with -march=z14

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100278 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug tree-optimization/98365] Miss vectoization for signed char ifcvt

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98365 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/54379] Suggestion for type attribute similar to warn_unused_result

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54379 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |7.0

[Bug fortran/96859] Wrong answer with intrinsic merge_bits

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96859 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug debug/102373] Segmentation fault in dwarf2out.c, line 32744

2021-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102373 --- Comment #3 from Richard Biener --- (In reply to dave.anglin from comment #2) > On 2021-09-16 1:38 p.m., jakub at gcc dot gnu.org wrote: > > This looks wrong, comp_unit_die () should have DW_AT_producer at this point. > > gen_compile_unit_die

[Bug c++/88601] We may consider adding __builtin_convertvector and __builtin_shufflevector for better compatibility with Clang

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88601 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug bootstrap/100730] h8300-linux: unused parameter, statement may fall through, control reaches end of non-void function

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100730 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug libgomp/100747] Possibly Wrong Permissions in "liboffloadmic"

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100747 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug fortran/100656] ICE in gfc_conv_expr_present, at fortran/trans-expr.c:1934

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100656 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.3

[Bug c/100803] ICE on gimple code: in gimple_cond_get_ops_from_tree, at gimple-expr.c:566

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100803 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug tree-optimization/99398] Miss to optimize vector permutation fed by CTOR and CTOR/CST

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99398 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c++/29823] attribute((sentinel)) warning does not trigger for member function template

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29823 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.0

[Bug target/99960] MVE: Wrong code storing V2DI vector

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99960 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.4

[Bug go/100537] [12 Regression] Bootstrap-O3 and bootstrap-debug fail on 32-bit ARM after gcc-12-657-ga076632e274a

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100537 Andrew Pinski changed: What|Removed |Added Summary|Bootstrap-O3 and|[12 Regression] |boot

[Bug target/102372] [12 regression] ICE in gfortran.dg/ISO_Fortran_binding_1.f90 after r12-3482

2021-09-16 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102372 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org Target Mi

[Bug sanitizer/100379] cyclades.h is removed from linux kernel header files

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100379 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |9.4

[Bug testsuite/100658] Typos in dg commands and texi files

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100658 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug c/24293] Undefined behaviour not diagnosed with -fsyntax-only

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24293 Andrew Pinski changed: What|Removed |Added CC||ktkachov at gcc dot gnu.org --- Comment

[Bug c/70749] error: storage size of ‘a’ isn’t known goes away with -Os

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70749 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Target Milestone|---

[Bug c/32122] indirect goto to an integer accepted

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32122 --- Comment #5 from Andrew Pinski --- Created attachment 51472 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51472&action=edit Patch which I am testing It passes all of gcc.dg/dg.exp I am doing a full bootstrap/test right now.

[Bug target/58889] GCC 4.9 fails to compile certain functions with intrinsics with __attribute__((target))

2021-09-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58889 --- Comment #3 from Hongtao.liu --- It seems to be fixed in GCC.4.9.0 https://godbolt.org/z/MbqPzeTEP

[Bug c/32122] indirect goto to an integer accepted

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

[Bug tree-optimization/102381] unexpected -Wmaybe-uninitialized with noreturn inside loop and conditional setting of variable

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102381 --- Comment #2 from Andrew Pinski --- The noreturn messes up the anlysis fully.

[Bug tree-optimization/102381] unexpected -Wmaybe-uninitialized

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

[Bug tree-optimization/102383] Missing optimization for PRE after enable O2 vectorization

2021-09-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102383 --- Comment #1 from Hongtao.liu --- Similar issue for gfortran.dg/pr77498.f?(not quite sure)

[Bug tree-optimization/102364] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-3136-g3673dcf6d6baeb67

2021-09-16 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102364 --- Comment #3 from Jiu Fu Guo --- We may be able to mark this as a duplicate of PR100740/PR102131.

[Bug tree-optimization/102364] [12 Regression] wrong code at -O1 and above on x86_64-linux-gnu since r12-3136-g3673dcf6d6baeb67

2021-09-16 Thread guojiufu at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102364 --- Comment #2 from Jiu Fu Guo --- This is also the case that two ivs are combined into inaccurate step: "{3,+,1} < {11,+,2}" was transformed to "{3,+,-1} < {11,+,0}". The new condition is not same with the original one.

[Bug tree-optimization/102384] New: Missing optimization for pcom after enable O2 vectorization

2021-09-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102384 Bug ID: 102384 Summary: Missing optimization for pcom after enable O2 vectorization Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimizatio

[Bug tree-optimization/102383] New: Missing optimization for PRE after enable O2 vectorization

2021-09-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102383 Bug ID: 102383 Summary: Missing optimization for PRE after enable O2 vectorization Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimization

[Bug tree-optimization/102382] New: Missing optimization for strlen after enable O2 vectorization

2021-09-16 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102382 Bug ID: 102382 Summary: Missing optimization for strlen after enable O2 vectorization Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: missed-optimizat

[Bug c/102381] New: unexpected -Wmaybe-uninitialized

2021-09-16 Thread hv at crypt dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102381 Bug ID: 102381 Summary: unexpected -Wmaybe-uninitialized Product: gcc Version: 7.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c As

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-09-16 Thread hewillk at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #4 from 康桓瑋 --- (In reply to CVS Commits from comment #3) > The master branch has been updated by Jonathan Wakely : > > https://gcc.gnu.org/g:734b2c2eedca50d966e22540fc136158c3633393 > > commit r12-3592-g734b2c2eedca50d966e22540fc1

[Bug middle-end/102200] [12 Regression] ice in put_ref, at pointer-query.cc:1351 since r12-3300-gece28da924ddda8b

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102200 Martin Sebor changed: What|Removed |Added Blocks||88443 Keywords|

[Bug c/86695] Calls to builtins do not use visibility information

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86695 Andrew Pinski changed: What|Removed |Added Depends on||67220 --- Comment #2 from Andrew Pinski

[Bug middle-end/102380] [meta-bug] visibility (fvisibility=* and attributes) issues

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102380 Bug 102380 depends on bug 91766, which changed state. Bug 91766 Summary: -fvisibility=hidden during -fpic still uses GOT indirection on arm64 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 What|Removed |Ad

[Bug target/91766] -fvisibility=hidden during -fpic still uses GOT indirection on arm64

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91766 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |10.0 Status|NEW

[Bug middle-end/102380] [meta-bug] visibility (fvisibility=* and attributes) issues

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

[Bug middle-end/102380] New: [meta-bug] visibility (fvisibility=* and attributes) issues

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102380 Bug ID: 102380 Summary: [meta-bug] visibility (fvisibility=* and attributes) issues Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: meta-bug

[Bug ipa/92497] Aggregate IPA-CP and inlining do not play well together, transformation is lost

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92497 Andrew Pinski changed: What|Removed |Added Depends on||94818 --- Comment #1 from Andrew Pinski

[Bug ipa/101941] [12 Regression] Linux kernel build failure due to retaining fnsplit fragment with __attribute__((__error__))

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101941 Andrew Pinski changed: What|Removed |Added CC||dac324 at yahoo dot de --- Comment #6 f

[Bug ipa/102361] Errors compiling Linux kernel 5.14.4 with CONFIG_FORTIFY=y

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

[Bug ipa/102361] Errors compiling Linux kernel 5.14.4 with CONFIG_FORTIFY=y

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102361 Andrew Pinski changed: What|Removed |Added Depends on||94818, 101941 Blocks|94818

[Bug ipa/102361] Errors compiling Linux kernel 5.14.4 with CONFIG_FORTIFY=y

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102361 Andrew Pinski changed: What|Removed |Added Blocks||94818 --- Comment #10 from Andrew Pinsk

[Bug middle-end/102361] Errors compiling Linux kernel 5.14.4 with CONFIG_FORTIFY=y

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

[Bug middle-end/102361] Errors compiling Linux kernel 5.14.4 with CONFIG_FORTIFY=y

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102361 --- Comment #9 from Andrew Pinski --- [local count: 329188777]: uncharge_batch (ug_26(D)); p_size_95 = __builtin_object_size (ug_26(D), 0); if (p_size_95 <= 39) goto ; [0.00%] else goto ; [100.00%] [local count: 329188777]

[Bug tree-optimization/102238] alias_offset in gimple-ssa-sprintf.c is broken

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102238 Martin Sebor changed: What|Removed |Added Blocks|102216 | --- Comment #8 from Martin Sebor --- (

[Bug fortran/102366] [10/11/12 Regression] large arrays no longer become static

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 Andrew Pinski changed: What|Removed |Added Summary|[10/11/12 Regression] |[10/11/12 Regression] large

[Bug bootstrap/102242] [12 regression] analyzer/engine.cc built with clang: /usr/include/c++/v1/typeinfo:346:5: error: no member named 'fancy_abort'

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102242 --- Comment #5 from CVS Commits --- The master branch has been updated by Gerald Pfeifer : https://gcc.gnu.org/g:745781d24cd7562202687cfbe05597ee673d4537 commit r12-3598-g745781d24cd7562202687cfbe05597ee673d4537 Author: Maxim Blinov Date: F

[Bug libstdc++/102377] FAIL: 29_atomics/atomic_flag/cons/56012.cc with -std=gnu++20

2021-09-16 Thread rodgertq at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102377 --- Comment #2 from Thomas Rodgers --- (In reply to Jonathan Wakely from comment #1) > The reason we don't see it in every test is that this one uses: > > // { dg-options "-Wsystem-headers -Wnarrowing" } > > But I think the warning is pointing

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/102354] std::advance overloaded for path::iterator will never be called

2021-09-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102354 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |9.5 --- Comment #2 from Jonathan Wake

[Bug libstdc++/102280] span's range deduction guide is missing ranges::contiguous_range constraint

2021-09-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102280 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.4

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-09-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |10.4

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 --- Comment #3 from Martin Sebor --- With the correct explicit instantiation directive things look much better: $ cat pr102378.C && gcc -S -Wall pr102378.C int f () { int a[2]; return &a == 0; // -Waddress (good) } template int g ()

[Bug libstdc++/102270] std::tuple<>::swap missing constexpr specifier

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102270 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:734b2c2eedca50d966e22540fc136158c3633393 commit r12-3592-g734b2c2eedca50d966e22540fc136158c3633393 Author: Jonathan Wakely Date:

[Bug libstdc++/102280] span's range deduction guide is missing ranges::contiguous_range constraint

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102280 --- Comment #3 from CVS Commits --- The master branch has been updated by Jonathan Wakely : https://gcc.gnu.org/g:e67917f5df9d84f5aed3513b3931a82870d25135 commit r12-3591-ge67917f5df9d84f5aed3513b3931a82870d25135 Author: Jonathan Wakely Date:

[Bug c++/95975] -Wstrict-aliasing=1 false negative for std::pair member at -O2

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95975 W E Brown changed: What|Removed |Added CC||webrown.cpp at gmail dot com Andrew Pinski

[Bug target/101761] Random hang with 29_atomics/atomic_ref/wait_notify.cc

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101761 --- Comment #13 from CVS Commits --- The master branch has been updated by Thomas Rodgers : https://gcc.gnu.org/g:f9f1a6efaaeeec06d5c07378734cb8eb47b976a7 commit r12-3587-gf9f1a6efaaeeec06d5c07378734cb8eb47b976a7 Author: Thomas Rodgers Date:

[Bug c++/78244] Narrowing conversion is accepted in a function template, but it should be rejected

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78244 Andrew Pinski changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #1

[Bug c++/102379] missing -Wnarrowing even in instantiated template

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

[Bug c++/55783] Warnings instead of compiler errors for narrowing conversions within list-initializations

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55783 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment #

[Bug c++/96452] Narrowing conversion is not rejected

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96452 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #8 from Andrew Pin

[Bug c++/102379] missing -Wnarrowing even in instantiated template

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102379 Andrew Pinski changed: What|Removed |Added Keywords||diagnostic --- Comment #1 from Andrew P

[Bug c++/102379] New: missing -Wnarrowing even in instantiated template

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102379 Bug ID: 102379 Summary: missing -Wnarrowing even in instantiated template Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug c++/102378] missing -Waddress in template code at definition time rather than instantiation

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Andrew Pinski changed: What|Removed |Added Summary|missing -Waddress in|missing -Waddress in

[Bug c++/102378] missing -Waddress in template code

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 --- Comment #1 from Andrew Pinski --- GCC warns only at instantiation time.

[Bug c++/102378] New: missing -Waddress in template code

2021-09-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102378 Bug ID: 102378 Summary: missing -Waddress in template code Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

2021-09-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #9 from anlauf at gcc dot gnu.org --- (In reply to anlauf from comment #8) > Potential fix for comment#0: I'm getting many regressions for this change. Investigating.

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

2021-09-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #8 from anlauf at gcc dot gnu.org --- Potential fix for comment#0: diff --git a/gcc/fortran/trans-decl.c b/gcc/fortran/trans-decl.c index bed61e2325d..54309646aad 100644 --- a/gcc/fortran/trans-decl.c +++ b/gcc/fortran/trans-decl.c @

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

2021-09-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #7 from anlauf at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #6) > Seems it changed with r12-3129-gf95946afd160e2a1f4beac4ee5e6d5633307f39a Looking at the tree dump, it appears that there is a latent issue. void MA

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

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

[Bug libstdc++/102377] FAIL: 29_atomics/atomic_flag/cons/56012.cc with -std=gnu++20

2021-09-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102377 --- Comment #1 from Jonathan Wakely --- The reason we don't see it in every test is that this one uses: // { dg-options "-Wsystem-headers -Wnarrowing" } But I think the warning is pointing out a real issue. Since the interference sizes vary wi

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

2021-09-16 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #5 from Iain Sandoe --- (In reply to Jakub Jelinek from comment #4) > And you are trying to use 65532 kbytes long array on the stack, leaving no > stack space for anything else. Clearly user error. out of curiosity, why did this wo

[Bug libstdc++/102377] New: FAIL: 29_atomics/atomic_flag/cons/56012.cc with -std=gnu++20

2021-09-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102377 Bug ID: 102377 Summary: FAIL: 29_atomics/atomic_flag/cons/56012.cc with -std=gnu++20 Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

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

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

2021-09-16 Thread dominiq at lps dot ens.fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #3 from Dominique d'Humieres --- > What is your stack size? 65532 kbytes > Does it help if you declare a SAVEd? The illegal instruction is gone.

[Bug target/101761] Random hang with 29_atomics/atomic_ref/wait_notify.cc

2021-09-16 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101761 --- Comment #12 from Jonathan Wakely --- (In reply to Thomas Rodgers from comment #11) > Yes. I will submit a patch for this test shortly. The a.wait(aa) to a.wait(va) change is pre-approved, please just push when it's ready.

[Bug c++/98486] Variable template specialization doesn't account for primary's constraints

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98486 --- Comment #1 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:2e2e65a46d2674bed53afd211493876ee2b79453 commit r12-3585-g2e2e65a46d2674bed53afd211493876ee2b79453 Author: Patrick Palka Date: Th

[Bug fortran/102366] [10/11/12 Regression] Illegal instruction with large arrays

2021-09-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102366 --- Comment #2 from anlauf at gcc dot gnu.org --- What is your stack size? Does it help if you declare a SAVEd?

[Bug fortran/102369] VALUE attribute for arrays not allowed

2021-09-16 Thread anlauf at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102369 anlauf at gcc dot gnu.org changed: What|Removed |Added Keywords||rejects-valid St

[Bug c++/102367] types can be defined in lambdas in unevaluated expression (decltype/sizeof) in C++20

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102367 Andrew Pinski changed: What|Removed |Added Summary|Types may be defined in |types can be defined in

[Bug fortran/101327] ICE in find_array_element, at fortran/expr.c:1355

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101327 --- Comment #8 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:5595cc9eb709c4aef1c7bbbfc6b106cf6d5bee91 commit r10-10132-g5595cc9eb709c4aef1c7bbbfc6b106cf6d5bee91 Author: Harald Anlauf

[Bug fortran/98490] Unexpected out of bounds in array constructor with implied do loop

2021-09-16 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98490 --- Comment #14 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:c38626f7a66dea400e54f671bfe32dc46e11ad44 commit r10-10131-gc38626f7a66dea400e54f671bfe32dc46e11ad44 Author: Harald Anlauf

[Bug target/102376] New: [aarch64] using target("sve") attribute without a + is not very helpful on what is wrong

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102376 Bug ID: 102376 Summary: [aarch64] using target("sve") attribute without a + is not very helpful on what is wrong Product: gcc Version: 12.0 Status: UNCONFIRMED

[Bug target/102375] New: (aarch64) Should allow space in target attribute

2021-09-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102375 Bug ID: 102375 Summary: (aarch64) Should allow space in target attribute Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

  1   2   >