[Bug c++/59832] [c++11] ICE in reshape_init_class with initializer list

2016-12-15 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59832 Matthijs van Duin changed: What|Removed |Added CC||matthijsvanduin at gmail dot com

[Bug fortran/78822] [cleanup] replace static char buffers by std:string

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78822 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #1

[Bug c/78829] New: bit-rotten "C99 mode" references in GCC manual

2016-12-15 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78829 Bug ID: 78829 Summary: bit-rotten "C99 mode" references in GCC manual Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/78661] [F03] Namelist output missing object designator under DTIO

2016-12-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78661 Jerry DeLisle changed: What|Removed |Added CC||paul.richard.thomas at gmail dot c

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #16 from Martin Sebor --- r243736 should avoid the warning in ordinary bootstrap. A patch for most of the profiledbootstrap warnings has been posted for review here: https://gcc.gnu.org/ml/gcc-patches/2016-12/msg01437.html

[Bug c++/77914] Wrong lambda definition accepted

2016-12-15 Thread abutcher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77914 --- Comment #4 from Adam Butcher --- (In reply to Michele Caini from comment #3) > (In reply to Jakub Jelinek from comment #1) > > Shall we remove that altogether, or just pedwarn on it? > > I suspect it should be rejected, unless it is an

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #15 from Martin Sebor --- Author: msebor Date: Fri Dec 16 02:57:22 2016 New Revision: 243736 URL: https://gcc.gnu.org/viewcvs?rev=243736=gcc=rev Log: PR bootstrap/78817 - stage2 bootstrap failure in vec.h:1613:5: error: argument 1

[Bug c++/61636] generic lambda: segfault / "cannot call member function without object"

2016-12-15 Thread abutcher at gcc dot gnu.org
Clang (3.9.0), the current stock ArchLinux GCC (6.2.1 20160830) and my own build of GCC (7.0.0 20161215) including the patches above. Clang stops short of a fully optimal solution. In fact it is less optimal than GCC even for monomorphic lambdas. It seems to capture 'this' whenever it sees a name with

[Bug fortran/78662] [F03] Incorrect parsing of quotes in the char-literal-constant of the DT data descriptor

2016-12-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78662 --- Comment #3 from Jerry DeLisle --- Patch submitted: https://gcc.gnu.org/ml/fortran/2016-12/msg00193.html

[Bug c++/77573] bogus wide string literals in diagnostics

2016-12-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77573 --- Comment #2 from Martin Sebor --- David, thanks for looking into this! It never occurred to me that what GCC prints is actually a string of octal numbers representing the first 7 bytes of the wide string literal. Either printing

[Bug fortran/78719] [F03] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1438

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

[Bug fortran/78746] charlen_15.f90, charlen_03, charlen_10 ICE

2016-12-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78746 Dominique d'Humieres changed: What|Removed |Added CC||physiker at toast2 dot net ---

[Bug fortran/78827] Compiling gfortran.dg/charlen_03.f90 and gfortran.dg/charlen_10.f90 cause internal compiler error (regression)

2016-12-15 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78827 Dominique d'Humieres changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug fortran/78827] New: Compiling gfortran.dg/charlen_03.f90 and gfortran.dg/charlen_10.f90 cause internal compiler error (regression)

2016-12-15 Thread physiker at toast2 dot net
version 7.0.0 20161215 (experimental) [trunk revision 243680] (GCC) COLLECT_GCC_OPTIONS='-v' '-o' 'charlen_03' '-mmacosx-version-min=10.11.6' '-asm_macosx_version_min=10.11' '-shared-libgcc' '-mtune=core2' /usr/local/libexec/gcc/x86_64-apple-darwin15.6.0/7.0.0/f951 charlen_03.f90 -fPIC -quiet -dumpbase

[Bug go/78763] go1: internal compiler error: in do_get_backend, at go/gofrontend/expressions.cc:8352

2016-12-15 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78763 --- Comment #9 from ian at gcc dot gnu.org --- Author: ian Date: Thu Dec 15 22:47:43 2016 New Revision: 243729 URL: https://gcc.gnu.org/viewcvs?rev=243729=gcc=rev Log: PR go/78763 compiler: call determine_types even for constant

[Bug c++/78826] jump bypasses non-POD

2016-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78826 --- Comment #1 from Andrew Pinski --- Note there might be a rule about non trivial constructors in there too.

[Bug c++/78826] New: jump bypasses non-POD

2016-12-15 Thread aurzenligl at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78826 Bug ID: 78826 Summary: jump bypasses non-POD Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee:

[Bug fortran/78822] [cleanup] replace static char buffers by std:string

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78822 janus at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/78764] CPU type option discarded on 32-bit powerpc

2016-12-15 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78764 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/71216] [4.9/5/6/7 Regression] Incorrect PPC assembly due to inserted .machine pseudo-op

2016-12-15 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71216 Segher Boessenkool changed: What|Removed |Added CC||rin at NetBSD dot org --- Comment

[Bug c++/78825] missing error for template partial specialization using template alias type

2016-12-15 Thread mattia.bonaducci at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78825 --- Comment #1 from Maciej Załucki --- My first thought was that it's bug introduced with N3651 support (C++14 variable templates) to GCC 5 and partially fixed in GCC 5.2.

[Bug target/78764] CPU type option discarded on 32-bit powerpc

2016-12-15 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78764 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug middle-end/78824] multiple add should in my opinion be optimized to multiplication

2016-12-15 Thread pj at hugeone dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78824 --- Comment #2 from Piotr --- avr-gcc actually

[Bug c++/78825] New: missing error for template partial specialization using template alias type

2016-12-15 Thread mattia.bonaducci at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78825 Bug ID: 78825 Summary: missing error for template partial specialization using template alias type Product: gcc Version: 5.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/78824] multiple add should in my opinion be optimized to multiplication

2016-12-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78824 --- Comment #1 from Andrew Pinski --- Works for me on aarch64-linux-gnu with GCC 5.4 and above: main: adrpx1, nvx8 adrpx2, y mov w0, 0 ldrbw1, [x1, #:lo12:nvx8] lsl w1, w1, 4

[Bug target/78823] Poor code on PowerPC when moving SFmode values between GPRs and vector registers

2016-12-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78823 Michael Meissner changed: What|Removed |Added Target||powerpc64-linux-gnu,

[Bug c/78824] New: multiple add should in my opinion be optimized to multiplication

2016-12-15 Thread pj at hugeone dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78824 Bug ID: 78824 Summary: multiple add should in my opinion be optimized to multiplication Product: gcc Version: 4.9.2 Status: UNCONFIRMED Severity: normal

[Bug fortran/78798] [cleanup] some int-valued functions should be bool

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78798 --- Comment #5 from janus at gcc dot gnu.org --- Looking through gfortran.h, some more candidates which could be converted: int gfc_at_end (void); int gfc_at_eof (void); int gfc_at_bol (void); int gfc_at_eol (void); int gfc_check_include

[Bug target/30026] useless stack movement

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30026 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug other/29842] [meta-bug] outstanding patches / issues from STMicroelectronics

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29842 Bug 29842 depends on bug 30119, which changed state. Bug 30119 Summary: libjava testsuite output is erratic and unhelpful https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30119 What|Removed |Added

[Bug testsuite/30119] libjava testsuite output is erratic and unhelpful

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30119 Jeffrey A. Law changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug rtl-optimization/29858] regmove has been silently disabled

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29858 Bug 29858 depends on bug 30119, which changed state. Bug 30119 Summary: libjava testsuite output is erratic and unhelpful https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30119 What|Removed |Added

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 John David Anglin changed: What|Removed |Added CC||danglin at gcc dot gnu.org ---

[Bug c/71110] label "caseN" should be warned about

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71110 David Malcolm changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/77573] bogus wide string literals in diagnostics

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77573 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug tree-optimization/78154] memcpy et al can be assumed to return non-null

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78154 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #13 from Martin Sebor --- (In reply to Franz Sirl from comment #7) > And on x86_64 a profiledbootstrap with --enable-checking=yes fails like this: I have just confirmed this by doing the same. My profiledbootstrap shows the

[Bug tree-optimization/16427] dead memset not optimized away

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16427 Jeffrey A. Law changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug tree-optimization/36602] memset should be optimized into an empty CONSTRUCTOR

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36602 Bug 36602 depends on bug 16427, which changed state. Bug 16427 Summary: dead memset not optimized away https://gcc.gnu.org/bugzilla/show_bug.cgi?id=16427 What|Removed |Added

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

2016-12-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78771 --- Comment #2 from Nathan Sidwell --- Created attachment 40345 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40345=edit simpler testcase the deletedness of the template ctor is a red herring. Also the templatedness of the base class.

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #12 from Martin Sebor --- (In reply to Segher Boessenkool from comment #3) > It is a warning (as well as a bootstrap comparison error) on powerpc64-linux. > You tested on powerpc64le-linux, different animal. I missed that. But I'm

[Bug fortran/78798] [cleanup] some int-valued functions should be bool

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78798 --- Comment #4 from janus at gcc dot gnu.org --- Author: janus Date: Thu Dec 15 20:54:18 2016 New Revision: 243726 URL: https://gcc.gnu.org/viewcvs?rev=243726=gcc=rev Log: 2016-12-15 Janus Weil PR fortran/78798

[Bug tree-optimization/77485] Missed dead store elimination of aggregate store followed by partial stores

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77485 Jeffrey A. Law changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/61912] Missed (partial) dead store elimination for structures on GIMPLE

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61912 Jeffrey A. Law changed: What|Removed |Added CC||petschy at gmail dot com --- Comment

[Bug middle-end/61912] Missed (partial) dead store elimination for structures on GIMPLE

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61912 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #2

[Bug c++/64380] Missed optimization: smarter dead store elimination in dtors

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64380 --- Comment #1 from Jeffrey A. Law --- So the missed dead stores are due to DSE's inability to walk through the loop in ReleaseAll. As a result stores occurring prior to that loop can't be discovered as dead. For reference, here's an example

[Bug fortran/78662] [F03] Incorrect parsing of quotes in the char-literal-constant of the DT data descriptor

2016-12-15 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78662 --- Comment #2 from Jerry DeLisle --- Status. This is one of those where I was looking at the solution and did not see it for a while. Then it pops into view. The strings are stored with the double quotes and passed that way to the write

[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/77585] g++ incorrectly decides that member function is called without object in generic lambda

2016-12-15 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77585 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Thu Dec 15 19:50:25 2016 New Revision: 243723 URL: https://gcc.gnu.org/viewcvs?rev=243723=gcc=rev Log: PR c++/77585 * pt.c (instantiate_decl): Push to class scope

[Bug c++/77829] Bad fix-it for nested-name-specifier

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77829 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug target/78823] New: Poor code on PowerPC when moving SFmode values between GPRs and vector registers

2016-12-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78823 Bug ID: 78823 Summary: Poor code on PowerPC when moving SFmode values between GPRs and vector registers Product: gcc Version: 7.0 Status: UNCONFIRMED Severity:

[Bug tree-optimization/77485] Missed dead store elimination of aggregate store followed by partial stores

2016-12-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77485 --- Comment #10 from Jeffrey A. Law --- [0.00%]: MEM[(char[170] *)& + 30B] = {}; .buf[0] = 48; [ ... ]

[Bug target/78639] [7 Regression] Power9 bad code generation for cactusADM benchmark

2016-12-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78639 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug target/78658] powerpc64le: ICE with -mcpu=power9 -Og

2016-12-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78658 Michael Meissner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78787 --- Comment #4 from David Malcolm --- (In reply to David Malcolm from comment #3) > Created attachment 40343 [details] > Hack to debug diagnostic-color.c $ ./xgcc -B. -O2 -Wall -Wextra -flto /home/david/coding-3/gcc-git-clean/src/z.c

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

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78787 David Malcolm changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug fortran/78718] ICE in gfc_get_symbol_decl, at fortran/trans-decl.c:1427

2016-12-15 Thread jim.macarthur at codethink dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78718 --- Comment #3 from Jim MacArthur --- It looks to me like the assertion failure is because the symbol in the argument expression doesn't have the attr.referenced bit set. resolve_actual_arglist replaces the symtree in the 'z' expression when it

[Bug tree-optimization/78819] [7 Regression] Wrong code with VRP caused by register assertions along default switch labels

2016-12-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78819 --- Comment #3 from Marek Polacek --- Run-time testcase: __attribute__((noinline, noclone)) void foo (int argc) { if (argc <= 0 || argc > 3) return; switch (argc) { case 1: case 3: if (argc != 3)

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-15 Thread seurer at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540 Bill Seurer changed: What|Removed |Added CC||seurer at linux dot vnet.ibm.com ---

[Bug preprocessor/78811] [7 Regression] raw-string-6.c testsuite failure

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78811 David Malcolm changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug preprocessor/78680] [7 Regression] ICE in get_substring_ranges_for_loc, at input.c:1398

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78680 --- Comment #7 from David Malcolm --- Author: dmalcolm Date: Thu Dec 15 18:05:05 2016 New Revision: 243721 URL: https://gcc.gnu.org/viewcvs?rev=243721=gcc=rev Log: Fix use-after-free lexing unterminated raw strings (PR preprocessor/78811)

[Bug preprocessor/78811] [7 Regression] raw-string-6.c testsuite failure

2016-12-15 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78811 --- Comment #4 from David Malcolm --- Author: dmalcolm Date: Thu Dec 15 18:05:05 2016 New Revision: 243721 URL: https://gcc.gnu.org/viewcvs?rev=243721=gcc=rev Log: Fix use-after-free lexing unterminated raw strings (PR preprocessor/78811)

[Bug fortran/78822] New: [cleanup] replace static char buffers by std:string

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78822 Bug ID: 78822 Summary: [cleanup] replace static char buffers by std:string Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug go/78763] go1: internal compiler error: in do_get_backend, at go/gofrontend/expressions.cc:8352

2016-12-15 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78763 --- Comment #8 from Ian Lance Taylor --- Here is a test case that recreates the problem. package p import ( "unsafe" ) func F() int { if unsafe.Sizeof(0) == 8 { return 8 } return 0 }

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 --- Comment #3 from Jakub Jelinek --- The problem is that the hoisting code seems to assume the hoisting would be performed at the end of a bb, but that is not what insert_insn_end_basic_block will then actually do. But by the time

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #11 from Jakub Jelinek --- Looking at the gengtype.c case, I think it is quite common case. static inline const char* get_input_file_name (const input_file *inpf) { if (inpf) return inpf->inpname; return NULL; } const char

[Bug target/71321] [6/7 Regression] x86: worse code for uint8_t % 10 and / 10

2016-12-15 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71321 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org

[Bug middle-end/78540] [6 Regression] ICE: in df_refs_verify, at df-scan.c:4062 with -O -march=core2

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78540 --- Comment #10 from Jakub Jelinek --- Author: jakub Date: Thu Dec 15 15:11:05 2016 New Revision: 243693 URL: https://gcc.gnu.org/viewcvs?rev=243693=gcc=rev Log: PR middle-end/78540 * gcc.dg/pr78540.c: Add -w to dg-options.

[Bug target/77834] [7 Regression] ICE: in make_decl_rtl, at varasm.c:1311 with -O -ftree-pre -mstringop-strategy=libcall

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77834 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Thu Dec 15 15:11:05 2016 New Revision: 243693 URL: https://gcc.gnu.org/viewcvs?rev=243693=gcc=rev Log: PR middle-end/78540 * gcc.dg/pr78540.c: Add -w to dg-options.

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #10 from Jakub Jelinek --- Note, users that want this to be diagnosed reliably already can use -fsanitize={returns-,}nonnull-attribute So I think it is better to warn only about the obvious cases with very low false positive rate,

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #9

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 --- Comment #8 from Markus Trippelsdorf --- trippels@gcc2-power8 linux % cat sm_ftl.i int sm_read_sector_zone; int *sm_read_sector_buffer = _read_sector_zone; int sm_read_sector() { __builtin_memset(sm_read_sector_buffer, 0, 1); again: if

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

2016-12-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #17 from Jonathan Wakely --- I've added some more checks for non-debug iterators. The only thing remaining is to add checks for debug iterators to detect when they are past-the-end.

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

2016-12-15 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59874 --- Comment #15 from Allan Jensen --- Yes, the patch works and it also evaluates at compile time.

[Bug fortran/78800] [OOP] ICE in compare_parameter, at fortran/interface.c:2246

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78800 janus at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

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

2016-12-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59170 --- Comment #16 from Jonathan Wakely --- Author: redi Date: Thu Dec 15 14:13:36 2016 New Revision: 243692 URL: https://gcc.gnu.org/viewcvs?rev=243692=gcc=rev Log: PR59170 make pretty printers check for singular iterators PR

[Bug fortran/78800] [OOP] ICE in compare_parameter, at fortran/interface.c:2246

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78800 --- Comment #1 from janus at gcc dot gnu.org --- Author: janus Date: Thu Dec 15 14:07:51 2016 New Revision: 243691 URL: https://gcc.gnu.org/viewcvs?rev=243691=gcc=rev Log: 2016-12-15 Janus Weil PR fortran/78800

[Bug fortran/78800] [OOP] ICE in compare_parameter, at fortran/interface.c:2246

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78800 janus at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |7.0 --- Comment #2 from janus

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

2016-12-15 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #12 from Pedro Alves --- > So I think the libstdc++ part is fixed, Thanks. TBC, given the pointer example in comment #9, I think GDB's implicit use of options.addressprint=off for pretty printers is a clear GDB bug. I think GDB

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

2016-12-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #11 from Jonathan Wakely --- I've forced the relevant printers to convert to a string explicitly, so now you always get the address, which seems better than {ref = } So I think the libstdc++ part is fixed, do we want a GDB bug to

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

2016-12-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #10 from Jonathan Wakely --- Author: redi Date: Thu Dec 15 13:25:22 2016 New Revision: 243690 URL: https://gcc.gnu.org/viewcvs?rev=243690=gcc=rev Log: PR59161 make pretty printers always return strings PR libstdc++/59161

[Bug fortran/78797] It is time perhaps to implement -std=f2015

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78797 --- Comment #7 from janus at gcc dot gnu.org --- (In reply to janus from comment #6) > Ok. Btw, the draft version of the F15 standard linked from the gfortran wiki > is: > > http://j3-fortran.org/doc/year/15/15-007.pdf > > (from December 2014).

[Bug fortran/78797] It is time perhaps to implement -std=f2015

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78797 --- Comment #6 from janus at gcc dot gnu.org --- (In reply to paul.richard.tho...@gmail.com from comment #5) > I do apologise, it seems that Mr Reid did not do his usual update. We > will have to work from the draft standard itself. Ok. Btw, the

[Bug fortran/78800] [OOP] ICE in compare_parameter, at fortran/interface.c:2246

2016-12-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78800 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug bootstrap/78817] stage2 bootstrap failure in vec.h:1613:5: error: argument 1 null where non-null expected after r243661

2016-12-15 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78817 Franz Sirl changed: What|Removed |Added CC||sirl at gcc dot gnu.org --- Comment #7

[Bug middle-end/48888] Creating a copy variable simplify assembly - i686-pc-linux-gnu

2016-12-15 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=4 etienne_lorrain at yahoo dot fr changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/77484] [6/7 Regression] Static branch predictor causes ~6-8% regression of SPEC2000 GAP

2016-12-15 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77484 --- Comment #12 from wilco at gcc dot gnu.org --- (In reply to wilco from comment #10) > (In reply to Jan Hubicka from comment #9) > > Created attachment 40217 [details] > > predict > > > > Hi, > > here is patch adding the polymorphic case, too.

[Bug middle-end/39456] Functions/variables of a file in different named sections

2016-12-15 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39456 etienne_lorrain at yahoo dot fr changed: What|Removed |Added Status|NEW |RESOLVED

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

2016-12-15 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #9 from Pedro Alves --- > Sounds like Paul's original patch may have introduced an undesired > conflation. AFAICS, options.addressprint's exists to implement "set print > address on/off", which had for original motivation, from

[Bug rtl-optimization/78812] [5/6/7 Regression] Wrong code generation due to hoisting memory load across function call

2016-12-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78812 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2016-12-15 Thread palves at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #8 from Pedro Alves --- Sounds like Paul's original patch may have introduced an undesired conflation. AFAICS, options.addressprint's exists to implement "set print address on/off", which had for original motivation, from the

[Bug tree-optimization/14295] [tree-ssa] copy propagation for aggregates

2016-12-15 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=14295 Bug 14295 depends on bug 24177, which changed state. Bug 24177 Summary: function returning structure produce very long/slow assembly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24177 What|Removed |Added

[Bug tree-optimization/24177] function returning structure produce very long/slow assembly

2016-12-15 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24177 etienne_lorrain at yahoo dot fr changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/22141] [5/6/7 Regression] Missing optimization when storing structures

2016-12-15 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=22141 --- Comment #42 from etienne_lorrain at yahoo dot fr --- Separate Bug 78821 has been successfully created following comment 41

[Bug c/78821] New: GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once

2016-12-15 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78821 Bug ID: 78821 Summary: GCC7: Copying whole 32 bits structure field by field not optimised into copying whole 32 bits at once Product: gcc Version: unknown Status:

[Bug tree-optimization/78819] [7 Regression] Wrong code with VRP caused by register assertions along default switch labels

2016-12-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78819 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/78819] [7 Regression] Wrong code with VRP caused by register assertions along default switch labels

2016-12-15 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78819 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2016-12-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59161 --- Comment #7 from Jonathan Wakely --- This behaviour effectively means pretty printers for generic C++ types must never return gdb.Value from to_string() because they have no idea if GDB's default stringification will be sane. An optional

[Bug tree-optimization/78819] [7 Regression] Wrong code with VRP caused by register assertions along default switch labels

2016-12-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78819 Martin Liška changed: What|Removed |Added Target Milestone|--- |7.0

[Bug tree-optimization/78819] New: [7 Regression] Wrong code with VRP caused by register assertions along default switch labels

2016-12-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78819 Bug ID: 78819 Summary: [7 Regression] Wrong code with VRP caused by register assertions along default switch labels Product: gcc Version: unknown Status: UNCONFIRMED

  1   2   >