[Bug c++/92365] [10 Regression] ice unexpected expression ‘int16_t()’ of kind cast_expr

2019-11-22 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92365 Bernd Edlinger changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/92365] [10 Regression] ice unexpected expression ‘int16_t()’ of kind cast_expr

2019-11-22 Thread edlinger at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92365 --- Comment #8 from Bernd Edlinger --- Author: edlinger Date: Sat Nov 23 06:33:59 2019 New Revision: 278639 URL: https://gcc.gnu.org/viewcvs?rev=278639&root=gcc&view=rev Log: PR c++/92365 2019-11-22 Bernd Edlinger PR c++/92365

[Bug rtl-optimization/92637] New: runtime issue with -ftree-coalesce-vars

2019-11-22 Thread dongjianqiang2 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92637 Bug ID: 92637 Summary: runtime issue with -ftree-coalesce-vars Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optim

[Bug c/39589] make -Wmissing-field-initializers=2 work with "designated initializers" ?

2019-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39589 Eric Gallager changed: What|Removed |Added Keywords||documentation CC|

[Bug other/92631] Warnings partly caused by system headers are broken

2019-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92631 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug tree-optimization/79716] memset followed by overwrite not eliminated

2019-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79716 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/61339] add mismatch between struct and class [-Wmismatched-tags] to non-bugs

2019-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61339 --- Comment #14 from Eric Gallager --- (In reply to Martin Sebor from comment #13) > Author: msebor > Date: Tue Jul 9 18:32:49 2019 > New Revision: 273311 > > URL: https://gcc.gnu.org/viewcvs?rev=273311&root=gcc&view=rev > Log: > PR c++/61339 -

[Bug target/90724] ICE with __sync_bool_compare_and_swap with -march=armv8.2-a+sve

2019-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90724 Eric Gallager changed: What|Removed |Added Target Milestone|--- |9.4 --- Comment #4 from Eric Gallager -

[Bug c++/85861] g++ -Wconversion misses int to size_t

2019-11-22 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85861 --- Comment #12 from Eric Gallager --- (In reply to Martin Sebor from comment #10) > He's at Microsoft and no longer involved in GCC development. He came to Cauldron this year though...

[Bug c++/92636] New: out-of-class definition of member template of specialization

2019-11-22 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92636 Bug ID: 92636 Summary: out-of-class definition of member template of specialization Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Pr

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #10 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > I Know there has been discussion about &a->f not being a NULL pointer even > but I cannot find it right now. Finally found it: PR30368 comment #3: The C standar

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #9 from Andrew Pinski --- https://gcc.gnu.org/ml/gcc-patches/2005-05/msg00076.html

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #8 from Andrew Pinski --- (In reply to Alan Modra from comment #7) > Here's another example, a typical offsetof. > > #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER) That can never be a correct offsetof as that

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #7 from Alan Modra --- Here's another example, a typical offsetof. #define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 Jakub Jelinek changed: What|Removed |Added CC||jsm28 at gcc dot gnu.org --- Comment #6

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 Alan Modra changed: What|Removed |Added Status|RESOLVED|REOPENED Last reconfirmed|

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #4 from Andrew Pinski --- (In reply to Andrew Pinski from comment #3) > Dup of bug 80797. What I mean by that is the regression is not a regression but rather a specific change introduced in GCC 7 and that is the PR which was asking

gcc-bugs@gcc.gnu.org

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80797 Andrew Pinski changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #8 f

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #2 from Alan Modra --- (In reply to Andrew Pinski from comment #1) > No those are still officially considered a referencing. > > In fact all three cases: > &p->field does not dereference p, just as &*p and &p[i] do not. > > Should

[Bug c++/88337] Implement P1002R1, P1327R1, P1330R0, C++20 relaxations of constexpr restrictions.

2019-11-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88337 --- Comment #10 from Marek Polacek --- Author: mpolacek Date: Fri Nov 22 23:48:25 2019 New Revision: 278635 URL: https://gcc.gnu.org/viewcvs?rev=278635&root=gcc&view=rev Log: PR c++/88337 - P1327R1: Allow polymorphic typeid in constexpr.

[Bug target/92635] __builtin_finited{32,64,128} should inline

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92635 --- Comment #1 from Andrew Pinski --- >Inline ASM is not ideal since dfp classification instructions targets CRs. If the PowerPC had the "Flag Output" inline-asm extension like x86 has: https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Extended-Asm.h

[Bug target/92635] New: __builtin_finited{32,64,128} should inline

2019-11-22 Thread murphyp at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92635 Bug ID: 92635 Summary: __builtin_finited{32,64,128} should inline Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug sanitizer/92634] [8/9/10 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 --- Comment #1 from Andrew Pinski --- No those are still officially considered a referencing. In fact all three cases: &p->field does not dereference p, just as &*p and &p[i] do not. Should be considered a deference even though the deference d

[Bug sanitizer/92634] New: [gcc-8 regression] -fsanitize=undefined erroneous null pointer check

2019-11-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92634 Bug ID: 92634 Summary: [gcc-8 regression] -fsanitize=undefined erroneous null pointer check Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/92629] internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:173

2019-11-22 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92629 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c++/92633] [concepts] constrained lambda with placehoder syntax getting wrong substitution

2019-11-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92633 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c/90677] [9 Regression] gcc-9.1.0 fails to build __gcc_diag__ souce: error: 'cgraph_node' is not defined as a type

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90677 Jakub Jelinek changed: What|Removed |Added Summary|[9/10 Regression] gcc-9.1.0 |[9 Regression] gcc-9.1.0

[Bug c++/92458] Constraints do not work with precompiled headers

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92458 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 92458, which changed state. Bug 92458 Summary: Constraints do not work with precompiled headers https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92458 What|Removed |Added ---

[Bug fortran/92629] internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:173

2019-11-22 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92629 anlauf at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFI

[Bug c/90677] [9/10 Regression] gcc-9.1.0 fails to build __gcc_diag__ souce: error: 'cgraph_node' is not defined as a type

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90677 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Fri Nov 22 21:45:27 2019 New Revision: 278634 URL: https://gcc.gnu.org/viewcvs?rev=278634&root=gcc&view=rev Log: PR c/90677 * c-common.h (identifier_global_tag): Declare.

[Bug c++/92633] New: [concepts] constrained lambda with placehoder syntax getting wrong substitution

2019-11-22 Thread eric.niebler at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92633 Bug ID: 92633 Summary: [concepts] constrained lambda with placehoder syntax getting wrong substitution Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/92632] New: Calculix regression

2019-11-22 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92632 Bug ID: 92632 Summary: Calculix regression Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization As

[Bug other/92631] New: Warnings partly caused by system headers are broken

2019-11-22 Thread mwoehlke.floss at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92631 Bug ID: 92631 Summary: Warnings partly caused by system headers are broken Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Componen

[Bug c++/92458] Constraints do not work with precompiled headers

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92458 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Fri Nov 22 21:38:44 2019 New Revision: 278633 URL: https://gcc.gnu.org/viewcvs?rev=278633&root=gcc&view=rev Log: PR c++/92458 * tree-hash-traits.h (tree_decl_hash, tree_ss

[Bug libfortran/92569] [8/9/10 Regression] gfortran read with end directive does not trigger with -ffrontend-optimize

2019-11-22 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92569 --- Comment #7 from Thomas Koenig --- (In reply to anlauf from comment #6) > Something like the following fixes the testcase, but leads to regressions > elsewhere in the testsuite (e.g. direct_io_{9,10}.f): You've found the right spot, I think.

[Bug middle-end/92630] New: missing -Wrestrict with attribute access and restrict

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92630 Bug ID: 92630 Summary: missing -Wrestrict with attribute access and restrict Product: gcc Version: 10.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug bootstrap/92627] configure script unable to find gmp, mpc, and mpfr install dirs

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92627 Jakub Jelinek changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug bootstrap/92627] configure script unable to find gmp, mpc, and mpfr install dirs

2019-11-22 Thread grgoffe at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92627 --- Comment #4 from George R. Goffe --- Hi, Pleas disregard this bug. It's a UFU (User Foul Up). The message CLEARLY says mpfr >= 3.1.0. I have mpfr 3.0 1. Can you spell dyslexia? Sorry for the misfire. Best regards, George...

[Bug c/66773] sign-compare warning for == and != are pretty useless

2019-11-22 Thread daniel.marjamaki at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #19 from Daniel Marjamäki --- (In reply to Segher Boessenkool from comment #15) > (In reply to Daniel Marjamäki from comment #12) > > So, how would you fix the warning for `f`? Many programmers would "fix" it > > with a cast. > > > >

[Bug target/91615] [10 regression][armeb] ICEs since r274986

2019-11-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91615 Bernd Edlinger changed: What|Removed |Added CC||bernd.edlinger at hotmail dot de --- C

[Bug fortran/92629] New: internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:173

2019-11-22 Thread gsocshubham at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92629 Bug ID: 92629 Summary: internal compiler error: in convert_mpz_to_unsigned, at fortran/simplify.c:173 Product: gcc Version: unknown Status: UNCONFIRMED Severity

[Bug middle-end/91612] [10 regression][arm] gcc.target/arm/aapcs/align4.c ICE after r274986

2019-11-22 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91612 Christophe Lyon changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/91613] [10 regression][arm] gcc.dg/pr83930.c ICE since r274986

2019-11-22 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91613 Christophe Lyon changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/91615] [10 regression][armeb] ICEs since r274986

2019-11-22 Thread clyon at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91615 Christophe Lyon changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/39589] make -Wmissing-field-initializers=2 work with "designated initializers" ?

2019-11-22 Thread matthijs at stdin dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39589 Matthijs Kooijman changed: What|Removed |Added CC||matthijs at stdin dot nl --- Comment

[Bug testsuite/90517] [10 regression] test case gcc.dg/cdce1.c fails (unresolved) starting with r271281

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90517 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/90576] [10 regression] SPEC CPU2006 450.soplex miscompiled with -Os -flto after r271413

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90576 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4

[Bug tree-optimization/91109] [10 regression][arm] gcc.c-torture/execute/20040709-1.c fails since r273135

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91109 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/91222] [10 Regression] 507.cactuBSSN_r build fails in warn_types_mismatch at ipa-devirt.c:1006 since r273571

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91222 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #29

[Bug rtl-optimization/91223] [10 Regression] ICE: in curr_insn_transform, at lra-constraints.c:4459

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91223 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug middle-end/91612] [10 regression][arm] gcc.target/arm/aapcs/align4.c ICE after r274986

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91612 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #6

[Bug middle-end/91613] [10 regression][arm] gcc.dg/pr83930.c ICE since r274986

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91613 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug target/91615] [10 regression][armeb] ICEs since r274986

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91615 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug target/91769] [9/10 regression] wrong code with -O2 on MIPS

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91769 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug ipa/91832] [10 Regression] ICE in scan_expr_access, at ipa-sra.c:1695 since r275982

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91832 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #5

[Bug c/91401] schedule + dist_schedule clauses rejected on distribute parallel for

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91401 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/91623] [8 Regression] -msse4.1 -O3 segfault in /usr/lib/gcc/x86_64-pc-linux-gnu/8.3.0/include/smmintrin.h:270:10

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91623 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/91001] internal compiler error: in extract_insn, at recog.c:2310

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91001 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/91105] internal compiler error: maximum number of generated reload insns per insn achieved (90)

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91105 Bug 91105 depends on bug 91001, which changed state. Bug 91001 Summary: internal compiler error: in extract_insn, at recog.c:2310 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91001 What|Removed |Added --

[Bug preprocessor/92296] [8 Regression] internal compiler error: Segmentation fault #pragma push_macro("__LINE__")

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92296 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/92384] [8 Regression] Empty class instances have different equal testing result among GCC versions

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92384 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/90867] [8 Regression] Multiplication or typecast of integer and double always zero when...

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90867 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/90898] [8 Regression] ICE in insert_clobber_before_stack_restore, at tree-ssa-ccp.c:2112

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90898 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/91450] __builtin_mul_overflow(A,B,R) wrong code if product <

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91450 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/90840] [8 Regression] ICE in simplify_subreg, at simplify-rtx.c:6441

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90840 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92618] [10 Regression] error: type mismatch in binary expression in reassoc since r273490

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/92618] [10 Regression] error: type mismatch in binary expression in reassoc since r273490

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92618 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Fri Nov 22 18:17:04 2019 New Revision: 278626 URL: https://gcc.gnu.org/viewcvs?rev=278626&root=gcc&view=rev Log: PR tree-optimization/92618 * tree-ssa-reassoc.c (v_info):

[Bug c/66773] sign-compare warning for == and != are pretty useless

2019-11-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #18 from Segher Boessenkool --- (In reply to Vincent Lefèvre from comment #17) > (In reply to Segher Boessenkool from comment #15) > > A much better fix is > > > > void f1(long s, unsigned long u) { unsigned long su = s; if (su == u)

[Bug c/84919] [8/9/10 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c++/90480] [8/9/10 Regression] ICE when calling operator() inside a lambda defined in a template class method

2019-11-22 Thread ldalessandro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90480 --- Comment #3 from Luke Dalessandro --- Created attachment 47336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47336&action=edit Testcast

[Bug c++/90480] [8/9/10 Regression] ICE when calling operator() inside a lambda defined in a template class method

2019-11-22 Thread ldalessandro at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90480 --- Comment #2 from Luke Dalessandro --- I'm hitting this with the following similar, but different snippet. Maybe it will help with this. #include struct Foo { int operator()(int i) { return 0; } template auto opera

[Bug middle-end/83859] Please add new attribute which will establish relation between parameters for buffer and its size

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83859 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/31279] Uninitialized warning for call-by-reference arguments with known intent(in)

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31279 Bug 31279 depends on bug 83859, which changed state. Bug 83859 Summary: Please add new attribute which will establish relation between parameters for buffer and its size https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83859 What|Remo

[Bug middle-end/83859] Please add new attribute which will establish relation between parameters for buffer and its size

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83859 --- Comment #10 from Martin Sebor --- Author: msebor Date: Fri Nov 22 17:14:17 2019 New Revision: 278624 URL: https://gcc.gnu.org/viewcvs?rev=278624&root=gcc&view=rev Log: PR middle-end/83859 - attributes to associate pointer arguments and sizes

[Bug tree-optimization/83819] [meta-bug] missing strlen optimizations

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83819 Bug 83819 depends on bug 92501, which changed state. Bug 92501 Summary: strncmp with constant unterminated arrays not folded https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92501 What|Removed |Added ---

[Bug tree-optimization/92501] strncmp with constant unterminated arrays not folded

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92501 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/88226] missing warning on fprintf, fputs, and puts with an unterminated array

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88226 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug middle-end/88226] missing warning on fprintf, fputs, and puts with an unterminated array

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88226 --- Comment #5 from Martin Sebor --- Author: msebor Date: Fri Nov 22 16:47:22 2019 New Revision: 278623 URL: https://gcc.gnu.org/viewcvs?rev=278623&root=gcc&view=rev Log: PR middle-end/88226 - missing warning on fprintf, fputs, and puts with an

[Bug tree-optimization/92501] strncmp with constant unterminated arrays not folded

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92501 --- Comment #2 from Martin Sebor --- Author: msebor Date: Fri Nov 22 16:39:37 2019 New Revision: 278621 URL: https://gcc.gnu.org/viewcvs?rev=278621&root=gcc&view=rev Log: PR tree-optimization/92501 - strncmp with constant unterminated arrays not

[Bug c/92620] Ignored -fno-builtin -fno-builtin-memcpy

2019-11-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92620 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #4

[Bug ipa/92109] [10 Regression] ICE in modify_call_stmt, at ipa-param-manipulation.c:1586

2019-11-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92109 --- Comment #7 from Martin Jambor --- After talking to Honza, I have proposed a different patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-11/msg02205.html

[Bug ipa/91956] [10 Regression] ICE: verify_cgraph_node failed (error: comdat-local function called by __ct .isra outside its comdat) since r275982

2019-11-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91956 --- Comment #2 from Martin Jambor --- I proposed a patch on the mailing list: https://gcc.gnu.org/ml/gcc-patches/2019-11/msg02203.html

[Bug c/66773] sign-compare warning for == and != are pretty useless

2019-11-22 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #17 from Vincent Lefèvre --- (In reply to Segher Boessenkool from comment #15) > A much better fix is > > void f1(long s, unsigned long u) { unsigned long su = s; if (su == u) g(); } But what if s is some arbitrary integer type, e.g

[Bug c++/92625] [8/9/10 Regression] Internal compiler error accessing element in static constexpr char array in template class using alias

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92625 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org Target Milest

[Bug ipa/44563] GCC uses a lot of RAM when compiling a large numbers of functions

2019-11-22 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44563 Vladimir Makarov changed: What|Removed |Added CC||vmakarov at gcc dot gnu.org --- Comme

[Bug c++/92625] [9/10 Regression] Internal compiler error accessing element in static constexpr char array in template class using alias

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92625 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/91355] [8/9/10 Regression] optimized code does not call destructor while unwinding after exception

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91355 --- Comment #10 from Jakub Jelinek --- With the above changes, the bug is now latent.

[Bug rtl-optimization/92610] [10 Regression] ICE in calc_dfs_tree, at dominance.c:458 since r270940

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

[Bug tree-optimization/91665] [8 Regression] ICE in build_vector_from_val, at tree.c:1904

2019-11-22 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91665 Arseny Solokha changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/66773] sign-compare warning for == and != are pretty useless

2019-11-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #16 from Segher Boessenkool --- (In reply to Eric Gallager from comment #13) > > Yes. You should not use casts, except in some very specific cases, and > > most of the uses you see "in the wild" are a bad idea. Sometimes I wonder >

[Bug c/66773] sign-compare warning for == and != are pretty useless

2019-11-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66773 --- Comment #15 from Segher Boessenkool --- (In reply to Daniel Marjamäki from comment #12) > So, how would you fix the warning for `f`? Many programmers would "fix" it > with a cast. > > Assuming that `s` and `u` can have arbitrary values, here

[Bug c++/92572] Vague linkage does not work reliably when a matching segment is in a dynamically linked libarary on Linux

2019-11-22 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92572 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org --- Comm

[Bug tree-optimization/88915] Try smaller vectorisation factors in scalar fallback

2019-11-22 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88915 Tamar Christina changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug tree-optimization/88915] Try smaller vectorisation factors in scalar fallback

2019-11-22 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88915 Tamar Christina changed: What|Removed |Added Target Milestone|--- |10.0 --- Comment #6 from Tamar Christi

[Bug c++/22395] -Weffc++ shouldn't warn about non-virtual dtor of private subclasses

2019-11-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22395 --- Comment #9 from Jonathan Wakely --- (In reply to marc from comment #8) > I don't think Effective C++ is the benchmark any more I've been trying to say that for years and people keep insisting they want warnings based on advice from the late

[Bug inline-asm/92615] [8/9/10 Regression] ICE in extract_insn

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92615 --- Comment #2 from Jakub Jelinek --- Created attachment 47334 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47334&action=edit gcc10-pr92615.patch Untested fix.

[Bug inline-asm/92615] [8/9/10 Regression] ICE in extract_insn

2019-11-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92615 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/22395] -Weffc++ shouldn't warn about non-virtual dtor of private subclasses

2019-11-22 Thread marc at kdab dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22395 --- Comment #8 from marc at kdab dot com --- I don't think Effective C++ is the benchmark any more, so water under bridges that have already burned, but fwiw: contrary to C.127 these days, I learned this rule as "A base class's destructor should b

  1   2   >