[Bug tree-optimization/85757] tree optimizers fail to fully clean up fixed-size memcpy

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

[Bug middle-end/85811] Invalid optimization with fmax, fabs and nan

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85811 Richard Biener changed: What|Removed |Added Keywords||wrong-code

[Bug tree-optimization/85814] [8/9 Regression] ICE Segmentation fault during GIMPLE pass: strlen -O3 and above

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85814 Martin Liška changed: What|Removed |Added CC||marxin at gcc dot gnu.org --- Comment #2

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #22 from Andrew Pinski --- I don't think the middle end can even change. the semantics of TRUTH_ANDIF_EXPR is always to short circuit. If you want a non short circuit you need to use TRUTH_AND_EXPR

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #2 from Jonathan Wakely --- ... because if that constructor throws and the current translation unit is built without exceptions, we can't catch it.

[Bug c++/85713] [9 Regression] ICE in dependent_type_p, at cp/pt.c:24582 on valid code

2018-05-17 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85713 --- Comment #8 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu May 17 09:17:56 2018 New Revision: 260308 URL: https://gcc.gnu.org/viewcvs?rev=260308=gcc=rev Log: 2018-05-17 Paolo Carlini PR

[Bug tree-optimization/85814] [8/9 Regression] ICE Segmentation fault during GIMPLE pass: strlen -O3 and above

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85814 Martin Liška changed: What|Removed |Added Keywords|needs-reduction | --- Comment #3 from Martin Liška ---

[Bug c++/69905] Digit separators break literal operators

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

[Bug libstdc++/84671] [6/7 Regression] Chrono literals don't accept apostrophe as separator

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84671 Jonathan Wakely changed: What|Removed |Added CC||alisdairm at me dot com --- Comment

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Thu May 17 10:07:12 2018 New Revision: 260313 URL: https://gcc.gnu.org/viewcvs?rev=260313=gcc=rev Log: PR target/85323 * config/i386/i386.c (ix86_fold_builtin): Handle

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #23 from janus at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #21) > If we make guarantees that the standard does not, we will be > creating our own language I certainly don't want to create my own language. I'm

[Bug tree-optimization/63185] Improve DSE with branches

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63185 --- Comment #8 from Richard Biener --- comment#5 runs into the fact that we cannot reliably compute kills for loop-variant stores and thus we give up completely: if (gimple_code (temp) == GIMPLE_PHI) { /* If we visit

[Bug tree-optimization/85814] [8/9 Regression] ICE Segmentation fault during GIMPLE pass: strlen -O3 and above

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85814 Martin Liška changed: What|Removed |Added Keywords|needs-bisection | CC|

[Bug libstdc++/85812] make_exception_ptr can leak the allocated exception if construction throws

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

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #6 from Jakub Jelinek --- Author: jakub Date: Thu May 17 09:54:36 2018 New Revision: 260311 URL: https://gcc.gnu.org/viewcvs?rev=260311=gcc=rev Log: PR target/85323 * config/i386/i386.c: Include

[Bug tree-optimization/85757] tree optimizers fail to fully clean up fixed-size memcpy

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85757 --- Comment #5 from Richard Biener --- Author: rguenth Date: Thu May 17 06:57:45 2018 New Revision: 260306 URL: https://gcc.gnu.org/viewcvs?rev=260306=gcc=rev Log: 2018-05-17 Richard Biener PR

[Bug tree-optimization/85814] [8/9 Regression] ICE Segmentation fault during GIMPLE pass: strlen -O3 and above

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85814 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug middle-end/85811] Invalid optimization with fmax, fabs and nan

2018-05-17 Thread sch...@linux-m68k.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85811 --- Comment #8 from Andreas Schwab --- > Is there sth like -NaN?! signbit can tell you.

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #1 from Jonathan Wakely --- As you pointed out in PR 85812 the constructor of the exception can throw. That can happen even if the current translation unit is not built with exceptions, if the constructor is defined in a different

[Bug ada/85760] Using generic function to initialize a type created by a generic package crashes GNAT

2018-05-17 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85760 Eric Botcazou changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #24 from janus at gcc dot gnu.org --- (In reply to Andrew Pinski from comment #22) > the semantics of TRUTH_ANDIF_EXPR is always to short circuit. > If you want a non short circuit you need to use TRUTH_AND_EXPR I haven't looked at

[Bug middle-end/85811] Invalid optimization with fmax, fabs and nan

2018-05-17 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85811 --- Comment #9 from rguenther at suse dot de --- On Thu, 17 May 2018, sch...@linux-m68k.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85811 > > --- Comment #8 from Andreas Schwab --- > > Is there sth like

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #26 from janus at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #25) > > We do have problems with compiler-dependent behavior already. The behavior > > I'm proposing is consistent with what ifort, PGI and flang do. > >

[Bug c/85810] gcc incorrectly handles declarations inside parameter lists of function declarators.

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

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #25 from Thomas Koenig --- (In reply to janus from comment #23) > (In reply to Thomas Koenig from comment #21) > > If we make guarantees that the standard does not, we will be > > creating our own language > > I certainly don't want

[Bug lto/85801] LTO linking fails to reconcile symbol from common an data sections (-fPIE -Wl,--as-needed -flto): unresolvable R_ARM_REL32 relocation against symbol `progname'

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85801 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/63185] Improve DSE with branches

2018-05-17 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63185 --- Comment #7 from Marc Glisse --- This PR is messy. To sum up, comment #0 was recently fixed, comment #5 is not (not noticing that the writes in the loop are dead), and comment #6 asks for increasing the alignment of VLAs the same way we

[Bug c++/85815] New: incorrect "invalid use of incomplete type" in a lambda on valid code

2018-05-17 Thread v at vsamko dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85815 Bug ID: 85815 Summary: incorrect "invalid use of incomplete type" in a lambda on valid code Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal

[Bug fortran/85816] New: nested spread fails with "Integer overflow in xmallocarray"

2018-05-17 Thread m.diehl at mpie dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85816 Bug ID: 85816 Summary: nested spread fails with "Integer overflow in xmallocarray" Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug ipa/85817] New: [9 Regression] ICE in expand_call at gcc/calls.c:4291

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817 Bug ID: 85817 Summary: [9 Regression] ICE in expand_call at gcc/calls.c:4291 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: ice-on-valid-code Severity:

[Bug libstdc++/85812] [7/8/9 Regression] make_exception_ptr can leak the allocated exception if construction throws

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85812 Jonathan Wakely changed: What|Removed |Added Status|NEW |ASSIGNED Known to work|

[Bug c++/85815] [7/8/9 Regression] incorrect "invalid use of incomplete type" in a lambda on valid code

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85815 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug target/85323] SSE/AVX/AVX512 shift by 0 not optimized away

2018-05-17 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85323 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Thu May 17 10:01:33 2018 New Revision: 260312 URL: https://gcc.gnu.org/viewcvs?rev=260312=gcc=rev Log: PR target/85323 * config/i386/i386.c (ix86_fold_builtin): Fold

[Bug tree-optimization/63185] Improve DSE with branches

2018-05-17 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63185 --- Comment #9 from Richard Biener --- So the following incomplete patch solves the value-numbering issue in FRE2. diff --git a/gcc/tree-dfa.c b/gcc/tree-dfa.c index a121b880bb0..745d60cbda5 100644 --- a/gcc/tree-dfa.c +++ b/gcc/tree-dfa.c @@

[Bug c++/69905] Digit separators break literal operators

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69905 --- Comment #8 from Jonathan Wakely --- The testcase in comment 2 (the only one in the bug that's actually correct!) works now, fixed by r258157 for Bug 84671. The problem in comment 7 still exists, the corrected testcase is: #include int

[Bug preprocessor/77810] provide format_inform_at_substring to go with format_warning_at_substring

2018-05-17 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77810 Eric Gallager changed: What|Removed |Added Keywords||diagnostic

[Bug middle-end/85620] Missing ENDBR after swapcontext

2018-05-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/85620] Missing ENDBR after swapcontext

2018-05-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 H.J. Lu changed: What|Removed |Added Resolution|FIXED |WONTFIX

[Bug target/81652] [meta-bug] -fcf-protection=full bugs

2018-05-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81652 Bug 81652 depends on bug 85620, which changed state. Bug 85620 Summary: Missing ENDBR after swapcontext https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85620 What|Removed |Added

[Bug target/85819] New: conversion from __v[48]su to __v[48]sf should use FMA

2018-05-17 Thread kretz at kde dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85819 Bug ID: 85819 Summary: conversion from __v[48]su to __v[48]sf should use FMA Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ipa/85817] [9 Regression] ICE in expand_call at gcc/calls.c:4291

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug ada/85760] Using generic function to initialize a type created by a generic package crashes GNAT

2018-05-17 Thread jhb.chat at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85760 --- Comment #8 from Jere --- OH! I thought you meant here. I wasn't sure this was the same bug internally. They have different results in the two different versions of GNAT. The AdaCore GNAT Community put out a crash report while the FSF

[Bug middle-end/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #27 from Thomas Koenig --- [Replying to myself now] > A front end pass (what else did you expect? :-) > > If an impure function is found (recursively) in the operands of an .AND. > expression, issue a > >

[Bug libstdc++/85818] New: [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 Bug ID: 85818 Summary: [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::pre ferred_separator' Product: gcc Version:

[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'

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

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

2018-05-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Thu May 17 12:23:34 2018 New Revision: 260320 URL: https://gcc.gnu.org/viewcvs?rev=260320=gcc=rev Log: Check is_single_const in intersect_with_plats 2018-05-17 Martin Jambor

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

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

[Bug ipa/85817] [9 Regression] ICE in expand_call at gcc/calls.c:4291

2018-05-17 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817 --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- Created attachment 44142 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44142=edit Untested fix Oops, sorry about that. I put the condition if (integer_zerop (retval)) continue;

[Bug ada/85760] Using generic function to initialize a type created by a generic package crashes GNAT

2018-05-17 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85760 --- Comment #9 from Eric Botcazou --- > OH! I thought you meant here. I wasn't sure this was the same bug > internally. They have different results in the two different versions of > GNAT. The AdaCore GNAT Community put out a crash report

[Bug fortran/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 --- Comment #29 from janus at gcc dot gnu.org --- (In reply to Thomas Koenig from comment #27) > > If an impure function is found (recursively) in the operands of an .AND. > > expression, issue a > > > > gfc_warning(OPT_Wsurprising, "Impure

[Bug tree-optimization/85793] [8/9 Regression][AARCH64] ICE in verify_gimple during GIMPLE pass vect.

2018-05-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85793 --- Comment #3 from bin cheng --- Author: amker Date: Thu May 17 11:25:43 2018 New Revision: 260317 URL: https://gcc.gnu.org/viewcvs?rev=260317=gcc=rev Log: PR tree-optimization/85793 * tree-vect-stmts.c (vectorizable_load):

[Bug tree-optimization/85804] [8/9 Regression][AArch64] Mis-compilation of loop with strided array access and xor reduction

2018-05-17 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85804 bin cheng changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

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

2018-05-17 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85655 --- Comment #9 from Martin Jambor --- Author: jamborm Date: Thu May 17 12:18:06 2018 New Revision: 260319 URL: https://gcc.gnu.org/viewcvs?rev=260319=gcc=rev Log: Check is_single_const in intersect_with_plats 2018-05-17 Martin Jambor

[Bug fortran/85599] Prevent short-circuiting of logical expressions for non-pure functions

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

[Bug fortran/82617] Internal compiler error in expand_expr_real_1 when compiling the attached file

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

[Bug libstdc++/85812] [7/8/9 Regression] make_exception_ptr can leak the allocated exception if construction throws

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85812 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Thu May 17 15:03:29 2018 New Revision: 260323 URL: https://gcc.gnu.org/viewcvs?rev=260323=gcc=rev Log: PR libstdc++/85812 fix memory leak in std::make_exception_ptr PR

[Bug fortran/82814] ICE from submodule character function

2018-05-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814 --- Comment #7 from Paul Thomas --- Author: pault Date: Thu May 17 15:31:42 2018 New Revision: 260325 URL: https://gcc.gnu.org/viewcvs?rev=260325=gcc=rev Log: 2017-05-17 Paul Thomas PR fortran/82814 *

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

2018-05-17 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85698 Pat Haugen changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/85763] Feature request: Add a suggestion when compilation fails dues to ambiguous templated friend function

2018-05-17 Thread joshua.r.marshall.1991 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85763 --- Comment #2 from Josh Marshall --- Created attachment 44143 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44143=edit Example file I got to making an example, but it seems that this is no longer a problem. I'm going to close this one

[Bug c++/85763] Feature request: Add a suggestion when compilation fails dues to ambiguous templated friend function

2018-05-17 Thread joshua.r.marshall.1991 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85763 Josh Marshall changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/82814] ICE from submodule character function

2018-05-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814 --- Comment #6 from Paul Thomas --- Author: pault Date: Thu May 17 15:17:43 2018 New Revision: 260324 URL: https://gcc.gnu.org/viewcvs?rev=260324=gcc=rev Log: 2017-05-17 Paul Thomas PR fortran/82814 *

[Bug fortran/85599] Prevent short-circuiting of logical expressions for non-pure functions

2018-05-17 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85599 Dominique d'Humieres changed: What|Removed |Added CC||Joost.VandeVondele at mat dot

[Bug libstdc++/85812] [7/8 Regression] make_exception_ptr can leak the allocated exception if construction throws

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85812 --- Comment #3 from Jonathan Wakely --- Author: redi Date: Thu May 17 16:10:20 2018 New Revision: 260327 URL: https://gcc.gnu.org/viewcvs?rev=260327=gcc=rev Log: PR libstdc++/85812 fix memory leak in std::make_exception_ptr PR

[Bug tree-optimization/85820] New: [9 Regression] internal compiler error: Segmentation fault

2018-05-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85820 Bug ID: 85820 Summary: [9 Regression] internal compiler error: Segmentation fault Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

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

2018-05-17 Thread pthaugen at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85698 --- Comment #9 from Pat Haugen --- Author: pthaugen Date: Thu May 17 16:19:16 2018 New Revision: 260329 URL: https://gcc.gnu.org/viewcvs?rev=260329=gcc=rev Log: PR target/85698 * config/rs6000/rs6000.c

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #3 from Mathias Stearn --- My assumption was that if E(...) throws and it can't be caught, it should be treated as any other case when an -fno-exceptions TU calls a throwing function. In this case that would mean calling terminate()

[Bug fortran/82814] ICE from submodule character function

2018-05-17 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82814 Paul Thomas changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug fortran/85816] [8/9 Regression] nested spread fails with "Integer overflow in xmallocarray"

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

[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Thu May 17 16:10:26 2018 New Revision: 260328 URL: https://gcc.gnu.org/viewcvs?rev=260328=gcc=rev Log: PR libstdc++/85818 ensure path::preferred_separator is defined Because path.cc is

[Bug c++/85783] alloc-size-larger-than fires incorrectly with new[] and can't be disabled

2018-05-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85783 Martin Sebor changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug tree-optimization/85814] [8/9 Regression] ICE Segmentation fault during GIMPLE pass: strlen -O3 and above

2018-05-17 Thread zeccav at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85814 --- Comment #5 from Vittorio Zecca --- I confirm I get the ICE on trunk 260152 and on a sanitized version I also get ../../gcc/gcc/tree-ssa-strlen.c:721:11: runtime error: member access within null pointer of type 'struct strinfo' Thank you

[Bug fortran/66694] Failure in function returning an allocated CHARACTER array

2018-05-17 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66694 --- Comment #2 from Dominique d'Humieres --- This PR seems fixed by the patch at https://gcc.gnu.org/ml/fortran/2018-05/msg00046.html, likely a duplicate of pr82923. On darwin the executable hangs due to pr30617.

[Bug fortran/57160] short-circuit IF only with -ffrontend-optimize

2018-05-17 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57160 Dominique d'Humieres changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85818 --- Comment #1 from Jonathan Wakely --- Author: redi Date: Thu May 17 15:36:25 2018 New Revision: 260326 URL: https://gcc.gnu.org/viewcvs?rev=260326=gcc=rev Log: PR libstdc++/85818 ensure path::preferred_separator is defined Because path.cc is

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #5 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #4) > (In reply to Mathias Stearn from comment #3) > > My assumption was that if E(...) throws and it can't be caught, it should be > > treated as any other case

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redbeard0531 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #7 from Mathias Stearn --- > Simply returning an empty exception_ptr is what happened before the PR 64241 > change, so what we do now retains that behaviour. That might be the main > reason for it. Silently dropping errors always

[Bug middle-end/41475] common variables cannot be expected to be aligned

2018-05-17 Thread atarasevich at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41475 Andrey Tarasevich changed: What|Removed |Added CC||atarasevich at comcast dot net ---

[Bug libstdc++/85821] Chrono literal operators do not follow the standard declarataions

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85821 --- Comment #1 from Jonathan Wakely --- The simple answer is of course "don't do that". Writing 1s works fine, or if you want to be explicit, std::chrono::seconds(1).

[Bug tree-optimization/78969] bogus snprintf truncation warning due to missing range info

2018-05-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78969 Martin Sebor changed: What|Removed |Added CC||aldyh at gcc dot gnu.org --- Comment #12

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #4 from Jonathan Wakely --- (In reply to Mathias Stearn from comment #3) > My assumption was that if E(...) throws and it can't be caught, it should be > treated as any other case when an -fno-exceptions TU calls a throwing >

[Bug libstdc++/85821] New: Chrono literal operators do not follow the standard declarataions

2018-05-17 Thread andreas.molzer at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85821 Bug ID: 85821 Summary: Chrono literal operators do not follow the standard declarataions Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/85812] [7/8 Regression] make_exception_ptr can leak the allocated exception if construction throws

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

[Bug libstdc++/85812] [7/8 Regression] make_exception_ptr can leak the allocated exception if construction throws

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85812 --- Comment #5 from Jonathan Wakely --- Author: redi Date: Thu May 17 17:26:44 2018 New Revision: 260331 URL: https://gcc.gnu.org/viewcvs?rev=260331=gcc=rev Log: PR libstdc++/85812 fix memory leak in std::make_exception_ptr PR

[Bug tree-optimization/85820] [9 Regression] internal compiler error: Segmentation fault

2018-05-17 Thread prathamesh3492 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85820 --- Comment #1 from prathamesh3492 at gcc dot gnu.org --- This is most likely dup of PR85817. Could you check if the fix in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817#c1 works ? Thanks, Prathamesh

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85813 --- Comment #8 from Jonathan Wakely --- (In reply to Mathias Stearn from comment #7) > > Simply returning an empty exception_ptr is what happened before the PR 64241 > > change, so what we do now retains that behaviour. That might be the main >

[Bug c++/85763] Feature request: Add a suggestion when compilation fails dues to ambiguous templated friend function

2018-05-17 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85763 --- Comment #3 from Jonathan Wakely --- OK thanks for following up.

[Bug libstdc++/85813] make_exception_ptr should support __cxa_init_primary_exception path even with -fno-exceptions

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

[Bug libstdc++/85818] [8/9 Regression] undefined reference to `std::experimental::filesystem::v1::__cxx11::path::preferred_separator'

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

[Bug middle-end/85602] -Wsizeof-pointer-memaccess for strncat with size of source

2018-05-17 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85602 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #5 from Martin Sebor

[Bug tree-optimization/85820] [9 Regression] internal compiler error: Segmentation fault

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

[Bug ipa/85817] [9 Regression] ICE in expand_call at gcc/calls.c:4291

2018-05-17 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85817 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com --- Comment #3

[Bug libstdc++/85824] New: regex constructor crashes under UTF-8 locale on Solaris-sparc when parsing a simple character class

2018-05-17 Thread wanyingloo at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85824 Bug ID: 85824 Summary: regex constructor crashes under UTF-8 locale on Solaris-sparc when parsing a simple character class Product: gcc Version: 4.9.2 Status:

[Bug tree-optimization/85822] [8/9 Regression] Maybe wrong code in VRP since r249150

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85822 Martin Liška changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/85822] New: [8/9 Regression] Maybe wrong code in VRP since r249150

2018-05-17 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85822 Bug ID: 85822 Summary: [8/9 Regression] Maybe wrong code in VRP since r249150 Product: gcc Version: unknown Status: UNCONFIRMED Keywords: wrong-code Severity: normal

[Bug tree-optimization/85814] [8/9 Regression] ICE Segmentation fault during GIMPLE pass: strlen -O3 and above

2018-05-17 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85814 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug fortran/78797] It is time perhaps to implement -std=f2015

2018-05-17 Thread janus at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78797 janus at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug tree-optimization/85822] [8/9 Regression] Maybe wrong code in VRP since r249150

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

[Bug c++/85823] Boost.Tribool fails to compile: error: '(tribool::dummy::nonnull != 0)' is not a constant expression

2018-05-17 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85823 --- Comment #2 from Andrew Pinski --- https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80485

[Bug tree-optimization/85803] [6/7/8/9 Regression] DSE removes live global store

2018-05-17 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85803 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/80485] rejects-valid: constexpr static_cast of pointer-to-member-function to bool

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

  1   2   >