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

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

[Bug tree-optimization/79669] New: tree-loop-vectorize generates movdqa for unaligned address

2017-02-22 Thread lee.duhem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79669 Bug ID: 79669 Summary: tree-loop-vectorize generates movdqa for unaligned address Product: gcc Version: 7.0.1 Status: UNCONFIRMED Severity: normal Pri

[Bug tree-optimization/77895] Unaligned movdqa generated by GCC 6.2.0 with -O3

2017-02-22 Thread lee.duhem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77895 Lee Duhem changed: What|Removed |Added CC||lee.duhem at gmail dot com --- Comment #2 fr

[Bug tree-optimization/79669] tree-loop-vectorize generates movdqa for unaligned address

2017-02-22 Thread lee.duhem at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79669 Lee Duhem changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/79666] [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 Richard Biener changed: What|Removed |Added Priority|P3 |P1 Status|NEW

[Bug target/79623] error building a cross compiler for powerpc

2017-02-22 Thread sbansal at ciena dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79623 --- Comment #6 from Sumit --- Hi Richard, Do you have any more suggestion for me? Regards, Sumit

[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|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug tree-optimization/79666] [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 #4 from Richard Biener --- And it's fine, but re-writing -1 - _107 to -_107 + -1 is not valid. Negating _107, that is, as done by build_symbolic_expr via /* If the result lower bound is constant, we're done; ot

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

2017-02-22 Thread benni.buch at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79670 Bug ID: 79670 Summary: [c++1z] cannot call member function without object in noexcept declarator of a member function Product: gcc Version: 7.0.1 Status: UNCONFIRMED

[Bug lto/79587] ICE in streamer_write_gcov_count_stream, at data-streamer-out.c:343 while building Python 3.6.0 with PGO and LTO

2017-02-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587 --- Comment #8 from Martin Liška --- Author: marxin Date: Wed Feb 22 09:45:42 2017 New Revision: 245647 URL: https://gcc.gnu.org/viewcvs?rev=245647&root=gcc&view=rev Log: Remove wrong assert about gcov_type (PR lto/79587). 2017-02-22 Martin Li

[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 Richard Biener changed: What|Removed |Added Target Milestone|7.0 |5.5 Summary|[7 Regression] w

[Bug lto/79587] ICE in streamer_write_gcov_count_stream, at data-streamer-out.c:343 while building Python 3.6.0 with PGO and LTO

2017-02-22 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79587 --- Comment #9 from Martin Liška --- Fixed on trunk so far.

[Bug tree-optimization/79663] [7 Regression] r244815 causes 10% regression for spec1k/172.mgrid on AArch64

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

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

2017-02-22 Thread nickc at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69880 --- Comment #17 from Nick Clifton --- Hi Guys, (In reply to Eduard Braun from comment #15) > > Setting status to resolved/fixed. > > I don't think this is merged yet! > There's only a patch MINGW-packages, if this works out it should be fixed >

[Bug tree-optimization/79671] New: [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 Bug ID: 79671 Summary: [7 Regression] mapnik miscompilation on armv7hl since r235622 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Pr

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

2017-02-22 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78140 --- Comment #27 from Martin Jambor --- I have submitted a patch to the mailing list, which re-uses value_ranges and ipa_bits in jump functions and manages to save more than one gigabyte of memory: https://gcc.gnu.org/ml/gcc-patches/2017-02/msg01

[Bug tree-optimization/79663] [7 Regression] r244815 causes 10% regression for spec1k/172.mgrid on AArch64

2017-02-22 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79663 --- Comment #4 from amker at gcc dot gnu.org --- (In reply to Richard Biener from comment #3) > Eventually the rev. was backported already? Nope, it's not backported yet. Now we need to wait sometime before backport (including this one).

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

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

[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

[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 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 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++/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++/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++/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 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++/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 #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 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 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 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 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 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 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++/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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/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++/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 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 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 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 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 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 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 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 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 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 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 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 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[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 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 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 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 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 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++/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 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/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 Bill Schmidt changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[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/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 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 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 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 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[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/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 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/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 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 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 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 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 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|---

  1   2   >