[Bug libgomp/79784] Synchronization overhead is thrashing on Aarch64

2017-03-02 Thread cbz at baozis dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79784 --- Comment #10 from Chen Baozi --- I have attached the testcase I used to benchmark synchronization of OpenMP on AArch64, which is extracted from EPCC OpenMP micro-benchmark suite. The operating system I use is ubuntu 16.04 with 4.4.0 kernel. T

[Bug middle-end/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #7 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #6) > (In reply to Uroš Bizjak from comment #5) > > Maybe we should use our own pushxf expander? > > No. Middle end should be fixed. x86 does not define any of HAVE_PRE_

[Bug c++/79802] New: Conflicting declaration with function pointers/types

2017-03-02 Thread lutztonineubert at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79802 Bug ID: 79802 Summary: Conflicting declaration with function pointers/types Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug middle-end/79756] [5/6/7 Regression] ICE in execute_todo, at passes.c:2011

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79756 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug middle-end/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #8 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #7) > (In reply to Uroš Bizjak from comment #6) > > (In reply to Uroš Bizjak from comment #5) > > > Maybe we should use our own pushxf expander? > > > > No. Middle end s

[Bug c++/79774] gcc -fsanitize=address with error

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774 --- Comment #4 from Martin Liška --- As reading Release Changes (https://gcc.gnu.org/gcc-4.8/changes.html), looks the address sanitizer was not enabled for aarch64. Can you please try a newer compiler, this one is not supported and even if we fou

[Bug tree-optimization/79777] [7 Regression] ICE on -Os and above in on aarch64-linux-gnu (internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407 })

2017-03-02 Thread arnd at linaro dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79777 --- Comment #3 from Arnd Bergmann --- Fix confirmed with all configurations that previously showed the problem. Thanks a lot!

[Bug c++/57208] Latest chromium compilation fails with enabled LTO

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57208 Bug 57208 depends on bug 57726, which changed state. Bug 57726 Summary: LTO verify_flow_info: error: control flow in the middle of basic block https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57726 What|Removed |Ad

[Bug lto/57726] LTO verify_flow_info: error: control flow in the middle of basic block

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57726 Martin Liška changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug tree-optimization/45397] [5/6 Regression] Issues with integer narrowing conversions

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=45397 Bug 45397 depends on bug 79777, which changed state. Bug 79777 Summary: [7 Regression] ICE on -Os and above in on aarch64-linux-gnu (internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407 }) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug tree-optimization/79777] [7 Regression] ICE on -Os and above in on aarch64-linux-gnu (internal compiler error: in VN_INFO_GET, at tree-ssa-sccvn.c:407 })

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79777 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/38939] MULLW on often faster than SLWI ADD SLWI ADD..

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38939 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/79785] [5/6/7 Regression] ICE in gimplify_expr, at gimplify.c:11950

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79785 Richard Biener changed: What|Removed |Added Keywords||error-recovery Priority|P3

[Bug libstdc++/79789] [6 Regression] non-reserved names in headers

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79789 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|7.0

[Bug tree-optimization/79803] New: [5/6/7 Regression] ICE in tree_ssa_prefetch_arrays, at tree-ssa-loop-prefetch.c:1982

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79803 Bug ID: 79803 Summary: [5/6/7 Regression] ICE in tree_ssa_prefetch_arrays, at tree-ssa-loop-prefetch.c:1982 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywor

[Bug other/79792] configuring a nvptx-none build with --program-suffix=-7 results in a misnamed installed binary

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79792 Richard Biener changed: What|Removed |Added Keywords||build Target|

[Bug target/79793] Incorrect stack alignment for interrupt handler in 64-bit

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79793 --- Comment #1 from Richard Biener --- Well, not "incorrect" but too conservative.

[Bug c++/79796] [5/6/7 Regression] ICE with NSDMI and this pointer

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79796 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/79797] [5/6/7 Regression] ICE with NSDMI, this pointer and constexpr

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79797 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug tree-optimization/79800] [7 Regression] wrong snprintf result range with precision in a narrow negative-positive range

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79800 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug tree-optimization/79803] [5/6/7 Regression] ICE in tree_ssa_prefetch_arrays, at tree-ssa-loop-prefetch.c:1982

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79803 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/79803] [5/6/7 Regression] ICE in tree_ssa_prefetch_arrays, at tree-ssa-loop-prefetch.c:1982

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79803 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug target/79804] New: ICE in print_reg, at config/i386/i386.c:17637

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79804 Bug ID: 79804 Summary: ICE in print_reg, at config/i386/i386.c:17637 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug target/79804] ICE in print_reg, at config/i386/i386.c:17637

2017-03-02 Thread marxin at gcc dot gnu.org
: ../configure --enable-languages=c,c++,fortran --prefix=/home/marxin/bin/gcc3 --disable-bootstrap Thread model: posix gcc version 7.0.1 20170302 (experimental) (GCC)

[Bug middle-end/79396] [5/6 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O2 -march=haswell

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79396 --- Comment #16 from Martin Liška --- Very similar issue: PR79805.

[Bug middle-end/79805] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79805 --- Comment #1 from Martin Liška --- Started with r237814.

[Bug middle-end/79805] New: [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79805 Bug ID: 79805 Summary: [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on

[Bug tree-optimization/79803] [5/6/7 Regression] ICE in tree_ssa_prefetch_arrays, at tree-ssa-loop-prefetch.c:1982

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79803 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org --- Com

[Bug tree-optimization/79803] [5/6/7 Regression] ICE in tree_ssa_prefetch_arrays, at tree-ssa-loop-prefetch.c:1982

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79803 --- Comment #3 from Martin Liška --- A small nit, according to spec, the l1-cache-size size is in kilobytes => the number in bytes is always even :D

[Bug middle-end/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #9 from Jakub Jelinek --- Created attachment 40868 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40868&action=edit gcc7-pr79514.patch You mean like this? That certainly works for x86, but I'm afraid it is going to break or pe

[Bug rtl-optimization/79806] New: [5/6/7 Regression] ICE error: unable to find a register to spill (in assign_by_spills, at lra-assigns.c:1457)

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79806 Bug ID: 79806 Summary: [5/6/7 Regression] ICE error: unable to find a register to spill (in assign_by_spills, at lra-assigns.c:1457) Product: gcc Version: 7.0

[Bug lto/78140] [7 Regression] libxul -flto uses 1GB more memory than gcc-6

2017-03-02 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78140 --- Comment #32 from Martin Jambor --- (In reply to Martin Jambor from comment #30) > I think that using the same approach to cache ipa_vr > structures (used to store results of IPA-VR) could bring further > savings They were not really signific

[Bug tree-optimization/79345] [6/7 Regression] passing yet-uninitialized member as argument to base class constructor should warn (-Wunitialized)

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79345 --- Comment #15 from Jakub Jelinek --- Author: jakub Date: Thu Mar 2 09:19:28 2017 New Revision: 245833 URL: https://gcc.gnu.org/viewcvs?rev=245833&root=gcc&view=rev Log: PR tree-optimization/79345 * gensupport.h (struct pattern

[Bug rtl-optimization/79574] ICE in want_to_gcse_p, at gcse.c:804

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79574 Martin Liška changed: What|Removed |Added Known to work|7.0 | Known to fail|

[Bug middle-end/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #10 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #9) > Created attachment 40868 [details] > gcc7-pr79514.patch > > You mean like this? That certainly works for x86, but I'm afraid it is > going to break or penalize v

[Bug target/79568] ICE in extract_insn, at recog.c:2311 for pr70325.c (with -mavx512bw)

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79568 --- Comment #5 from Martin Liška --- One similar issue: PR79807.

[Bug target/79807] New: ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn)

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79807 Bug ID: 79807 Summary: ICE in extract_insn, at recog.c:2311 (error: unrecognizable insn) Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-co

[Bug target/79808] New: ICE in int_mode_for_mode, at stor-layout.c:406 with -mavx512pf and -Og

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79808 Bug ID: 79808 Summary: ICE in int_mode_for_mode, at stor-layout.c:406 with -mavx512pf and -Og Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-val

[Bug c++/79797] [5/6/7 Regression] ICE with NSDMI, this pointer and constexpr

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79797 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/79809] New: ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 Bug ID: 79809 Summary: ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c++/79797] [5/6/7 Regression] ICE with NSDMI, this pointer and constexpr

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79797 --- Comment #2 from Marek Polacek --- Not sure about the validity but clang++ accepts the code.

[Bug target/79810] New: ICE in ix86_vector_duplicate_value, at config/i386/i386.c:45701

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79810 Bug ID: 79810 Summary: ICE in ix86_vector_duplicate_value, at config/i386/i386.c:45701 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug tree-optimization/79811] New: ICE verify_flow_info failed with -param vect-epilogues-nomask=1 and -mavx512vbmi

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79811 Bug ID: 79811 Summary: ICE verify_flow_info failed with -param vect-epilogues-nomask=1 and -mavx512vbmi Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords:

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #2 from Marek Polacek --- We crash on 282 gcc_assert (is_vla || warn_alloca_limit > 0); (gdb) p global_options.x_warn_alloca_limit $3 = -87852233

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #3 from Martin Liška --- Then, it will be similar to PR79574.

[Bug rtl-optimization/79812] New: [7 Regression] ICE in simplify_binary_operation_1, at simplify-rtx.c:3586

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79812 Bug ID: 79812 Summary: [7 Regression] ICE in simplify_binary_operation_1, at simplify-rtx.c:3586 Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-

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

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 --- Comment #29 from Richard Biener --- What remains seems to be complaining that int i; foo (&i); doesn't warn. And we have another bug that int i; foo (&i); ... = i; doesn't warn for the read from i. I think both of these need a

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

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

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Richard Biener changed: What|Removed |Added CC||adl at gnu dot org --- Comment #23 from

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Bug 2972 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

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

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34307 Bug 34307 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug middle-end/22197] inconsistent uninitialized warning for structs (SRA, DCE)

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

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

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 22197, which changed state. Bug 22197 Summary: inconsistent uninitialized warning for structs (SRA, DCE) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22197 What|Removed |Added -

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #4 from Marek Polacek --- Looks like warn_alloca_limit, which is UInteger, is somewhere cast to int.

[Bug c/79813] New: Hitting seg fault in cc1

2017-03-02 Thread piers at piersandkatie dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79813 Bug ID: 79813 Summary: Hitting seg fault in cc1 Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee:

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

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=31279 --- Comment #3 from Richard Biener --- Several(?) C duplicates exist which implicitely suggest a similar attribute. void bar (int *); void foo () { int i; bar (&i); } if we can annotate the first arg of 'bar' as "intent in" (aka, should be

[Bug demangler/70909] Libiberty Demangler segfaults (4)

2017-03-02 Thread mark at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #43 from Mark Wielaard --- See also this discussion on gcc-patches: https://gcc.gnu.org/ml/gcc-patches/2017-03/msg00089.html

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #5 from Marek Polacek --- Well, not really (gdb) ptype global_options.x_warn_alloca_limit type = int

[Bug middle-end/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #11 from Jakub Jelinek --- (In reply to Uroš Bizjak from comment #10) > (In reply to Jakub Jelinek from comment #9) > Years ago, I defined HAVE_PRE_DEC, and I was told that it is intended for > targets that can increment pointer on *a

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #6 from Marek Polacek --- Because opt-functions.awk has 202 else if (flag_set_p("UInteger", flags)) 203 return "int " interesting... And e.g. faligned-new= is UInteger but with Init(-1).

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

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 40059, which changed state. Bug 40059 Summary: "uninitialized" warning missed when uninitialized class member used as array index https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40059 What|Removed

[Bug middle-end/40059] "uninitialized" warning missed when uninitialized class member used as array index

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40059 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Known to work|

[Bug tree-optimization/40073] Vector short/char shifts generate sub-optimal code

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40073 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org --- Comme

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #7 from Martin Liška --- Yep, -1 is used to identify a value not provided via an argument. If we can get rid of these minus ones (there are just couple of them), we can swtich to uint?

[Bug c/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 --- Comment #8 from Marek Polacek --- I suppose the fix is then to --- a/gcc/gimple-ssa-warn-alloca.c +++ b/gcc/gimple-ssa-warn-alloca.c @@ -78,7 +78,8 @@ pass_walloca::gate (function *fun ATTRIBUTE_UNUSED) if (first_time_p) return warn_

[Bug tree-optimization/40635] bogus name and location in 'may be used uninitialized' warning

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40635 Richard Biener changed: What|Removed |Added Last reconfirmed|2009-07-06 13:19:06 |2017-3-2 Known to fail|

[Bug bootstrap/79814] New: pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result_1’ is used uninitialized in this function

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79814 Bug ID: 79814 Summary: pass-instances.def:36:14: error: ‘*.gcc::pass_manager::pass_warn_unused_result _1’ is used uninitialized in this function Product: gcc Vers

[Bug c++/79815] New: gcc does not implement C++ standard 7.1.7.4.1 p5 correctly.

2017-03-02 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79815 Bug ID: 79815 Summary: gcc does not implement C++ standard 7.1.7.4.1 p5 correctly. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Prio

[Bug middle-end/40375] redundant register move with scheduler before RA turned off

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40375 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug other/16996] [meta-bug] code size improvements

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16996 Bug 16996 depends on bug 40375, which changed state. Bug 40375 Summary: redundant register move with scheduler before RA turned off https://gcc.gnu.org/bugzilla/show_bug.cgi?id=40375 What|Removed |Added

[Bug c/79816] New: -Wformat-security should warn about missing or excess precision/width in %s specifiers

2017-03-02 Thread felix.von.s at posteo dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79816 Bug ID: 79816 Summary: -Wformat-security should warn about missing or excess precision/width in %s specifiers Product: gcc Version: 6.3.1 Status: UNCONFIRMED Se

[Bug middle-end/41953] missing uninitialized warning (SRA,VOP)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41953 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/79817] New: GCC does not recognize [[deprecated]] attribute for namespace

2017-03-02 Thread boostcpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79817 Bug ID: 79817 Summary: GCC does not recognize [[deprecated]] attribute for namespace Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Pr

[Bug middle-end/41742] Unnecessary zero-extension at -O2 but not -O1

2017-03-02 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41742 --- Comment #2 from Segher Boessenkool --- With current trunk the loop code is better (uses stbu), but the unnecessary extend still is there: memset: cmpwi 0,5,0 beqlr 0 rlwinm 4,4,0,0xff mtctr 5 addi 9,3,

[Bug c++/42000] missing -Wuninitialized warning on a user-defined class ctor

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

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

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 42000, which changed state. Bug 42000 Summary: missing -Wuninitialized warning on a user-defined class ctor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42000 What|Removed |Added ---

[Bug libfortran/78379] Processor-specific versions for matmul

2017-03-02 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78379 --- Comment #25 from Thomas Koenig --- Author: tkoenig Date: Thu Mar 2 11:04:01 2017 New Revision: 245836 URL: https://gcc.gnu.org/viewcvs?rev=245836&root=gcc&view=rev Log: 2017-03-02 Thomas Koenig PR fortran/78379 * m4/matm

[Bug libstdc++/79743] std::experimental::optional constructor broken in gcc 6.2

2017-03-02 Thread krisk0.2017.02.27 at protonmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79743 --- Comment #2 from Денис Крыськов --- ok, will provided standalone .cpp next time. Jonathan, thank you.

[Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 Richard Biener changed: What|Removed |Added Keywords||wrong-code --- Comment #12 from Richard

[Bug tree-optimization/66768] address space gets lost on literal pointer

2017-03-02 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66768 --- Comment #12 from amker at gcc dot gnu.org --- Author: amker Date: Thu Mar 2 11:25:11 2017 New Revision: 245837 URL: https://gcc.gnu.org/viewcvs?rev=245837&root=gcc&view=rev Log: PR tree-optimization/66768 * tree-ssa-loop-ivop

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 Uroš Bizjak changed: What|Removed |Added Status|NEW |ASSIGNED Component|middle-end

[Bug middle-end/79809] ICE in alloca_call_type, at gimple-ssa-warn-alloca.c:282

2017-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79809 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #13 from Uroš Bizjak --- Created attachment 40870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40870&action=edit Proposed patch Patch that implements *pushxf_rounded pattern.

[Bug target/79514] [5/6/7 Regression] ICE in curr_insn_transform, at lra-constraints.c:3773

2017-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79514 --- Comment #14 from Jakub Jelinek --- Comment on attachment 40870 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40870 Proposed patch LGTM.

[Bug c/79813] Hitting seg fault in cc1

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79813 Richard Biener changed: What|Removed |Added Target||xtensa-lx106 Status|UNCONFI

[Bug rtl-optimization/79812] [7 Regression] ICE in simplify_binary_operation_1, at simplify-rtx.c:3586

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79812 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Priority

[Bug c++/79774] gcc -fsanitize=address with error

2017-03-02 Thread zhoujun48 at huawei dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79774 --- Comment #5 from xuliqun --- Sorry, my gcc is 4.9(\aarch64\aarch64-linux-android-4.9-kasan), not 4.8.4, Is there any idea,thanku

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

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19430 --- Comment #30 from Manuel López-Ibáñez --- (In reply to Richard Biener from comment #29) > What remains seems to be complaining that > > int i; > foo (&i); > > doesn't warn. And we have another bug that > > int i; > foo (&i); > ..

[Bug rtl-optimization/79806] [5/6/7 Regression] ICE error: unable to find a register to spill (in assign_by_spills, at lra-assigns.c:1457)

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79806 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

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

2017-03-02 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 Status|RESOLVED|NEW Resolution|DUPLICATE

[Bug middle-end/79805] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79805 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Target Milestone|---

[Bug c++/2972] -Wuninitialized could warn about uninitialized member variable usage in constructors

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=2972 Bug 2972 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

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

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24639 Bug 24639 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug c++/34307] when data member name is same as parameter name, possible to omit parameter name in constructor without warning

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34307 Bug 34307 depends on bug 19808, which changed state. Bug 19808 Summary: miss a warning about uninitialized member usage in member initializer list in constructor https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 What|Removed

[Bug middle-end/79805] [7 Regression] ICE (verify_flow_info failed) with -fnon-call-exceptions -O

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

[Bug tree-optimization/42145] bogus "may be used uninitialized" (a || b converted to a|b)

2017-03-02 Thread manu at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42145 --- Comment #13 from Manuel López-Ibáñez --- (In reply to Richard Biener from comment #12) > This is already fold-const.c transforming TRUTH_ANDIF into TRUTH_AND. I cannot find the discussion now, but I think it was discussed in one of the many

[Bug middle-end/79756] [5/6 Regression] ICE in execute_todo, at passes.c:2011

2017-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79756 Richard Biener changed: What|Removed |Added Known to work||7.0.1 Summary|[5/6/7 Regress

  1   2   >