[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #21 from Jakub Jelinek --- Author: jakub Date: Thu Dec 1 07:56:49 2016 New Revision: 243099 URL: https://gcc.gnu.org/viewcvs?rev=243099=gcc=rev Log: PR target/78614 * config/rs6000/rs6000.c (rs6000_frame_related):

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

2016-11-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #15 from Andrew Pinski --- I should note I run these tests using the installed compiler rather than directly from the build directory

[Bug c++/70909] Libiberty Demangler segfaults (4)

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70909 --- Comment #17 from Markus Trippelsdorf --- Nathan's patch fixes this issue: https://patchwork.ozlabs.org/patch/701137/ It is currently being reviewed.

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

2016-11-30 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78529 --- Comment #14 from Jim Wilson --- I debugged one of my gcc.c-torture/execute/builtins failures, and found a bug in the gdb aarch64 simulator with the FP stur instruction support. I submitted a patch to gdb-patches. With that fix, all of the

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #20 from Jakub Jelinek --- (In reply to Alan Modra from comment #19) > Cancel those last three comments. I wasn't actually testing with Jakub's > rs6000.c patch. > > Everything now looks good with Jakub's rs6000.c and

[Bug libstdc++/78627] [7 Regression] r243036 causes Firefox build failure

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78627 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #19 from Alan Modra --- Cancel those last three comments. I wasn't actually testing with Jakub's rs6000.c patch. Everything now looks good with Jakub's rs6000.c and simplify-rtx.c patch, plus the rs6000.c insn_is_swappable_p patch

[Bug libstdc++/78627] [7 Regression] r243036 causes Firefox build failure

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78627 --- Comment #1 from Markus Trippelsdorf --- Created attachment 40211 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40211=edit unreduced testcase

[Bug libstdc++/78627] New: [7 Regression] r243036 causes Firefox build failure

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78627 Bug ID: 78627 Summary: [7 Regression] r243036 causes Firefox build failure Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/78626] New: [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error: flow control insn inside a basic block)

2016-11-30 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78626 Bug ID: 78626 Summary: [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error: flow control insn inside a basic block) Product: gcc Version: 7.0

[Bug rtl-optimization/78625] New: [7 Regression] ICE in invert_tree_comparison, at fold-const.c:2483 w/ -O1 -Wmaybe-uninitialized

2016-11-30 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78625 Bug ID: 78625 Summary: [7 Regression] ICE in invert_tree_comparison, at fold-const.c:2483 w/ -O1 -Wmaybe-uninitialized Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug sanitizer/77538] segmentation fault: thread sanitizer shadow stack overflow

2016-11-30 Thread coollpe at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77538 --- Comment #19 from peien luo --- (In reply to Dmitry Vyukov from comment #18) > Looks like shadow stack overflow. > Do you use fibers, ucontext, longjmp, exceptions or any other non-obvious > control flow constructs? > Fibers and exceptions

[Bug middle-end/78605] bogus -Wformat-length=1 with %f

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78605 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug middle-end/78622] [7 Regression] -Wformat-length/-fprintf-return-value incorrect with overflow/wrapping

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78622 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug middle-end/77721] -Wformat-length not uses arg range for converted vars

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77721 Martin Sebor changed: What|Removed |Added Keywords||patch Status|NEW

[Bug libstdc++/71500] regex::icase only works on first character in a range

2016-11-30 Thread timshen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71500 --- Comment #13 from Tim Shen --- Author: timshen Date: Thu Dec 1 03:03:55 2016 New Revision: 243093 URL: https://gcc.gnu.org/viewcvs?rev=243093=gcc=rev Log: PR libstdc++/71500 * include/bits/regex.h (basic_regex::basic_regex):

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #18 from Alan Modra --- Ditto for just https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03117.html

[Bug tree-optimization/78607] [7 Regression] ICE: verify_flow_info failed (error: missing barrier after block 2)

2016-11-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78607 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/78607] [7 Regression] ICE: verify_flow_info failed (error: missing barrier after block 2)

2016-11-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78607 --- Comment #1 from Segher Boessenkool --- Author: segher Date: Thu Dec 1 02:04:10 2016 New Revision: 243092 URL: https://gcc.gnu.org/viewcvs?rev=243092=gcc=rev Log: combine: Emit a barrier after unconditional trap (PR78607) After an

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #17 from Alan Modra --- I see the same sort of invalid rtl sharing errors on powerpc64le with both https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03117.html and https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03116.html applied.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #16 from Alan Modra --- The patch referenced in comment #15 alone, ie. without https://gcc.gnu.org/ml/gcc-patches/2016-11/msg03117.html, results in an --enable-checking=yes,rtl bootstrap failure on powerpc64le-linux.

[Bug bootstrap/78624] New: crosstool-ng targets powerpc-unknown-linux-gnu and powerpc64-unknown-linux-gnu fail to compile

2016-11-30 Thread daniel.black at au dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78624 Bug ID: 78624 Summary: crosstool-ng targets powerpc-unknown-linux-gnu and powerpc64-unknown-linux-gnu fail to compile Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug middle-end/78622] [7 Regression] -Wformat-length/-fprintf-return-value incorrect with overflow/wrapping

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78622 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

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

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78586 --- Comment #14 from Martin Sebor --- (In reply to Jakub Jelinek from comment #13) > (In reply to Martin Sebor from comment #11) > > PR tree-optimization/78586 > > * gcc.dg/tree-ssa/builtin-sprintf-2.c: New test cases. > > > > > >

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #15 from Jakub Jelinek --- Oops, I've attached the wrong one. The third one was meant to be the http://gcc.gnu.org/ml/gcc-patches/2016-11/msg03116.html one.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #14 from Alan Modra --- I meant the last one attached, which I see is the same as the first one. ie. just use copy_rtx and don't worry about extra rtl.

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78586 --- Comment #13 from Jakub Jelinek --- (In reply to Martin Sebor from comment #11) > PR tree-optimization/78586 > * gcc.dg/tree-ssa/builtin-sprintf-2.c: New test cases. > > > Modified: > trunk/gcc/testsuite/ChangeLog >

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #13 from Jakub Jelinek --- By last patch you mean #c7? #c11 is just an improvement on top of that.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Alan Modra changed: What|Removed |Added CC||amodra at gmail dot com --- Comment #12

[Bug c++/78623] New: non-dependent name treated as if it were dependent, requiring use of template keyword

2016-11-30 Thread barry.revzin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78623 Bug ID: 78623 Summary: non-dependent name treated as if it were dependent, requiring use of template keyword Product: gcc Version: 6.2.0 Status: UNCONFIRMED

[Bug fortran/77785] ICE in gfc_get_caf_token_offset, at fortran/trans-expr.c:1990

2016-11-30 Thread mexas at bristol dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77785 Anton Shterenlikht changed: What|Removed |Added CC||mexas at bristol dot ac.uk ---

[Bug fortran/37336] [F03] Finish derived-type finalization

2016-11-30 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37336 Bug 37336 depends on bug 58175, which changed state. Bug 58175 Summary: [OOP] Incorrect warning message on scalar finalizer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175 What|Removed |Added

[Bug fortran/58175] [OOP] Incorrect warning message on scalar finalizer

2016-11-30 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58175 Andrew Benson changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #5 from Iain Sandoe --- Created attachment 40210 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40210=edit test for strndup and publish it from libiberty if not available from the host. bootstrap (all langs,

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78586 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug middle-end/78622] New: [7 Regression] -Wformat-length/-fprintf-return-value incorrect with overflow/wrapping

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78622 Bug ID: 78622 Summary: [7 Regression] -Wformat-length/-fprintf-return-value incorrect with overflow/wrapping Product: gcc Version: 7.0 Status: UNCONFIRMED

[Bug middle-end/78622] [7 Regression] -Wformat-length/-fprintf-return-value incorrect with overflow/wrapping

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78622 Martin Sebor changed: What|Removed |Added Keywords||wrong-code

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78586 --- Comment #11 from Martin Sebor --- Author: msebor Date: Wed Nov 30 19:16:03 2016 New Revision: 243081 URL: https://gcc.gnu.org/viewcvs?rev=243081=gcc=rev Log: PR tree-optimization/78586 - [7 Regression] Wrong code caused by

[Bug c++/78621] lambda mangling not ABI compliant

2016-11-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78621 Nathan Sidwell changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug c++/78621] New: lambda mangling not ABI compliant

2016-11-30 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78621 Bug ID: 78621 Summary: lambda mangling not ABI compliant Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/78620] New: C++11, Padding bytes not zero-intialized when POD is initialized with compiler generated default constructor

2016-11-30 Thread dennis.kennedy at roguewave dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78620 Bug ID: 78620 Summary: C++11, Padding bytes not zero-intialized when POD is initialized with compiler generated default constructor Product: gcc Version: 4.8.3

[Bug target/78560] powerpc64le ICE with -mcpu=power9

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

[Bug target/78602] PowerPC vec-extract-v2df.c can fail if -mcpu=power9 -O0

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

[Bug fortran/78611] -march=native makes code 3x slower

2016-11-30 Thread pepalogik at seznam dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611 --- Comment #11 from Jan Lachnitt --- Thank you all for a rapid investigation of the problem. Here is a confirmation with the large test case: jenda@VivoBook ~/Bug reports/gfortran/6/PhSh1 $ gfortran-6 phsh1.f -std=legacy -I. -march=core-avx-i

[Bug target/78560] powerpc64le ICE with -mcpu=power9

2016-11-30 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78560 --- Comment #5 from Michael Meissner --- Author: meissner Date: Wed Nov 30 18:43:17 2016 New Revision: 243044 URL: https://gcc.gnu.org/viewcvs?rev=243044=gcc=rev Log: 2016-11-30 Michael Meissner PR

[Bug target/78602] PowerPC vec-extract-v2df.c can fail if -mcpu=power9 -O0

2016-11-30 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78602 --- Comment #2 from Michael Meissner --- Author: meissner Date: Wed Nov 30 18:43:17 2016 New Revision: 243044 URL: https://gcc.gnu.org/viewcvs?rev=243044=gcc=rev Log: 2016-11-30 Michael Meissner PR

[Bug fortran/78619] New: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889

2016-11-30 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78619 Bug ID: 78619 Summary: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:889 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/78618] ICE in gfc_check_rank, at fortran/check.c:3670

2016-11-30 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618 --- Comment #1 from Gerhard Steinmetz --- Working variants : $ cat z2.f90 program p character :: c = char(256,4) print *, rank(c) end $ gfortran-7-20161127 z2.f90 z2.f90:2:19: character :: c

[Bug fortran/78618] New: ICE in gfc_check_rank, at fortran/check.c:3670

2016-11-30 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78618 Bug ID: 78618 Summary: ICE in gfc_check_rank, at fortran/check.c:3670 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/77856] [7 Regression] wrong code at -O2 on x86_64-linux-gnu in 32-bit mode

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

[Bug middle-end/71443] [7 regression] test case gcc.dg/plugin/must-tail-call-2.c reports error

2016-11-30 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71443 Bernd Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug target/71293] [7 regression] test case gcc.dg/plugin/must-tail-call-2.c fails starting with r236514

2016-11-30 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71293 Bernd Schmidt changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/77856] [7 Regression] wrong code at -O2 on x86_64-linux-gnu in 32-bit mode

2016-11-30 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77856 --- Comment #4 from Vladimir Makarov --- Author: vmakarov Date: Wed Nov 30 17:35:40 2016 New Revision: 243038 URL: https://gcc.gnu.org/viewcvs?rev=243038=gcc=rev Log: 2016-11-30 Vladimir Makarov PR

[Bug rtl-optimization/78617] LRA clobbers live register during rematerialization

2016-11-30 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78617 --- Comment #2 from Thomas Preud'homme --- I've tracked down the problem to do_remat: The function scans instruction forward in each basic block and looks for a candidate to use for rematerialization. To check whether the candidate is used, it

[Bug rtl-optimization/78617] LRA clobbers live register during rematerialization

2016-11-30 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78617 ktkachov at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug rtl-optimization/78617] New: LRA clobbers live register during rematerialization

2016-11-30 Thread thopre01 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78617 Bug ID: 78617 Summary: LRA clobbers live register during rematerialization Product: gcc Version: 6.2.1 Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Jakub Jelinek changed: What|Removed |Added Attachment #40206|0 |1 is obsolete|

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #4 from Iain Sandoe --- (In reply to Iain Sandoe from comment #3) > trying this (after regnerating gcc/configure and gcc/config.in) > > $ git diff gcc/configure.ac include/libiberty.h > diff --git a/gcc/configure.ac

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #10 from Markus Trippelsdorf --- (In reply to Jakub Jelinek from comment #9) > Created attachment 40206 [details] > gcc7-pr78614-3.patch > > The better patch actually doesn't seem to be much better, because > simplify_replace_fn

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #3 from Iain Sandoe --- trying this (after regnerating gcc/configure and gcc/config.in) $ git diff gcc/configure.ac include/libiberty.h diff --git a/gcc/configure.ac b/gcc/configure.ac index 703250f..ece1ffa 100644 ---

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

2016-11-30 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78559 amker at gcc dot gnu.org changed: What|Removed |Added Component|middle-end |rtl-optimization --- Comment

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #9 from Jakub Jelinek --- Created attachment 40206 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40206=edit gcc7-pr78614-3.patch The better patch actually doesn't seem to be much better, because simplify_replace_fn when it

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #2 from Iain Sandoe --- (In reply to David Malcolm from comment #1) > If I'm reading things right, it looks like libiberty provides an > implementation of strndup if it's not available, but it doesn't provide a > decl for it. indeed

[Bug c++/78589] g++ prints instead of a function name when warning in an OpenMP outlined function

2016-11-30 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78589 --- Comment #3 from Alexander Monakov --- Ah, sorry if I misunderstood and got carried away. >From my investigation it looks like for the '' issue it's just a matter of setting DECL_ABSTRACT_ORIGIN in create_omp_child_function (not sure if

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 --- Comment #1 from David Malcolm --- If I'm reading things right, it looks like libiberty provides an implementation of strndup if it's not available, but it doesn't provide a decl for it.

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #8 from Markus Trippelsdorf --- (In reply to Jakub Jelinek from comment #7) > Created attachment 40205 [details] > gcc7-pr78614-2.patch > > Perhaps better patch (if it works). The previous patch would copy even > rtxes that

[Bug bootstrap/78616] [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug bootstrap/78616] New: [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup

2016-11-30 Thread iains at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78616 Bug ID: 78616 Summary: [7 regression] bootstrap fails for x86_64-darwin at stage1 after 243030 when the bootstrap compiler doesn't have strndup Product: gcc

[Bug fortran/78611] -march=native makes code 3x slower

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

[Bug fortran/78611] -march=native makes code 3x slower

2016-11-30 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611 --- Comment #9 from Uroš Bizjak --- (In reply to H.J. Lu from comment #7) > (In reply to H.J. Lu from comment #6) > > Which glibc was used? You may run into: > > > > https://sourceware.org/bugzilla/show_bug.cgi?id=20495 > > Please run your

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #7 from Jakub Jelinek --- Created attachment 40205 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40205=edit gcc7-pr78614-2.patch Perhaps better patch (if it works). The previous patch would copy even rtxes that simplify_*rtx

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78586 --- Comment #10 from Martin Sebor --- (In reply to Jakub Jelinek from comment #8) > The far more important thing is that the handling of different argtype and > dirtype really doesn't work. Consider: > > __attribute__((noinline, noclone)) int

[Bug fortran/78611] -march=native makes code 3x slower

2016-11-30 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611 --- Comment #8 from Uroš Bizjak --- (In reply to H.J. Lu from comment #6) > Which glibc was used? You may run into: > > https://sourceware.org/bugzilla/show_bug.cgi?id=20495 Fedora 25: $ /lib/libc.so.6 GNU C Library (GNU libc) stable

[Bug fortran/78611] -march=native makes code 3x slower

2016-11-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611 --- Comment #7 from H.J. Lu --- (In reply to H.J. Lu from comment #6) > Which glibc was used? You may run into: > > https://sourceware.org/bugzilla/show_bug.cgi?id=20495 Please run your testcase with # LD_BIND_NOW=1 ./test with and without

[Bug tree-optimization/77445] [7 Regression] Performance drop after r239219 on coremark test

2016-11-30 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445 --- Comment #7 from James Greenhalgh --- Right, I've trimmed too much context from my message. This performance regression starts with r239219 which adds a cost model to the threader which relies on frequency information (arguably this is a bad

[Bug fortran/78611] -march=native makes code 3x slower

2016-11-30 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #6

[Bug fortran/78611] -march=native makes code 3x slower

2016-11-30 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78611 --- Comment #5 from Uroš Bizjak --- I can confirm the slowdown with -mavx on ivybridge-E: -msse4 real0m0.278s user0m0.276s sys 0m0.002s -mavx real0m0.699s user0m0.696s sys 0m0.003s in -msse4 case, perf report

[Bug target/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #6 from Jakub Jelinek --- Created attachment 40204 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40204=edit gcc7-pr78614.patch This fixes the testcase for me in a cross. Could somebody try --enable-checking=yes,rtl bootstrap

[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Jakub Jelinek changed: What|Removed |Added CC||amodra at gcc dot gnu.org --- Comment

[Bug c++/78615] error: cannot decrement a pointer to incomplete type

2016-11-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78615 --- Comment #2 from Andrew Pinski --- I don't think this is valid code and here is why: struct QListNode is incomplete. You use an instantiation of QList via class B which means all methods of QList are instantiated.

[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

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

[Bug testsuite/78133] Commit r241489 adds printf specifiers not supported by newlib.

2016-11-30 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78133 --- Comment #4 from Martin Sebor --- This is still on my list of things to take care of before the release but I haven't had a chance to work on it yet. Sorry about that. I think the minimum safe solution is to xfail the tests for the target.

[Bug c++/78615] error: cannot decrement a pointer to incomplete type

2016-11-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78615 Martin Liška changed: What|Removed |Added Known to work||5.4.0, 6.2.0 Known to fail|

[Bug c++/78615] New: error: cannot decrement a pointer to incomplete type

2016-11-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78615 Bug ID: 78615 Summary: error: cannot decrement a pointer to incomplete type Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/27855] [5/6/7 regression] reassociation causes the RA to be confused

2016-11-30 Thread bernds at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=27855 Bernd Schmidt changed: What|Removed |Added CC||bernds at gcc dot gnu.org --- Comment

[Bug tree-optimization/78586] [7 Regression] Wrong code caused by printf-return-value

2016-11-30 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78586 --- Comment #9 from Jakub Jelinek --- Even for TYPE_PRECISION (dirtype) == TYPE_PRECISION (argtype), if one is signed and the other is unsigned, are you sure that for VR_RANGE we do the right thing? Again, should be backed out by sufficient

[Bug tree-optimization/77445] [7 Regression] Performance drop after r239219 on coremark test

2016-11-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug inline-asm/47071] Using -ffunction-sections produces bad assembler on my testcase

2016-11-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47071 Andrew Pinski changed: What|Removed |Added CC||trippels at gcc dot gnu.org --- Comment

[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Richard Biener changed: What|Removed |Added Version|unknown |7.0 Target Milestone|---

[Bug lto/78613] [6/7 Regression] Assembler messages: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}

2016-11-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78613 Andrew Pinski changed: What|Removed |Added Resolution|INVALID |DUPLICATE --- Comment #3 from Andrew

[Bug rtl-optimization/78614] [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 --- Comment #1 from Martin Liška --- Or reproducible via a cross-compiler: $ ../configure --disable-bootstrap --enable-languages=c,c++,fortran --enable-valgrind-annotations --prefix=/home/marxin/bin/gcc3 --disable-multilib

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 --- Comment #8 from David Malcolm --- Author: dmalcolm Date: Wed Nov 30 14:54:43 2016 New Revision: 243031 URL: https://gcc.gnu.org/viewcvs?rev=243031=gcc=rev Log: Fix typo in testcase name gcc/testsuite/ChangeLog: PR c/78498

[Bug rtl-optimization/78614] New: [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743

2016-11-30 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78614 Bug ID: 78614 Summary: [7 Regression] ICE error: invalid rtl sharing found in the insn (verify_rtx_sharing) gcc/emit-rtl.c:2743 Product: gcc Version: unknown Status:

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

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

[Bug c/78498] [7 Regression] valgrind conditional jump or move depends on uninitialised value(s) in format_type_warning

2016-11-30 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78498 --- Comment #6 from David Malcolm --- Author: dmalcolm Date: Wed Nov 30 14:50:43 2016 New Revision: 243030 URL: https://gcc.gnu.org/viewcvs?rev=243030=gcc=rev Log: libiberty: avoid reading past end of buffer in strndup/xstrndup (PR c/78498)

[Bug tree-optimization/77445] [7 Regression] Performance drop after r239219 on coremark test

2016-11-30 Thread jgreenhalgh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77445 James Greenhalgh changed: What|Removed |Added Last reconfirmed|2016-09-03 00:00:00 |2016-11-30 CC|

[Bug rtl-optimization/78610] [7 Regression] ICE in rtl_verify_bb_insns, at cfgrtl.c:2656 (error: flow control insn inside a basic block)

2016-11-30 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78610 --- Comment #2 from Segher Boessenkool --- Author: segher Date: Wed Nov 30 14:47:01 2016 New Revision: 243028 URL: https://gcc.gnu.org/viewcvs?rev=243028=gcc=rev Log: ira: Don't substitute into TRAP_IF insns (PR78610) In the testcase, IRA

[Bug lto/78613] [6/7 Regression] Assembler messages: Error: can't resolve `.rodata' {.rodata section} - `.Ltext0' {.text section}

2016-11-30 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78613 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

  1   2   >