[Bug fortran/68155] ICE on initializing character array in type (len_lhs <> len_rhs)

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

[Bug tree-optimization/84824] DCE fails to remove dead code of std::function constructor

2018-03-20 Thread manjian2006 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84824 --- Comment #15 from linzj --- The structalias solve_graph is not resolving the nodes reachable from a source node, which make my try fail.

[Bug c++/85012] New: GCC does not inline extern "C" functions defined in a different namespace

2018-03-20 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85012 Bug ID: 85012 Summary: GCC does not inline extern "C" functions defined in a different namespace Product: gcc Version: 7.3.1 Status: UNCONFIRMED Keywords:

[Bug fortran/64925] ICE with same names for dummy arg and internal procedure

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64925 kargl at gcc dot gnu.org changed: What|Removed |Added CC||zeccav at gmail dot com ---

[Bug fortran/44348] ICE in build_function_decl

2018-03-20 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 Priority|P3 |P4 Status|NEW

[Bug c++/85011] New: GCC complains that 2 identical function prototypes are different

2018-03-20 Thread m101010a at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85011 Bug ID: 85011 Summary: GCC complains that 2 identical function prototypes are different Product: gcc Version: 7.3.1 Status: UNCONFIRMED Keywords: diagnostic

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-20 Thread Kaushik.Phatak at kpit dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #21 from Kaushik.Phatak at kpit dot com --- Hi Peter, Thanks for your work on this. >> Kaushik, remind me, you're seeing the same ICE in GCC 7 as well Yes, this does fail in gcc-7.x. >> so we need a backport of the patch committed

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 kargl at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug ada/85010] [8 Regression] gnat bootstrap fails in assemble_variable, at varasm.c:2297 (power*, aarch64)

2018-03-20 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85010 --- Comment #2 from Matthias Klose --- last known successful build is r258631 on power*-linux-gnu and aarch64-linux-gnu.

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 --- Comment #7 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Mar 21 01:27:42 2018 New Revision: 258700 URL: https://gcc.gnu.org/viewcvs?rev=258700=gcc=rev Log: 2018-03-20 Steven G. Kargl PR

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 --- Comment #6 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Mar 21 01:26:25 2018 New Revision: 258699 URL: https://gcc.gnu.org/viewcvs?rev=258699=gcc=rev Log: 2018-03-20 Steven G. Kargl PR

[Bug ada/85010] [8 Regression] gnat bootstrap fails in assemble_variable, at varasm.c:2297 (power*, aarch64)

2018-03-20 Thread doko at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85010 --- Comment #1 from Matthias Klose --- ... and on aarch64-linux-gnu

[Bug ada/85010] New: [8 Regression] gnat bootstrap fails in assemble_variable, at varasm.c:2297 (power*, aarch64)

2018-03-20 Thread doko at gcc dot gnu.org
==+ | 8.0.1 20180320 (experimental) [trunk revision 258670] (powerpc-linux-gnu) GCC error:| | in assemble_variable, at varasm.c:2297 | | Error detected around ../../src/gcc/ada/libgnat/s-rident.ads:75:16 | | Please submit a bug report; see https

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 --- Comment #5 from kargl at gcc dot gnu.org --- Author: kargl Date: Wed Mar 21 01:07:43 2018 New Revision: 258698 URL: https://gcc.gnu.org/viewcvs?rev=258698=gcc=rev Log: 2018-03-20 Steven G. Kargl PR

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 kargl at gcc dot gnu.org changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |kargl at gcc dot

[Bug c/85009] missing -Wdiscarded-qualifiers when dropping _Atomic

2018-03-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85009 --- Comment #1 from joseph at codesourcery dot com --- It's not obvious that this is a bug, in that _Atomic is syntactically a qualifier, but excluded semantically for most purposes. In particular, that conversion is permitted by ISO C, so

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 --- Comment #3 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #2) > gfortran-8 changed at r254604 (pr78814). > gfortran-7 changed at r256646. > gfortran-6 changed at r256647. Remove myself from CC list. My

[Bug fortran/85002] [7/8 Regression] ICE in fold_ternary_loc, at fold-const.c:11360

2018-03-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85002 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled

2018-03-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84994 David Malcolm changed: What|Removed |Added Keywords||patch Status|NEW

[Bug c++/84892] Missing accessor hint for private field

2018-03-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84892 David Malcolm changed: What|Removed |Added Keywords||patch Status|NEW

[Bug c/85009] New: missing -Wdiscarded-qualifiers when dropping _Atomic

2018-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85009 Bug ID: 85009 Summary: missing -Wdiscarded-qualifiers when dropping _Atomic Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/85003] Inline built-in fdim for -fno-math-errno

2018-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85003 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization

[Bug fortran/84957] [8 Regression] ICE in gfc_sym_type, at fortran/trans-types.c:2255

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

[Bug c/84919] [8 Regression] error: passing argument 1 to restrict-qualified parameter aliases with argument 5 [-Werror=restrict]

2018-03-20 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84919 Jeffrey A. Law changed: What|Removed |Added Target Milestone|8.0 |9.0 --- Comment #13 from Jeffrey A.

[Bug target/84838] Minor grammar fixes for x86 options

2018-03-20 Thread law at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84838 --- Comment #2 from Jeffrey A. Law --- Author: law Date: Tue Mar 20 22:22:28 2018 New Revision: 258694 URL: https://gcc.gnu.org/viewcvs?rev=258694=gcc=rev Log: PR target/84838 * Minor grammar fixes for x86 options. Modified:

[Bug libstdc++/84998] [8 Regression] std::hash<std::bitset> fails in Debug Mode

2018-03-20 Thread fdumont at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84998 --- Comment #3 from François Dumont --- Author: fdumont Date: Tue Mar 20 21:45:14 2018 New Revision: 258693 URL: https://gcc.gnu.org/viewcvs?rev=258693=gcc=rev Log: 2018-03-20 François Dumont PR libstdc++/84998

[Bug c++/84851] missing -Wclass-memaccess for a memcpy in a copy ctor with a non-trivial member

2018-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84851 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/85008] New: internal compiler error: lang_* check: failed in decl_cloned_function_p, at cp/class.c:4577

2018-03-20 Thread vegard.nossum at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85008 Bug ID: 85008 Summary: internal compiler error: lang_* check: failed in decl_cloned_function_p, at cp/class.c:4577 Product: gcc Version: 8.0.1 Status: UNCONFIRMED

[Bug target/84990] [8 Regression] Boostrap broken with --enable-checking=release and Ada

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

[Bug debug/84875] [6/7 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348 on s390x

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

[Bug debug/84875] [6/7/8 Regression] ICE in maybe_record_trace_start, at dwarf2cfi.c:2348 on s390x

2018-03-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84875 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Tue Mar 20 21:07:13 2018 New Revision: 258692 URL: https://gcc.gnu.org/viewcvs?rev=258692=gcc=rev Log: PR debug/84875 * dce.c (delete_unmarked_insns): Don't remove frame

[Bug ada/85007] New: -b flag to gnatlink not recognized

2018-03-20 Thread emr-gnu at hev dot psu.edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85007 Bug ID: 85007 Summary: -b flag to gnatlink not recognized Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug c++/59930] template friend declarations, namespaces, and explicit instantiations don't mix

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59930 Jonathan Wakely changed: What|Removed |Added Keywords||rejects-valid Target Milestone|---

[Bug c++/64816] gcc claims that constructor is private when it should be accessible

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64816 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/81347] g++ confused by namespaces and friend classes

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/78724] Incorrect ambiguous reference error when template class was forward declarated as a friend

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78724 Jonathan Wakely changed: What|Removed |Added Target Milestone|--- |8.0

[Bug c++/81347] g++ confused by namespaces and friend classes

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81347 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/59930] template friend declarations, namespaces, and explicit instantiations don't mix

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59930 Jonathan Wakely changed: What|Removed |Added CC||thomasanderson at google dot com ---

[Bug c++/59930] template friend declarations, namespaces, and explicit instantiations don't mix

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59930 Jonathan Wakely changed: What|Removed |Added CC||loic.yhuel at gmail dot com ---

[Bug c++/78724] Incorrect ambiguous reference error when template class was forward declarated as a friend

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78724 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/59930] template friend declarations, namespaces, and explicit instantiations don't mix

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59930 Jonathan Wakely changed: What|Removed |Added CC||thakis at chromium dot org ---

[Bug c++/64816] gcc claims that constructor is private when it should be accessible

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64816 Jonathan Wakely changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/85006] New: [7/8 Regression] [concepts] ICE with bogus parameter pack

2018-03-20 Thread reichelt at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85006 Bug ID: 85006 Summary: [7/8 Regression] [concepts] ICE with bogus parameter pack Product: gcc Version: 8.0.1 Status: UNCONFIRMED Keywords: ice-on-invalid-code

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

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

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

2018-03-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84972 --- Comment #5 from Paolo Carlini --- Indeed, we want one error, not three ;)

[Bug c++/72825] ICE on invalid C++ code on x86_64-linux-gnu (internal compiler error: tree check: expected array_type, have error_mark in array_ref_low_bound, at tree.c:13013)

2018-03-20 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72825 Paolo Carlini changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

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

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

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

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

2018-03-20 Thread aoliva at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84647 Alexandre Oliva changed: What|Removed |Added Depends on||84798 Assignee|aoliva at

[Bug fortran/84615] [8 Regression] Executable Segfault for some tests compiled with -m32 after r256284

2018-03-20 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84615 --- Comment #17 from Dominique d'Humieres --- > Dominique, can you check whether it also fixes the other -fdefault-real-8 -m32 > issues caused by r256284? Preliminary tests show that all the failures reported in comment 0 are fixed by the patch

[Bug c/84999] [7/8 Regression] ICE in make_vector_type, at tree.c:9561

2018-03-20 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84999 Martin Liška changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

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

[Bug c++/84972] [6/7/8 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in extended_tree, at tree.h:5545

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

[Bug c++/85004] ambiguous diagnostic: passing ‘const S’ as ‘this’ argument discards qualifiers

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

[Bug c++/85004] ambiguous diagnostic: passing ‘const S’ as ‘this’ argument discards qualifiers

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85004 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/84826] ICE in extract_insn, at recog.c:2304 on arm-linux-gnueabi

2018-03-20 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84826 --- Comment #8 from sudi at gcc dot gnu.org --- (In reply to Wilco from comment #5) > It seems a latent bug in arm_r3_live_at_start_p which now triggers much more > often due to stack clash protection: > > if (IS_NESTED (arm_current_func_type

[Bug target/85005] Redesign and cleanup arm.c wrt to flag_stack_clash_protection and flag_stack_check

2018-03-20 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85005 sudi at gcc dot gnu.org changed: What|Removed |Added Target||arm*-*-* CC|

[Bug target/85005] New: Redesign and cleanup arm.c wrt to flag_stack_clash_protection and flag_stack_check

2018-03-20 Thread sudi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85005 Bug ID: 85005 Summary: Redesign and cleanup arm.c wrt to flag_stack_clash_protection and flag_stack_check Product: gcc Version: 8.0 Status: UNCONFIRMED

[Bug libstdc++/84998] [8 Regression] std::hash<std::bitset> fails in Debug Mode

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84998 --- Comment #2 from Jonathan Wakely --- The change happened with r255780 i.e. PR c++/59930 I'll make the necessary fixes to libstdc++.

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

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

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

2018-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84978 --- Comment #7 from Marek Polacek --- Test added in r258691 but I used the wrong commit message :(.

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

2018-03-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84927 --- Comment #5 from Marek Polacek --- Author: mpolacek Date: Tue Mar 20 18:13:38 2018 New Revision: 258691 URL: https://gcc.gnu.org/viewcvs?rev=258691=gcc=rev Log: PR c++/84927 * constexpr.c (cxx_eval_bare_aggregate): Update

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

2018-03-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84978 --- Comment #6 from Jason Merrill --- Author: jason Date: Tue Mar 20 18:05:59 2018 New Revision: 258689 URL: https://gcc.gnu.org/viewcvs?rev=258689=gcc=rev Log: PR c++/84978, ICE with NRVO. * cvt.c (cp_get_fndecl_from_callee):

[Bug c++/85004] New: ambiguous diagnostic: passing ‘const S’ as ‘this’ argument discards qualifiers

2018-03-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85004 Bug ID: 85004 Summary: ambiguous diagnostic: passing ‘const S’ as ‘this’ argument discards qualifiers Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/84998] [8 Regression] std::hash<std::bitset> fails in Debug Mode

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84998 --- Comment #1 from Jonathan Wakely --- Also: #define _GLIBCXX_DEBUG #include int main() { std::vector b; std::hash h; return h(b); } And a number of other debug mode failures related to access. I suspect FE improvements to

[Bug tree-optimization/85003] New: Inline built-in fdim for -fno-math-errno

2018-03-20 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85003 Bug ID: 85003 Summary: Inline built-in fdim for -fno-math-errno Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: enhancement Priority: P3 Component:

[Bug fortran/85002] New: [7/8 Regression] ICE in fold_ternary_loc, at fold-const.c:11360

2018-03-20 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85002 Bug ID: 85002 Summary: [7/8 Regression] ICE in fold_ternary_loc, at fold-const.c:11360 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/85001] [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 --- Comment #1 from G. Steinmetz --- These two variants compile without any errors : $ cat z2.f90 program p type t end type call s contains real function f(x) class(t) :: x(:) f = 1.0 end

[Bug fortran/85001] New: [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420

2018-03-20 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85001 Bug ID: 85001 Summary: [6/7/8 Regression] ICE in gfc_build_array_type, at fortran/trans-types.c:1420 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity:

[Bug c/85000] ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:895

2018-03-20 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85000 --- Comment #1 from G. Steinmetz --- Configured with --enable-checking=yes : $ gcc-8-20180318 -c z1.c -O2 -fopenmp during GIMPLE pass: omplower z1.c: In function 'foo': z1.c:8:6: internal compiler error: in scan_omp_1_op,

[Bug c/85000] New: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:895

2018-03-20 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85000 Bug ID: 85000 Summary: ICE in copy_reference_ops_from_ref, at tree-ssa-sccvn.c:895 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug middle-end/84997] Optimize integer operations on floating point constants without -ffast-math

2018-03-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84997 --- Comment #1 from joseph at codesourcery dot com --- On Tue, 20 Mar 2018, antoshkka at gmail dot com wrote: > For example > > int test2(int lhs) { > lhs += 2.0; > return lhs; > } That would need -fno-trapping-math, because if the

[Bug c/84999] New: [7/8 Regression] ICE in make_vector_type, at tree.c:9561

2018-03-20 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84999 Bug ID: 84999 Summary: [7/8 Regression] ICE in make_vector_type, at tree.c:9561 Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-20 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #20 from Peter Bergner --- Kaushik, remind me, you're seeing the same ICE in GCC 7 as well, so we need a backport of the patch committed to trunk?

[Bug libstdc++/84998] [8 Regression] std::hash<std::bitset> fails in Debug Mode

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84998 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug libstdc++/84998] New: [8 Regression] std::hash<std::bitset> fails in Debug Mode

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84998 Bug ID: 84998 Summary: [8 Regression] std::hash fails in Debug Mode Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

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

[Bug middle-end/84996] Adding or substracting 0.0 could be optimized away even without -ffast-math

2018-03-20 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84996 --- Comment #3 from joseph at codesourcery dot com --- Adding +0.0 and -0.0 produces +0.0 except in FE_DOWNWARD mode. I.e., optimizing away an addition of +0.0 requires -fno-signed-zeros (not the default), as well as -fno-signaling-nans

[Bug target/83789] __builtin_altivec_lvx fails for powerpc for altivec-4.c

2018-03-20 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83789 --- Comment #18 from Peter Bergner --- Author: bergner Date: Tue Mar 20 17:25:09 2018 New Revision: 258688 URL: https://gcc.gnu.org/viewcvs?rev=258688=gcc=rev Log: PR target/83789 * config/rs6000/altivec.md (altivec_lvx__2op):

[Bug middle-end/84997] New: Optimize integer operations on floating point constants without -ffast-math

2018-03-20 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84997 Bug ID: 84997 Summary: Optimize integer operations on floating point constants without -ffast-math Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug target/82518] [6/7 Regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb

2018-03-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518 ktkachov at gcc dot gnu.org changed: What|Removed |Added Known to work||8.0

[Bug target/82518] [6/7/8 regression] gfortran.fortran-torture/execute/in-pack.f90 fails on armeb

2018-03-20 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82518 --- Comment #52 from ktkachov at gcc dot gnu.org --- Author: ktkachov Date: Tue Mar 20 17:13:16 2018 New Revision: 258687 URL: https://gcc.gnu.org/viewcvs?rev=258687=gcc=rev Log: This PR shows that we get the load/store_lanes logic wrong for arm

[Bug target/84826] ICE in extract_insn, at recog.c:2304 on arm-linux-gnueabi

2018-03-20 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84826 --- Comment #7 from Eric Botcazou --- > Oops I think I missed the artificial defs. Then the liveness makes sense. > Out of curiosity why are all the argument register defined? This function > for instance does not need 4 argument register.

[Bug tree-optimization/84960] [8 Regression] ICE in GIMPLE pass: isolate-paths

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

[Bug target/83660] ICE with vec_extract inside expression statement

2018-03-20 Thread willschm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83660 Will Schmidt changed: What|Removed |Added CC||willschm at gcc dot gnu.org --- Comment

[Bug middle-end/84996] Adding or substracting 0.0 could be optimized away even without -ffast-math

2018-03-20 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84996 --- Comment #2 from Antony Polukhin --- Then let's change the example to int test(int lhs) { return 0.0 + lhs; } In that case no signaling Nan is possible, but the code still does additions test(int): pxorxmm0, xmm0

[Bug middle-end/84996] Adding or substracting 0.0 could be optimized away even without -ffast-math

2018-03-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84996 --- Comment #1 from Andrew Pinski --- Iirc it can't due to signaling nans.

[Bug middle-end/84996] New: Adding or substracting 0.0 could be optimized away even without -ffast-math

2018-03-20 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84996 Bug ID: 84996 Summary: Adding or substracting 0.0 could be optimized away even without -ffast-math Product: gcc Version: 8.0 Status: UNCONFIRMED Keywords:

[Bug rtl-optimization/84989] [8 Regression] _mm512_broadcast_f32x4 triggers ICE in simplify_const_unary_operation, at simplify-rtx.c:1731

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

[Bug lto/84934] Installing the lto plugin where binutils will look for it

2018-03-20 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84934 --- Comment #4 from Дилян Палаузов --- Oh, I have typed on this matter already in the past: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70345

[Bug lto/84995] New: Documentation gcc-ar and gcc-ranlib vs {libdir}/bfd-plugins

2018-03-20 Thread dilyan.palauzov at aegee dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84995 Bug ID: 84995 Summary: Documentation gcc-ar and gcc-ranlib vs {libdir}/bfd-plugins Product: gcc Version: 7.3.1 Status: UNCONFIRMED Severity: normal

[Bug c++/84994] Missing accessor hint for private field at -O1 and above when -g is enabled

2018-03-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84994 David Malcolm changed: What|Removed |Added Summary|Missing accessor hint for |Missing accessor hint for

[Bug c++/84962] [8 Regression] ICE in get_fns, at cp/tree.c:2505

2018-03-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84962 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Tue Mar 20 16:01:08 2018 New Revision: 258686 URL: https://gcc.gnu.org/viewcvs?rev=258686=gcc=rev Log: [PR c++/84962] ICE with anon-struct member

[Bug c++/84962] [8 Regression] ICE in get_fns, at cp/tree.c:2505

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

[Bug c++/84970] [8 Regression] ICE in tsubst_copy, at cp/pt.c:15085

2018-03-20 Thread nathan at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84970 --- Comment #3 from Nathan Sidwell --- Author: nathan Date: Tue Mar 20 15:57:30 2018 New Revision: 258685 URL: https://gcc.gnu.org/viewcvs?rev=258685=gcc=rev Log: [PR c++/84970] lookup marking

[Bug c++/84970] [8 Regression] ICE in tsubst_copy, at cp/pt.c:15085

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

[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-20 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71638 Marek Polacek changed: What|Removed |Added Keywords|error-recovery, |ice-on-valid-code

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

2018-03-20 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84969 --- Comment #2 from amker at gcc dot gnu.org --- I see, there are two issues here. - wrong code issue: fuse_memset_builtins breaks dependence between two intersect memset call; - efficiency issue: The loop should not be distributed into two

[Bug c++/83258] Rejecting function pointer non-type template parameter without linkage

2018-03-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83258 --- Comment #2 from Jonathan Wakely --- With this patch: --- a/gcc/cp/pt.c +++ b/gcc/cp/pt.c @@ -6259,7 +6259,8 @@

  1   2   3   >