[Bug debug/59161] GDB pretty printers: iterator->reference not printed

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 Jan Kratochvil changed: What|Removed |Added CC||redi at gcc dot gnu.org Compon

[Bug target/78794] [7 Regression] We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202

2016-12-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78794 --- Comment #3 from Uroš Bizjak --- Perhaps as simple as: diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 1cd1cd8..6899d4f 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -3424,7 +3424,7 @@ dimode_scalar_ch

[Bug debug/59170] pretty printers: end iterator invalid pointer

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 Jan Kratochvil changed: What|Removed |Added CC||redi at gcc dot gnu.org Vers

[Bug debug/59171] pretty printers: reverse iterator off by one

2016-12-13 Thread jan.kratochvil at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59171 Jan Kratochvil changed: What|Removed |Added CC||redi at gcc dot gnu.org --- Comment #2

[Bug target/78794] [7 Regression] We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202

2016-12-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78794 --- Comment #2 from Uroš Bizjak --- Previously we entered STV pass with: (insn 32 31 33 4 (parallel [ (set (reg:DI 118) (and:DI (reg:DI 88 [ _5 ]) (reg:DI 97 [ _24 ]))) (clobber (reg:CC

[Bug tree-optimization/78788] [7 Regression] ICE (segfault) on s390x-linux-gnu

2016-12-13 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78788 --- Comment #4 from Matthias Klose --- $ cat ghosts.i int a; long b; long c; void d() { int e = 0; for (; b; b++) if (c) { e++; e++; } while (e) a = e -= 2; }

[Bug libstdc++/65434] Memory leak in pool constructor

2016-12-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 --- Comment #9 from Jonathan Wakely --- (Although I have a simpler patch that does something similar, as well as allowing the arena size to be controlled form the environment).

[Bug middle-end/78786] GCC hangs/out of memory calling sprintf with large precision

2016-12-13 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78786 --- Comment #4 from Vincent Lefèvre --- (In reply to Vincent Lefèvre from comment #3) > On -33 0, this program outputs: > > 2147483616 > 10487712 I forgot to say that I used "/usr/bin/time -f %M ..." to get the second output number, which is th

[Bug middle-end/78786] GCC hangs/out of memory calling sprintf with large precision

2016-12-13 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78786 --- Comment #3 from Vincent Lefèvre --- Well, concerning "%.*Rf", indeed, mpfr_snprintf allocates 2 GB for a short period. But I notice that glibc is much worse. Consider the following program. #include #include #include #include int main (

[Bug target/78791] [7 regression] ACATS cxf2001 failure

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78791 Richard Biener changed: What|Removed |Added Target Milestone|--- |7.0 Summary|[7.0 regression]

[Bug target/78794] [7 Regression] We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78794 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Target Milestone

[Bug target/78794] [7 Regression] We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202

2016-12-13 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78794 --- Comment #1 from Yuri Rumyantsev --- Created attachment 40322 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40322&action=edit test-case to reproduce Compile with -O2 -march=slm -m32 options to reproduce.

[Bug target/78794] New: [7 Regression] We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202

2016-12-13 Thread ysrumyan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78794 Bug ID: 78794 Summary: [7 Regression] We noticed ~9% regression in 32-bit mode for 462.libquntum on Avoton after r243202 Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug target/78516] [7 Regression] ICE in lra_assign for e500v2

2016-12-13 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78516 Peter Bergner changed: What|Removed |Added Attachment #40317|0 |1 is obsolete|

[Bug tree-optimization/78529] [7 Regression] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2016-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #20 from Jakub Jelinek --- Unless you do something very nasty in the spec files (in which case you should just avoid those tests), the user specified objects should always appear before stuff coming from -lc unless -lc is specified fi

[Bug bootstrap/78756] Missing prefix in the name of gfortran.info

2016-12-13 Thread mojca at macports dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78756 --- Comment #1 from Mojca Miklavec --- In the meantime I realized that the part of our build system that supports compiling cross-tools does the following: ---> Extracting gcc-6.2.0.tar.bz2 ---> Patching cpp.texi: s|setfilename cpp.info|setfil

[Bug c++/78765] [7 Regression] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: in cp_build_addr_expr_1, at cp/typeck.c:5708)

2016-12-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78765 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug tree-optimization/78529] [7 Regression] gcc.c-torture/execute/builtins/strcat-chk.c failed with lto/O2

2016-12-13 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 James Greenhalgh changed: What|Removed |Added CC||jgreenhalgh at gcc dot gnu.org --- Co

[Bug libgcc/78779] libgcc/soft-fp/op-common.h:900: possible missing break ?

2016-12-13 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78779 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug libfortran/78793] New: list_read.c: 7 * possible unintended fallthrough ?

2016-12-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78793 Bug ID: 78793 Summary: list_read.c: 7 * possible unintended fallthrough ? Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/78791] [7.0 regression] ACATS cxf2001 failure

2016-12-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78791 --- Comment #2 from Eric Botcazou --- > AFAICS the issue is the management of stack slots by assign_386_stack_local. In .combine: (call_insn 181 180 182 22 (set (reg:DI 0 ax) (call (mem:QI (symbol_ref:SI ("__udivmoddi4") [flags 0x41]) [

[Bug libgcc/78779] libgcc/soft-fp/op-common.h:900: possible missing break ?

2016-12-13 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78779 --- Comment #1 from David Binderman --- Same thing a few lines further down in the same file: trunk/libgcc/soft-fp/op-common.h:913:10: warning: this statement may fall through [-Wimplicit-fallthrough=] Source code is case _FP_CLS_COMBINE (

[Bug gcov-profile/78792] New: gfortran + gcov confused by #line directive

2016-12-13 Thread patrick.seewald at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78792 Bug ID: 78792 Summary: gfortran + gcov confused by #line directive Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: gcov-

[Bug tree-optimization/78788] [7 Regression] ICE (segfault) on s390x-linux-gnu

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78788 --- Comment #3 from Richard Biener --- Index: gcc/tree-vrp.c === --- gcc/tree-vrp.c (revision 243599) +++ gcc/tree-vrp.c (working copy) @@ -365,10 +365,6 @@ set_value_range

[Bug target/78791] [7.0 regression] ACATS cxf2001 failure

2016-12-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78791 --- Comment #1 from Eric Botcazou --- > ACATS cxf2001 fails on 32-bit x86 because Double_Divide of s-arit64.adb is > miscompiled at -O2 by the STV pass. Self-contained testcase to be attached. AFAICS the issue is the management of stack slots b

[Bug target/78791] New: [7.0 regression] ACATS cxf2001 failure

2016-12-13 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78791 Bug ID: 78791 Summary: [7.0 regression] ACATS cxf2001 failure Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug tree-optimization/78788] [7 Regression] ICE (segfault) on s390x-linux-gnu

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78788 --- Comment #2 from Richard Biener --- Found new range for msgcnt_138: [-2147483646, +INF] Found new range for msgcnt_228: [-2147483646, +INF] Found new range for msgcnt_172: [-INF, 2147483645] Found new range for msgcnt_138: [-2147483646, +INF(O

[Bug libstdc++/65434] Memory leak in pool constructor

2016-12-13 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 --- Comment #8 from Jonathan Wakely --- Please send patches to the libstdc++@ and gcc-patches@ mailing lists, rather than attaching them to closed bugs. https://gcc.gnu.org/onlinedocs/libstdc++/manual/appendix_contributing.html

[Bug target/59874] Missing builtin (__builtin_clzs) when compiling with g++

2016-12-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59874 --- Comment #6 from Uroš Bizjak --- (In reply to Allan Jensen from comment #5) > This is more problematic to fix in Qt itself. How can we determine if we > should/can use __builtin_clzs or __lzcnt16? > > Note the former is practically standard b

[Bug tree-optimization/78788] [7 Regression] ICE (segfault) on s390x-linux-gnu

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78788 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug ipa/78790] Disable IPA-VRP for noclone functions.

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78790 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug lto/78787] O Color, Where Art Thou? (with -flto)

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78787 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/78778] non-atomic load moved to before atomic load with std::memory_order_acquire

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78778 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/78775] [7 Regression] ICE in maybe_warn_alloc_args_overflow

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78775 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|unknown

[Bug middle-end/78786] GCC hangs/out of memory calling sprintf with large precision

2016-12-13 Thread vincent-gcc at vinc17 dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78786 --- Comment #2 from Vincent Lefèvre --- With "%.*f", the problem comes from GMP (and possibly glibc) since MPFR calls the GMP functions to handle non-MPFR format specifiers. But the patch seems to use "%.*Rf", for which I cannot reproduce the pr

[Bug c++/78774] [6/7 Regression] ICE in constexpr string literals and templates

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78774 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug fortran/55814] Missed optimization with short-circuit evaluation of always evaluated comparisons/loads

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55814 Richard Biener changed: What|Removed |Added Component|middle-end |fortran --- Comment #5 from Richard Bie

[Bug rtl-optimization/78559] [7 Regression] wrong code due to tree if-conversion?

2016-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78559 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org,

[Bug middle-end/78684] [7 Regression] ICE in create_intersect_range_checks_index, at tree-vect-loop-manip.c:2074

2016-12-13 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78684 amker at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--

[Bug ipa/78790] New: Disable IPA-VRP for noclone functions.

2016-12-13 Thread gjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78790 Bug ID: 78790 Summary: Disable IPA-VRP for noclone functions. Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ipa

[Bug tree-optimization/18438] vectorizer failed for vector matrix multiplication

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18438 --- Comment #13 from Richard Biener --- (In reply to Maxim Kuvyrkov from comment #9) > I've looked into another case where inability to handle stores with gaps > generates sub-optimal code. I'm interested in spending some time on fixing > this,

[Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.

2016-12-13 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361 Martin Liška changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|WORKSFORME

[Bug target/77933] Stack corruption on ARM when using high registers and __builtin_return_address

2016-12-13 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77933 Thomas Preud'homme changed: What|Removed |Added Status|ASSIGNED|RESOLVED Known to work|

[Bug go/78789] New: Error: no such instruction: `aesenc %xmm0,%xmm2' when compiling libgo/runtime/aeshash.c

2016-12-13 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78789 Bug ID: 78789 Summary: Error: no such instruction: `aesenc %xmm0,%xmm2' when compiling libgo/runtime/aeshash.c Product: gcc Version: 7.0 Status: UNCONFIRMED Sev

[Bug c++/78771] [5/6/7 Regression] ICE when using inherited constructors (instantiate_template_1 in gcc/cp/pt.c:17391)

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78771 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Target Milestone|---

[Bug c/78768] -Walloca-larger-than and -Wformat-length warnings disabled by -flto

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78768 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/77933] Stack corruption on ARM when using high registers and __builtin_return_address

2016-12-13 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77933 --- Comment #8 from Thomas Preud'homme --- Author: thopre01 Date: Tue Dec 13 09:39:02 2016 New Revision: 243600 URL: https://gcc.gnu.org/viewcvs?rev=243600&root=gcc&view=rev Log: Fix PR77933: stack corruption on ARM when using high registers and

[Bug c++/78767] [7 Regression] ICE when inheriting constructor of base class

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78767 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Version|6.2.0

[Bug gcov-profile/48361] gcov freezes when using --all-blocks (-a) flag.

2016-12-13 Thread luca at ingianni dot eu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48361 Luca Ingianni changed: What|Removed |Added CC||luca at ingianni dot eu --- Comment #8 f

[Bug tree-optimization/78788] New: [7 Regression] ICE (segfault) on s390x-linux-gnu

2016-12-13 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78788 Bug ID: 78788 Summary: [7 Regression] ICE (segfault) on s390x-linux-gnu Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tr

[Bug tree-optimization/78742] [5/6 Regression] internal compiler error: in int_cst_value, at tree.c:10782

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78742 Richard Biener changed: What|Removed |Added Known to work||7.0 Summary|[5/6/7 Regressio

[Bug tree-optimization/78699] [7 Regression] ICE (segfault) on powerpc64le-linux-gnu (memory-hog)

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78699 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/78699] [7 Regression] ICE (segfault) on powerpc64le-linux-gnu (memory-hog)

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78699 --- Comment #6 from Richard Biener --- Author: rguenth Date: Tue Dec 13 09:19:19 2016 New Revision: 243599 URL: https://gcc.gnu.org/viewcvs?rev=243599&root=gcc&view=rev Log: 2016-12-13 Richard Biener PR tree-optimization/78699

[Bug tree-optimization/78742] [5/6/7 Regression] internal compiler error: in int_cst_value, at tree.c:10782

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78742 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue Dec 13 09:17:42 2016 New Revision: 243598 URL: https://gcc.gnu.org/viewcvs?rev=243598&root=gcc&view=rev Log: 2016-12-13 Richard Biener PR middle-end/78742 * tr

[Bug tree-optimization/78731] [5 Regression] Possible bug with switch when optimization is turned on.

2016-12-13 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78731 --- Comment #5 from rguenther at suse dot de --- On Fri, 9 Dec 2016, law at redhat dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78731 > > Jeffrey A. Law changed: > >What|Removed |Added > --

[Bug fortran/78757] [7 Regression] ICE with function returning a pointer to a character

2016-12-13 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78757 Richard Biener changed: What|Removed |Added Version|unknown |7.0 --- Comment #2 from Richard Biener

[Bug libstdc++/65434] Memory leak in pool constructor

2016-12-13 Thread meisenmann....@fh-salzburg.ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 --- Comment #7 from Markus Eisenmann --- Hi! My motivation to use/implement this patch (comment #6) is to prevent using malloc to allocate the needed emergency-buffer region, if the needed overall size is bellow a (configurable) limit; e.g., emb

[Bug ipa/77905] [5/6/7 Regression] ICE at -Os and above in both 32-bit and 64-bit modes on x86_64-linux-gnu (internal compiler error: in ipa_comdats, at ipa-comdats.c:352)

2016-12-13 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77905 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Dec 13 08:48:45 2016 New Revision: 243596 URL: https://gcc.gnu.org/viewcvs?rev=243596&root=gcc&view=rev Log: PR ipa/77905 * ipa-pure-const.c (cdtor_p): Return true for

[Bug libstdc++/65434] Memory leak in pool constructor

2016-12-13 Thread meisenmann....@fh-salzburg.ac.at
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65434 Markus Eisenmann changed: What|Removed |Added CC||meisenmann.lba@fh-salzburg.

[Bug driver/78772] -fstrict-aliasing should turn on Wstrict-aliasing automaticly

2016-12-13 Thread ma.jiang at zte dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78772 --- Comment #7 from ma.jiang at zte dot com.cn --- (In reply to Markus Trippelsdorf from comment #5) Hi Markus, > These optimizations are not dangerous if you use standard conforming code. I think these optimizations are dangerous because t

<    1   2