[Bug target/83496] [7/8 regression] wrong code generates under "-Os -mbranch-cost=1"

2018-02-23 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83496 Eric Botcazou changed: What|Removed |Added Target|mipsbe |mips-*-* Target Milestone|---

[Bug fortran/84506] [6/7/8 Regression] INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8

2018-02-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506 --- Comment #15 from Jerry DeLisle --- Author: jvdelisle Date: Fri Feb 23 19:53:04 2018 New Revision: 257951 URL: https://gcc.gnu.org/viewcvs?rev=257951&root=gcc&view=rev Log: 2018-02-23 Jerry DeLisle Backport from trunk PR f

[Bug c++/84533] New: [7/8 Regression] ICE with duplicate enum value

2018-02-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84533 Bug ID: 84533 Summary: [7/8 Regression] ICE with duplicate enum value Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug fortran/84506] [6/7/8 Regression] INQUIRE(pos=) always sets pos=0 with -fdefault-integer-8

2018-02-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84506 Jerry DeLisle changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug tree-optimization/84526] [8 Regression] ICE in generic_overlap at gcc/gimple-ssa-warn-restrict.c:927 since r257860

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

[Bug fortran/84523] [8 Regression] Runtime crash deallocating allocatable array within derived type

2018-02-23 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84523 --- Comment #2 from Harald Anlauf --- (In reply to Thomas Koenig from comment #1) > Doesn't crash for me, but I get a valgrind error: Trying -fsanitize=undefined, I get: ### destruct: size(rc% spots)= 80 ### destruct: allocated (vm)

[Bug fortran/84143] Intrinsic output of PDT incorrectly includes type parameters

2018-02-23 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84143 --- Comment #5 from Jerry DeLisle --- Looking at the tree dump we have: _gfortran_st_write (&dt_parm.0); { struct Pdtfoo_1 * D.3772; D.3772 = &x; _gfortran_transfer_integer_write (&dt_parm.0, &D.3772->k1, 4); _gf

[Bug target/84534] New: [8 regression] several powerpc test cases fail starting with r257915

2018-02-23 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 Bug ID: 84534 Summary: [8 regression] several powerpc test cases fail starting with r257915 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/84535] New: std::thread constructor missing constraint on first argument

2018-02-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84535 Bug ID: 84535 Summary: std::thread constructor missing constraint on first argument Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Pri

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

2018-02-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81797 Jonathan Wakely changed: What|Removed |Added Target Milestone|6.4 |6.5 --- Comment #64 from Jonathan Wake

[Bug c++/84536] New: [7/8 Regression] ICE with non-type template parameter

2018-02-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84536 Bug ID: 84536 Summary: [7/8 Regression] ICE with non-type template parameter Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code S

[Bug fortran/68226] [6/7/8 Regression] [OOP] ICE on assignment of pointer-valued function to allocatable

2018-02-23 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68226 --- Comment #5 from Harald Anlauf --- The code in comment#0 compiles with current trunk. The ICE is gone. Not sure if the code is valid, but NAG accepts it without complaining. Adding a line print *, a prints 1 2 whi

[Bug libstdc++/84535] std::thread constructor missing constraint on first argument

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

[Bug fortran/68226] [6/7/8 Regression] [OOP] ICE on assignment of pointer-valued function to allocatable

2018-02-23 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68226 Dominique d'Humieres changed: What|Removed |Added CC||pault at gcc dot gnu.org Kno

[Bug libstdc++/84532] [7/8 Regression] std::thread::__make_invoker prematurely unwraps reference_wrappers

2018-02-23 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84532 --- Comment #2 from Jonathan Wakely --- Author: redi Date: Fri Feb 23 23:23:43 2018 New Revision: 257956 URL: https://gcc.gnu.org/viewcvs?rev=257956&root=gcc&view=rev Log: PR libstdc++/84532 prevent unwrapping of reference_wrapper arguments

[Bug c++/84537] New: [8 Regression] ICE in get_string, at spellcheck-tree.h

2018-02-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537 Bug ID: 84537 Summary: [8 Regression] ICE in get_string, at spellcheck-tree.h Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: error-recovery, ice-on-invalid-code

[Bug c++/84537] [8 Regression] ICE in get_string, at spellcheck-tree.h

2018-02-23 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84537 --- Comment #1 from Volker Reichelt --- With a slightly modified testcase (namespace std instead of N) I get a different stack-trace: === namespace std { template struct A {}; } std::template A<> a; ===

[Bug fortran/84523] [8 Regression] Runtime crash deallocating allocatable array within derived type

2018-02-23 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84523 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug fortran/84538] New: Array of derived type elements incorrectly accessed in function

2018-02-23 Thread abensonca at gmail dot com
1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc/configure --prefix=/nfs/home/abenson/Galacticus/Tools --enable-languages=c,c++,fortran --disable-multilib Thread model: posix gcc version 8.0.1 20180223 (experimental) (GCC) $ gfortran bug.F90 $ a.out FROM PROGRAM8

[Bug fortran/30792] DATA implied-do substring allowed with -std=f95/f2003

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30792 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4 CC|

[Bug c++/70468] [6/7/8 Regression] ICE on invalid code on x86_64-linux-gnu in emit_mem_initializers, at cp/init.c:1109

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

[Bug fortran/51652] Allocate with type-spec and source-expr: check whether length type-parameter is the same is lacking

2018-02-23 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51652 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/69563] Generic TBP incorrectly resolves to elemental

2018-02-23 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69563 Neil Carlson changed: What|Removed |Added Version|6.0 |8.0.1 --- Comment #2 from Neil Carlson -

[Bug fortran/49213] [OOP] gfortran rejects structure constructor expression

2018-02-23 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49213 Neil Carlson changed: What|Removed |Added Version|4.7.0 |8.0.1 --- Comment #26 from Neil Carlson

[Bug c++/52036] C++11 allows template parameters to have internal linkage

2018-02-23 Thread xaxxon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52036 zac changed: What|Removed |Added CC||xaxxon at gmail dot com --- Comment #12 from zac

[Bug fortran/84539] New: ICE and segfault with assignment to CLASS(*) array

2018-02-23 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84539 Bug ID: 84539 Summary: ICE and segfault with assignment to CLASS(*) array Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug fortran/84539] ICE and segfault with assignment to CLASS(*) array

2018-02-23 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84539 --- Comment #1 from Neil Carlson --- And same example but using character data. This compiles but gives a segfault when run at the assignment statement. class(*), allocatable :: x(:) x = ['foo','bar'] select type (x) type is (character(*)) if

[Bug fortran/83118] [7/8 Regression] Bad intrinsic assignment of class(*) array component of derived type

2018-02-23 Thread neil.n.carlson at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83118 --- Comment #4 from Neil Carlson --- Note that if the sourced allocation in the comment 0 test case allocate(x%v,source=['foo','bar']) is replaced by the equivalent (I think) assignment x%v = ['foo','bar'] Then the code produces a run tim

<    1   2