[Bug fortran/71759] New: ICE in enforce_single_undo_checkpoint, at fortran/symbol.c:3478

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71759 Bug ID: 71759 Summary: ICE in enforce_single_undo_checkpoint, at fortran/symbol.c:3478 Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/71759] ICE in enforce_single_undo_checkpoint, at fortran/symbol.c:3478

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71759 --- Comment #1 from Gerhard Steinmetz --- Another typo : $ cat z2.f90 program p print *, [character((100)) :: 'x'] print *, [character((1,0)) :: 'x'] end $ gfortran-6 z2.f90 z2.f90:3:23: print *, [character((1,0)) :: 'x']

[Bug other/71760] New: libiberty - Segmentation fault when attempting to delete a non-existent element in a hash table

2016-07-04 Thread rocco at tecsiel dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71760 Bug ID: 71760 Summary: libiberty - Segmentation fault when attempting to delete a non-existent element in a hash table Product: gcc Version: unknown Status: UNCONFIRMED

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #16 from Martin Sebor --- (In reply to Jakub Jelinek from comment #14) > But 9 is maximum length just for the %+03d part, %02d with the limited VRP > range is exactly 2 and then the '\0', so that is 12 maximum, 6 minimum. Yes. > So

[Bug libgcj/71757] libgcj: unknown symbol __cxa_throw_bad_array_new_length

2016-07-04 Thread timo.teras at iki dot fi
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71757 --- Comment #8 from Timo Teräs --- (In reply to Andrew Pinski from comment #5) > LIBSTDCXX_RAW_CXX_CXXFLAGS="\ > -I\$(top_builddir)/../libstdc++-v3/include \ > -I\$(top_builddir)/../libstdc++-v3/include/\$(target_noncanonical) \ > -

[Bug tree-optimization/71761] New: missing tailcall optimization

2016-07-04 Thread vanyacpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 Bug ID: 71761 Summary: missing tailcall optimization Product: gcc Version: 6.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug fortran/71758] ICE in verify_gimple_in_cfg, at tree-cfg.c:5212

2016-07-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71758 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug fortran/35849] "wrong" line shown in error message for parameter

2016-07-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35849 --- Comment #6 from Jerry DeLisle --- Author: jvdelisle Date: Mon Jul 4 19:14:54 2016 New Revision: 237993 URL: https://gcc.gnu.org/viewcvs?rev=237993&root=gcc&view=rev Log: 2016-07-04 Jerry DeLisle Steven G. Kargl PR

[Bug tree-optimization/71761] missing tailcall optimization

2016-07-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 Marc Glisse changed: What|Removed |Added Keywords||missed-optimization Status|UNC

[Bug fortran/35849] "wrong" line shown in error message for parameter

2016-07-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35849 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/71761] missing tailcall optimization

2016-07-04 Thread vanyacpp at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 --- Comment #2 from Ivan Sorokin --- I compared this with clang. 1) typedef int token; Both GCC and clang optimize this to a single jump. 2) struct token {int a}; clang optimizes this into a single jump. GCC generates: subq$8, %rsp

[Bug tree-optimization/71761] missing tailcall optimization

2016-07-04 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71761 --- Comment #3 from Marc Glisse --- For clang, this seems based on size: up to size 16 they get jmp, starting from 17 they get a call. For gcc, we give up on anything more complicated than a "register": /* If the LHS of our call is not just a

[Bug c++/59498] [DR 1430][4.9/5/6/7 Regression] Pack expansion error in template alias

2016-07-04 Thread ldionne.2 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59498 --- Comment #12 from Louis Dionne --- Not sure, as I've been off pure-type computations for a while now. Looking at how Meta does it might be useful: https://github.com/ericniebler/meta/blob/master/include/meta/meta.hpp#L819

[Bug fortran/66575] Endless compilation on missing end interface

2016-07-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575 --- Comment #5 from Jerry DeLisle --- Author: jvdelisle Date: Mon Jul 4 21:04:55 2016 New Revision: 237994 URL: https://gcc.gnu.org/viewcvs?rev=237994&root=gcc&view=rev Log: 2016-07-04 Jerry DeLisle PR fortran/66575 * decl.c

[Bug fortran/66575] Endless compilation on missing end interface

2016-07-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66575 Jerry DeLisle changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/71069] -Waddress didn't catch all cases

2016-07-04 Thread eugene.zelenko at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71069 --- Comment #3 from Eugene Zelenko --- (In reply to Andrew Pinski from comment #2) > -fsantize=undefined will catch this at runtime. What is undefined is > passing a NULL to setData. It'll be much better to report such problems during compilati

[Bug c++/71756] [6/7 Regression] internal compiler error: in ~saved_token_sentinel, at cp/parser.c:1228

2016-07-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71756 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug fortran/71759] [7 Regression] ICE in enforce_single_undo_checkpoint, at fortran/symbol.c:3478

2016-07-04 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71759 Martin Liška changed: What|Removed |Added Keywords||ice-on-invalid-code Status|UN

[Bug c++/59498] [DR 1430][4.9/5/6/7 Regression] Pack expansion error in template alias

2016-07-04 Thread pkeir at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59498 --- Comment #13 from Paul Keir --- Yup, I just came up with exactly the same solution. Thanks.

[Bug middle-end/71762] New: [4.9 Regression] ifcombine wrong codegen with uninitialized data

2016-07-04 Thread ibuclaw at gdcproject dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71762 Bug ID: 71762 Summary: [4.9 Regression] ifcombine wrong codegen with uninitialized data Product: gcc Version: 4.9.4 Status: UNCONFIRMED Severity: normal

[Bug target/71763] New: powerpc64: ICE due to need for output reload on jump

2016-07-04 Thread anton at samba dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 Bug ID: 71763 Summary: powerpc64: ICE due to need for output reload on jump Product: gcc Version: 7.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug target/71763] powerpc64: ICE due to need for output reload on jump

2016-07-04 Thread amodra at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 Alan Modra changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug middle-end/49905] Better sanity checking on sprintf src & dest to produce warning for dodgy code ?

2016-07-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #17 from Martin Sebor --- I have tweaked the patch to print the following for the test case in comment #13: xyz.c: In function ‘f’: xyz.c:10:46: warning: ‘%+03d’ directive output may be truncated between ‘3’ and ‘9’ bytes into a regi

[Bug fortran/71764] New: compiler internal error: segmentation fault

2016-07-04 Thread heresy-me at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71764 Bug ID: 71764 Summary: compiler internal error: segmentation fault Product: gcc Version: 5.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortr

[Bug fortran/71764] compiler internal error: segmentation fault

2016-07-04 Thread heresy-me at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71764 --- Comment #1 from 鍾 --- $ uname -a CYGWIN_NT-6.1 LLVM 2.5.2(0.297/5/3) 2016-06-23 14:29 x86_64 Cygwin $ gcc -v 使用内建 specs。 COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/lto-wrapper.exe 目标:x86_64-pc-cygwin 配置为:/cygdrive

[Bug target/71763] powerpc64: ICE due to need for output reload on jump

2016-07-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71763 --- Comment #2 from Segher Boessenkool --- Well. Here it is using a vector register (v31) as the iterator reg, which we do not handle. Should we? Where does it come from?

[Bug ipa/71190] [7 Regression] ICE in assemble_variable_contents, at varasm.c:2054

2016-07-04 Thread trippels at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71190 --- Comment #6 from Markus Trippelsdorf --- OK. I've given up on reducing. Honza, you can find the unreduced testcase on gcc112 in /home/trippels/lto_ice_testcase : trippels@gcc2-power8 lto_ice_testcase % ~/gcc_test/usr/local/bin/c++ -w -flto=6

[Bug fortran/71758] ICE in verify_gimple_in_cfg, at tree-cfg.c:5212

2016-07-04 Thread gerhard.steinmetz.fort...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71758 --- Comment #2 from Gerhard Steinmetz --- Reduced to mismatch in device(.), without option -fdefault* : $ cat z1.f90 program p use omp_lib, only: omp_is_initial_device integer(8), parameter :: n = 10 integer(8) :: i logical(8) :: offlo

<    1   2