[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2017-08-03 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693 --- Comment #9 from Dominique d'Humieres --- (lldb) b main Breakpoint 2: where = a.out`main at pr25967-1.c:55, address = 0x00010f4f (lldb) disass -a 0x00010f4f a.out`main: 0x10f4f <+0>: pushq $0x12345675 ;

[Bug c++/81700] New: Unresolved function type when taking address of operator() of generic lambda

2017-08-03 Thread gufideg at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81700 Bug ID: 81700 Summary: Unresolved function type when taking address of operator() of generic lambda Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: no

[Bug target/81693] FAIL: gcc.dg/torture/pr25967-*.c -O* execution test on darwin

2017-08-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81693 --- Comment #10 from H.J. Lu --- (In reply to Dominique d'Humieres from comment #9) > (lldb) b main > Breakpoint 2: where = a.out`main at pr25967-1.c:55, address = > 0x00010f4f > (lldb) disass -a 0x00010f4f > a.out`main: > 0x1

[Bug fortran/81701] New: -fstack-arrays hehavior does not match documentation

2017-08-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81701 Bug ID: 81701 Summary: -fstack-arrays hehavior does not match documentation Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug fortran/52673] implement -fheap-arrays in gfortran

2017-08-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52673 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WONTFIX

[Bug rtl-optimization/30065] Could use indexed addressing to reduce const costs

2017-08-03 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30065 Oleg Endo changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug other/29842] [meta-bug] outstanding patches / issues from STMicroelectronics

2017-08-03 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29842 Bug 29842 depends on bug 30065, which changed state. Bug 30065 Summary: Could use indexed addressing to reduce const costs https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30065 What|Removed |Added -

[Bug libstdc++/29366] atomics config for sh is weird

2017-08-03 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29366 --- Comment #10 from Oleg Endo --- (In reply to Eric Gallager from comment #9) > > Did this fix things? No, not entirely. The whole config/cpu/sh/atomicity.h header should not be required, but because of PR 53579, it is. Please do not close a

[Bug middle-end/81695] [5/6/7/8 Regression] internal compiler error: in size_binop_loc, at fold-const.c:1768

2017-08-03 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81695 --- Comment #6 from Marek Polacek --- I hope this is what you had in mind: --- a/gcc/fold-const.c +++ b/gcc/fold-const.c @@ -14106,14 +14106,17 @@ fold_indirect_ref_1 (location_t loc, tree type, tree op0) && type == TREE_TYPE (op00typ

[Bug rtl-optimization/30065] Could use indexed addressing to reduce const costs

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30065 --- Comment #6 from Eric Gallager --- (In reply to Oleg Endo from comment #5) > (In reply to Eric Gallager from comment #4) > > (In reply to Steven Bosscher from comment #3) > > > Is there a test case for this PR? > > > > Reporter never provided

[Bug c++/81702] New: ICE in gimple_get_virt_method_for_vtable

2017-08-03 Thread adam at os dot inf.tu-dresden.de
ng an ICE in gcc-7 and gcc-8. Only happens with -O2. $ g++ g++ (GCC) 7.1.1 20170803 $ g++ -c -O2 -std=gnu++11 t.i t.i:107:33: internal compiler error: in gimple_get_virt_method_for_vtable, at gimple-fold.c:6442 Resource_factory_t _x;

[Bug go/81617] mksigtab.sh fails to resolve NSIG with glibc 2.26

2017-08-03 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81617 --- Comment #3 from ian at gcc dot gnu.org --- Author: ian Date: Thu Aug 3 18:09:12 2017 New Revision: 250858 URL: https://gcc.gnu.org/viewcvs?rev=250858&root=gcc&view=rev Log: PR go/81617 libgo: change mksigtab to recognize glibc 2

[Bug tree-optimization/81703] New: memcpy folding defeats strlen optimization

2017-08-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81703 Bug ID: 81703 Summary: memcpy folding defeats strlen optimization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-opt

[Bug go/81617] mksigtab.sh fails to resolve NSIG with glibc 2.26

2017-08-03 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81617 Ian Lance Taylor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug middle-end/77799] missing -Wformat-overflow warning on a trivial sprintf overflow with no directives

2017-08-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77799 --- Comment #2 from Martin Sebor --- This bug was fixed along with the related pr77671 in r248035. GCC 8.0 now prints the following: .c: In function ā€˜g’: a.c:14:15: warning: too many arguments for format [-Wformat-extra-args] sprintf (d, "12

[Bug tree-optimization/81704] New: strncpy folding defeats strlen optimization

2017-08-03 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81704 Bug ID: 81704 Summary: strncpy folding defeats strlen optimization Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-op

[Bug fortran/50360] [cleanup] use an ENUM for the return values of gfc_dep_compare_expr

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50360 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug libfortran/48958] Add runtime diagnostics for SIZE intrinsic function

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48958 Eric Gallager changed: What|Removed |Added Status|WAITING |SUSPENDED CC|

[Bug tree-optimization/81705] New: UBSAN: yet another false positive

2017-08-03 Thread babokin at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81705 Bug ID: 81705 Summary: UBSAN: yet another false positive Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189

2017-08-03 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 --- Comment #15 from David Binderman --- >This is a 8 only regression. It has nothing to do with 7.2. Curiouser and curiouser. Richard Biener has just posted that 7.2-rc1 has been created from revision 250819. The small chunk of code I posted

[Bug middle-end/81318] [8 regression] ICE in to_reg_br_prob_base, at profile-count.h:189

2017-08-03 Thread wschmidt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81318 Bill Schmidt changed: What|Removed |Added CC||wschmidt at gcc dot gnu.org --- Comment #

[Bug c++/81706] New: std::sin vectorization bug

2017-08-03 Thread diegoandres91b at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81706 Bug ID: 81706 Summary: std::sin vectorization bug Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assign

[Bug tree-optimization/81538] Optimization problem compiling op.c (Perl_custom_op_get_field) in perl 5.26

2017-08-03 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81538 --- Comment #10 from John David Anglin --- Created attachment 41919 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41919&action=edit Somewhat reduced preprocessed source

[Bug fortran/81707] New: Type parameter inquiry errors

2017-08-03 Thread mexas at bristol dot ac.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81707 Bug ID: 81707 Summary: Type parameter inquiry errors Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Ass

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs

2017-08-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490 --- Comment #17 from H.J. Lu --- Created attachment 41920 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=41920&action=edit A binutils patch This binutils patch adds R_X86_64_GPREL to assembler and linker. It supports: .text

[Bug fortran/50360] [cleanup] use an ENUM for the return values of gfc_dep_compare_expr

2017-08-03 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=50360 Thomas Koenig changed: What|Removed |Added Status|RESOLVED|NEW Resolution|WONTFIX

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs

2017-08-03 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490 --- Comment #18 from H.J. Lu --- (In reply to H.J. Lu from comment #17) > Created attachment 41920 [details] > A binutils patch > With this patch: diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 587dbe61e8b..953c153a834 1006

[Bug target/68094] Compiler segmentation fault

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68094 Eric Gallager changed: What|Removed |Added Target||avr CC|

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs

2017-08-03 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490 --- Comment #19 from H. Peter Anvin --- So the Linux kernel, right now, basically does (b); we'd like to do something more like (a). Because the stack canary (which is a percpu variable in the Linux kernel) is hard-coded in gcc to be %gs:0x28, m

[Bug debug/68229] .debug_pubnames length field is too large

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68229 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs

2017-08-03 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490 --- Comment #20 from Andy Lutomirski --- We have issues putting modules more than 2G from the main kernel no matter what, but I don't see what this has to do with %gs addressing. I still think that GCC should let us directly control the addressi

[Bug target/81708] New: The x86 stack canary location should be customizable

2017-08-03 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 Bug ID: 81708 Summary: The x86 stack canary location should be customizable Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Compo

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs

2017-08-03 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490 --- Comment #21 from Andy Lutomirski --- Re: the stack canary, I filed bug 81708. It seems to me that __seg_gs is analogous and users should be able to directly specify the addressing mode.

[Bug target/81490] x86: Handling of symbol ranges for __seg_fs/__seg_gs

2017-08-03 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81490 --- Comment #22 from H. Peter Anvin --- There are other issues, too (we'd have to drop the kernel memory model, probably replace it with the small-pic model) but %gs: addressing is one of those.

[Bug target/81708] The x86 stack canary location should be customizable

2017-08-03 Thread hpa at zytor dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 H. Peter Anvin changed: What|Removed |Added CC||hpa at zytor dot com --- Comment #1 fro

[Bug target/81708] The x86 stack canary location should be customizable

2017-08-03 Thread luto at kernel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81708 --- Comment #2 from Andy Lutomirski --- (In reply to H. Peter Anvin from comment #1) > Well, you can choose between "__stack_chk_guard(%rip)" and "%gs:40"... :) Wow, I guess I didn't even consider the former. That would be option 5: symbol(%rip

[Bug fortran/42568] [Cygwin] BLOCKDATA referenced in EXTERNAL not loading from library

2017-08-03 Thread urbanjost at comcast dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42568 --- Comment #31 from urbanjost at comcast dot net --- It may be of interest that the original application where this was encountered was changed to use modules, which I have had no similar problem with on Cygwin; but that the bug1.sh attachment st

[Bug debug/68229] .debug_pubnames length field is too large

2017-08-03 Thread todd.allen at ccur dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68229 --- Comment #6 from Todd Allen --- They released a patch last year: https://bugzilla.redhat.com/show_bug.cgi?id=1278872

[Bug demangler/81680] Memory leak in libiberty demangler

2017-08-03 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81680 --- Comment #3 from Andrew Pinski --- (In reply to Richard Biener from comment #2) > This bug might better be filed at sourceware.org/bugzilla Except the demangler main sources are located in gcc rather than binutils.

[Bug debug/68229] .debug_pubnames length field is too large

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68229 Eric Gallager changed: What|Removed |Added URL||https://bugzilla.redhat.com

[Bug c++/35758] vector_size attribute lost in function arguments for templates

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=35758 Eric Gallager changed: What|Removed |Added Status|WAITING |RESOLVED CC|

[Bug libstdc++/57426] Application core dumps at __gnu_cxx::__exchange_and_add

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57426 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c/81665] Please introduce flags attribute for enums which will mimic one from C#

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81665 Eric Gallager changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug fortran/44882] Bogus types in references with mismatched commons

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44882 Eric Gallager changed: What|Removed |Added Keywords||accepts-invalid, wrong-code

[Bug target/63545] ICE when building GCC for ia64-hp-hpux11.23 in hash_table::find_slot_with_hash

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63545 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org Co

[Bug preprocessor/53404] warning column reported on comment in warning during bootstrap

2017-08-03 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53404 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug fortran/81707] Type parameter inquiry errors

2017-08-03 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81707 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org --- Comment

[Bug c/81709] New: __attribute__((interrupt)) should handle SSE registers

2017-08-03 Thread anatol.pomozov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81709 Bug ID: 81709 Summary: __attribute__((interrupt)) should handle SSE registers Product: gcc Version: 7.1.1 Status: UNCONFIRMED Severity: normal Priority: P3 Compo

<    1   2