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

2019-02-20 Thread drikosev at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84530 Ev Drikos changed: What|Removed |Added CC||drikosev at gmail dot com --- Comment #7 fro

[Bug c++/88572] error: braces around scalar initializer - should be a warning

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88572 --- Comment #17 from Jason Merrill --- Author: jason Date: Wed Feb 20 18:50:32 2019 New Revision: 269045 URL: https://gcc.gnu.org/viewcvs?rev=269045&root=gcc&view=rev Log: PR c++/88572 - wrong handling of braces on scalar init.

[Bug c++/88380] [7/8/9 Regression] Sequence of not-explicitly initialised, initialised, variable length generates no initialiser

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88380 --- Comment #3 from Jason Merrill --- Author: jason Date: Wed Feb 20 18:54:45 2019 New Revision: 269046 URL: https://gcc.gnu.org/viewcvs?rev=269046&root=gcc&view=rev Log: PR c++/88380 - wrong-code with flexible array and NSDMI. Here 'sk

[Bug c++/87513] [8/9 Regression] ICE in write_expression, at cp/mangle.c:3050

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513 --- Comment #10 from Jason Merrill --- Author: jason Date: Wed Feb 20 18:59:18 2019 New Revision: 269048 URL: https://gcc.gnu.org/viewcvs?rev=269048&root=gcc&view=rev Log: PR c++/87513 - 'sorry' mangling PMF template-id. Here build_offs

[Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line

2019-02-20 Thread jg at jguk dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410 --- Comment #12 from Jonny Grant --- Just to add C spec says UB. http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf "The #line preprocessing directive that results after expansion does not match one of the two well-defined forms, or its

[Bug d/89418] D test cases fail on powerpc64le

2019-02-20 Thread seurer at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418 --- Comment #2 from seurer at gcc dot gnu.org --- real.mant_dig is 106 on powerpc64le

[Bug d/89418] D test cases fail on powerpc64le

2019-02-20 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89418 --- Comment #3 from Andrew Pinski --- Funny. real.mant_dig == 106 means 128bit IBM long double (or as some call it, double-double as the error message suggest). The error message is incorrect in both cases too: "Only 64-bit, 80-bit, and 128-b

[Bug d/89177] unaligned memory access in libphobos

2019-02-20 Thread bernd.edlinger at hotmail dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89177 --- Comment #4 from Bernd Edlinger --- (In reply to Johannes Pfau from comment #2) > Thanks for the bug report & patch. It seems upstream phobos has already > fixed this in a different way: > > https://github.com/dlang/phobos/commit/ > d5f710c57

[Bug c/89410] [7/8/9 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line

2019-02-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410 --- Comment #13 from David Malcolm --- Author: dmalcolm Date: Wed Feb 20 20:07:20 2019 New Revision: 269050 URL: https://gcc.gnu.org/viewcvs?rev=269050&root=gcc&view=rev Log: Fix ICE with #line directive (PR c/89410) PR c/89410 reports various

[Bug c/89410] [7/8 Regression] ICE in calculate_line_spans, at diagnostic-show-locus.c:1237 after #line

2019-02-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89410 David Malcolm changed: What|Removed |Added Summary|[7/8/9 Regression] ICE in |[7/8 Regression] ICE in

[Bug fortran/86248] [7/8/9 Regression] LEN_TRIM in specification expression causes link failure

2019-02-20 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86248 --- Comment #4 from Harald Anlauf --- Some digging shows that the name mangling is done in trans-decl.c, gfc_sym_mangled_identifier. Strangely, the funny name mangling comes from the component fn_result_spec being set in resolve.c, flag_fn_resul

[Bug ipa/86395] add support of -fopt-info-inline in inliner

2019-02-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86395 David Malcolm changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug c++/87513] [8 Regression] ICE in write_expression, at cp/mangle.c:3050

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87513 Jason Merrill changed: What|Removed |Added Summary|[8/9 Regression] ICE in |[8 Regression] ICE in

[Bug other/84889] Ideas on revamping how we format diagnostics

2019-02-20 Thread dmalcolm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84889 David Malcolm changed: What|Removed |Added Status|WAITING |ASSIGNED Target Milestone|9.0

[Bug fortran/80408] Problems with SIGNAL, pthread and print together

2019-02-20 Thread jb at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408 --- Comment #5 from Janne Blomqvist --- (In reply to Raphael Monod from comment #4) > Thank you for your answer. But I don't understand why adding -lpthread > option change the behavior if I do not use any thread. In libgfortran, if a thread lib

[Bug target/89424] New: __builtin_vec_ext_v1ti (v, i) results in ICE with variable i (RS6000)

2019-02-20 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89424 Bug ID: 89424 Summary: __builtin_vec_ext_v1ti (v, i) results in ICE with variable i (RS6000) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/89336] internal compiler error when compiling a constexpr function

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89336 --- Comment #8 from Jakub Jelinek --- Author: jakub Date: Wed Feb 20 21:16:27 2019 New Revision: 269052 URL: https://gcc.gnu.org/viewcvs?rev=269052&root=gcc&view=rev Log: PR c++/89336 * constexpr.c (cxx_eval_store_expression): Di

[Bug fortran/83057] OPEN without a filename and without STATUS='SCRATCH' could produce a warning

2019-02-20 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057 Harald Anlauf changed: What|Removed |Added CC||anlauf at gmx dot de --- Comment #4 from

[Bug c/89425] New: -Wabsolute-value warns in dead code

2019-02-20 Thread jsm28 at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425 Bug ID: 89425 Summary: -Wabsolute-value warns in dead code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Ass

[Bug target/89397] [7/8 Regression] ICE in build_call_expr_loc_array at gcc/tree.c:11563 since r229082

2019-02-20 Thread uros at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89397 --- Comment #7 from uros at gcc dot gnu.org --- Author: uros Date: Wed Feb 20 21:58:45 2019 New Revision: 269054 URL: https://gcc.gnu.org/viewcvs?rev=269054&root=gcc&view=rev Log: PR target/89397 * config/i386/i386.c (ix86_atomic_

[Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs

2019-02-20 Thread ro at CeBiTec dot Uni-Bielefeld.DE
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415 --- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE --- > --- Comment #3 from Jakub Jelinek --- > See https://gcc.gnu.org/ml/gcc-patches/2019-02/msg01650.html I've now included the patch in a sparc-sun-solaris2.11 bootstrap and the sinatan-1

[Bug c/89425] -Wabsolute-value warns in dead code

2019-02-20 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89425 Eric Gallager changed: What|Removed |Added Keywords||diagnostic CC|

[Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128

2019-02-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367 --- Comment #11 from Segher Boessenkool --- If you use -fsignaling-nans everything works as expected.

[Bug tree-optimization/86367] FRE1 tree pass deletes code in gcc.target/powerpc/nan128-1.c when long double is IEEE 128

2019-02-20 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86367 Segher Boessenkool changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |segher at gcc dot gnu.org -

[Bug target/89426] New: -mfpmath=sse isn't preserved

2019-02-20 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89426 Bug ID: 89426 Summary: -mfpmath=sse isn't preserved Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assig

[Bug fortran/83057] OPEN without a filename and without STATUS='SCRATCH' could produce a warning

2019-02-20 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83057 --- Comment #5 from Harald Anlauf --- Patch submitted: https://gcc.gnu.org/ml/fortran/2019-02/msg00176.html

[Bug tree-optimization/88074] [7/8 Regression] g++ hangs on math expression

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88074 --- Comment #32 from Jakub Jelinek --- Author: jakub Date: Wed Feb 20 22:41:26 2019 New Revision: 269055 URL: https://gcc.gnu.org/viewcvs?rev=269055&root=gcc&view=rev Log: PR middle-end/88074 PR middle-end/89415 * toplev.

[Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89415 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Wed Feb 20 22:41:26 2019 New Revision: 269055 URL: https://gcc.gnu.org/viewcvs?rev=269055&root=gcc&view=rev Log: PR middle-end/88074 PR middle-end/89415 * toplev.c

[Bug middle-end/89415] [9 Regression] gcc.dg/sinatan-1.c FAILs

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

[Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091 --- Comment #10 from Jakub Jelinek --- Fixed for 9+ so far.

[Bug middle-end/89091] ICE: Segmentation fault (in tree_class_check)

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89091 --- Comment #9 from Jakub Jelinek --- Author: jakub Date: Wed Feb 20 23:01:41 2019 New Revision: 269056 URL: https://gcc.gnu.org/viewcvs?rev=269056&root=gcc&view=rev Log: PR middle-end/89091 * fold-const.c (decode_field_reference

[Bug middle-end/89412] [7/8/9 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412 --- Comment #7 from Jakub Jelinek --- Author: jakub Date: Wed Feb 20 23:02:29 2019 New Revision: 269057 URL: https://gcc.gnu.org/viewcvs?rev=269057&root=gcc&view=rev Log: PR middle-end/89412 * expr.c (expand_assignment): If resul

[Bug middle-end/89412] [7/8 Regression] gcc ICE in simplify_subreg, at simplify-rtx.c:6273 on i686-linux-gnu

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89412 Jakub Jelinek changed: What|Removed |Added Known to work||9.0 Summary|[7/8/9 Regression

[Bug sanitizer/89409] [9 Regression] FAIL: c-c++-common/ubsan/div-by-zero-[67].c

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89409 Jakub Jelinek changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/89427] New: missing -Warray-bounds on a MEM_REF of array plus offset

2019-02-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89427 Bug ID: 89427 Summary: missing -Warray-bounds on a MEM_REF of array plus offset Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priorit

[Bug tree-optimization/89427] missing -Warray-bounds on a MEM_REF of array plus offset

2019-02-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89427 --- Comment #1 from Martin Sebor --- The equivalent code using memcpy (or even strcpy) is diagnosed: $ cat u.c && gcc -O2 -S -Wall u.c char a[8]; void f (int i) { char *p = a + sizeof a; if (i < 5) i = 5; __builtin_memcpy (p + i, "",

[Bug c++/89405] [8/9 Regression] ICE in import_export_decl, at cp/decl2.c:2959

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405 --- Comment #5 from Jakub Jelinek --- Author: jakub Date: Thu Feb 21 00:08:59 2019 New Revision: 269058 URL: https://gcc.gnu.org/viewcvs?rev=269058&root=gcc&view=rev Log: PR c++/89405 * decl.c (maybe_commonize_var): When clearing

[Bug c++/89403] [7/8/9 Regression] ICE in maybe_clone_body, at cp/optimize.c:693

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89403 --- Comment #4 from Jakub Jelinek --- Author: jakub Date: Thu Feb 21 00:09:47 2019 New Revision: 269059 URL: https://gcc.gnu.org/viewcvs?rev=269059&root=gcc&view=rev Log: PR c++/89403 * decl2.c (c_parse_final_cleanups): Move TREE

[Bug c++/88826] ICE (segfault) when compiling invalid C++ code with -std=c++2a

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

[Bug libstdc++/89416] [9 regression] std::vector::push_back no longer builds.

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

[Bug go/89407] [9 Regression] go bootstrap failure on s390x starting with r268941

2019-02-20 Thread ian at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89407 --- Comment #1 from ian at gcc dot gnu.org --- Author: ian Date: Thu Feb 21 01:06:01 2019 New Revision: 269063 URL: https://gcc.gnu.org/viewcvs?rev=269063&root=gcc&view=rev Log: PR go/89407 internal/cpu: use #ifdef __s390x__ in C cod

[Bug go/89407] [9 Regression] go bootstrap failure on s390x starting with r268941

2019-02-20 Thread ian at airs dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89407 Ian Lance Taylor changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/89428] New: missing -Wstringop-overflow on a PHI with variable offset

2019-02-20 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89428 Bug ID: 89428 Summary: missing -Wstringop-overflow on a PHI with variable offset Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priori

[Bug c++/52320] missing destructor call after thrown exception in initializer

2019-02-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52320 Jonathan Wakely changed: What|Removed |Added Keywords||wrong-code See Also|

[Bug c++/52130] missing check for matching underlying type during instantiation of enum member of class template

2019-02-20 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52130 --- Comment #5 from Jonathan Wakely --- The relevant text in the standard is: "A scoped enumeration shall not be later redeclared as unscoped or with a different underlying type. An unscoped enumeration shall not be later redeclared as scoped an

[Bug c++/87921] [7/8/9 Regression] Incorrect error "storage size of [array] isn't known (when it is)

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87921 --- Comment #3 from Jason Merrill --- Author: jason Date: Thu Feb 21 02:24:40 2019 New Revision: 269064 URL: https://gcc.gnu.org/viewcvs?rev=269064&root=gcc&view=rev Log: PR c++/87921 - wrong error with inline static data member. c_pars

[Bug c++/87921] [7/8 Regression] Incorrect error "storage size of [array] isn't known (when it is)

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87921 Jason Merrill changed: What|Removed |Added Summary|[7/8/9 Regression] |[7/8 Regression] Incorrect

[Bug rtl-optimization/89313] [9 Regression] ICE in process_alt_operands, at lra-constraints.c:2962

2019-02-20 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89313 Peter Bergner changed: What|Removed |Added Keywords|ice-on-invalid-code |ice-on-valid-code Target|x86

[Bug target/89271] [9 Regression] gcc.target/powerpc/vsx-simode2.c stopped working in GCC 9

2019-02-20 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89271 --- Comment #11 from Vladimir Makarov --- (In reply to Alan Modra from comment #5) > Created attachment 45760 [details] > Current set of patches > > It turns out there is a lot more than just wrong register_move_cost. This > patchset does fix t

[Bug c++/88690] [7/8/9 Regression] c++17 internal compiler error: in output_constructor_regular_field, at varasm.c:5031

2019-02-20 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88690 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned a

[Bug fortran/80408] Problems with SIGNAL, pthread and print together

2019-02-20 Thread raphael.monod at wanadoo dot fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80408 --- Comment #6 from Raphael Monod --- Thank you very much for your explanations. Now I understand why I was wrong. I will try to change my code to take into account your suggestions. Once more, thank you very much.

[Bug c++/89403] [7/8 Regression] ICE in maybe_clone_body, at cp/optimize.c:693

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

[Bug c++/89405] [8 Regression] ICE in import_export_decl, at cp/decl2.c:2959

2019-02-20 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89405 Jakub Jelinek changed: What|Removed |Added Summary|[8/9 Regression] ICE in |[8 Regression] ICE in

<    1   2