[Bug other/82784] Remove semicolon after "do {} while (0)" macros

2017-11-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 --- Comment #13 from Tom de Vries --- Author: vries Date: Tue Nov 7 08:11:43 2017 New Revision: 254489 URL: https://gcc.gnu.org/viewcvs?rev=254489&root=gcc&view=rev Log: [libgcc] Remove semicolon after do {} while (0) in FP_HANDLE_EXCEPTIONS 2

[Bug other/82784] Remove semicolon after "do {} while (0)" macros

2017-11-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82784 --- Comment #14 from Tom de Vries --- Author: vries Date: Tue Nov 7 08:11:54 2017 New Revision: 254490 URL: https://gcc.gnu.org/viewcvs?rev=254490&root=gcc&view=rev Log: [arm] Remove semicolon after while {} do (0) in HANDLE_NARROW_SHIFT_ARITH

[Bug ipa/82879] New: [8 regression] ICE in max, at profile-count.h:889

2017-11-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82879 Bug ID: 82879 Summary: [8 regression] ICE in max, at profile-count.h:889 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: i

[Bug bootstrap/82856] --enable-maintainter-mode broken by incompatiblity of gcc's required automake and modern Perl

2017-11-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/82856] --enable-maintainter-mode broken by incompatiblity of gcc's required automake and modern Perl

2017-11-07 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856 --- Comment #6 from rguenther at suse dot de --- On Tue, 7 Nov 2017, tkoenig at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82856 > > Thomas Koenig changed: > >What|Removed |Added

[Bug c++/82861] 'long double sqrtf128(long double)' conflicts with built-in declaration 'long double sqrtf128(long double)' [-Wbuiltin-declaration-mismatch]

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82861 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/82863] [8 Regression] ICE in verify_flow_info building SH libgcc

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82863 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug tree-optimization/82875] ICE at -Os on valid code on x86_64-linux-gnu: in find_widening_optab_handler_and_mode, at optabs-query.c:414

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82875 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/82870] [6 Regression] Assignment by Designated Initializer Overwrites a Flexible Array Member

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82870 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug middle-end/82875] [8 Regression] ICE at -Os on valid code on x86_64-linux-gnu: in find_widening_optab_handler_and_mode, at optabs-query.c:414

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82875 Richard Biener changed: What|Removed |Added CC||rsandifo at gcc dot gnu.org Co

[Bug c++/82873] Generated copy constructor calls constructors for 0-sized array members

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82873 Richard Biener changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIRM

[Bug ipa/82879] [8 regression] ICE in max, at profile-count.h:889

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82879 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/82872] [6/7/8 Regression] ICE in ignore_overflows on __PTRDIFF_MAX__ index

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82872 Richard Biener changed: What|Removed |Added Target Milestone|--- |6.5

[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.3

[Bug bootstrap/82831] [8 Regression] Broken PGO bootstrap on i586-linux-gnu after r254379

2017-11-07 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82831 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libgomp/82864] Stop using GOMP_OFFLOAD_openacc_async_set_async

2017-11-07 Thread vries at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82864 --- Comment #1 from Tom de Vries --- Hmm, I found this on openacc-gcc-7-branch: ... commit cd69c58db3f41ac72c20bc9b780772ab7e0c113e Author: Chung-Lin Tang Date: Tue Jul 25 15:02:26 2017 + OpenACC async re-work ... li

[Bug sanitizer/82869] c_associated does not always give false for null pointers

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82869 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/82869] c_associated does not always give false for null pointers

2017-11-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82869 Janne Blomqvist changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |jb at gcc dot gnu.org --- Comme

[Bug c++/82833] [concepts] Out-of-line definition of nested class template errors with constraint (ICE)

2017-11-07 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82833 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82871] Unneeded lsls lsrs instructions generated on half word access for arm cortex-m4 target.

2017-11-07 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82871 Richard Earnshaw changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/71942] [ARM] Zero-extending whats allready zero-extended even when -O3

2017-11-07 Thread rearnsha at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71942 Richard Earnshaw changed: What|Removed |Added CC||mikael.rosbacke at gmail dot com ---

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-11-07 Thread mcastelluccio at mozilla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #10 from Marco Castelluccio --- (In reply to Martin Liška from comment #9) > (In reply to Marco Castelluccio from comment #8) > > Created attachment 42462 [details] > > Archive with GCNO and GCDA file generated with GCC 6 > > > > Thi

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED --- Comment #11 from Martin Lišk

[Bug gcov-profile/82614] GCOV crashes while parsing gcda file

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82614 --- Comment #12 from Martin Liška --- So problem is quite simple, there's a branch counter that has negative value: $ ./gcov-dump -l Unified_cpp_js_src31.gcda ... Unified_cpp_js_src31.gcda: 0100: 3:FUNCTION ident=642196265, lineno_checks

[Bug sanitizer/82792] Fallthrough attribute ignored after label, and before with address sanitizer

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82792 --- Comment #13 from Martin Liška --- I've got patch for that, will send to mailing list soon.

[Bug middle-end/80131] powerpc: 1U << (31 - x) doesn't generate optimised code

2017-11-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80131 --- Comment #7 from Wilco --- Author: wilco Date: Tue Nov 7 12:23:38 2017 New Revision: 254496 URL: https://gcc.gnu.org/viewcvs?rev=254496&root=gcc&view=rev Log: PR80131: Simplification of 1U << (31 - x) Currently the code A << (B - C) is not

[Bug middle-end/80131] powerpc: 1U << (31 - x) doesn't generate optimised code

2017-11-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80131 Wilco changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/82870] [6 Regression] Assignment by Designated Initializer Overwrites a Flexible Array Member

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82870 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug tree-optimization/82870] [6 Regression] Assignment by Designated Initializer Overwrites a Flexible Array Member

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82870 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/81884] [6 Regression] Invalid code generation with zero size arrays or flexible array members

2017-11-07 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81884 Richard Biener changed: What|Removed |Added CC||webstrand at gmail dot com --- Comment

[Bug tree-optimization/71026] Missing division optimizations

2017-11-07 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71026 --- Comment #8 from Wilco --- Author: wilco Date: Tue Nov 7 12:38:55 2017 New Revision: 254497 URL: https://gcc.gnu.org/viewcvs?rev=254497&root=gcc&view=rev Log: PR71026: Canonicalize negates in division Canonicalize x / (- y) into (-x) / y.

[Bug other/81712] gcc does not compile when using glib 2.26 (everything works fine with 2.25)

2017-11-07 Thread jan.smets at nokia dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81712 Jan Smets changed: What|Removed |Added CC||jan.smets at nokia dot com --- Comment #7 fr

[Bug other/82880] New: [6/7/8 Regression] gcc --help=target --help=optimizers hangs on mips

2017-11-07 Thread jcowgill+gcc at jcowgill dot uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82880 Bug ID: 82880 Summary: [6/7/8 Regression] gcc --help=target --help=optimizers hangs on mips Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug ipa/82879] [8 regression] ICE in max, at profile-count.h:889

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82879 Martin Liška changed: What|Removed |Added Keywords||ice-on-valid-code Status|UNCO

[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org,

[Bug tree-optimization/58774] tree-switch-conversion doesn't optimize with content in default scase

2017-11-07 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58774 Shawn Landden changed: What|Removed |Added CC||slandden at gmail dot com --- Comment #4

[Bug tree-optimization/58774] tree-switch-conversion doesn't optimize with content in default scase

2017-11-07 Thread slandden at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58774 --- Comment #5 from Shawn Landden --- Appears fixed

[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org Assig

[Bug middle-end/82878] [7/8 Regression] ICE in assign_temp, at function.c:968 when using optimization

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82878 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | Status|NEW

[Bug c++/82835] [8 Regression] ICE on valid code with -fopenmp

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

[Bug debug/82837] [8 Regression] ICE in output_operand: invalid expression as operand

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82837 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED URL|

[Bug tree-optimization/82732] malloc+zeroing other than memset not optimized to calloc, so asm output is malloc+memset

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82732 Jakub Jelinek changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug rtl-optimization/82881] New: [8 Regression] ICE: in df_compact_blocks, at df-core.c:1729 with -freorder-blocks-algorithm=simple

2017-11-07 Thread zsojka at seznam dot cz
bin/x86_64-pc-linux-gnu-as --disable-libstdcxx-pch --prefix=/repo/gcc-trunk//binary-trunk-254487-checking-yes-rtl-df-extra-nographite-amd64 Thread model: posix gcc version 8.0.0 20171107 (experimental) (GCC)

[Bug target/82703] [7/8 Regression] Wrong addition of std::array components with -O2 -ftree-loop-vectorize -ftree-slp-vectorize (works fine with -O2)

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

[Bug tree-optimization/82732] malloc+zeroing other than memset not optimized to calloc, so asm output is malloc+memset

2017-11-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82732 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #5 fr

[Bug tree-optimization/82732] malloc+zeroing other than memset not optimized to calloc, so asm output is malloc+memset

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82732 --- Comment #6 from Jakub Jelinek --- For this exact testcase anywhere in between ldist and strlen pass, so e.g. in dom or strlen passes. Though it would need to be something that handles what vrp handles with ASSERT_EXPRs. Yet another option is

[Bug tree-optimization/82732] malloc+zeroing other than memset not optimized to calloc, so asm output is malloc+memset

2017-11-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82732 --- Comment #7 from Jeffrey A. Law --- Given that both DOM and strlen are already dom walker based, getting better range information in them is going to be easy. The former is actually part of the motivation behind the refactoring work. We actu

[Bug c++/82882] New: [8 regression] ICE Segmentation fault

2017-11-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882 Bug ID: 82882 Summary: [8 regression] ICE Segmentation fault Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug middle-end/82404] Unnecessary instructions in switch table

2017-11-07 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82404 --- Comment #10 from Antony Polukhin --- Do we need a autotest on that to make sure that cmp won't appear again?

[Bug target/82883] New: eax register unnecessary consumed

2017-11-07 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82883 Bug ID: 82883 Summary: eax register unnecessary consumed Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target

[Bug c++/82882] [8 regression] ICE Segmentation fault

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82882 Jakub Jelinek changed: What|Removed |Added Keywords|needs-bisection | Status|UNCONFIRMED

[Bug rtl-optimization/82881] [8 Regression] ICE: in df_compact_blocks, at df-core.c:1729 with -freorder-blocks-algorithm=simple

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

[Bug fortran/65428] ICE on nest array constructor

2017-11-07 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65428 G. Steinmetz changed: What|Removed |Added CC||gs...@t-online.de --- Comment #5 from G.

[Bug fortran/82884] New: ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2069

2017-11-07 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82884 Bug ID: 82884 Summary: ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2069 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/82885] New: memcpy does not propagate aliasing knowledge

2017-11-07 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82885 Bug ID: 82885 Summary: memcpy does not propagate aliasing knowledge Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle

[Bug fortran/82886] New: ICE with -finit-derived in gfc_conv_expr, at fortran/trans-expr.c:7807

2017-11-07 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82886 Bug ID: 82886 Summary: ICE with -finit-derived in gfc_conv_expr, at fortran/trans-expr.c:7807 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/82886] ICE with -finit-derived in gfc_conv_expr, at fortran/trans-expr.c:7807

2017-11-07 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82886 --- Comment #1 from G. Steinmetz --- A possible reduction : $ cat z1.f90 program p use, intrinsic :: iso_c_binding, only: c_ptr, c_null_ptr type t type(c_ptr) :: my_c_ptr end type contains subroutine sub0() bind(c) type(t), tar

[Bug fortran/82884] ICE in gfc_resolve_character_array_constructor, at fortran/array.c:2069

2017-11-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82884 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/53037] warn_if_not_aligned(X)

2017-11-07 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53037 --- Comment #42 from Eric Botcazou --- Author: ebotcazou Date: Tue Nov 7 17:37:29 2017 New Revision: 254503 URL: https://gcc.gnu.org/viewcvs?rev=254503&root=gcc&view=rev Log: PR c/53037 * stor-layout.c: Include attribs.h.

[Bug fortran/82886] ICE with -finit-derived in gfc_conv_expr, at fortran/trans-expr.c:7807

2017-11-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82886 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/82887] New: ICE: in extract_insn, at recog.c:2287 (unrecognizable insn) with _mm512_extracti64x4_epi64

2017-11-07 Thread marcin.slusarz at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82887 Bug ID: 82887 Summary: ICE: in extract_insn, at recog.c:2287 (unrecognizable insn) with _mm512_extracti64x4_epi64 Product: gcc Version: 6.3.0 Status: UNCONFIRMED

[Bug bootstrap/81149] [8 Regression] profiledbootstrap failed with LTO

2017-11-07 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81149 H.J. Lu changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|DUPLICATE

[Bug bootstrap/81149] [8 Regression] profiledbootstrap failed with LTO

2017-11-07 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81149 H.J. Lu changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug middle-end/82885] memcpy does not propagate aliasing knowledge

2017-11-07 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82885 --- Comment #1 from Marc Glisse --- gcc (illegally) generates some calls to memcpy(p,q,n) where p and q may be the same pointer, although they mustn't overlap in any more complicated way. That makes such an optimization problematic (although this

[Bug middle-end/71942] [ARM] Zero-extending whats allready zero-extended even when -O3

2017-11-07 Thread mikael.rosbacke at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71942 --- Comment #8 from Mikael Rosbacke --- Previous bug i filed was marked as a duplicate of this. Collecting my information from that report here. Same basic problem, slightly different symptom. --- old text --- I used the following code on arm-gc

[Bug c++/82888] New: terrible code generation for initialization of POD array members vs. clang

2017-11-07 Thread froydnj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888 Bug ID: 82888 Summary: terrible code generation for initialization of POD array members vs. clang Product: gcc Version: unknown Status: UNCONFIRMED Severity: no

[Bug sanitizer/82869] c_associated does not always give false for null pointers

2017-11-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82869 Janne Blomqvist changed: What|Removed |Added URL||https://gcc.gnu.org/ml/gcc-

[Bug c++/82888] terrible code generation for initialization of POD array members vs. clang

2017-11-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888 --- Comment #1 from Andrew Pinski --- -O3 produces the memset: _ZN1AC2Ev: .LFB1: .cfi_startproc mov x2, 4096 mov w1, 0 b memset .cfi_endproc

[Bug c++/82888] terrible code generation for initialization of POD array members vs. clang

2017-11-07 Thread jseward at acm dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888 --- Comment #2 from jseward at acm dot org --- (In reply to Andrew Pinski from comment #1) > -O3 produces the memset: Having to go to -O3 to get reasonable code isn't a great solution, though. Couldn't gcc at least produce a word-at-a-time loop,

[Bug c++/82888] terrible code generation for initialization of POD array members vs. clang

2017-11-07 Thread froydnj at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888 --- Comment #3 from Nathan Froyd --- Thanks, I didn't think to test -O3. Do we get the memset at -O3 because loop idiom recognition is enabled? Producing the memset upfront probably generates better code for all cases, even if the frontend code

[Bug c++/82888] terrible code generation for initialization of POD array members vs. clang

2017-11-07 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888 --- Comment #4 from Marc Glisse --- The front-end internally uses VEC_INIT_EXPR, and gimplifies it to a loop. I believe we should end up with an empty CONSTRUCTOR instead.

[Bug rtl-optimization/80425] Extra inter-unit register move with zero-extension

2017-11-07 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425 --- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Tue Nov 7 18:51:22 2017 New Revision: 254505 URL: https://gcc.gnu.org/viewcvs?rev=254505&root=gcc&view=rev Log: PR target/80425 * config/i386.i386.md (*zero_exten

[Bug c++/82888] terrible code generation for initialization of POD array members vs. clang

2017-11-07 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82888 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/81096] [8 regression] test case ttest in libbacktrace fails starting with its introduction in r249111

2017-11-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81096 seurer at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|-

[Bug tree-optimization/80925] [8 Regression] vect peeling failures

2017-11-07 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80925 --- Comment #28 from seurer at gcc dot gnu.org --- FWIW I am still seeing these fail: FAIL: g++.dg/vect/slp-pr56812.cc -std=c++11 scan-tree-dump-times slp1 "basic block vectorized" 1 (found 0 times) FAIL: g++.dg/vect/slp-pr56812.cc -std=c++14

[Bug target/80425] Extra inter-unit register move with zero-extension

2017-11-07 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80425 Uroš Bizjak changed: What|Removed |Added Keywords|ra | Status|NEW

[Bug target/82812] ICE in emit_move_insn, at expr.c:3706

2017-11-07 Thread kyukhin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82812 --- Comment #3 from Kirill Yukhin --- Author: kyukhin Date: Tue Nov 7 19:11:08 2017 New Revision: 254507 URL: https://gcc.gnu.org/viewcvs?rev=254507&root=gcc&view=rev Log: Fix SSE bits dependencies. gcc/ PR target/82812 * commo

[Bug c/82272] RFE: request a warning for ( == ) etc.

2017-11-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82272 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/82768] ICE in synthesize_implicit_template_parm, at cp/parser.c:39338

2017-11-07 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82768 Casey Carter changed: What|Removed |Added CC||Casey at Carter dot net --- Comment #2 fr

[Bug bootstrap/82831] [8 Regression] Broken PGO bootstrap on i586-linux-gnu after r254379

2017-11-07 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82831 --- Comment #3 from Martin Liška --- The problematic block (for which we trigger the assert is): (gdb) p debug_bb(bb) (code_label 8952 8954 310 18 1247 (nil) [2 uses]) (note 310 8952 311 18 [bb 18] NOTE_INSN_BASIC_BLOCK) (insn:TI 311 310 313 18

[Bug rtl-optimization/82889] New: Unnecessary sign extension of int32 to int64

2017-11-07 Thread hiraditya at msn dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82889 Bug ID: 82889 Summary: Unnecessary sign extension of int32 to int64 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: rt

[Bug demangler/82890] New: Demangler segfaults

2017-11-07 Thread ahoward at foxguardsolutions dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82890 Bug ID: 82890 Summary: Demangler segfaults Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: demangler Assignee:

[Bug target/82855] AVX512: replace OP+movemask with OP_mask+ktest

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82855 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Tue Nov 7 20:48:35 2017 New Revision: 254509 URL: https://gcc.gnu.org/viewcvs?rev=254509&root=gcc&view=rev Log: PR target/82855 * config/i386/i386.c (ix86_swap_binary_ope

[Bug target/82855] AVX512: replace OP+movemask with OP_mask+ktest

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82855 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Nov 7 20:49:30 2017 New Revision: 254510 URL: https://gcc.gnu.org/viewcvs?rev=254510&root=gcc&view=rev Log: PR target/82855 * config/i386/i386.md (SWI1248_AVX512BWDQ2

[Bug c++/82835] [8 Regression] ICE on valid code with -fopenmp

2017-11-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82835 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Tue Nov 7 20:51:05 2017 New Revision: 254511 URL: https://gcc.gnu.org/viewcvs?rev=254511&root=gcc&view=rev Log: PR c++/82835 * cp-gimplify.c (cxx_omp_clause_apply_fn): Fo

[Bug c++/82835] [8 Regression] ICE on valid code with -fopenmp

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

[Bug libstdc++/82891] New: stable_sort() won't compile with function object that takes parameters by non-const reference

2017-11-07 Thread TonyELewis at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82891 Bug ID: 82891 Summary: stable_sort() won't compile with function object that takes parameters by non-const reference Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug c/82892] New: Spelling hints do not take into account missing compiler options (e.g. -fopenmp)

2017-11-07 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82892 Bug ID: 82892 Summary: Spelling hints do not take into account missing compiler options (e.g. -fopenmp) Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity

[Bug c++/82893] New: Bad diagnostic on negative sized array

2017-11-07 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82893 Bug ID: 82893 Summary: Bad diagnostic on negative sized array Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/82886] ICE with -finit-derived in gfc_conv_expr, at fortran/trans-expr.c:7807

2017-11-07 Thread foreese at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82886 Fritz Reese changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at

[Bug c/82272] RFE: request a warning for ( == ) etc.

2017-11-07 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82272 --- Comment #4 from joseph at codesourcery dot com --- I should point out that expanding to the tokens 0 and 1 for C does not in any way prevent warning (it's a perfectly reasonable optional style warning); you could for example have the prepro

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 82839, which changed state. Bug 82839 Summary: missing -Wmaybe-uninitialized warning https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82839 What|Removed |Added --

[Bug middle-end/19430] taking address of a var causes missing uninitialized warning

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 Manuel López-Ibáñez changed: What|Removed |Added CC||arnd at linaro dot org --- Comment

[Bug middle-end/82839] missing -Wmaybe-uninitialized warning

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82839 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/18501] [6/7/8 Regression] Missing 'used uninitialized' warning (CCP)

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 --- Comment #81 from Manuel López-Ibáñez --- *** Bug 82810 has been marked as a duplicate of this bug. ***

[Bug middle-end/82810] missed uninitialized variable warning in for/while loop

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82810 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 82810, which changed state. Bug 82810 Summary: missed uninitialized variable warning in for/while loop https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82810 What|Removed |Added

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 Manuel López-Ibáñez changed: What|Removed |Added CC||s-beyer at gmx dot net --- Comment

[Bug c++/82552] No warning when using uninitialized values in initializer list

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82552 Manuel López-Ibáñez changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug middle-end/24639] [meta-bug] bug to track all Wuninitialized issues

2017-11-07 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 82552, which changed state. Bug 82552 Summary: No warning when using uninitialized values in initializer list https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82552 What|Removed |Added

  1   2   >