[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

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

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu Feb 23 07:49:06 2017 New Revision: 245676 URL: https://gcc.gnu.org/viewcvs?rev=245676&root=gcc&view=rev Log: PR middle-end/79665 * internal-fn.c (get_range_pos_neg): M

[Bug tree-optimization/79578] Unnecessary instructions in generated code

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

[Bug tree-optimization/79578] Unnecessary instructions in generated code

2017-02-22 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79578 --- Comment #6 from Jeffrey A. Law --- Author: law Date: Thu Feb 23 05:47:43 2017 New Revision: 245675 URL: https://gcc.gnu.org/viewcvs?rev=245675&root=gcc&view=rev Log: PR tree-optimization/79578 * tree-ssa-dse.c (clear_bytes_wr

[Bug c++/79679] [7 Regression] [C++17] Missing destruction of temporary within constructor's mem-initializer-list

2017-02-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79679 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Feb 23 01:15:43 2017 New Revision: 245672 URL: https://gcc.gnu.org/viewcvs?rev=245672&root=gcc&view=rev Log: PR c++/79679 - missing destructor for argument * call.c (b

[Bug c++/79679] [7 Regression] [C++17] Missing destruction of temporary within constructor's mem-initializer-list

2017-02-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79679 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/79683] New: SLP vectorizer drops gs: prefix

2017-02-22 Thread me at manueljacob dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79683 Bug ID: 79683 Summary: SLP vectorizer drops gs: prefix Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug c++/79679] [7 Regression] [C++17] Missing destruction of temporary within constructor's mem-initializer-list

2017-02-22 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79679 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug target/79211] [7 Regression] ICE in extract_insn, at recog.c:2311

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

[Bug target/79211] [7 Regression] ICE in extract_insn, at recog.c:2311

2017-02-22 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79211 --- Comment #6 from Segher Boessenkool --- Author: segher Date: Wed Feb 22 23:50:46 2017 New Revision: 245667 URL: https://gcc.gnu.org/viewcvs?rev=245667&root=gcc&view=rev Log: rs6000: Fix fsel pattern (PR79211) The fsel define_insn uses fpr_re

[Bug c++/77958] printf format checking -vs- variadic template functions

2017-02-22 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77958 --- Comment #3 from Daniel Fruzynski --- This attribute should also work when some parameters are not variadic ones. One use case presented in bug 79680 is to have two overloaded logging function: one printf-like, and another one which accepts co

[Bug c++/79682] New: [concepts] ambiguous overload with functionally equivalent predicate constraints compiles

2017-02-22 Thread hstong at ca dot ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79682 Bug ID: 79682 Summary: [concepts] ambiguous overload with functionally equivalent predicate constraints compiles Product: gcc Version: 7.0 Status: UNCONFIRMED S

[Bug c++/79679] [7 Regression] [C++17] Missing destruction of temporary within constructor's mem-initializer-list

2017-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79679 Jonathan Wakely changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #

[Bug target/79261] vec_xxpermdi appears to have endian issues

2017-02-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261 --- Comment #3 from Bill Schmidt --- Author: wschmidt Date: Wed Feb 22 22:52:36 2017 New Revision: 245663 URL: https://gcc.gnu.org/viewcvs?rev=245663&root=gcc&view=rev Log: [gcc] 2017-02-22 Bill Schmidt Backport from mainline

[Bug target/79261] vec_xxpermdi appears to have endian issues

2017-02-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261 Bill Schmidt changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79681] New: ICE with constexpr and bitfield

2017-02-22 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79681 Bug ID: 79681 Summary: ICE with constexpr and bitfield Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3

[Bug target/79261] vec_xxpermdi appears to have endian issues

2017-02-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79261 --- Comment #4 from Bill Schmidt --- Author: wschmidt Date: Wed Feb 22 22:54:56 2017 New Revision: 245664 URL: https://gcc.gnu.org/viewcvs?rev=245664&root=gcc&view=rev Log: [gcc] 2017-02-22 Bill Schmidt Backport from mainline

[Bug c++/79679] [7 Regression] [C++17] Missing destruction of temporary within constructor's mem-initializer-list

2017-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79679 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code Status|UNCONFIR

[Bug c++/79664] ICE with #pragma omp parallel in constexpr function

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

[Bug c++/79664] ICE with #pragma omp parallel in constexpr function

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79664 --- Comment #2 from Jakub Jelinek --- Author: jakub Date: Wed Feb 22 22:36:20 2017 New Revision: 245662 URL: https://gcc.gnu.org/viewcvs?rev=245662&root=gcc&view=rev Log: PR c++/79664 * parser.c (cp_parser_omp_teams, cp_parser_om

[Bug target/69880] Linking Windows resource + implicit 'default-manifest.o' creates bad .exe

2017-02-22 Thread mati865 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 --- Comment #18 from mati865 at gmail dot com --- Nick I applied https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=ec8f76882145c71bef81a9cadf0bf51ff9fa5b35 on top of 2.27 binutils and cannot reproduce issue anymore.

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-02-22 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 --- Comment #6 from PeteVine --- But that's related to -mcpu=cortex-a53 again, so never mind I guess.

[Bug middle-end/79665] gcc's signed (x*x)/200 is slower than clang's

2017-02-22 Thread tulipawn at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79665 PeteVine changed: What|Removed |Added CC||tulipawn at gmail dot com --- Comment #5 from

[Bug c/79680] format attribute cannot be used with template parameters

2017-02-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79680 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

[Bug c++/77958] printf format checking -vs- variadic template functions

2017-02-22 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77958 Martin Sebor changed: What|Removed |Added CC||bugzilla@poradnik-webmaster

[Bug c/79662] ICE on invalid code in convert_arguments in c/c-typeck.c:3452

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79662 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c/79662] ICE on invalid code in convert_arguments in c/c-typeck.c:3452

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79662 --- Comment #2 from Marek Polacek --- Author: mpolacek Date: Wed Feb 22 21:28:42 2017 New Revision: 245660 URL: https://gcc.gnu.org/viewcvs?rev=245660&root=gcc&view=rev Log: PR c/79662 * c-typeck.c (convert_arguments): Handle err

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-22 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 --- Comment #6 from Pat Haugen --- (In reply to Alan Modra from comment #5) > I'd test powerpc64-linux bi-arch but the machine I normally use for BE > testing had a disk die, and instead of trying to set everything up again at > midnight, I'm goi

[Bug c++/79657] ICE on invalid c++ code in finish_underlying_type cp/semantics.c:3849

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79657 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79653] [5/6/7 Regression] ICE on invalid c++ code in cp_check_const_attributes in cp/decl2.c:1423

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/79657] ICE on invalid c++ code in finish_underlying_type cp/semantics.c:3849

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79657 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Wed Feb 22 19:33:13 2017 New Revision: 245658 URL: https://gcc.gnu.org/viewcvs?rev=245658&root=gcc&view=rev Log: PR c++/79657 * semantics.c (finish_underlying_type): Ba

[Bug c++/79653] [5/6/7 Regression] ICE on invalid c++ code in cp_check_const_attributes in cp/decl2.c:1423

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Wed Feb 22 19:31:49 2017 New Revision: 245657 URL: https://gcc.gnu.org/viewcvs?rev=245657&root=gcc&view=rev Log: PR c++/79653 * parser.c (cp_parser_std_attribute_spec):

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #13 from Jakub Jelinek --- Note that my patch doesn't bootstrap, so I'll need to debug it.

[Bug target/79185] [5/6/7 Regression] register allocation in the addition of two 128 bit ints

2017-02-22 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79185 --- Comment #6 from Vladimir Makarov --- (In reply to Jeffrey A. Law from comment #5) > Is the CLOBBER even necessary anymore? Wasn't its only purpose to tell > dataflow that r88 was dead because our old flow analysis couldn't? > I guess the C

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c/79680] New: format attribute cannot be used with template parameters

2017-02-22 Thread bugzi...@poradnik-webmastera.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79680 Bug ID: 79680 Summary: format attribute cannot be used with template parameters Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Prior

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 --- Comment #18 from Bill Schmidt --- Author: wschmidt Date: Wed Feb 22 18:00:21 2017 New Revision: 245656 URL: https://gcc.gnu.org/viewcvs?rev=245656&root=gcc&view=rev Log: 2017-02-22 Bill Schmidt PR tree-optimization/68644

[Bug c++/79679] New: [C++17] Missing destruction of temporary within constructor's mem-initializer-list

2017-02-22 Thread sbergman at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79679 Bug ID: 79679 Summary: [C++17] Missing destruction of temporary within constructor's mem-initializer-list Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severi

[Bug c/79677] Weird handling of -Werror=

2017-02-22 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79677 --- Comment #1 from joseph at codesourcery dot com --- For the theory of how I think this should behave, see (referring back to a

[Bug c/79678] New: x86 (and other?) SIMD builtins have signedness issues

2017-02-22 Thread jbeulich at novell dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79678 Bug ID: 79678 Summary: x86 (and other?) SIMD builtins have signedness issues Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compon

[Bug target/70465] [5/6 Regression] Poor code for x87 asm

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70465 --- Comment #21 from Jakub Jelinek --- Author: jakub Date: Wed Feb 22 17:17:17 2017 New Revision: 245654 URL: https://gcc.gnu.org/viewcvs?rev=245654&root=gcc&view=rev Log: PR target/70465 * reg-stack.c (emit_swap_insn): Treat (fl

[Bug target/78660] [7 Regression] 7.0 bootstrap fail on mips64el-unknow-linux: configure-stage2-target-libgcc' failed

2017-02-22 Thread mpf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78660 --- Comment #20 from mpf at gcc dot gnu.org --- Author: mpf Date: Wed Feb 22 17:20:14 2017 New Revision: 245655 URL: https://gcc.gnu.org/viewcvs?rev=245655&root=gcc&view=rev Log: Support WORD_REGISTER_OPERATIONS requirements in simplify_operand_s

[Bug fortran/79485] [5/6/7 Regression] Bind(c) and module procedure renaming causes wrong procedure to be called

2017-02-22 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79485 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #12 from Jakub Jelinek --- At -O3 it is caused by the r238005 change as written earlier, that is really not a beneficial optimization in this case. -O3 -fno-split-paths should still see the benefit of the patch I've attached. So we

[Bug c++/79653] [5/6/7 Regression] ICE on invalid c++ code in cp_check_const_attributes in cp/decl2.c:1423

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

[Bug target/79185] [5/6/7 Regression] register allocation in the addition of two 128 bit ints

2017-02-22 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79185 --- Comment #5 from Jeffrey A. Law --- Is the CLOBBER even necessary anymore? Wasn't its only purpose to tell dataflow that r88 was dead because our old flow analysis couldn't? Doesn't the DF infrastructure get this right? If it does, then we

[Bug c++/79653] [5/6/7 Regression] ICE on invalid c++ code in cp_check_const_attributes in cp/decl2.c:1423

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79653 --- Comment #5 from Marek Polacek --- I came up with another testcase that triggers a similar ICE: template struct A { alignas(int...) char c; }; A a; q.cc:2:23: error: expansion pattern ‘#‘tree_list’ not supported by dump_expr#’ contains no

[Bug libfortran/79612] missing space in diagnostic: Incorrect rank of return array in

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

[Bug fortran/79601] Possibly wrong use of keyword "intent" in diagnostic

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

[Bug fortran/79597] Incomplete error message "Expecting %

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

[Bug c++/79664] ICE with #pragma omp parallel in constexpr function

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

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #11 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #10) > Created attachment 40815 [details] > gcc7-pr79389.patch > > Full untested patch. I can confirm that MonteCarlo benchmark considerably improves with -O2, but ple

[Bug tree-optimization/68644] [6/7 Regression] FAIL: gcc.dg/tree-ssa/ivopts-lt-2.c scan-tree-dump-times ivopts "PHI

2017-02-22 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68644 --- Comment #17 from Bill Schmidt --- The current code generation is quite tight using the existing cost modeling: .L2: stwu 10,4(3) bdnz .L2 Thus we will plan to skip this test for POWER.

[Bug middle-end/79673] GIMPLE verification fails when compiling code with __seg_gs

2017-02-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79673 --- Comment #4 from Richard Biener --- Author: rguenth Date: Wed Feb 22 15:00:39 2017 New Revision: 245649 URL: https://gcc.gnu.org/viewcvs?rev=245649&root=gcc&view=rev Log: 2017-02-22 Richard Biener PR tree-optimization/79673

[Bug middle-end/79673] GIMPLE verification fails when compiling code with __seg_gs

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

[Bug c/79674] Missed optimisation when no sequence point present

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79674 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/79657] ICE on invalid c++ code in finish_underlying_type cp/semantics.c:3849

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

[Bug c/79674] Missed optimisation when no sequence point present

2017-02-22 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79674 --- Comment #2 from etienne_lorrain at yahoo dot fr --- Well, I did not really want to link to the store-merging optimisation in particular, I wanted to point out that order of evaluation inside the function call are not defined by the standard, s

[Bug c/79677] New: Weird handling of -Werror=

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79677 Bug ID: 79677 Summary: Weird handling of -Werror= Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: un

[Bug c++/61568] unscoped enums different types differ from __underlying_type

2017-02-22 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61568 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug fortran/79596] translation: argument to gfc_internal_error should not be translated

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

[Bug fortran/79676] [submodules] Compilation/linking error when module procedures PRIVATE

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

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #10 from Jakub Jelinek --- Created attachment 40815 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40815&action=edit gcc7-pr79389.patch Full untested patch.

[Bug c/79674] Missed optimisation when no sequence point present

2017-02-22 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79674 prathamesh3492 at gcc dot gnu.org changed: What|Removed |Added CC||prathamesh3492 at gcc

[Bug middle-end/79675] Pointless reg1 <- reg2; reg2 <- reg1 moves inside loop

2017-02-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79675 --- Comment #2 from amker at gcc dot gnu.org --- (In reply to ktkachov from comment #1) > I think ivopts also contributes here. > Before ivopts the memory access and address are: > s1_10 = s1_3 + 1; > c1_11 = *s1_3; > > but ivopts transforms

[Bug middle-end/79675] Pointless reg1 <- reg2; reg2 <- reg1 moves inside loop

2017-02-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79675 ktkachov at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org --

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #9 from Jakub Jelinek --- With: --- ifcvt.c.jj2 2017-01-23 18:09:45.0 +0100 +++ ifcvt.c 2017-02-22 14:25:15.758296571 +0100 @@ -777,6 +777,9 @@ struct noce_if_info /* The jump condition. */ rtx cond; + /* Reversed

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 --- Comment #5 from Alan Modra --- The patch passes ppc64le bootstrap but that isn't really the best target to test. I'd test powerpc64-linux bi-arch but the machine I normally use for BE testing had a disk die, and instead of trying to set ever

[Bug fortran/79676] New: [submodules] Compilation/linking error when module procedures PRIVATE

2017-02-22 Thread adam at aphirst dot karoo.co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79676 Bug ID: 79676 Summary: [submodules] Compilation/linking error when module procedures PRIVATE Product: gcc Version: 6.3.1 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #8 from Uroš Bizjak --- (In reply to Jakub Jelinek from comment #6) > Well, at least in the -O2 case, it clearly shows that (RTL) if-conversion > does happen. > If SETCC + ZEXT + ADD is always a win compared to LEAL x+1 + CMOV*, then

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #7 from Jakub Jelinek --- For -O2 -m64 the reason why noce_try_addcc doesn't trigger is that we have if_info->cond of (unlt (reg:DF 100) (reg:DF 97)) and reverse_comparison_code on it returns UNKNOWN. Though, that UNLT comes from:

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #6 from Jakub Jelinek --- Well, at least in the -O2 case, it clearly shows that (RTL) if-conversion does happen. If SETCC + ZEXT + ADD is always a win compared to LEAL x+1 + CMOV*, then we should just expand the cmov in that case to t

[Bug middle-end/79649] Memset pattern in named address space crashes compiler or generates wrong code

2017-02-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79649 --- Comment #13 from amker at gcc dot gnu.org --- (In reply to Uroš Bizjak from comment #12) > The added testcase also ICEs with -O3 -mx32: > > ~/gcc-build/gcc/cc1 -O3 -mx32 -quiet pr79649.c > pr79649.c: In function ‘f1’: > pr79649.c:11:1: intern

[Bug middle-end/79675] New: Pointless reg1 <- reg2; reg2 <- reg1 moves inside loop

2017-02-22 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79675 Bug ID: 79675 Summary: Pointless reg1 <- reg2; reg2 <- reg1 moves inside loop Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Compone

[Bug tree-optimization/79666] [5/6 Regression] wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-02-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79666 Richard Biener changed: What|Removed |Added Priority|P1 |P2 Known to work|

[Bug tree-optimization/79666] [5/6/7 Regression] wrong code (SIGFPE) at -O2 on x86_64-linux-gnu (in both 32-bit and 64-bit modes)

2017-02-22 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79666 --- Comment #6 from Richard Biener --- Author: rguenth Date: Wed Feb 22 12:11:27 2017 New Revision: 245648 URL: https://gcc.gnu.org/viewcvs?rev=245648&root=gcc&view=rev Log: 2017-02-22 Richard Biener PR tree-optimization/79666

[Bug middle-end/79649] Memset pattern in named address space crashes compiler or generates wrong code

2017-02-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79649 --- Comment #12 from Uroš Bizjak --- The added testcase also ICEs with -O3 -mx32: ~/gcc-build/gcc/cc1 -O3 -mx32 -quiet pr79649.c pr79649.c: In function ‘f1’: pr79649.c:11:1: internal compiler error: in get_use_type, at tree-ssa-loop-ivopts.c:383

[Bug middle-end/79673] GIMPLE verification fails when compiling code with __seg_gs

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

[Bug c++/79361] [5/6/7 Regression] ICE redefining a template function as defaulted or deleted

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

[Bug c/79674] New: Missed optimisation when no sequence point present

2017-02-22 Thread etienne_lorrain at yahoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79674 Bug ID: 79674 Summary: Missed optimisation when no sequence point present Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug middle-end/79647] bogus warning when building openssl

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #8

[Bug middle-end/79673] GIMPLE verification fails when compiling code with __seg_gs

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79673 --- Comment #1 from Jakub Jelinek --- This is created by PRE, so question for Richard. That said, the testcase is undefined behavior, even in alternate address spaces NULL pointer can't point to any object.

[Bug c++/78943] Generated assembler fails with symbol is already defined

2017-02-22 Thread charles.frasch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78943 --- Comment #1 from Charles --- The problem appears to have been fixed by patch r245373 made for Bug #78908. Thanks!

[Bug c++/78908] [6/7 Regression] template instantiation with bit-field type

2017-02-22 Thread charles.frasch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78908 --- Comment #10 from Charles --- Verified that reported problem is fixed. Thanks!

[Bug rtl-optimization/79593] [6/7 Regression] Poor/Worse code generation for FPU on versions after 6

2017-02-22 Thread katsunori.kumatani at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79593 --- Comment #16 from Katsunori Kumatani --- I see! It was more a side note than anything when I inspected GCC 7's output, I am not even sure if it affects x87 only (not sure if I should have opened another bug for it, but I guess it doesn't matt

[Bug c++/79672] ICE with -Wduplicated-branches -fopenmp

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

[Bug middle-end/79673] New: GIMPLE verification fails when compiling code with __seg_gs

2017-02-22 Thread me at manueljacob dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79673 Bug ID: 79673 Summary: GIMPLE verification fails when compiling code with __seg_gs Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Pr

[Bug middle-end/79647] bogus warning when building openssl

2017-02-22 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79647 --- Comment #7 from Bernd Edlinger --- (In reply to Andrew Pinski from comment #1) > >The second warning is also bogus, the -Wno-parentheses-equality was accepted > before. > > Well this error message about an unknown warning option only happens

[Bug rtl-optimization/79584] ICE in base_to_reg, at lra-constraints.c:2918

2017-02-22 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79584 Alan Modra changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned at g

[Bug c++/78301] noexcept() operator rejects sibling method call without object

2017-02-22 Thread benni.buch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78301 --- Comment #3 from Benjamin Buch --- No, it isn't. $ g++ -std=c++11 -o a a.cpp a.cpp:3:41: error: invalid use of 'this' at top level void outer() const noexcept( noexcept( this->inner() ) ) { tested with: $ g++ --version g++ (GCC) 7.0.1 20

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #2 from Jakub Jelinek --- E.g. on 122 valgrind says: ==21905== Invalid free() / delete / delete[] / realloc() ==21905==at 0x484B224: operator delete(void*) (vg_replace_malloc.c:576) ==21905==by 0x11BB3: path_expression_grammar

[Bug c++/78301] noexcept() operator rejects sibling method call without object

2017-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78301 --- Comment #2 from Jonathan Wakely --- N.B. it's easy to workaround the bug by using this->inner() Possibly related to PR 66256

[Bug tree-optimization/79671] [7 Regression] mapnik miscompilation on armv7hl since r235622

2017-02-22 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79671 --- Comment #1 from Jakub Jelinek --- So, I've patched the r235622 cross-compiler to: --- tree-ssa-alias.c.xx 2017-02-21 19:17:36.0 +0100 +++ tree-ssa-alias.c2017-02-22 11:37:12.714172891 +0100 @@ -359,26 +359,31 @@ ptrs_compare_unequ

[Bug c++/79670] [c++1z] cannot call member function without object in noexcept declarator of a member function

2017-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79670 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/78301] noexcept() operator rejects sibling method call without object

2017-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78301 Jonathan Wakely changed: What|Removed |Added CC||benni.buch at gmail dot com --- Commen

[Bug c++/78301] noexcept() operator rejects sibling method call without object

2017-02-22 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78301 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/79672] ICE with -Wduplicated-branches -fopenmp

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

[Bug c++/79672] New: ICE with -Wduplicated-branches -fopenmp

2017-02-22 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79672 Bug ID: 79672 Summary: ICE with -Wduplicated-branches -fopenmp Product: gcc Version: 7.0 Status: UNCONFIRMED Keywords: ice-on-valid-code, openmp Severity: normal

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 --- Comment #5 from rguenther at suse dot de --- On Wed, 22 Feb 2017, ubizjak at gmail dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 > > Uroš Bizjak changed: > >What|Removed |Added > -

[Bug tree-optimization/79389] [7 Regression] 30% performance regression in SciMark2 MonteCarlo

2017-02-22 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79389 Uroš Bizjak changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #4 fr

  1   2   >