[Bug c/84190] [7/8 Regression] double arithmetic on x86 no longer rounds to nearest

2018-02-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84190 --- Comment #13 from Richard Biener --- Author: rguenth Date: Fri Feb 16 07:57:56 2018 New Revision: 257722 URL: https://gcc.gnu.org/viewcvs?rev=257722=gcc=rev Log: 2018-02-16 Richard Biener PR

[Bug c/84190] [7/8 Regression] double arithmetic on x86 no longer rounds to nearest

2018-02-15 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84190 --- Comment #12 from Richard Biener --- Author: rguenth Date: Fri Feb 16 07:56:16 2018 New Revision: 257721 URL: https://gcc.gnu.org/viewcvs?rev=257721=gcc=rev Log: 2018-02-16 Richard Biener PR

[Bug middle-end/70920] if ((intptr_t)ptr == 0) doesn't get simplified to if (ptr == 0)

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70920 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug target/59833] ARM soft-float extendsfdf2 fails to quiet signaling NaN

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59833 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug tree-optimization/37239] peeling last iteration of a <= loop

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37239 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug c++/84415] New: Using __m128 as a template parameter causes warnings

2018-02-15 Thread myriachan at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84415 Bug ID: 84415 Summary: Using __m128 as a template parameter causes warnings Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/81930] [meta-bug] Issues with -Weffc++

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81930 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/81853] [ 6/7/8 Regression] "using namespace" is not a constant expression in a statement expression

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81853 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/67999] Wrong optimization of pointer comparisons

2018-02-15 Thread danielmicay at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67999 --- Comment #28 from Daniel Micay --- I got jemalloc / Bionic libc (Android) to report errors for malloc and mmap/mremap larger than PTRDIFF_MAX a while ago (along with fixing a missing case for mremap in musl), but glibc needs to be convinced

[Bug other/81831] -Wno-psabi is not documented

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81831 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c/67999] Wrong optimization of pointer comparisons

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67999 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment

[Bug c++/84414] miscompile due to assuming that object returned by value cannot alias its own member pointer values

2018-02-15 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84414 --- Comment #2 from Richard Smith --- > Where does the scope of object A inside Foo begin and end? There is formally only one object. The object constructed in the return statement of Foo is simply the same object that is named 'a' within Bar.

[Bug c++/81789] CWG1687 performed too soon

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81789 Martin Sebor changed: What|Removed |Added Keywords||accepts-invalid

[Bug c++/83227] [7/8 Regression] internal compiler error: in process_init_constructor_array

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83227 --- Comment #3 from Jason Merrill --- Author: jason Date: Fri Feb 16 02:47:19 2018 New Revision: 257720 URL: https://gcc.gnu.org/viewcvs?rev=257720=gcc=rev Log: PR c++/83227 - C++17 ICE with init-list derived-to-base conversion.

[Bug c++/84349] [6/7/8 Regression] ICE with auto in function cast

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

[Bug c++/84349] [6/7/8 Regression] ICE with auto in function cast

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84349 Martin Sebor changed: What|Removed |Added Known to work||4.8.4 Known to fail|

[Bug debug/84404] Several "leb128 operand is an undefined symbol" in go testsuite with latest debug improvements

2018-02-15 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84404 --- Comment #4 from Arseny Solokha --- (In reply to Arseny Solokha from comment #3) > I see the same issue This is x86_64-pc-linux-gnu.

[Bug debug/84404] Several "leb128 operand is an undefined symbol" in go testsuite with latest debug improvements

2018-02-15 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84404 Arseny Solokha changed: What|Removed |Added CC||asolokha at gmx dot com --- Comment #3

[Bug fortran/84389] Defined output: unexpected compiler error with the use of ":" edit descriptor

2018-02-15 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389 --- Comment #5 from Steve Kargl --- This patch fixes the problem, but I'm in an area of the compiler that I do not too well. It might open gfortran to other problems. Jerry, any comments? Index: io.c

[Bug c++/84414] miscompile due to assuming that object returned by value cannot alias its own member pointer values

2018-02-15 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84414 --- Comment #1 from Andrew Pinski --- To me, the temp object A inside Foo ends its scope at the end function (even with guaranteed copy elision). Because this would mean the compiler will have to assume nothing about any structs that are

[Bug libstdc++/83982] Exception guarantee of C++14 vector::resize(size_type) is not met

2018-02-15 Thread dtrebbien at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83982 --- Comment #5 from Daniel Trebbien --- Ah! Thank you for letting me know.

[Bug c++/84414] New: miscompile due to assuming that object returned by value cannot alias its own member pointer values

2018-02-15 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84414 Bug ID: 84414 Summary: miscompile due to assuming that object returned by value cannot alias its own member pointer values Product: gcc Version: unknown Status:

[Bug c++/84355] [7/8 Regression] ICE with failing template argument deduction

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84355 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #2 from Martin Sebor

[Bug fortran/80945] Invalid code with allocatable character array in READ/WRITE statement

2018-02-15 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80945 Paul Thomas changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pault at gcc dot gnu.org ---

[Bug c++/84355] [7/8 Regression] ICE with failing template argument deduction

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84355 Martin Sebor changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/70076] no exception for excess initializer elements in a multidimensional VLA

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70076 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug fortran/84354] Replace '%qs' with %qs in fortran/decl.c

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84354 Eric Gallager changed: What|Removed |Added Keywords||easyhack CC|

[Bug rtl-optimization/64081] [6/7/8 Regression] r217827/8 prevents RTL loop unroll

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64081 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug middle-end/49899] ICE when redeclaring a static function as weak

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49899 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug c++/83227] [7/8 Regression] internal compiler error: in process_init_constructor_array

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

[Bug target/84413] -march=skylake-avx512 disables BT instruction

2018-02-15 Thread ubizjak at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84413 --- Comment #1 from Uroš Bizjak --- Besides X86_TUNE_USE_BT, there is probably a long list of flags that have to be enabled for m_SKYLAKE_AVX512 (and m_CANNONLAKE and m_ICELAKE). Somebody will have to go through all tune flags for the above

[Bug fortran/84381] replace non-std 'call abort' by 'stop 1' in gfortran testsuite

2018-02-15 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84381 Thomas Koenig changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/84094] several correctness issues in gfortran.dg

2018-02-15 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84094 Thomas Koenig changed: What|Removed |Added Component|testsuite |fortran --- Comment #4 from Thomas

[Bug target/84363] [8 Regression] Assembler error in stage1/libgcc: Error: view number mismatch

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

[Bug c++/82468] [7/8 Regression] ICE with deduction guide template

2018-02-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82468 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84045] [7 Regression] ICE when is_nothrow_default_constructible is used before #include

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84045 --- Comment #4 from Jason Merrill --- Author: jason Date: Thu Feb 15 22:01:33 2018 New Revision: 257713 URL: https://gcc.gnu.org/viewcvs?rev=257713=gcc=rev Log: PR c++/84045 - ICE with typedef and noexcept. * except.c

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-02-15 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 --- Comment #23 from Jeffrey A. Law --- No, the DOM change is only a partial fix. I've largely approved the auto-inc change. I recommend the additional tests in c#19 be pulled into a distinct BZ and the gcc8 regression marker removed once the

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread jozefl.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #12 from Jozef Lawrynowicz --- (In reply to rsand...@gcc.gnu.org from comment #11) > Created attachment 43437 [details] > Possible patch v2 > > This time for real. Thanks, patch looks good to me, and the original testcase does

[Bug tree-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug bootstrap/84405] [8 Regression] Fails to bootstrap with GCC 4.1.2, GCC 4.2.4

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84405 --- Comment #6 from Jakub Jelinek --- Another testcase that could in theory affect vec_default_construct is: extern "C" void abort (); typedef __typeof (sizeof (0)) size_t; inline void *operator new (size_t, void * p) { return p; } extern "C"

[Bug target/65604] MIPS -fno-delayed-branch generates incorrect code with -mcheck-zero-division

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65604 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug fortran/84389] Defined output: unexpected compiler error with the use of ":" edit descriptor

2018-02-15 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/84389] Defined output: unexpected compiler error with the use of ":" edit descriptor

2018-02-15 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389 --- Comment #3 from Steve Kargl --- On Thu, Feb 15, 2018 at 09:04:24PM +, fortranfan at outlook dot com wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389 > > --- Comment #2 from Vipul Parekh --- > Thank for your response. > >

[Bug testsuite/84094] several correctness issues in gfortran.dg

2018-02-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84094 Bug 84094 depends on bug 84409, which changed state. Bug 84409 Summary: [F03] check DTIO arguments for character len https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84409 What|Removed |Added

[Bug fortran/84409] [F03] check DTIO arguments for character len

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

[Bug libstdc++/83982] Exception guarantee of C++14 vector::resize(size_type) is not met

2018-02-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83982 --- Comment #4 from Jonathan Wakely --- The trunk is currently closed for non-regression changes, as we prepare for the GCC 8 release.

[Bug fortran/84409] [F03] check DTIO arguments for character len

2018-02-15 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84409 --- Comment #2 from janus at gcc dot gnu.org --- Author: janus Date: Thu Feb 15 21:16:00 2018 New Revision: 257711 URL: https://gcc.gnu.org/viewcvs?rev=257711=gcc=rev Log: 2018-02-15 Janus Weil PR fortran/84409

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-02-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #59 from Jonathan Wakely --- Should be fixed on trunk, please test and confirm.

[Bug debug/68771] Darwin: Profile guided optimisation with cold sections and invalid symbol redefinition

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68771 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug fortran/84389] Defined output: unexpected compiler error with the use of ":" edit descriptor

2018-02-15 Thread fortranfan at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84389 --- Comment #2 from Vipul Parekh --- Thank for your response. Per section 1.4.1 in 10-007r1 toward Fortran 2008 on syntax rules toward the BNF convention in the document, line 16 says [] encloses an optional item. R1303 format-items

[Bug libstdc++/81797] gcc 7.1.0 fails to build on macOS 10.13 (High Sierra):

2018-02-15 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 --- Comment #58 from Jonathan Wakely --- Author: redi Date: Thu Feb 15 20:56:41 2018 New Revision: 257710 URL: https://gcc.gnu.org/viewcvs?rev=257710=gcc=rev Log: PR libstdc++/81797 Add .NOTPARALLEL to include/Makefile for darwin PR

[Bug target/84413] New: -march=skylake-avx512 disables BT instruction

2018-02-15 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84413 Bug ID: 84413 Summary: -march=skylake-avx512 disables BT instruction Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/82518] [8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb since r252917

2018-02-15 Thread wilco.dijkstra at arm dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518 --- Comment #42 from Wilco --- Cut down example: typedef struct { int x, y; } X; void f (X *p, int n) { for (int i = 0; i < n; i++) { p[i].x = i; p[i].y = i + 1; } }

[Bug testsuite/84381] replace non-std 'call abort' by 'stop 1' in gfortran testsuite

2018-02-15 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84381 Thomas Koenig changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug target/82989] [7/8 regression ] Inexplicable use of NEON for 64-bit math

2018-02-15 Thread matthijsvanduin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82989 --- Comment #9 from Matthijs van Duin --- I can still reproduce the same test case with: arm-linux-gnueabihf-gcc-8 (Debian 8-20180207-2) 8.0.1 20180207 (experimental) [trunk revision 257435] -mfloat-abi=hard is implicit for

[Bug c++/84045] [7/8 Regression] ICE when is_nothrow_default_constructible is used before #include

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

[Bug target/84154] [7 Regression] PowerPC GCC 7 and 8 have regression in converting fp to short/char and returning it

2018-02-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84154 --- Comment #10 from Michael Meissner --- Author: meissner Date: Thu Feb 15 19:57:46 2018 New Revision: 257707 URL: https://gcc.gnu.org/viewcvs?rev=257707=gcc=rev Log: 2018-02-15 Michael Meissner Back

[Bug c++/81764] [6/7/8 Regression] Visibility attributes for explicitly instantiated template class get warned if it has been implicitly instantiated

2018-02-15 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81764 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Known to work|

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #11 from rsandifo at gcc dot gnu.org --- Created attachment 43437 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43437=edit Possible patch v2 This time for real.

[Bug jit/84288] Support jit on Solaris

2018-02-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84288 --- Comment #4 from Rainer Orth --- (In reply to Rainer Orth from comment #0) [...] > * In the 32-bit case, two tests FAIL like this: > > PASSED: test-vector-rvalues.cc.exe iteration 1 of 5: verify_vec_code: > fn is > non-null >

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 rsandifo at gcc dot gnu.org changed: What|Removed |Added Attachment #43435|0 |1 is obsolete|

[Bug c++/84376] [7/8 Regression] ICE with missing template parameter

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

[Bug c++/84376] [7/8 Regression] ICE with missing template parameter

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84376 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Feb 15 19:46:13 2018 New Revision: 257706 URL: https://gcc.gnu.org/viewcvs?rev=257706=gcc=rev Log: PR c++/84376 - ICE with omitted template arguments. * pt.c

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 rsandifo at gcc dot gnu.org changed: What|Removed |Added Attachment #43434|0 |1 is obsolete|

[Bug tree-optimization/84114] global reassociation pass prevents fma usage, generates slower code

2018-02-15 Thread sje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84114 --- Comment #4 from Steve Ellcey --- While teaching the reassociation pass about fma's seems like the right answer would it be reasonable (and simpler) to do the fma pass (pass_optimize_widening_mul) before the reassociation pass (pass_reassoc)

[Bug fortran/84412] New: Erroneous "Inquire statement identifies an internal file" error

2018-02-15 Thread abensonca at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84412 Bug ID: 84412 Summary: Erroneous "Inquire statement identifies an internal file" error Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

[Bug bootstrap/84405] [8 Regression] Fails to bootstrap with GCC 4.1.2, GCC 4.2.4

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84405 --- Comment #5 from Jakub Jelinek --- So, seems it is that hash-table.h change that really doesn't work in GCC r132088, not just 4.2.*, but any (tried even 3.2). The implicitly defined default constructor for A (hash_map<...>::hash_entry in

[Bug libstdc++/83982] Exception guarantee of C++14 vector::resize(size_type) is not met

2018-02-15 Thread dtrebbien at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83982 --- Comment #3 from Daniel Trebbien --- Friendly reminder: I have attached a patch for this issue which I would like to have reviewed and committed.

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #8 from Jakub Jelinek --- Comment on attachment 43434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43434 Possible patch From the above comments, from_mode can be also MODE_INT and to_mode MODE_PARTIAL_INT, though I wonder

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #7 from rsandifo at gcc dot gnu.org --- Created attachment 43434 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43434=edit Possible patch This is the kind of change I was thinking of.

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 Jakub Jelinek changed: What|Removed |Added Assignee|jakub at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug c++/84411] New: Missed optimization: static guard variable generated for empty virtual destructor

2018-02-15 Thread arthur.j.odwyer at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84411 Bug ID: 84411 Summary: Missed optimization: static guard variable generated for empty virtual destructor Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #5 from rsandifo at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #4) > I think Richard needs to explain why he changed the function from using > GET_MODE_WIDER_MODE to the assert + simple iteration on modes, it isn't

[Bug bootstrap/82939] genmatch fills up terminal with endless printing of periods

2018-02-15 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82939 --- Comment #16 from Eric Gallager --- (In reply to Jakub Jelinek from comment #15) > Full testcase suitable for configure: > extern "C" void abort (); > struct S { ~S () { if (x) abort (); }; int x, y, z; }; > void foo (S *p) { *p = S (); } >

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-02-15 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 acsawdey at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|RESOLVED

[Bug testsuite/84381] replace non-std 'call abort' by 'stop 1' in gfortran testsuite

2018-02-15 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84381 --- Comment #2 from Thomas Koenig --- Author: tkoenig Date: Thu Feb 15 18:46:22 2018 New Revision: 257703 URL: https://gcc.gnu.org/viewcvs?rev=257703=gcc=rev Log: 2018-02-15 Thomas Koenig PR fortran/84381

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #4 from Jakub Jelinek --- I think Richard needs to explain why he changed the function from using GET_MODE_WIDER_MODE to the assert + simple iteration on modes, it isn't clear from his patch why it was changed. Does that not really

[Bug target/84406] [8 Regression][MSP430] ICE on valid code in find_widening_optab_handler_and_mode, at optabs-query.c:476

2018-02-15 Thread jozefl.gcc at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84406 --- Comment #3 from Jozef Lawrynowicz --- Created attachment 43433 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43433=edit define {u,}mulhipsi3 insns I applied the patch but trunk still ICEs. After defining some insns for "umulhipsi3"

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2018-02-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 --- Comment #11 from Martin Liška --- (In reply to Martin Liška from comment #10) > Created attachment 43432 [details] > Parallel build of make all-host on 8 core Haswell machine This was generated with a slightly modified make (being able to

[Bug libffi/84410] libffi doesn't support riscv now, but not disabled in configure.ac

2018-02-15 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84410 --- Comment #1 from Andreas Schwab --- Neither does libgo support RISC-V yet.

[Bug translation/84303] Styled quotes in error message may be inappropriate

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

[Bug debug/83758] ICE building gccgo on powerpc64le --with-cpu=power8

2018-02-15 Thread acsawdey at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83758 --- Comment #37 from acsawdey at gcc dot gnu.org --- Author: acsawdey Date: Thu Feb 15 18:36:20 2018 New Revision: 257701 URL: https://gcc.gnu.org/viewcvs?rev=257701=gcc=rev Log: 2018-02-15 Aaron Sawdey

[Bug c++/84376] [7/8 Regression] ICE with missing template parameter

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84376 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug bootstrap/84402] [meta] GCC build system: parallelism bottleneck

2018-02-15 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84402 Martin Liška changed: What|Removed |Added Attachment #43428|0 |1 is obsolete|

[Bug c++/84368] [8 Regression] return type of generic lambda in variadic lambda in template is not deduced

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84368 --- Comment #6 from Jason Merrill --- Author: jason Date: Thu Feb 15 18:15:32 2018 New Revision: 257699 URL: https://gcc.gnu.org/viewcvs?rev=257699=gcc=rev Log: PR c++/84368 - wrong error with local variable in variadic lambda.

[Bug c++/84368] [8 Regression] return type of generic lambda in variadic lambda in template is not deduced

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

[Bug c++/70401] [c++1z on mingw]compile variadic template failed

2018-02-15 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70401 --- Comment #5 from Rainer Emrich --- For a recent trunk version 8.0.1 20180207 (experimental) [trunk revision 257437] it's the same.

[Bug c++/84330] [6/7 Regression] [concepts] ICE with broken constraint

2018-02-15 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84330 Paolo Carlini changed: What|Removed |Added Summary|[6/7/8 Regression] |[6/7 Regression] [concepts]

[Bug c++/84330] [6/7/8 Regression] [concepts] ICE with broken constraint

2018-02-15 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84330 --- Comment #4 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Feb 15 18:05:40 2018 New Revision: 257698 URL: https://gcc.gnu.org/viewcvs?rev=257698=gcc=rev Log: /cp 2018-02-15 Paolo Carlini PR

[Bug c++/70401] [c++1z on mingw]compile variadic template failed

2018-02-15 Thread rai...@emrich-ebersheim.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70401 --- Comment #4 from Rainer Emrich --- gcc-7.3.0 on x86_64-w64-mingw32 doesn't compile this code: $ g++ -std=c++1z aa.cpp -o aa.exe aa.cpp: In instantiation of 'std::ostream& operator<<(std::ostream&, const

[Bug bootstrap/84405] [8 Regression] Fails to bootstrap with GCC 4.1.2, GCC 4.2.4

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84405 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug target/84154] [7 Regression] PowerPC GCC 7 and 8 have regression in converting fp to short/char and returning it

2018-02-15 Thread meissner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84154 --- Comment #9 from Michael Meissner --- Author: meissner Date: Thu Feb 15 17:54:41 2018 New Revision: 257697 URL: https://gcc.gnu.org/viewcvs?rev=257697=gcc=rev Log: [gcc] 2018-02-15 Michael Meissner

[Bug jit/84288] Support jit on Solaris

2018-02-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84288 Rainer Orth changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug other/84379] Problems with sol2.c GTY handling

2018-02-15 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84379 --- Comment #1 from Rainer Orth --- Created attachment 43431 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43431=edit proposed patch By closely following what darwin.c does for machopic_indirections, I arrived at the attached patch which

[Bug c++/84368] [8 Regression] return type of generic lambda in variadic lambda in template is not deduced

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

[Bug preprocessor/83063] [8 Regression] ICE on an invalid preprocessor snippet

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83063 --- Comment #6 from Jason Merrill --- Author: jason Date: Thu Feb 15 17:43:01 2018 New Revision: 257696 URL: https://gcc.gnu.org/viewcvs?rev=257696=gcc=rev Log: PR preprocessor/83063 - __VA_OPT__ and ## PR preprocessor/83708

[Bug preprocessor/83063] [8 Regression] ICE on an invalid preprocessor snippet

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

[Bug preprocessor/83708] Token-based policy broken by __VA_OPT__

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83708 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug preprocessor/83708] Token-based policy broken by __VA_OPT__

2018-02-15 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83708 --- Comment #1 from Jason Merrill --- Author: jason Date: Thu Feb 15 17:43:01 2018 New Revision: 257696 URL: https://gcc.gnu.org/viewcvs?rev=257696=gcc=rev Log: PR preprocessor/83063 - __VA_OPT__ and ## PR preprocessor/83708

[Bug target/82989] [7/8 regression ] Inexplicable use of NEON for 64-bit math

2018-02-15 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82989 --- Comment #8 from Jakub Jelinek --- In both adddi3_neon and lshrdi3_neon the GPR alternatives use exactly the same number of ?s as the NEON ones with avoid_neon_for_64bits, just the neon_for_64bits alternatives don't have any. So I don't see

  1   2   >