[Bug fortran/83704] pr31243 revisited

2018-01-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704 --- Comment #17 from Janne Blomqvist --- I have fixed resolve_ordinary_assign as part of a larger patch fixing similar issues in the frontend (you also need to change extract_int to extract_hwi). I can submit it once I have tackled the 32-bit

[Bug c++/83730] Unnecessary generation of guard variables with -fno-threadsafe-statics

2018-01-07 Thread klaus.doldinger64 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83730 --- Comment #2 from Wilhelm M --- Additionally: if one only uses a global variable of type A, no guards are creates at all. But this should be conceptually equivalent to the above use case.

[Bug fortran/83704] pr31243 revisited

2018-01-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704 --- Comment #16 from Thomas Koenig --- I hadn't actually compiled this... but then this at least compiles. Index: resolve.c === --- resolve.c (Revision 256284) +++ resolve.c

[Bug tree-optimization/83693] missing strlen optimization for array of arrays

2018-01-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83693 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #3 from Martin Sebor

[Bug c++/81420] When a reference is bound to a member in the base of a temporary, lifetime of the temporary is not extended

2018-01-07 Thread ed at catmur dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81420 --- Comment #1 from Ed Catmur --- icc 18 also has this bug. MSVC 19 2017 (with /permissive-) miscompiles by copying the bound subobject to a separate complete object before binding, so the reference does not dangle but the derived and base class

[Bug c++/83732] New: wrong warning about non-POD field

2018-01-07 Thread stsp at users dot sourceforge.net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83732 Bug ID: 83732 Summary: wrong warning about non-POD field Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug fortran/83704] pr31243 revisited

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704 --- Comment #15 from Dominique d'Humieres --- > does this help? Nope, I get ../../work/gcc/fortran/resolve.c: In function 'bool resolve_ordinary_assign(gfc_code*, gfc_namespace*)': ../../work/gcc/fortran/resolve.c:10281:27: error: format '%d'

[Bug fortran/83704] pr31243 revisited

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

[Bug tree-optimization/83693] missing strlen optimization for array of arrays

2018-01-07 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83693 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

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

[Bug fortran/83731] PDT length parameter incorrectly rejected at run-time with -fcheck=bounds

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

[Bug fortran/83731] New: PDT length parameter incorrectly rejected at run-time with -fcheck=bounds

2018-01-07 Thread berke.durak at gmail dot com
Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: berke.durak at gmail dot com Target Milestone: --- Using the nightly 20180107 trunk rev. 256317: % cat pdt.f90 module pdt_m implicit none type :: vec(k) integer

[Bug target/83524] [8 Regression] bootstrap fails build a nvptx cross: ICE in get_insn_template, at final.c:2099

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83524 Matthias Klose changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/83709] Inserting duplicates into an unordered associative containers causes the container to invalidate iterators

2018-01-07 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83709 François Dumont changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |fdumont at gcc dot gnu.org

[Bug testsuite/67905] running the libstdc++ testsuite as root removed /dev/null from my system

2018-01-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67905 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/83730] Unnecessary generation of guard variables with -fno-threadsafe-statics

2018-01-07 Thread klaus.doldinger64 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83730 --- Comment #1 from Wilhelm M --- If the defaulted ctor is commented out, the guards aren't generated. Still is even stranger ...

[Bug c++/83730] New: Unnecessary generation of guard variables with -fno-threadsafe-statics

2018-01-07 Thread klaus.doldinger64 at googlemail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83730 Bug ID: 83730 Summary: Unnecessary generation of guard variables with -fno-threadsafe-statics Product: gcc Version: 7.2.1 Status: UNCONFIRMED Severity: normal

[Bug c++/82514] [8 Regression] ICE: in operator[], at vec.h:749

2018-01-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82514 --- Comment #4 from Markus Trippelsdorf --- Smaller testcase from PR83727: namespace a { template b *begin(b (&)[c]); } class d { public: d(const char *); }; struct e { int f; d docstring; void (*func)(int &, int); }; namespace a {

[Bug c++/83727] [8 Regression] ICE (Segmentation fault) in local_class_index

2018-01-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83727 Markus Trippelsdorf changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/82514] [8 Regression] ICE: in operator[], at vec.h:749

2018-01-07 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82514 --- Comment #3 from Markus Trippelsdorf --- *** Bug 83727 has been marked as a duplicate of this bug. ***

[Bug c/78352] GCC lacks support for the Apple "blocks" extension to the C family of languages

2018-01-07 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78352 --- Comment #3 from Eric Gallager --- Blocks had to be removed from the Objective-C sources in Emacs due to this bug: https://lists.gnu.org/archive/html/bug-gnu-emacs/2017-12/msg00301.html

[Bug target/83524] [8 Regression] bootstrap fails build a nvptx cross: ICE in get_insn_template, at final.c:2099

2018-01-07 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83524 --- Comment #1 from Jakub Jelinek --- Can't reproduce with current trunk.

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 --- Comment #6 from Janne Blomqvist --- Hmm, the attached testcase works just fine for me. No ICE observed.

[Bug middle-end/83729] New: AVR ICE on convert_memory_address_addr_space_1 at explow.c:300

2018-01-07 Thread gandalf at winds dot org
Priority: P3 Component: middle-end Assignee: unassigned at gcc dot gnu.org Reporter: gandalf at winds dot org Target Milestone: --- Created attachment 43054 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43054=edit Preprocessed file gcc version 8.0.0 20180

[Bug debug/83728] New: [8 regression] FAIL: gcc.dg/guality/pr68037-1.c

2018-01-07 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83728 Bug ID: 83728 Summary: [8 regression] FAIL: gcc.dg/guality/pr68037-1.c Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c/33167] Hex constant characters with \x escape not parsing correctly

2018-01-07 Thread albertmcchan at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33167 Albert Chan changed: What|Removed |Added CC||albertmcchan at yahoo dot com --- Comment

[Bug c++/83727] New: [8 Regression] ICE (Segmentation fault) in local_class_index

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83727 Bug ID: 83727 Summary: [8 Regression] ICE (Segmentation fault) in local_class_index Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug target/83726] New: [8 Regression] ICE: in final_scan_insn, at final.c:3063

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83726 Bug ID: 83726 Summary: [8 Regression] ICE: in final_scan_insn, at final.c:3063 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread dominiq at tournesol dot lps.ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 --- Comment #5 from dominiq at tournesol dot lps.ens.fr --- Bugzilla seems down so I cannot check what is wrong with the code I have posted. I attach the test. Cheers, Dominique

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 --- Comment #4 from Dominique d'Humieres --- > Trying to compile the example produces > ... Sorry about that (copy and paste problem). I have attached the right test.

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 --- Comment #3 from Dominique d'Humieres --- Created attachment 43053 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43053=edit right reproducer.

[Bug middle-end/83721] [8 Regression] ICE: in generic_overlap, at gimple-ssa-warn-restrict.c:821

2018-01-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83721 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #1

[Bug rtl-optimization/81308] [8 regression] ICE in calc_dfs_tree, at dominance.c:458

2018-01-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81308 Jeffrey A. Law changed: What|Removed |Added CC||doko at gcc dot gnu.org --- Comment #7

[Bug middle-end/83724] [8 Regression] ICE in calc_dfs_tree, at dominance.c:458

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

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 Janne Blomqvist changed: What|Removed |Added Status|NEW |WAITING --- Comment #2 from Janne

[Bug fortran/83725] [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 Dominique d'Humieres changed: What|Removed |Added Keywords||ice-on-valid-code

[Bug fortran/83705] [8 Regression] ICE/wrong code with large values of REPEAT after revision r256284

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83705 --- Comment #7 from Dominique d'Humieres --- > Of course, commenting out the part in simplify.c makes the repeat_7.f90 > test fail. Also, when compiling the testcase in this PR the compiler > uses 1.7 GB RAM, so I do think it makes sense to have

[Bug fortran/83725] New: [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83725 Bug ID: 83725 Summary: [8 Regression] Another ICE:: in gfc_add_modify_loc, at fortran/trans.c:159 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug web/78315] "Changes" don't explain what "LRA" is

2018-01-07 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78315 Segher Boessenkool changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug fortran/83704] pr31243 revisited

2018-01-07 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704 --- Comment #13 from Dominique d'Humieres --- > Which looks like a clear case of integer wraparound. Given that > the testcase works, apparently correctly, I would guess the it's > an error in the implementation of the -Wcharacter-truncation

[Bug fortran/54613] [F08] Add FINDLOC plus support MAXLOC/MINLOC with KIND=/BACK=

2018-01-07 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54613 Thomas Koenig changed: What|Removed |Added Status|NEW |ASSIGNED Blocks|

[Bug ipa/83706] [8 regression] gcc.dg/ipa/inline-2.c and gcc.dg/ipa/inline-3.c fail starting with r256279

2018-01-07 Thread ro at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83706 Rainer Orth changed: What|Removed |Added Target|powerpc64*-*-* | Status|UNCONFIRMED

[Bug middle-end/83724] [8 Regression] ICE in calc_dfs_tree, at dominance.c:458

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83724 --- Comment #1 from Matthias Klose --- duplicate of PR81308?

[Bug middle-end/83724] New: [8 Regression] ICE in calc_dfs_tree, at dominance.c:458

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83724 Bug ID: 83724 Summary: [8 Regression] ICE in calc_dfs_tree, at dominance.c:458 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/83704] pr31243 revisited

2018-01-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704 --- Comment #12 from Janne Blomqvist --- With these two commits in #c10 and #c11 the testcase now works correctly. However, if one enables warnings there's still the (spurious) warning: test1.f90:12:18: ch = '123456789' 1

[Bug fortran/83704] pr31243 revisited

2018-01-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83704 --- Comment #11 from Janne Blomqvist --- Author: jb Date: Sun Jan 7 10:17:52 2018 New Revision: 256322 URL: https://gcc.gnu.org/viewcvs?rev=256322=gcc=rev Log: PR 78534, 83704 Handle large formatted I/O In order to handle large characters

[Bug fortran/78534] Use a larger integer type for character lengths on 64-bit targets

2018-01-07 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78534 --- Comment #23 from Janne Blomqvist --- Author: jb Date: Sun Jan 7 10:17:52 2018 New Revision: 256322 URL: https://gcc.gnu.org/viewcvs?rev=256322=gcc=rev Log: PR 78534, 83704 Handle large formatted I/O In order to handle large characters

[Bug preprocessor/83722] [8 Regression] the ICE dumper doesn't comment-out some error messages

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83722 --- Comment #3 from Matthias Klose --- no, the output is directly taken from the generated file, not from the build log. The itself is reported in PR83723.

[Bug preprocessor/83722] [8 Regression] the ICE dumper doesn't comment-out some error messages

2018-01-07 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83722 Alexander Monakov changed: What|Removed |Added CC||amonakov at gcc dot gnu.org ---

[Bug rtl-optimization/83723] [8 Regression] ICE: in gen_rtx_SUBREG, at emit-rtl.c:1010

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83723 --- Comment #1 from Matthias Klose --- ... building the freespace2 package on i386

[Bug rtl-optimization/81308] [8 regression] ICE in calc_dfs_tree, at dominance.c:458

2018-01-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81308 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2 Assignee|unassigned at

[Bug rtl-optimization/83723] New: [8 Regression] ICE: in gen_rtx_SUBREG, at emit-rtl.c:1010

2018-01-07 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83723 Bug ID: 83723 Summary: [8 Regression] ICE: in gen_rtx_SUBREG, at emit-rtl.c:1010 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/81308] [8 regression] ICE in calc_dfs_tree, at dominance.c:458

2018-01-07 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81308 Jeffrey A. Law changed: What|Removed |Added CC||law at redhat dot com --- Comment #6