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

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84625 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Fri Mar 2 07:57:26 2018 New Revision: 258125 URL: https://gcc.gnu.org/viewcvs?rev=258125&root=gcc&view=rev Log: PR inline-asm/84625 * config/i386/i386.c (ix86_print_opera

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

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 Richard Biener changed: What|Removed |Added Priority|P3 |P2 Status|UNCONFIRMED

[Bug rtl-optimization/84659] [8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

[Bug target/82005] [8 regression] early lto debug creates invalid assembly on Darwin

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 --- Comment #36 from Richard Biener --- Ok, so now we have this workaround in which means in theory this bug should be fixed... we seem to get a gcc-testresults posting for darwin about once a week (possibly for each snapshot?) so I'll try to re

[Bug tree-optimization/84427] [8 Regression] gcc ICE at -O3 on x86_64-linux-gnu in compute_antic, at tree-ssa-pre.c:2356

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

[Bug tree-optimization/84427] [8 Regression] gcc ICE at -O3 on x86_64-linux-gnu in compute_antic, at tree-ssa-pre.c:2356

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84427 --- Comment #4 from Richard Biener --- Author: rguenth Date: Fri Mar 2 07:45:41 2018 New Revision: 258124 URL: https://gcc.gnu.org/viewcvs?rev=258124&root=gcc&view=rev Log: 2018-03-02 Richard Biener PR tree-optimization/84427

[Bug target/82005] [8 regression] early lto debug creates invalid assembly on Darwin

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82005 --- Comment #35 from Richard Biener --- Author: rguenth Date: Fri Mar 2 07:42:58 2018 New Revision: 258123 URL: https://gcc.gnu.org/viewcvs?rev=258123&root=gcc&view=rev Log: 2018-03-02 Richard Biener PR target/82005 * config

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

2018-03-01 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84620 Alexandre Oliva changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug rtl-optimization/84660] New: Combine doing wrong optimization for 64 bits with SHIFT_COUNT_TRUNCATED target

2018-03-01 Thread npickito at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84660 Bug ID: 84660 Summary: Combine doing wrong optimization for 64 bits with SHIFT_COUNT_TRUNCATED target Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity:

[Bug rtl-optimization/84659] New: [8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling

2018-03-01 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659 Bug ID: 84659 Summary: [8 Regression] ICE: Segmentation fault (stack overflow in bb_note) w/ selective scheduling Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug c++/84658] New: -O3 -fmerge-all-constants causes incorrect for-each loop generation.

2018-03-01 Thread gnubugs at maulingmonkey dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84658 Bug ID: 84658 Summary: -O3 -fmerge-all-constants causes incorrect for-each loop generation. Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

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

2018-03-01 Thread mikezackles at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84657 Bug ID: 84657 Summary: Wrong exception type matched in catch clause when compiled with address sanitizer Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severit

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

2018-03-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 Peter Bergner changed: What|Removed |Added Status|RESOLVED|CLOSED --- Comment #8 from Peter Bergner

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

2018-03-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 Peter Bergner changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

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

2018-03-01 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84534 --- Comment #6 from Peter Bergner --- Author: bergner Date: Fri Mar 2 02:54:40 2018 New Revision: 258122 URL: https://gcc.gnu.org/viewcvs?rev=258122&root=gcc&view=rev Log: PR target/84534 * gcc.target/powerpc/vec-setup-be-long.c

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

2018-03-01 Thread sgk at troutmask dot apl.washington.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66128 --- Comment #5 from Steve Kargl --- On Thu, Mar 01, 2018 at 10:31:42PM +, kargl at gcc dot gnu.org wrote: > (In reply to Harald Anlauf from comment #3) > > Maybe some kind of "shortcut" (similar to Steve's fix for pr83998) can > > solve this.

[Bug c++/84294] attributes on a function template redeclaration silently discarded

2018-03-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84294 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84294] attributes on a function template redeclaration silently discarded

2018-03-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84294 --- Comment #3 from Martin Sebor --- Author: msebor Date: Fri Mar 2 00:16:52 2018 New Revision: 258121 URL: https://gcc.gnu.org/viewcvs?rev=258121&root=gcc&view=rev Log: PR c++/84294 - attributes on a function template redeclaration silently di

[Bug fortran/84513] gfortran -M generates circular dependency

2018-03-01 Thread eh.toussaint at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84513 --- Comment #2 from Erik Toussaint --- Perhaps similar in the sense that in both cases the logic lacks a final check. I don't know anything about the code that handles this, but it appears that the source file gets parsed, and if a module is enc

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 --- Comment #13 from Jakub Jelinek --- Author: jakub Date: Thu Mar 1 23:28:31 2018 New Revision: 258117 URL: https://gcc.gnu.org/viewcvs?rev=258117&root=gcc&view=rev Log: PR sanitizer/70875 * gcc.dg/ubsan/bounds-3.c: Add -fno-sa

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

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

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 --- Comment #9 from Marek Polacek --- Author: mpolacek Date: Thu Mar 1 22:44:54 2018 New Revision: 258116 URL: https://gcc.gnu.org/viewcvs?rev=258116&root=gcc&view=rev Log: PR c++/84582 * semantics.c (force_paren_expr): Create a

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

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

[Bug target/84553] -rdynamic generates TEXTREL relocations on ia64

2018-03-01 Thread slyfox at inbox dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84553 --- Comment #5 from Sergei Trofimovich --- I did not regression-test this patch on gcc testsuite but this patch fixes TEXTREL on gcc and still produces working glibc and kernel on ia64.

[Bug fortran/71085] ICE with some intrinsic functions specifying array function result dimension

2018-03-01 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71085 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #2 from

[Bug c++/84434] [8 Regression] internal compiler error: tree check: expected var_decl or field_decl or function_decl or type_decl or template_decl, have using_decl in build_deduction_guide, at cp/pt.c

2018-03-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84434 Nathan Sidwell changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/84434] [8 Regression] internal compiler error: tree check: expected var_decl or field_decl or function_decl or type_decl or template_decl, have using_decl in build_deduction_guide, at cp/pt.c

2018-03-01 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84434 --- Comment #4 from Nathan Sidwell --- Author: nathan Date: Thu Mar 1 22:08:02 2018 New Revision: 258114 URL: https://gcc.gnu.org/viewcvs?rev=258114&root=gcc&view=rev Log: [PR c++/84434] ICE with deduction guide https://gcc.gnu.org/ml/gcc-patc

[Bug c++/84656] -Wclass-memaccess spuriously warns in code paths that cannot access nontrivial types

2018-03-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84656 Martin Sebor changed: What|Removed |Added Keywords||diagnostic Status|UNCONFIRMED

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

2018-03-01 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66128 --- Comment #3 from Harald Anlauf --- Maybe some kind of "shortcut" (similar to Steve's fix for pr83998) can solve this. Not sure where this would fit in.

[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-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84632 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED CC|paolo.carlin

[Bug c++/84653] internal compiler error: Segmentation fault (prep_operand)

2018-03-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84653 David Malcolm changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug debug/84637] gcc/dbxout.c:684:14: runtime error: negation of -9223372036854775808 cannot be represented in type 'long int'; cast to an unsigned type to negate this value to itself

2018-03-01 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84637 Jim Wilson changed: What|Removed |Added CC||wilson at gcc dot gnu.org --- Comment #1 fr

[Bug c++/84656] New: -Wclass-memaccess spuriously warns in code paths that cannot access nontrivial types

2018-03-01 Thread evan at eklitzke dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84656 Bug ID: 84656 Summary: -Wclass-memaccess spuriously warns in code paths that cannot access nontrivial types Product: gcc Version: 8.0 Status: UNCONFIRMED Severi

[Bug c++/84652] internal compiler error: in cp_parser_template_id, at cp/parser.c:15860

2018-03-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84652 David Malcolm changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/84651] internal compiler error: in pop_local_binding, at cp/name-lookup.c:2054

2018-03-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84651 David Malcolm changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index

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

[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 --- Comment #2 from Marek Polacek --- Before that we printed a boatload of errors: q.cc: In lambda function: q.cc:4:26: error: parameter packs not expanded with ‘...’: int d[] = [] { auto f(a); }; ^ q.cc:4:26: note:

[Bug c++/84655] internal compiler error: unexpected expression 'a' of kind template_parm_index

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84655 Marek Polacek changed: What|Removed |Added Keywords||ice-on-invalid-code Status|U

[Bug c++/84655] New: internal compiler error: unexpected expression 'a' of kind template_parm_index

2018-03-01 Thread vegard.nossum at gmail dot com
ld_new_method_call_1 /home/vegard/git/gcc/gcc/cp/call.c:9285 $ xgcc --version xgcc (GCC) 8.0.1 20180301 (experimental) Built from git c435a9e730c6e8f10da09d58b4fc9aaeb401b0d5 (r258097). 7.3.0 seems to be fine with this. Test case was minimised by C-Reduce.

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

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 Eric Botcazou changed: What|Removed |Added Component|testsuite |ipa --- Comment #6 from Eric Botcazou -

[Bug c++/71569] [6 regression] Crash: External definition of template member from template struct

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 --- Comment #13 from Jason Merrill --- (In reply to Oliver Tale-Yazdi from comment #6) > I also need to point out that >= 5.1 accepts weird (invalid?) Code Fixed as well (for 7.4/8).

[Bug c++/71569] [6 regression] Crash: External definition of template member from template struct

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 --- Comment #12 from Jason Merrill --- Author: jason Date: Thu Mar 1 19:47:18 2018 New Revision: 258111 URL: https://gcc.gnu.org/viewcvs?rev=258111&root=gcc&view=rev Log: PR c++/71569 - decltype of template. * parser.c (cp_pars

[Bug c++/71569] [6 regression] Crash: External definition of template member from template struct

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 --- Comment #11 from Jason Merrill --- Author: jason Date: Thu Mar 1 19:40:36 2018 New Revision: 258110 URL: https://gcc.gnu.org/viewcvs?rev=258110&root=gcc&view=rev Log: PR c++/71569 - decltype of template. * parser.c (cp_pars

[Bug tree-optimization/56456] [meta-bug] bogus/missing -Warray-bounds

2018-03-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 82455, which changed state. Bug 82455 Summary: missing -Warray-bounds on strcpy offset in an out-of-bounds range https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82455 What|Removed |Added -

[Bug tree-optimization/82455] missing -Warray-bounds on strcpy offset in an out-of-bounds range

2018-03-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82455 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug other/63426] [meta-bug] Issues found with -fsanitize=undefined

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 84639, which changed state. Bug 84639 Summary: gcc/c-family/c-attribs.c:1822:27: runtime error: shift exponent -1 is negative https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84639 What|Removed

[Bug c++/84639] gcc/c-family/c-attribs.c:1822:27: runtime error: shift exponent -1 is negative

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

[Bug c++/84639] gcc/c-family/c-attribs.c:1822:27: runtime error: shift exponent -1 is negative

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84639 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Thu Mar 1 19:15:42 2018 New Revision: 258109 URL: https://gcc.gnu.org/viewcvs?rev=258109&root=gcc&view=rev Log: PR c++/84639 * c-attribs.c (common_handle_aligned_attri

[Bug libstdc++/84654] libstdc++ tries to use __float128 when compiling with -mno-float128

2018-03-01 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84654 Segher Boessenkool changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/84654] New: libstdc++ tries to use __float128 when compiling with -mno-float128

2018-03-01 Thread tuliom at linux dot vnet.ibm.com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84654 Bug ID: 84654 Summary: libstdc++ tries to use __float128 when compiling with -mno-float128 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Severity: normal

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

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83983 --- Comment #5 from Eric Botcazou --- > I think it may be a bug in the odr hash function with an accidental > hash collision but I am not sure. The ODR hash function essentially hashes the name only here so the collision is apparently by design.

[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-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84632 Paolo Carlini changed: What|Removed |Added CC||paolo.carlini at oracle dot com --- Comm

[Bug testsuite/80546] [7/8 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80546 --- Comment #8 from Jakub Jelinek --- void ptr4 (__int128_t *p) { __int128_t a = p[1]; __int128_t b; __asm__ ("# gpr reg %0" : "+r" (a)); b = ~a; __asm__ ("# gpr reg %0" : "+r" (b)); p[0] = b; } void ptr5 (__int128_t *p) { __int128

[Bug testsuite/80546] [7/8 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80546 Jakub Jelinek changed: What|Removed |Added Attachment #43536|0 |1 is obsolete|

[Bug libstdc++/78420] [6/7/8 Regression] std::less is not a total order with -O2 enabled

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #26 from Jakub Jelinek --- (In reply to Jason Merrill from comment #25) > (In reply to Jakub Jelinek from comment #23) > > One possibility would be a __builtin_constant_p-like builtin that would fold > > to false much earlier than 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-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84590 Marek Polacek changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug debug/84550] [8 Regression] stepping through gcc does not work with gdb 8.0.1

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84550 --- Comment #7 from Jakub Jelinek --- (In reply to Pedro Alves from comment #6) > I see the same thing with your reduced testcase: > > ~~~ > infrun: TARGET_WAITKIND_STOPPED > infrun: stop_pc = 0x400580 > infrun: stepped into subroutine > infrun:

[Bug c++/84653] New: internal compiler error: Segmentation fault (prep_operand)

2018-03-01 Thread vegard.nossum at gmail dot com
c/cp/parser.c:13063 0xfaf948 cp_parser_block_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12881 0x1002c05 cp_parser_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12778 $ xgcc --version xgcc (GCC) 8.0.1 20180301 (experimental) Built from git c435a9e730c6e8f10da09d58b4fc9aaeb401b0d5 (r258097)

[Bug c++/84582] [8 Regression] Rejected valid C++ code since r257961

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84582 Bug 84582 depends on bug 84596, which changed state. Bug 84596 Summary: [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression) https://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug c++/84596] [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

2018-03-01 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84596 --- Comment #4 from Marek Polacek --- Author: mpolacek Date: Thu Mar 1 17:08:35 2018 New Revision: 258107 URL: https://gcc.gnu.org/viewcvs?rev=258107&root=gcc&view=rev Log: PR c++/84596 * constexpr.c (require_rvalue_constant_exp

[Bug c++/84596] [8 Regression] internal compiler error: unexpected expression '(bool)c' of kind implicit_conv_expr (cxx_eval_constant_expression)

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

[Bug libstdc++/78420] [6/7/8 Regression] std::less is not a total order with -O2 enabled

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #25 from Jason Merrill --- (In reply to Jakub Jelinek from comment #23) > One possibility would be a __builtin_constant_p-like builtin that would fold > to false much earlier than the current __builtin_constant_p, e.g. during > gimpli

[Bug c++/79410] [6 Regression] internal compiler error: in gimplify_init_ctor_preeval, at gimplify.c:3489

2018-03-01 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79410 --- Comment #5 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Mar 1 17:01:54 2018 New Revision: 258106 URL: https://gcc.gnu.org/viewcvs?rev=258106&root=gcc&view=rev Log: 2018-03-01 Paolo Carlini PR c++/79410 * g++

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 --- Comment #12 from Eric Botcazou --- > Ah, you're right, the buffer overflow is nasty, even when we diagnose at > runtime it is better not to let it continue into the actual UB. Will test > following then: > > 2018-03-01 Jakub Jelinek > >

[Bug c++/79410] [6 Regression] internal compiler error: in gimplify_init_ctor_preeval, at gimplify.c:3489

2018-03-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79410 --- Comment #4 from Paolo Carlini --- Let's add the testcase to trunk.

[Bug libstdc++/78420] [6/7/8 Regression] std::less is not a total order with -O2 enabled

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #24 from Jason Merrill --- (In reply to Jakub Jelinek from comment #23) > I'd fear about jump-threading vs. __builtin_constant_p issues like PR72785 > and others, were the optimizers break the __builtin_constant_p argument and > the g

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 --- Comment #11 from Jakub Jelinek --- Ah, you're right, the buffer overflow is nasty, even when we diagnose at runtime it is better not to let it continue into the actual UB. Will test following then: 2018-03-01 Jakub Jelinek PR sa

[Bug c++/72752] [6 Regression] ICE: in retrieve_specialization, at cp/pt.c:1183

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

[Bug c++/84652] New: internal compiler error: in cp_parser_template_id, at cp/parser.c:15860

2018-03-01 Thread vegard.nossum at gmail dot com
gard/git/gcc/gcc/cp/parser.c:27105 0xfc79db cp_parser_template_declaration_after_export /home/vegard/git/gcc/gcc/cp/parser.c:27123 0x1003081 cp_parser_declaration /home/vegard/git/gcc/gcc/cp/parser.c:12727 0xff9bdb cp_parser_declaration_seq_opt /home/vegard/git/gcc/gcc/cp/parser.c:12654 $ xgcc --version xgcc (GCC) 8.

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 --- Comment #10 from Eric Botcazou --- Starting program: /home/ebotcazou/bounds-3 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/sparc64-linux-gnu/libthread_db.so.1". bounds-3.c:13:11: runtime error: index 2

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 --- Comment #9 from Eric Botcazou --- > No, why do you think so? Something miscompiled on some target? If so, > which? Too much Ada I guess. :-) The test fails at -O0 on SPARC64/Linux: FAIL: gcc.dg/ubsan/bounds-3.c -O0 execution test

[Bug c/84649] -Wstringop-truncation shouldn't warn on strncat() when 2nd argument is a char array

2018-03-01 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84649 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/71569] [6 regression] Crash: External definition of template member from template struct

2018-03-01 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 Paolo Carlini changed: What|Removed |Added Summary|[6/7/8 regression] Crash: |[6 regression] Crash:

[Bug c++/84651] New: internal compiler error: in pop_local_binding, at cp/name-lookup.c:2054

2018-03-01 Thread vegard.nossum at gmail dot com
gcc/cp/parser.c:12654 0xffb203 cp_parser_translation_unit /home/vegard/git/gcc/gcc/cp/parser.c:4561 0xffb203 c_parse_file() /home/vegard/git/gcc/gcc/cp/parser.c:38986 0x15a6ba5 c_common_parse_file() /home/vegard/git/gcc/gcc/c-family/c-opts.c:1132 $ xgcc --version xgcc (GCC

[Bug libstdc++/78420] [6/7/8 Regression] std::less is not a total order with -O2 enabled

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #23 from Jakub Jelinek --- (In reply to Jason Merrill from comment #22) > Hmm, this seems to work: > > typedef decltype(sizeof(1)) size_t; > > constexpr bool less (const int*a, const int*b) > { > if (__builtin_constant_p (a < b))

[Bug c++/71569] [6/7/8 regression] Crash: External definition of template member from template struct

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 --- Comment #9 from Jason Merrill --- Author: jason Date: Thu Mar 1 16:12:26 2018 New Revision: 258103 URL: https://gcc.gnu.org/viewcvs?rev=258103&root=gcc&view=rev Log: PR c++/71569 - ICE with redundant args on member variable template

[Bug c++/71569] [6/7/8 regression] Crash: External definition of template member from template struct

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

[Bug c++/71569] [6/7/8 regression] Crash: External definition of template member from template struct

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 --- Comment #7 from Jason Merrill --- Author: jason Date: Thu Mar 1 16:00:34 2018 New Revision: 258102 URL: https://gcc.gnu.org/viewcvs?rev=258102&root=gcc&view=rev Log: PR c++/71569 - ICE with redundant args on member variable template

[Bug libstdc++/78420] [6/7/8 Regression] std::less is not a total order with -O2 enabled

2018-03-01 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78420 --- Comment #22 from Jason Merrill --- Hmm, this seems to work: typedef decltype(sizeof(1)) size_t; constexpr bool less (const int*a, const int*b) { if (__builtin_constant_p (a < b)) return a < b; return (size_t)a < (size_t)b; } int ar

[Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv)

2018-03-01 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84650 amker at gcc dot gnu.org changed: What|Removed |Added CC||amker at gcc dot gnu.org

[Bug tree-optimization/84650] [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv)

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

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 --- Comment #8 from Jakub Jelinek --- No, why do you think so? Something miscompiled on some target? If so, which?

[Bug tree-optimization/84648] Missed optimization : loop not removed.

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84648 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug sanitizer/70875] ICE in get_ubsan_type_info_for_type with -fsanitize=undefined

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70875 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug tree-optimization/84646] Missed optimisation for hoisting conditions outside nested loops

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84646 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Status|

[Bug c++/84647] [6/7/8 Regression] ICE: segfault with NULL "from" in standard_conversion()

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84647 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/84642] [6/7/8 Regression] ICE: segfault reading through NULL current_template_parms in synthesize_implicit_template_parm

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84642 Richard Biener changed: What|Removed |Added Priority|P3 |P2

[Bug c++/71569] [6/7/8 regression] Crash: External definition of template member from template struct

2018-03-01 Thread oliver.tale at web dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71569 --- Comment #6 from Oliver Tale-Yazdi --- It seems to be only dependent on the template specialization of the member. ––– template struct A { template static U u; }; template template U A:

[Bug c++/84630] [6/7/8 Regression] ICE: TYPE_NAME() used on error_mark_node in tsubst_lambda_expr, at cp/pt.c:17141

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84630 Richard Biener changed: What|Removed |Added Priority|P3 |P4

[Bug regression/84623] [8 Regression] "-fcompare-debug failure (length)" testing pr46066.c start with r257826 on mips

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84623 Richard Biener changed: What|Removed |Added Target Milestone|--- |8.0

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

2018-03-01 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84625 Richard Biener changed: What|Removed |Added Target||x86_64-*-*, i?86-*-* Priority

[Bug tree-optimization/84005] [8 regression] gcc.dg/vect/bb-slp-1.c etc. FAIL

2018-03-01 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84005 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug testsuite/80546] [7/8 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not

2018-03-01 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80546 --- Comment #6 from Jakub Jelinek --- (In reply to Jakub Jelinek from comment #5) > Unfortunately it breaks bootstrap on powerpc64le-linux: > ../../../libgcc/libgcc2.c: In function ‘__mulvti3’: > ../../../libgcc/libgcc2.c:396:1: internal compiler

[Bug tree-optimization/84650] New: [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv)

2018-03-01 Thread asolokha at gmx dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84650 Bug ID: 84650 Summary: [8 Regression] [graphite] ICE: Segmentation fault (in create_new_iv) Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: ice-on-valid

[Bug c/84649] New: -Wstringop-truncation shouldn't warn on strncat() when 2nd argument is a char array

2018-03-01 Thread sirl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84649 Bug ID: 84649 Summary: -Wstringop-truncation shouldn't warn on strncat() when 2nd argument is a char array Product: gcc Version: 8.0 Status: UNCONFIRMED Severit

[Bug c++/84630] [6/7/8 Regression] ICE: TYPE_NAME() used on error_mark_node in tsubst_lambda_expr, at cp/pt.c:17141

2018-03-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84630 David Malcolm changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug testsuite/80546] [7/8 Regression] FAIL: gcc.target/powerpc/bool3-p[78].c scan-assembler-not

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

[Bug sanitizer/82484] [8 Regression] ICE in verify_gimple failed w/ -fsanitize=address

2018-03-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82484 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug sanitizer/82484] [8 Regression] ICE in verify_gimple failed w/ -fsanitize=address

2018-03-01 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82484 --- Comment #5 from Martin Liška --- Author: marxin Date: Thu Mar 1 14:54:10 2018 New Revision: 258101 URL: https://gcc.gnu.org/viewcvs?rev=258101&root=gcc&view=rev Log: Do not handled volatile arguments (PR sanitizer/82484). 2018-03-01 Marti

[Bug c++/84642] [6/7/8 Regression] ICE: segfault reading through NULL current_template_parms in synthesize_implicit_template_parm

2018-03-01 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84642 --- Comment #2 from David Malcolm --- (In reply to Vegard Nossum from comment #0) > Seems potentially related to bug #84610? Similar backtraces - and they both started with same commit - though this one is a read-through-NULL, whereas bug #84610

  1   2   >