[Bug tree-optimization/84969] [8 Regression] Wrong code with -ftree-loop-distribute-patterns

2018-03-19 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84969 amker at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

[Bug c++/84972] New: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84972 Bug ID: 84972 Summary: internal compiler error: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545 Product: gcc V

[Bug c++/84905] Improve warning for __attribute__((const)) on function returning void

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

[Bug c++/84644] internal compiler error: in warn_misplaced_attr_for_class_type, at cp/decl.c:4718

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84644 vegard.nossum at gmail dot com changed: What|Removed |Added CC||vegard.nossum at oracle

[Bug c++/71638] [6/7/8 Regression] ICE on invalid C++ code on x86_64-linux-gnu with -Wall (internal compiler error: non-constant element in constant CONSTRUCTOR)

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71638 vegard.nossum at gmail dot com changed: What|Removed |Added CC||vegard.nossum at oracle

[Bug c++/71834] [6/7/8 Regression] accepts invalid C++11 code with too few number of template arguments for class template

2018-03-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71834 --- Comment #6 from Jason Merrill --- Author: jason Date: Mon Mar 19 20:32:57 2018 New Revision: 258659 URL: https://gcc.gnu.org/viewcvs?rev=258659&root=gcc&view=rev Log: PR c++/71834 - template-id with too few arguments. * pt.c

[Bug c++/84925] [8 Regression] ICE with segfault in __PRETTY_FUNCTION__

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84925 --- Comment #6 from Marek Polacek --- Author: mpolacek Date: Mon Mar 19 20:34:45 2018 New Revision: 258660 URL: https://gcc.gnu.org/viewcvs?rev=258660&root=gcc&view=rev Log: PR c++/84925 * pt.c (enclosing_instantiation_of): Check

[Bug c++/84925] [8 Regression] ICE with segfault in __PRETTY_FUNCTION__

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

[Bug c++/81837] Internal compiler error (cp/typeck2.c:1264)

2018-03-19 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81837 --- Comment #6 from Paolo Carlini --- See Comment 4: why 2 errors?

[Bug c++/84927] [7/8 Regressiion] ICE with NSDMI and reference

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Mon Mar 19 20:46:16 2018 New Revision: 258661 URL: https://gcc.gnu.org/viewcvs?rev=258661&root=gcc&view=rev Log: PR c++/84927 * constexpr.c (cxx_eval_bare_aggregate): U

[Bug rtl-optimization/84643] gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84643 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Mon Mar 19 20:46:23 2018 New Revision: 258662 URL: https://gcc.gnu.org/viewcvs?rev=258662&root=gcc&view=rev Log: PR rtl-optimization/84643 * memmodel.h (enum memmodel): Ad

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Mon Mar 19 20:47:29 2018 New Revision: 258663 URL: https://gcc.gnu.org/viewcvs?rev=258663&root=gcc&view=rev Log: PR sanitizer/84761 * sanitizer_common/sanitizer_linux_libc

[Bug sanitizer/78651] Incorrect exception handling when catch clause uses local class and PIC and sanitizer are active

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78651 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Mon Mar 19 20:48:39 2018 New Revision: 258664 URL: https://gcc.gnu.org/viewcvs?rev=258664&root=gcc&view=rev Log: PR sanitizer/78651 * dwarf2asm.c: Include fold-const.c.

[Bug c++/84973] New: internal compiler error: Segmentation fault (tree_check()/ultimate_transparent_alias_target())

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84973 Bug ID: 84973 Summary: internal compiler error: Segmentation fault (tree_check()/ultimate_transparent_alias_target()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug tree-optimization/84946] [8 Regression] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84946 --- Comment #3 from Jakub Jelinek --- Author: jakub Date: Mon Mar 19 20:49:57 2018 New Revision: 258665 URL: https://gcc.gnu.org/viewcvs?rev=258665&root=gcc&view=rev Log: PR tree-optimization/84946 * gimple-ssa-store-merging.c (m

[Bug sanitizer/84761] AddressSanitizer is not compatible with glibc 2.27 on x86

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84761 --- Comment #10 from Jakub Jelinek --- Fixed for 8+ so far.

[Bug tree-optimization/84946] [8 Regression] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951

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

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

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 84643, which changed state. Bug 84643 Summary: gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel' https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84643 What

[Bug rtl-optimization/84643] gcc/optabs.c:6549:26: runtime error: load of value 131075, which is not a valid value for type 'memmodel'

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

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

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63426 Bug 63426 depends on bug 84946, which changed state. Bug 84946 Summary: [8 Regression] UBSAN: in mem_valid_for_store_merging ../../gcc/gimple-ssa-store-merging.c:3951 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84946 What|Removed

[Bug c++/84927] [7 Regression] ICE with NSDMI and reference

2018-03-19 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 Marek Polacek changed: What|Removed |Added Summary|[7/8 Regressiion] ICE with |[7 Regression] ICE with

[Bug c++/84974] New: internal compiler error: Segmentation fault (ovl_first()/location_of())

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84974 Bug ID: 84974 Summary: internal compiler error: Segmentation fault (ovl_first()/location_of()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-

[Bug c++/84975] New: internal compiler error: Segmentation fault (outer_binding()/lookup_name_real_1())

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84975 Bug ID: 84975 Summary: internal compiler error: Segmentation fault (outer_binding()/lookup_name_real_1()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywor

[Bug c++/84976] New: internal compiler error: Segmentation fault (cp_build_modify_expr())

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84976 Bug ID: 84976 Summary: internal compiler error: Segmentation fault (cp_build_modify_expr()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-inv

[Bug c++/84937] [7/8 Regression] ICE with class template argument deduction and auto

2018-03-19 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84937 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug c++/84977] New: internal compiler error: Segmentation fault (build_x_unary_op())

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84977 Bug ID: 84977 Summary: internal compiler error: Segmentation fault (build_x_unary_op()) Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid

[Bug tree-optimization/84811] [8 Regression] ICE on valid code at -O3 in 64-bit mode on x86_64-linux-gnu: in smallest_mode_for_size, at stor-layout.c:355

2018-03-19 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84811 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED --- Comment #25 f

[Bug c++/84978] New: ice in cxx_eval_constant_expression at gcc/cp/constexpr.c:4109

2018-03-19 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84978 Bug ID: 84978 Summary: ice in cxx_eval_constant_expression at gcc/cp/constexpr.c:4109 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal P

[Bug c++/84978] ice in cxx_eval_constant_expression at gcc/cp/constexpr.c:4109

2018-03-19 Thread dcb314 at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84978 --- Comment #1 from David Binderman --- Reduced C++ code: typedef struct { struct a *b; } c; typedef void (*d)(c *); typedef struct a { d e; int f; long g; } h; h i() { h j; ((c *)j.f)->b->e(0); return j; }

[Bug fortran/44348] ICE in build_function_decl

2018-03-19 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44348 --- Comment #21 from Harald Anlauf --- I did not encounter any ICE with the test cases in this PR which I tried. Have they been fixed by Steve's recent patch?

[Bug fortran/84931] Expansion of array constructor with constant implied-do-object goes sideways

2018-03-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84931 --- Comment #6 from Thomas Koenig --- Author: tkoenig Date: Mon Mar 19 22:03:01 2018 New Revision: 258666 URL: https://gcc.gnu.org/viewcvs?rev=258666&root=gcc&view=rev Log: 2018-03-19 Thomas Koenig PR fortran/84931 Backport f

[Bug c/84900] Compiler report a error unexpectedly.

2018-03-19 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84900 --- Comment #3 from joseph at codesourcery dot com --- Yes, I'd consider this invalid code. Presumably there's some issue with the GNU extension allowing casts of structs to the same type, whereby in some cases it fails to make the result of t

[Bug fortran/49025] gfortran bug: Local variable does not hide generic procedure.

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

[Bug c++/84979] New: [6/7/8 Regression] ICE with auto as template parameter and -fconcepts

2018-03-19 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84979 Bug ID: 84979 Summary: [6/7/8 Regression] ICE with auto as template parameter and -fconcepts Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-in

[Bug fortran/44348] ICE in build_function_decl

2018-03-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44348 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org --- C

[Bug c++/84980] New: [concepts] ICE with missing typename in cocept

2018-03-19 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84980 Bug ID: 84980 Summary: [concepts] ICE with missing typename in cocept Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug c++/84980] [concepts] ICE with missing typename in cocept

2018-03-19 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84980 --- Comment #1 from Volker Reichelt --- That's of course "-fconcepts" instead of "-fconcpets".

[Bug fortran/84931] Expansion of array constructor with constant implied-do-object goes sideways

2018-03-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84931 --- Comment #7 from Thomas Koenig --- Author: tkoenig Date: Mon Mar 19 22:49:33 2018 New Revision: 258667 URL: https://gcc.gnu.org/viewcvs?rev=258667&root=gcc&view=rev Log: 2018-03-19 Thomas Koenig PR fortran/84931 Backport f

[Bug fortran/84931] Expansion of array constructor with constant implied-do-object goes sideways

2018-03-19 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84931 Thomas Koenig changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/52036] C++11 allows template parameters to have internal linkage

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52036 Jonathan Wakely changed: What|Removed |Added Last reconfirmed|2012-01-29 00:00:00 |2018-3-19 --- Comment #13 from Jonatha

[Bug c++/84981] New: C++17 allows function pointers with no linkage as template parameters but gcc errors, stating the function has no linkage

2018-03-19 Thread xaxxon at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84981 Bug ID: 84981 Summary: C++17 allows function pointers with no linkage as template parameters but gcc errors, stating the function has no linkage Product: gcc Vers

[Bug c++/84981] C++17 allows function pointers with no linkage as template parameters but gcc errors, stating the function has no linkage

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84981 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Status|UNCON

[Bug c++/52036] C++11 allows template parameters to have internal linkage

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52036 --- Comment #14 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #13) > It should work in C++17, but is not the subject of this bug report. That's now PR 84981. For this PR, the only remaining bug seems to be comment 8.

[Bug c++/84981] C++17 allows function pointers with no linkage as template parameters but gcc errors, stating the function has no linkage

2018-03-19 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84981 --- Comment #2 from Jonathan Wakely --- And maybe also this for references as template arguments: --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -6259,7 +6259,8 @@ convert_nontype_argument_function (tree type, tree expr, } linkage = decl_linkag

[Bug target/82624] [msp430] Target must allow for NULL pointer dereferences

2018-03-19 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82624 Jozef Lawrynowicz changed: What|Removed |Added CC||jozef.l at mittosystems dot com ---

[Bug fortran/42651] Functions with result: Wrongly accepts attributes to function name

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

[Bug target/78818] msp430 persistent attribute is not applied correctly in some cases

2018-03-19 Thread jozef.l at mittosystems dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78818 Jozef Lawrynowicz changed: What|Removed |Added CC||jozef.l at mittosystems dot com ---

[Bug target/78818] msp430 persistent attribute is not applied correctly in some cases

2018-03-19 Thread dj at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78818 DJ Delorie changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

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

2018-03-19 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84660 Jim Wilson changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |wilson at gcc dot gnu.org --- Comme

[Bug fortran/42651] Functions with result: Wrongly accepts attributes to function name

2018-03-19 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42651 --- Comment #3 from kargl at gcc dot gnu.org --- Patch submitted.

[Bug c/84982] New: logically inverting bools into local array results in bitwise negation

2018-03-19 Thread gcc at basnieuwenhuizen dot nl
he non-merged not is a xor with 1. This happens on svn trunk as of today (8.0.1 20180319 (experimental)), the 8.0 provided by fedora (8.0.1 20180222 (Red Hat 8.0.1-0.16)), but does not happen on the arch gcc version (7.3.1 20180312). If I figure out how to bisect with SVN I might have time to bisec

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

2018-03-19 Thread npickito at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84660 --- Comment #7 from Kito Cheng --- Hi Jim: Thanks your update, we'll test that again, btw, we can also test on x86-64 and aarch64 if you have no time to test other target.

[Bug target/82624] [msp430] Target must allow for NULL pointer dereferences

2018-03-19 Thread oarias at knights dot ucf.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82624 Orlando Arias changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/84850] [8 Regression] -Wclass-memaccess on a memcpy in a copy assignment operator with no nontrivial bases or members

2018-03-19 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84850 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #6 from Martin Sebor -

[Bug c++/84983] New: [8 regression] g++.dg/ext/pr84828.C fail

2018-03-19 Thread andrey.y.guskov at intel dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84983 Bug ID: 84983 Summary: [8 regression] g++.dg/ext/pr84828.C fail Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/84983] [8 regression] g++.dg/ext/pr84828.C fail

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

[Bug target/84828] ICE in verify_flow_info at gcc/cfghooks.c:265

2018-03-19 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84828 Jakub Jelinek changed: What|Removed |Added CC||andrey.y.guskov at intel dot com --- Co

[Bug c++/84984] New: internal compiler error: in build2, at tree.c:4686

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84984 Bug ID: 84984 Summary: internal compiler error: in build2, at tree.c:4686 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code Severity: normal

[Bug inline-asm/84985] New: internal compiler error: in match_reload, at lra-constraints.c:1068

2018-03-19 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84985 Bug ID: 84985 Summary: internal compiler error: in match_reload, at lra-constraints.c:1068 Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-inva

<    1   2   3