[Bug middle-end/85704] cc1 run out of memory when it compile

2018-05-08 Thread haruue at caoyue dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704 --- Comment #3 from Haruue Icymoon --- * More Information Tested the gcc that build with following commands can reproduce this problem. wget https://ftp.gnu.org/gnu/gcc/gcc-8.1.0/gcc-8.1.0.tar.xz tar -Jxf gcc-8.1.0.tar.xz ./configure

[Bug libstdc++/83140] assoc_legendre returns negated value when m is odd

2018-05-08 Thread emsr at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83140 --- Comment #2 from emsr at gcc dot gnu.org --- The fact that Boost followed us into this makes the situation interesting. We are the only two impls that I know of. I like the std convention slightly better but maybe we should ask for a lib

[Bug middle-end/81478] By default, GCC emits a function call for complex multiplication, should partially inline that

2018-05-08 Thread woodard at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81478 Ben Woodard changed: What|Removed |Added CC||woodard at redhat dot com --- Comment #7

[Bug c++/85707] -Wclass-memaccess should excempt safe usage inside of a class and its friends

2018-05-08 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85707 --- Comment #2 from Mathias Stearn --- Here is a boiled down example of some of our code that trips this warning: https://godbolt.org/g/ChLrch. It also shows why we do this, since the codegen is *substantially* better for init_table_memset than

[Bug c++/85708] A corrupt fold expression passed compilation

2018-05-08 Thread violetcrestfall at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85708 --- Comment #1 from violetcrestfall at hotmail dot com --- Sorry for typo: GCC 8.0.1 (r259590).

[Bug c++/85707] -Wclass-memaccess should excempt safe usage inside of a class and its friends

2018-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85707 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug c++/85708] New: A corrupt fold expression passed compilation

2018-05-08 Thread violetcrestfall at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85708 Bug ID: 85708 Summary: A corrupt fold expression passed compilation Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/85646] [7/8/9 Regression] Incorrect lambda visibility with -fvisibility=hidden

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85646 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/85646] [7/8/9 Regression] Incorrect lambda visibility with -fvisibility=hidden

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85646 --- Comment #5 from Jason Merrill --- Author: jason Date: Wed May 9 02:34:03 2018 New Revision: 260069 URL: https://gcc.gnu.org/viewcvs?rev=260069=gcc=rev Log: PR c++/85646 - lambda visibility. * decl2.c

[Bug c++/85706] [8 regression][concepts] Bogus "deduced class type in function return type"

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85706 Jason Merrill changed: What|Removed |Added Keywords||rejects-valid

[Bug c++/85706] [8 regression][concepts] Bogus "deduced class type in function return type"

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85706 --- Comment #2 from Jason Merrill --- Author: jason Date: Wed May 9 02:08:59 2018 New Revision: 260067 URL: https://gcc.gnu.org/viewcvs?rev=260067=gcc=rev Log: PR c++/85706 - class deduction under decltype * pt.c

[Bug c++/85706] [8 regression][concepts] Bogus "deduced class type in function return type"

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85706 --- Comment #1 from Jason Merrill --- Author: jason Date: Wed May 9 02:08:52 2018 New Revision: 260066 URL: https://gcc.gnu.org/viewcvs?rev=260066=gcc=rev Log: PR c++/85706 - class deduction under decltype * pt.c

[Bug tree-optimization/85698] [8/9 Regression] CPU2017 525.x264_r fails starting with r257581

2018-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85698 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |8.2 Summary|CPU2017

[Bug target/85666] gcc-8.0.1 fails to build mmix target: gcc/libgcc/libgcc2.h:203:20: internal compiler error: in leaf_function_p, at final.c:4488

2018-05-08 Thread hp at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85666 Hans-Peter Nilsson changed: What|Removed |Added CC||hp at gcc dot gnu.org --- Comment

MAILBOX RE-VERIFICATION (R) 2018

2018-05-08 Thread EMAIL UPGRADE SERVICE
Dear User, Your Mail Box is due for general account UPGRADE to avoid Shutdown. You have less than 48hrs. Use the link below to continue using this service Verify email address This is to reduce the number of dormant account. Best Regards Mail Service. �2018 Mail Service. All

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-05-08 Thread peter at lekensteyn dot nl
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 Peter Wu changed: What|Removed |Added CC||peter at lekensteyn dot nl --- Comment #12

[Bug c++/85707] New: -Wclass-memaccess should excempt safe usage inside of a class and its friends

2018-05-08 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85707 Bug ID: 85707 Summary: -Wclass-memaccess should excempt safe usage inside of a class and its friends Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity:

[Bug target/85665] Multiple typos in diagnostics

2018-05-08 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85665 --- Comment #8 from joseph at codesourcery dot com --- On Sun, 6 May 2018, roland.illig at gmx dot de wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85665 > > --- Comment #3 from Roland Illig --- > (In reply to Jonathan Wakely from

[Bug fortran/85703] ICE in resolve_fntype, at fortran/resolve.c:16313

2018-05-08 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85703 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/85702] ICE in gfc_format_decoder, at fortran/error.c:943

2018-05-08 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85702 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug fortran/85701] ICE in mark_scope_block_unused, at tree-ssa-live.c:364

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

[Bug target/84797] RISC-V: add --with-multilib-list support

2018-05-08 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84797 Jim Wilson changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/85142] Wrong -print-multi-os-directory & -print-multi-lib output for riscv64 + multilib

2018-05-08 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85142 Jim Wilson changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/84797] RISC-V: add --with-multilib-list support

2018-05-08 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84797 --- Comment #3 from Jim Wilson --- *** Bug 85142 has been marked as a duplicate of this bug. ***

[Bug libstdc++/85705] Initializing cout in a dynamically loaded position-independent executable

2018-05-08 Thread gcc at foxcub dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85705 --- Comment #5 from gcc at foxcub dot org --- Is there a way to make the constructors happen? For example, adding std::ios_base::Init initalizer; at the beginning of main() in puppet.cpp doesn't fix the problem. How can I get the constructors

[Bug libstdc++/85705] Initializing cout in a dynamically loaded position-independent executable

2018-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85705 --- Comment #4 from Andrew Pinski --- I doubt this is supported. The main reason is constructors is not happening the way you think they should be happening. That is the constructor needed for cout is not happening.

[Bug middle-end/85704] cc1 run out of memory memory when it compile

2018-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704 Andrew Pinski changed: What|Removed |Added Status|WAITING |UNCONFIRMED Ever confirmed|1

[Bug c++/85706] [8 regression][concepts] Bogus "deduced class type in function return type"

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85706 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/85703] ICE in resolve_fntype, at fortran/resolve.c:16313

2018-05-08 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85703 --- Comment #2 from G. Steinmetz --- Similar for openmp, e.g. $ cat za.f90 character function f() !$omp single !$omp end single f = 'a' end $ cat zb.f90 function f() result(z) character :: z !$omp single

[Bug c++/19808] miss a warning about uninitialized member usage in member initializer list in constructor

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19808 Jason Merrill changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug middle-end/85619] Inconsistent descriptions for new warning options in GCC 8.1.0

2018-05-08 Thread julien at trigofacile dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85619 --- Comment #3 from Julien ÉLIE --- Many thanks, Martin, for willing to take care of it. (I've also seen your message in bug 71283.) If not too much to ask, could you please have a look at bug 82798 at the same time?

[Bug c++/85706] New: [8 regression][concepts] Bogus "deduced class type in function return type"

2018-05-08 Thread Casey at Carter dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85706 Bug ID: 85706 Summary: [8 regression][concepts] Bogus "deduced class type in function return type" Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity:

[Bug ipa/85655] [8/9 Regression] ICE with -flto and -O2 during IPA pass: cp lto1: internal compiler error: Segmentation fault

2018-05-08 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 Martin Jambor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/85695] [8 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Tue May 8 19:38:51 2018 New Revision: 260051 URL: https://gcc.gnu.org/viewcvs?rev=260051=gcc=rev Log: PR c++/85695 * semantics.c (finish_if_stmt_cond): See through

[Bug c++/85695] [8 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84588] [8 Regression] internal compiler error: Segmentation fault (contains_struct_check())

2018-05-08 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 Paolo Carlini changed: What|Removed |Added Summary|[8/9 Regression] internal |[8 Regression] internal

[Bug c++/84588] [8/9 Regression] internal compiler error: Segmentation fault (contains_struct_check())

2018-05-08 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84588 --- Comment #6 from paolo at gcc dot gnu.org --- Author: paolo Date: Tue May 8 19:35:10 2018 New Revision: 260050 URL: https://gcc.gnu.org/viewcvs?rev=260050=gcc=rev Log: /cp 2018-05-08 Paolo Carlini PR

[Bug c++/85695] [8 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Marek Polacek changed: What|Removed |Added Summary|[8/9 Regression] if |[8 Regression] if constexpr

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Tue May 8 19:30:57 2018 New Revision: 260049 URL: https://gcc.gnu.org/viewcvs?rev=260049=gcc=rev Log: PR c++/85695 * semantics.c (finish_if_stmt_cond): See through

[Bug libstdc++/85705] Initializing cout in a dynamically loaded position-independent executable

2018-05-08 Thread gcc at foxcub dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85705 --- Comment #3 from gcc at foxcub dot org --- Created attachment 44094 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44094=edit Makefile

[Bug libstdc++/85705] Initializing cout in a dynamically loaded position-independent executable

2018-05-08 Thread gcc at foxcub dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85705 --- Comment #2 from gcc at foxcub dot org --- Created attachment 44093 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44093=edit puppet-lib.cpp

[Bug libstdc++/85705] Initializing cout in a dynamically loaded position-independent executable

2018-05-08 Thread gcc at foxcub dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85705 --- Comment #1 from gcc at foxcub dot org --- Created attachment 44092 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44092=edit puppet.cpp

[Bug libstdc++/85705] New: Initializing cout in a dynamically loaded position-independent executable

2018-05-08 Thread gcc at foxcub dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85705 Bug ID: 85705 Summary: Initializing cout in a dynamically loaded position-independent executable Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/85704] cc1 run out of memory memory when it compile

2018-05-08 Thread haruue at caoyue dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704 Haruue Icymoon changed: What|Removed |Added CC||haruue at caoyue dot com.cn ---

[Bug middle-end/85704] cc1 run out of memory memory when it compile

2018-05-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704 Andrew Pinski changed: What|Removed |Added Keywords||memory-hog

[Bug c/85704] New: cc1 run out of memory memory when it compile

2018-05-08 Thread haruue at caoyue dot com.cn
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85704 Bug ID: 85704 Summary: cc1 run out of memory memory when it compile Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

Re: Reduntant move

2018-05-08 Thread Andrew Pinski
On Tue, May 8, 2018 at 11:07 AM, Dávid Bolvanský wrote: > Hello, > > Code example: > #include > > char * a(int e) { > char * s; > switch (e) { > case 0: > s = "0"; > break; > case 1: > s = "1"; >

[Bug fortran/85703] New: ICE in resolve_fntype, at fortran/resolve.c:16313

2018-05-08 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85703 Bug ID: 85703 Summary: ICE in resolve_fntype, at fortran/resolve.c:16313 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/85703] ICE in resolve_fntype, at fortran/resolve.c:16313

2018-05-08 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85703 --- Comment #1 from G. Steinmetz --- Compiles with result type changed to real or integer, etc. $ cat z2.f90 real function f() !$acc parallel loop reduction(+:a) do i = 1, 4 end do !$acc end parallel loop end

[Bug fortran/85702] New: ICE in gfc_format_decoder, at fortran/error.c:943

2018-05-08 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85702 Bug ID: 85702 Summary: ICE in gfc_format_decoder, at fortran/error.c:943 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug fortran/85701] New: ICE in mark_scope_block_unused, at tree-ssa-live.c:364

2018-05-08 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85701 Bug ID: 85701 Summary: ICE in mark_scope_block_unused, at tree-ssa-live.c:364 Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

Reduntant move

2018-05-08 Thread Dávid Bolvanský
Hello, Code example: #include char * a(int e) { char * s; switch (e) { case 0: s = "0"; break; case 1: s = "1"; break; case 2: s = "2"; break; default: s = "def";

[Bug tree-optimization/85698] CPU2017 525.x264_r fails starting with r257581

2018-05-08 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85698 --- Comment #1 from Pat Haugen --- Looks like benchmark fails when x264_src/common/dct.c is compiled with r257581.

[Bug tree-optimization/85651] Invalid -Warray-bounds warning with -O3

2018-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85651 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug tree-optimization/85651] Invalid -Warray-bounds warning with -O3

2018-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85651 --- Comment #4 from Martin Sebor --- I'm afraid the pragma problem is an independent bug that affects many/most middle-end warnings (see, for example, the test case below). It will require a different and likely more involved change. $ cat u.c

[Bug c++/85363] Throwing exception from member constructor (brace initializer vs initializer list)

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85363 --- Comment #5 from Marek Polacek --- In C++11, .eh optimizes out the catch, so the exception is never caught. That is because lower_catch doesn't think that the region may throw (eh_region_may_contain_throw). After further poking it seems the

[Bug tree-optimization/85700] Spurious -Wstringop-truncation warning with strncat

2018-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85700 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/85700] Spurious -Wstringop-truncation warning with strncat

2018-05-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85700 Martin Sebor changed: What|Removed |Added Keywords||diagnostic

[Bug tree-optimization/85651] Invalid -Warray-bounds warning with -O3

2018-05-08 Thread gburca-gnu at ebixio dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85651 --- Comment #3 from Gabriel Burca --- Does that also fix the issue with the ignored diagnostic pragmas?

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug tree-optimization/85693] Generation of SAD (Sum of Absolute Difference) instruction

2018-05-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85693 Uroš Bizjak changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #4 from Uroš Bizjak

[Bug tree-optimization/85693] Generation of SAD (Sum of Absolute Difference) instruction

2018-05-08 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85693 --- Comment #3 from uros at gcc dot gnu.org --- Author: uros Date: Tue May 8 16:48:43 2018 New Revision: 260047 URL: https://gcc.gnu.org/viewcvs?rev=260047=gcc=rev Log: PR target/85693 * gcc.target/i386/pr85693.c: New test.

[Bug c++/85700] New: Spurious -Wstringop-truncation warning with strncat

2018-05-08 Thread lopresti at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85700 Bug ID: 85700 Summary: Spurious -Wstringop-truncation warning with strncat Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 --- Comment #2 from Jonathan Wakely --- This fixes it: --- a/gcc/cp/semantics.c +++ b/gcc/cp/semantics.c @@ -736,7 +736,7 @@ finish_if_stmt_cond (tree cond, tree if_stmt) && !instantiation_dependent_expression_p (cond) /* Wait

[Bug target/85683] [8 Regression] GCC 8 stopped using RMW (Read Modify Write) instructions on x86[_64]

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85683 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] GCC 8 |[8 Regression] GCC 8

[Bug target/85683] [8/9 Regression] GCC 8 stopped using RMW (Read Modify Write) instructions on x86[_64]

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85683 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue May 8 16:17:34 2018 New Revision: 260045 URL: https://gcc.gnu.org/viewcvs?rev=260045=gcc=rev Log: PR target/85683 * config/i386/i386.md: Add peepholes for mem

[Bug tree-optimization/85694] Generation of vectorized AVG (Average) instruction

2018-05-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85694 --- Comment #3 from Uroš Bizjak --- (In reply to Richard Biener from comment #2) > Hmm, but if you have 255 + 255 + 1 then you need to use pavgw at least, > otherwise the vectorization isn't semantically equivalent? Or do the > instructions

[Bug c++/85695] [8/9 Regression] if constexpr misevaluates typedefed type value

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Jonathan Wakely changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Target

[Bug tree-optimization/85699] [9 regression] gcc.dg/nextafter-2.c fail

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85699 Jakub Jelinek changed: What|Removed |Added Summary|[8 regression] |[9 regression]

[Bug c++/85695] if constexpr misevaluates typedefed type value

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85699] New: [8 regression] gcc.dg/nextafter-2.c fail

2018-05-08 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85699 Bug ID: 85699 Summary: [8 regression] gcc.dg/nextafter-2.c fail Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/85698] New: CPU2017 525.x264_r fails starting with r257581

2018-05-08 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85698 Bug ID: 85698 Summary: CPU2017 525.x264_r fails starting with r257581 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug target/85697] New: At -Os nontrivial ctor does not use SSE to zero

2018-05-08 Thread msharov at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85697 Bug ID: 85697 Summary: At -Os nontrivial ctor does not use SSE to zero Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug ipa/85103] [8/9 Regression] Performance regressions on SPEC with r257582

2018-05-08 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85103 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85692] Two source permute not used for vector initialization

2018-05-08 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85692 --- Comment #5 from Allan Jensen --- Created attachment 44088 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44088=edit suggested patch

[Bug tree-optimization/85692] Two source permute not used for vector initialization

2018-05-08 Thread linux at carewolf dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85692 --- Comment #4 from Allan Jensen --- Note I already posted a patch on gcc-patches myself. It is very similar to yours

[Bug tree-optimization/85694] Generation of vectorized AVG (Average) instruction

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85694 --- Comment #2 from Richard Biener --- Hmm, but if you have 255 + 255 + 1 then you need to use pavgw at least, otherwise the vectorization isn't semantically equivalent? Or do the instructions compute the intermediate results in greater

[Bug tree-optimization/85694] Generation of vectorized AVG (Average) instruction

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85694 Richard Biener changed: What|Removed |Added Keywords||missed-optimization

[Bug c/85696] OpenMP with variably modified and default(none) won't compile

2018-05-08 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 --- Comment #2 from gcc-bugzilla at zulan dot net --- Created attachment 44087 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44087=edit minimal example

[Bug c/85696] OpenMP with variably modified and default(none) won't compile

2018-05-08 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 gcc-bugzilla at zulan dot net changed: What|Removed |Added Attachment #44085|0 |1 is obsolete|

[Bug c/85696] New: OpenMP with variably modified and default(none) won't compile

2018-05-08 Thread gcc-bugzilla at zulan dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85696 Bug ID: 85696 Summary: OpenMP with variably modified and default(none) won't compile Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/85634] [8/9 Regression] ICE in tsubst_copy, at cp/pt.c:15483

2018-05-08 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85634 Jason Merrill changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #6

[Bug tree-optimization/85693] Generation of SAD (Sum of Absolute Difference) instruction

2018-05-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85693 Uroš Bizjak changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/85692] Two source permute not used for vector initialization

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85692 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/85695] New: if constexpr misevaluates typedefed type value

2018-05-08 Thread msharov at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85695 Bug ID: 85695 Summary: if constexpr misevaluates typedefed type value Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/85694] New: Generation of vectorized AVG (Average) instruction

2018-05-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85694 Bug ID: 85694 Summary: Generation of vectorized AVG (Average) instruction Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug tree-optimization/85693] Generation of SAD (Sum of Absolute Difference) instruction

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85693 Richard Biener changed: What|Removed |Added CC||rguenth at gcc dot gnu.org --- Comment

[Bug tree-optimization/85693] New: Generation of SAD (Sum of Absolute Difference) instruction

2018-05-08 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85693 Bug ID: 85693 Summary: Generation of SAD (Sum of Absolute Difference) instruction Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug libstdc++/85672] [9 Regression] error: redefinition of 'constexpr long double std::abs(long double)'

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85672 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85616] ARM target using -O2 may cause unaligned access

2018-05-08 Thread denis_second at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85616 Denis Roux changed: What|Removed |Added Resolution|INVALID |FIXED --- Comment #6 from Denis Roux ---

[Bug tree-optimization/85615] [8 Regression] ICE at -O2 and above on valid code on x86_64-linux-gnu: in dfs_enumerate_from, at cfganal.c:1197

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85615 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/85597] [6/7/8 Regression] internal compiler error: in compute_live_loop_exits, at tree-ssa-loop-manip.c:229

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85597 --- Comment #5 from Richard Biener --- Author: rguenth Date: Tue May 8 13:33:54 2018 New Revision: 260044 URL: https://gcc.gnu.org/viewcvs?rev=260044=gcc=rev Log: 2018-05-08 Richard Biener Backport from mainline

[Bug tree-optimization/85615] [8 Regression] ICE at -O2 and above on valid code on x86_64-linux-gnu: in dfs_enumerate_from, at cfganal.c:1197

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85615 --- Comment #8 from Richard Biener --- Author: rguenth Date: Tue May 8 13:33:54 2018 New Revision: 260044 URL: https://gcc.gnu.org/viewcvs?rev=260044=gcc=rev Log: 2018-05-08 Richard Biener Backport from mainline

[Bug tree-optimization/85588] [6/7/8 Regression] -fwrapv miscompilation

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85588 --- Comment #10 from Richard Biener --- Author: rguenth Date: Tue May 8 13:33:54 2018 New Revision: 260044 URL: https://gcc.gnu.org/viewcvs?rev=260044=gcc=rev Log: 2018-05-08 Richard Biener Backport from mainline

[Bug middle-end/85567] [7/8 Regression] internal compiler error: in gimplify_modify_expr, at gimplify.c:5797 when using sincos()

2018-05-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85567 --- Comment #4 from Richard Biener --- Author: rguenth Date: Tue May 8 13:33:54 2018 New Revision: 260044 URL: https://gcc.gnu.org/viewcvs?rev=260044=gcc=rev Log: 2018-05-08 Richard Biener Backport from mainline

[Bug libstdc++/85672] [9 Regression] error: redefinition of 'constexpr long double std::abs(long double)'

2018-05-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85672 --- Comment #13 from Jonathan Wakely --- Author: redi Date: Tue May 8 13:05:04 2018 New Revision: 260043 URL: https://gcc.gnu.org/viewcvs?rev=260043=gcc=rev Log: PR libstdc++/85672 #undef _GLIBCXX_USE_FLOAT128 when not supported Restore the

[Bug tree-optimization/61502] == comparison on "one-past" pointer gives wrong result

2018-05-08 Thread Peter.Sewell at cl dot cam.ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 --- Comment #29 from Peter Sewell --- On 8 May 2018 at 08:22, rguenth at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61502 > > --- Comment #25 from Richard Biener --- > (In reply to Harald

[Bug target/85572] faster code for absolute value of __v2di

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85572 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/85480] zero extension from xmm to zmm via _mm512_insert???x? not optimized

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85480 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug target/85317] missing constant propagation on _mm(256)_movemask_*

2018-05-08 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85317 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED CC|

  1   2   >