[Bug c++/60230] internal compiler error on lambdas capturing multidimensional arrays with dynamic boundary

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60230 Paolo Carlini changed: What|Removed |Added CC||josutous at dodsi dot com --- Comment

[Bug c++/54367] [meta-bug] lambda expressions

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54367 Bug 54367 depends on bug 69756, which changed state. Bug 69756 Summary: Passing a multidimensional variable-length array into a lambda (by reference) causes an error https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69756 What|Removed

[Bug c++/69756] Passing a multidimensional variable-length array into a lambda (by reference) causes an error

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69756 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/53157] within lambda, error: lvalue required as unary ‘&’ operand

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53157 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com ---

[Bug c++/56973] [DR 696] crash when capturing variables in nested lambdas

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56973 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com ---

[Bug c++/71564] label inside a lambda conflicts (?) with another one outside it

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71564 Paolo Carlini changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug fortran/66128] ICE for some intrinsics with zero sized array parameter

2018-03-02 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66128 --- Comment #7 from kargl at gcc dot gnu.org --- Patch submitted. https://gcc.gnu.org/ml/fortran/2018-03/msg00010.html This fixes additional failures not included in Gerhard's testcases.

[Bug c/84685] New: Designated initializers warning

2018-03-02 Thread davranfor at yahoo dot es
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84685 Bug ID: 84685 Summary: Designated initializers warning Product: gcc Version: 6.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c

[Bug target/83790] Update nvptx target to work with cuda 9

2018-03-02 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83790 Thomas Schwinge changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Last reconfirmed|

[Bug c++/84663] New: internal compiler error: tree check: expected array_type, have error_mark in cp_complete_array_type, at cp/decl.c:8334

2018-03-02 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84663 Bug ID: 84663 Summary: internal compiler error: tree check: expected array_type, have error_mark in cp_complete_array_type, at cp/decl.c:8334 Product: gcc

[Bug c++/84664] New: internal compiler error: in cp_perform_integral_promotions, at cp/typeck.c:2172

2018-03-02 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84664 Bug ID: 84664 Summary: internal compiler error: in cp_perform_integral_promotions, at cp/typeck.c:2172 Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug tree-optimization/84486] [7/8 Regression] code hoisting removes alignment assumption

2018-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84486 --- Comment #2 from Richard Biener --- Created attachment 43540 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43540=edit candidate patch Can you check whether this patch works for you (on the unreduced testcase which likely exists)? The

[Bug c++/84590] [7/8 Regression] -fsanitize=undefined internal compiler error: tree check: expected constructor, have target_expr in split_nonconstant_init_1, at cp/typeck2.c:629

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84590 --- Comment #7 from Marek Polacek --- Author: mpolacek Date: Fri Mar 2 09:48:41 2018 New Revision: 258132 URL: https://gcc.gnu.org/viewcvs?rev=258132=gcc=rev Log: PR c++/84590 * cp-gimplify.c (cp_fully_fold): Unwrap TARGET_EXPR

[Bug target/83790] Update nvptx target to work with cuda 9

2018-03-02 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83790 --- Comment #2 from Thomas Schwinge --- Author: tschwinge Date: Fri Mar 2 08:39:31 2018 New Revision: 258126 URL: https://gcc.gnu.org/viewcvs?rev=258126=gcc=rev Log: [nvptx] Add support for CUDA 9 Backport trunk r256891: gcc/

[Bug target/83790] Update nvptx target to work with cuda 9

2018-03-02 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83790 --- Comment #3 from Thomas Schwinge --- Author: tschwinge Date: Fri Mar 2 08:40:04 2018 New Revision: 258127 URL: https://gcc.gnu.org/viewcvs?rev=258127=gcc=rev Log: [nvptx] Add support for CUDA 9 Backport trunk r256891: gcc/

[Bug c++/84661] New: internal compiler error: Segmentation fault (strip_array_types())

2018-03-02 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 Bug ID: 84661 Summary: internal compiler error: Segmentation fault (strip_array_types()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/84614] [8 Regression] wrong code with u16->u128 extension at aarch64 -fno-split-wide-types -g3 --param=max-combine-insns=3

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84614 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Mar 2 09:16:50 2018 New Revision: 258129 URL: https://gcc.gnu.org/viewcvs?rev=258129=gcc=rev Log: PR target/84614 * rtl.h (prev_real_nondebug_insn,

[Bug fortran/84640] gcc/fortran/simplify.c:2587:9: runtime error: pointer index expression with base 0x0000090de160 overflowed to 0xffffffffc0632960

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

[Bug tree-optimization/84634] [8 Regression] gcc/tree-vect-stmts.c:6786:19: runtime error: member access within null pointer of type 'struct _loop_vec_info

2018-03-02 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84634 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug c++/84665] New: internal compiler error: in build_value_init, at cp/init.c:343

2018-03-02 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 Bug ID: 84665 Summary: internal compiler error: in build_value_init, at cp/init.c:343 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords:

[Bug ipa/83983] FAIL: g++.dg/lto/pr83121 (test for LTO warnings, pr83121_0.C line 8)

2018-03-02 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 --- Comment #7 from Eric Botcazou --- Author: ebotcazou Date: Fri Mar 2 09:57:43 2018 New Revision: 258133 URL: https://gcc.gnu.org/viewcvs?rev=258133=gcc=rev Log: PR ipa/83983 * ipa-devirt.c (odr_subtypes_equivalent_p): Get

[Bug fortran/84219] [8 Regression] ICE: Invalid expression in gfc_target_interpret_expr

2018-03-02 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84219 --- Comment #4 from Paul Thomas --- Author: pault Date: Fri Mar 2 08:51:06 2018 New Revision: 258128 URL: https://gcc.gnu.org/viewcvs?rev=258128=gcc=rev Log: 2018-03-02 Paul Thomas PR fortran/84219 *

[Bug c++/84662] New: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-03-02 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662 Bug ID: 84662 Summary: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at

[Bug tree-optimization/84634] [8 Regression] gcc/tree-vect-stmts.c:6786:19: runtime error: member access within null pointer of type 'struct _loop_vec_info

2018-03-02 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84634 --- Comment #2 from rsandifo at gcc dot gnu.org --- Author: rsandifo Date: Fri Mar 2 09:46:43 2018 New Revision: 258131 URL: https://gcc.gnu.org/viewcvs?rev=258131=gcc=rev Log: Avoid _VINFO_MASKS for bb vectorisation (PR 84634) We were

[Bug c++/84590] [7 Regression] -fsanitize=undefined internal compiler error: tree check: expected constructor, have target_expr in split_nonconstant_init_1, at cp/typeck2.c:629

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84590 Marek Polacek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/84666] New: ostringstream prints floats 2x slower than snprintf, when precision>=37

2018-03-02 Thread b7.10110111 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84666 Bug ID: 84666 Summary: ostringstream prints floats 2x slower than snprintf, when precision>=37 Product: gcc Version: 7.2.0 Status: UNCONFIRMED Severity: normal

[Bug inline-asm/84625] [6/7 Regression] ICE with empty constraint and vector constant

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84625 Jakub Jelinek changed: What|Removed |Added Summary|[6/7/8 Regression] ICE with |[6/7 Regression] ICE with

[Bug middle-end/84603] -finline-limit not accepted in attribute and #pragma optimize

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

[Bug c++/84657] Wrong exception type matched in catch clause when compiled with address sanitizer

2018-03-02 Thread mikezackles at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84657 --- Comment #3 from Zachary Michaels --- Interesting, thanks for the quick follow-up!

[Bug c++/84667] unreasonable refusal to use assignment operator method

2018-03-02 Thread estellnb at elstel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84667 --- Comment #3 from Elmar Stellnberger --- if I unify the implicit copy constructor with my own one then it also works for g++: xstr_mutable( const xstr& s ) : xstr(s) {}

[Bug fortran/84674] New: Derived type name change makes a program segfault, removing non_overridable

2018-03-02 Thread albandil at atlas dot cz
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84674 Bug ID: 84674 Summary: Derived type name change makes a program segfault, removing non_overridable Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/84614] [8 Regression] wrong code with u16->u128 extension at aarch64 -fno-split-wide-types -g3 --param=max-combine-insns=3

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84614 Jakub Jelinek changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84664] [8 Regression] internal compiler error: in cp_perform_integral_promotions, at cp/typeck.c:2172

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84664 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0

2018-03-02 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 Aldy Hernandez changed: What|Removed |Added CC||aldyh at gcc dot gnu.org,

[Bug c++/84661] [6/7/8 Regression] internal compiler error: Segmentation fault (strip_array_types())

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 Marek Polacek changed: What|Removed |Added Target Milestone|--- |6.5 Summary|internal

[Bug c++/84662] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0

2018-03-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #24 from rguenther at suse dot de --- > OTOH, the following changes things quite a bit on arm: > > < p_22 = p_19 + 4294967295; > < *p_22 = 45; > --- > > p_22 = p_8 + 4294967294; > > MEM[(char *)p_19 + 4294967295B] = 45; > >

[Bug c++/84661] [6/7/8 Regression] internal compiler error: Segmentation fault (strip_array_types())

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 --- Comment #2 from Jakub Jelinek --- ICEs starting with r208426, before that we rejected it with: pr84661.C:3:36: error: expected primary-expression before ‘auto’ void foo (decltype(((a = 0) || ((auto);

[Bug c++/84662] [6/7/8 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/84662] [6/7/8 Regression] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662 Jakub Jelinek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0

2018-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #25 from Richard Biener --- So we indeed have p_20 and p_9 live as p_9 is used after the loop. Originally this wasn't the case but fold_stmt in the first forwprop pass does this by means of following use-def chains. As I usually

[Bug debug/84620] DW_AT_GNU_entry_view should not use address class forms, but constant forms

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84620 --- Comment #3 from Jakub Jelinek --- I meant to say: The char * GTY ((tag ("dw_val_class_symview"))) val_symbolic_view; line should come at the and of the union, not before the other classes. The FIXMEs don't really look helpful, we are not

[Bug c++/84661] internal compiler error: Segmentation fault (strip_array_types())

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 Marek Polacek changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0

2018-03-02 Thread aldyh at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #23 from Aldy Hernandez --- For the curious, on x86 with -ftree-forwprop we get an additional jump: inttostr: .LFB0: .cfi_startproc movl%edi, %eax movslq %edx, %rdx movl$-858993459, %r9d

[Bug demangler/84668] New: c++filt: out of memory allocating 18446744071696285694 bytes after a total of 135168 bytes

2018-03-02 Thread vegard.nossum at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84668 Bug ID: 84668 Summary: c++filt: out of memory allocating 18446744071696285694 bytes after a total of 135168 bytes Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug c++/84663] [6/7/8 Regression] internal compiler error: tree check: expected array_type, have error_mark in cp_complete_array_type, at cp/decl.c:8334

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84663 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/84663] [6/7/8 Regression] internal compiler error: tree check: expected array_type, have error_mark in cp_complete_array_type, at cp/decl.c:8334

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84663 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug fortran/84219] Failure to generate error for IO of transfer intrinsic, when MOLD has derived type components.

2018-03-02 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84219 Paul Thomas changed: What|Removed |Added Summary|[8 Regression] ICE: Invalid |Failure to generate error

[Bug middle-end/84603] -finline-limit not accepted in attribute and #pragma optimize

2018-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84603 --- Comment #5 from Martin Liška --- (In reply to Richard Biener from comment #4) > Note this is an option having IPA effect so it doesn't make sense to specify > it on a per-function level. Thus INVALID. > > That is, the effect is setting

[Bug c++/84664] [8 Regression] internal compiler error: in cp_perform_integral_promotions, at cp/typeck.c:2172

2018-03-02 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84664 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/84667] New: unreasonable refusal to use assignment operator method

2018-03-02 Thread estellnb at elstel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84667 Bug ID: 84667 Summary: unreasonable refusal to use assignment operator method Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug debug/84620] DW_AT_GNU_entry_view should not use address class forms, but constant forms

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84620 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug c++/84663] [6/7/8 Regression] internal compiler error: tree check: expected array_type, have error_mark in cp_complete_array_type, at cp/decl.c:8334

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84663 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug fortran/81827] Large compile time with derived-type rrays

2018-03-02 Thread pault at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81827 --- Comment #17 from Paul Thomas --- > There are two ways to fix this: > (i) Generate incomplete vtables, with the pointers to copy and finalise set > to null, for module derived types. This has the disadvantage that class > objects, such as

[Bug fortran/81827] Large compile time with derived-type rrays

2018-03-02 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81827 --- Comment #18 from rguenther at suse dot de --- On Fri, 2 Mar 2018, pault at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81827 > > --- Comment #17 from Paul Thomas --- > > > There are two ways to fix this: > > (i)

[Bug c++/84661] [6/7/8 Regression] internal compiler error: Segmentation fault (strip_array_types())

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84661 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #3

[Bug c++/84662] internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in is_bitfield_expr_with_lowered_type, at cp/typeck.c:1944

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84662 --- Comment #2 from Jakub Jelinek --- Started with r230365. Before it got rejected with pr84662.C:2:3: error: expected constructor, destructor, or type conversion before ‘(’ token a (__attribute__((c(0 && int() - ([] {} && b) || auto; ^

[Bug c++/84669] New: Error displaying in wrong file for unclosed scopes in headers

2018-03-02 Thread schlong at cock dot li
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84669 Bug ID: 84669 Summary: Error displaying in wrong file for unclosed scopes in headers Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

[Bug target/70359] [6/7/8 Regression] Code size increase for ARM compared to gcc-5.3.0

2018-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70359 --- Comment #26 from Richard Biener --- So I suggest to look at insert_backedge_copies () to see whether replacing out-of-loop pre-inc uses with the post-inc value is possible.

[Bug c++/84669] Error displaying in wrong file for unclosed scopes in headers

2018-03-02 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84669 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

2018-03-02 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364 --- Comment #30 from Zack Weinberg --- It's been a very long time and I don't know exactly what changed, but GCC 7.3 generates essentially the same code for both of the functions in the "C test case" and I would not describe that code as "bad".

[Bug c++/84632] [8 Regression] internal compiler error: tree check: expected record_type or union_type or qual_union_type, have array_type in reduced_constant_expression_p, at cp/constexpr.c:1778

2018-03-02 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84632 --- Comment #7 from Paolo Carlini --- In fact, not considering error-recovery issues a la c++/72825, we have another rather serious issue here: for the already mentioned init/array testcases we shouldn't give first an error message about the

[Bug c++/84667] unreasonable refusal to use assignment operator method

2018-03-02 Thread estellnb at elstel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84667 --- Comment #2 from Elmar Stellnberger --- Princess17b29a just found out that the problem can be resolved by adding the const keyword to the constructor in line 233: inline xstrbuf( const xstrbuf& s ) ... ... as neither "xstrbuf( base_str_const

[Bug tree-optimization/84673] New: Overcomplicated code generation for a chain of mutually exclusive conditions

2018-03-02 Thread zackw at panix dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84673 Bug ID: 84673 Summary: Overcomplicated code generation for a chain of mutually exclusive conditions Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity:

[Bug target/84530] -mfunction-return=thunk does not work for simple_return_pop_internal insn

2018-03-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Mar 2 13:05:18 2018 New Revision: 258134 URL: https://gcc.gnu.org/viewcvs?rev=258134=gcc=rev Log: i386: Update -mfunction-return= for return with pop When -mfunction-return=

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 Richard Biener changed: What|Removed |Added Keywords||alias Status|NEW

[Bug target/84039] x86 retpolines and CFI

2018-03-02 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84039 --- Comment #4 from hjl at gcc dot gnu.org --- Author: hjl Date: Fri Mar 2 13:09:55 2018 New Revision: 258135 URL: https://gcc.gnu.org/viewcvs?rev=258135=gcc=rev Log: i386: Add TARGET_INDIRECT_BRANCH_REGISTER For --- struct C { virtual

[Bug preprocessor/19753] different LANG settings and ccache don't work together

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19753 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug c++/84667] unreasonable refusal to use assignment operator method

2018-03-02 Thread estellnb at elstel dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84667 Elmar Stellnberger changed: What|Removed |Added Attachment #43542|0 |1 is obsolete|

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 --- Comment #10 from Jakub Jelinek --- If ICF needs to adjust all points-to if it makes any variable aliases, perhaps it should as well adjust the code to use the variables rather than their aliases.

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 --- Comment #11 from Martin Liška --- (In reply to Jakub Jelinek from comment #10) > If ICF needs to adjust all points-to if it makes any variable aliases, > perhaps it should as well adjust the code to use the variables rather than > their

[Bug fortran/84672] New: -fcheck=bounds gives runtime error on allocation on assignment with implicit type conversion

2018-03-02 Thread eh.toussaint at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84672 Bug ID: 84672 Summary: -fcheck=bounds gives runtime error on allocation on assignment with implicit type conversion Product: gcc Version: 7.3.0 Status: UNCONFIRMED

[Bug c/17426] Emit mandatory warning for manual expansions of offsetof

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17426 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/30082] Expansion of lceil and lfloor could use if-conversion

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30082 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug tree-optimization/33915] iv folding fails with pointer iterations

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=33915 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/36381] preprocessing, fortran: register include paths and framework

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36381 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/19073] cp_binding_level::names not returning all decls

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19073 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug rtl-optimization/951] Documentation of compiler passes and sources very out of date

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=951 Eric Gallager changed: What|Removed |Added Keywords||deferred CC|

[Bug tree-optimization/84670] New: [8 Regression] ICE: in compute_antic_aux, at tree-ssa-pre.c:2148 with -O2 -fno-tree-dominator-opts

2018-03-02 Thread zsojka at seznam dot cz
es-rtl-df-extra-amd64 Thread model: posix gcc version 8.0.1 20180302 (experimental) (GCC) This is a recent regression: r258129 - FAIL r258075 - OK

[Bug tree-optimization/19347] Invariant load not moved out of loop

2018-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19347 Richard Biener changed: What|Removed |Added Last reconfirmed|2006-02-16 21:28:32 |2018-3-2 Blocks|

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 Martin Liška changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org ---

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 --- Comment #5 from Martin Liška --- Created attachment 43546 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43546=edit Problematic CCP2 dump file Jakub do you understand why is the folding happens? I'm not skilled in CCP.

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 --- Comment #6 from Martin Liška --- (In reply to Jakub Jelinek from comment #3) > Seems the inliner immediately undoes what ICF did and both get inlined into > main as well. It's not undoing the decision because the symbol (Bar) is global. So

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 --- Comment #8 from Jakub Jelinek --- (In reply to Martin Liška from comment #6) > (In reply to Jakub Jelinek from comment #3) > > Seems the inliner immediately undoes what ICF did and both get inlined into > > main as well. > > It's not

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

2018-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84671 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Known to work|4.9.3

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

2018-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84671 --- Comment #2 from Jonathan Wakely --- Presumably started with my commit r210513

[Bug target/6737] feature request: stack realignment attribute

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=6737 Eric Gallager changed: What|Removed |Added Keywords||patch CC|

[Bug tree-optimization/28364] poor optimization choices when iterating over a std::string (probably not c++-specific)

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=28364 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

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

2018-03-02 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84671 Jonathan Wakely changed: What|Removed |Added CC|jwakely.gcc at gmail dot com | Host|Linux x86

[Bug demangler/84668] c++filt: out of memory allocating 18446744071696285694 bytes after a total of 135168 bytes

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

[Bug c++/84665] [7/8 Regression] internal compiler error: in build_value_init, at cp/init.c:343

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84665 --- Comment #2 from Jakub Jelinek --- We don't ICE with struct S { int s; } a[1]; but do ICE with e.g. struct S { constexpr S () {} } a[1]; build_value_init has: 341 /* The AGGR_INIT_EXPR tweaking below breaks in templates. */ 342

[Bug tree-optimization/19347] Invariant load not moved out of loop

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19347 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #2

[Bug other/44803] LIBRARY_PATH should work on cross-compilers

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44803 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/36503] x86 can use x >> -y for x >> 32-y

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36503 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug middle-end/47650] wrong output of print_generic_decl() called from a plugin

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47650 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/30974] pdp11-dec-bsd will not successfully build

2018-03-02 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30974 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug target/30082] Expansion of lceil and lfloor could use if-conversion

2018-03-02 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30082 Richard Biener changed: What|Removed |Added Last reconfirmed|2007-08-28 10:58:39 |2018-3-2 Assignee|rguenth at

[Bug ipa/84658] [7/8 Regression] -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-02 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 --- Comment #3 from Jakub Jelinek --- Seems the inliner immediately undoes what ICF did and both get inlined into main as well. The aD.2373 array becomes an alias of aD.2363. And the real bug is introduced in ccp2: Folding predicate

<    1   2   3   >