[Bug c++/89522] [8/9 Regression] ICE: trying to capture 'f' in instantiation of generic lambda

2019-02-28 Thread paolo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89522 --- Comment #1 from paolo at gcc dot gnu.org --- Author: paolo Date: Thu Feb 28 10:27:03 2019 New Revision: 269275 URL: https://gcc.gnu.org/viewcvs?rev=269275=gcc=rev Log: 2019-02-28 Paolo Carlini PR c++/89522 *

[Bug c++/89522] [8 Regression] ICE: trying to capture 'f' in instantiation of generic lambda

2019-02-28 Thread paolo.carlini at oracle dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89522 Paolo Carlini changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()

2019-02-28 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434 --- Comment #12 from ktkachov at gcc dot gnu.org --- (In reply to Jakub Jelinek from comment #11) > Created attachment 45839 [details] > gcc9-pr89434.patch > > I'm testing this separately. This patch is preapproved for trunk if testing is

[Bug c++/89151] SFINAE-disabled member hides another

2019-02-28 Thread csaba_22 at yahoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89151 --- Comment #5 from Csaba Ráduly --- Appears to be fixed in GCC 8.3.0

[Bug tree-optimization/89535] [9 Regression] ICE when building 416.gamess in prepare_load_store_mask

2019-02-28 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875 --- Comment #5 from Jakub Jelinek --- Those pragmas are all extensions, so the standard doesn't cover them.

[Bug libstdc++/89452] basic_stringbuf::seekoff and basic_stringbuf::seekpos implementations

2019-02-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89452 --- Comment #3 from Jonathan Wakely --- (In reply to Jonathan Wakely from comment #2) > This was changed many years ago by https://wg21.link/lwg453 ... and clarified a few months ago by

[Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434 --- Comment #14 from Jakub Jelinek --- Author: jakub Date: Thu Feb 28 13:13:33 2019 New Revision: 269277 URL: https://gcc.gnu.org/viewcvs?rev=269277=gcc=rev Log: PR target/89434 * config/arm/arm.md

[Bug c/89521] ICE in expand_builtin_int_roundingfn, at builtins.c:2697

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

[Bug c/89520] [7/8 Regression] ICE tree check: accessed operand 4 of call_expr with 3 operands in convert_to_integer_1, at convert.c:668

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89520 --- Comment #7 from Jakub Jelinek --- *** Bug 89521 has been marked as a duplicate of this bug. ***

[Bug target/89534] New: mingw is not declarting MAKE_DECL_ONE_ONLY macro

2019-02-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89534 Bug ID: 89534 Summary: mingw is not declarting MAKE_DECL_ONE_ONLY macro Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug tree-optimization/89535] New: [9 Regression] ICE when building 416.gamess in prepare_load_store_mask

2019-02-28 Thread ktkachov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535 Bug ID: 89535 Summary: [9 Regression] ICE when building 416.gamess in prepare_load_store_mask Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords:

[Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug preprocessor/60875] `_Pragma("message \"foo\")"` doesn't work in expression contexts.

2019-02-28 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60875 Nikita Kniazev changed: What|Removed |Added CC||nok.raven at gmail dot com --- Comment

[Bug target/89455] [9 Regression] FAIL: g++.target/i386/mv16.C on Westmere

2019-02-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89455 H.J. Lu changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/89455] [9 Regression] FAIL: g++.target/i386/mv16.C on Westmere

2019-02-28 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89455 --- Comment #1 from hjl at gcc dot gnu.org --- Author: hjl Date: Thu Feb 28 14:24:52 2019 New Revision: 269281 URL: https://gcc.gnu.org/viewcvs?rev=269281=gcc=rev Log: i386: Identify Westmere from PCLMUL Since AES has been removed from

[Bug c++/89533] New: G++ incorrectly generates noexcept assignment operator

2019-02-28 Thread alexey.kutumov at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89533 Bug ID: 89533 Summary: G++ incorrectly generates noexcept assignment operator Product: gcc Version: 8.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug lto/89497] [8/9 Regression] ICE caused by Segmentation Fault when compiling cups 2.2.10 with LTO flags enabled

2019-02-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89497 --- Comment #19 from Martin Liška --- (In reply to Richard Biener from comment #18) > GIMPLE testcase that doesn't fail, possibly because of NOPs or because of > missing range info or whatever... > > typedef struct { > char array[81]; > }

[Bug c/89521] ICE in expand_builtin_int_roundingfn, at builtins.c:2697

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89521 --- Comment #1 from Jakub Jelinek --- Author: jakub Date: Thu Feb 28 13:49:38 2019 New Revision: 269280 URL: https://gcc.gnu.org/viewcvs?rev=269280=gcc=rev Log: PR c/89521 * gcc.dg/pr89521-1.c: New test. *

[Bug tree-optimization/89536] [9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/89536] New: wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread su at cs dot ucdavis.edu
/gcc/x86_64-pc-linux-gnu/9.0.1/lto-wrapper Target: x86_64-pc-linux-gnu Configured with: ../gcc-source-trunk/configure --enable-languages=c,c++,lto --prefix=/home/su/software/tmp/gcc/gcc-trunk --disable-bootstrap Thread model: posix gcc version 9.0.1 20190228 (experimental) [trunk revision 269278] (GCC

[Bug target/88530] [8 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.

2019-02-28 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530 Tamar Christina changed: What|Removed |Added Summary|[8/9 Regression] AArch64|[8 Regression] AArch64

[Bug tree-optimization/89535] [9 Regression] ICE when building 416.gamess in prepare_load_store_mask

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89535 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Status|UNCONFIRMED

[Bug c++/89513] constexpr functions with function try block shouldn't be accepted at least with -pedantic in -std=c++{11,14,17} modes

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89513 Jakub Jelinek changed: What|Removed |Added Attachment #45837|0 |1 is obsolete|

[Bug target/88530] [8/9 Regression] AArch64 Unsupported options passed to assemblers when it doesn't need to.

2019-02-28 Thread tnfchris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88530 --- Comment #5 from Tamar Christina --- Author: tnfchris Date: Thu Feb 28 10:43:41 2019 New Revision: 269276 URL: https://gcc.gnu.org/viewcvs?rev=269276=gcc=rev Log: AArch64: Have empty HWCAPs string ignored during native feature detection

[Bug fortran/87625] [OOP] (re)allocate on assignment fails for polymorphic array

2019-02-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87625 --- Comment #7 from Dominique d'Humieres --- > Yes, can this please be back-ported? Still broken on at least 8. This is not a regression.

[Bug target/89527] GCC ICE internal compiler error during RTL pass: mach on arm/thumb2 compiling glibc

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

[Bug target/89434] [7/8 Regression] wrong code with -Og and __builtin_mul_overflow()

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89434 Jakub Jelinek changed: What|Removed |Added CC||raj.khem at gmail dot com --- Comment

[Bug testsuite/89441] FAIL: g++.dg/ipa/pr89009.C -std=gnu++98 (test for excess errors)

2019-02-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89441 Martin Liška changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2019-02-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542 --- Comment #10 from Dominique d'Humieres --- > Yep, done. Do you mean that the PR can be closed as FIXED? I am wondering if the tests are valid Fortran.

[Bug rtl-optimization/85899] [8/9 Regression] ICE in find_fallthru_edge_from, at haifa-sched.c:8059

2019-02-28 Thread amonakov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85899 --- Comment #4 from Alexander Monakov --- It appears that fallthru edges to the exit block are unusual in that they don't obey the invariant e->dest == e->src->next_bb (i.e. next_bb may be anything). If so, the assert in haifa-sched needs to be

[Bug testsuite/89441] FAIL: g++.dg/ipa/pr89009.C -std=gnu++98 (test for excess errors)

2019-02-28 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89441 --- Comment #2 from Martin Liška --- Author: marxin Date: Thu Feb 28 13:17:09 2019 New Revision: 269278 URL: https://gcc.gnu.org/viewcvs?rev=269278=gcc=rev Log: Fix test-case visibility (PR testsuite/89441). 2019-02-28 John David Anglin

[Bug target/89456] target attribute doesn't work well with -mXXX

2019-02-28 Thread hjl.tools at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89456 --- Comment #3 from H.J. Lu --- Created attachment 45853 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45853=edit A patch

[Bug c++/89533] G++ incorrectly generates noexcept assignment operator

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

[Bug middle-end/86979] [9 Regression] ICE: in maybe_record_trace_start, at dwarf2cfi.c:2348 with -m32 on darwin

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86979 --- Comment #11 from Jakub Jelinek --- Any progress on this?

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #10 from Jason Merrill --- (In reply to Jakub Jelinek from comment #9) > So, shall we never try ck_list conversion for CONSTRUCTORs with any > designators (while for -std=c++2a we'll complain if there is a mix of > designated

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #13 from Jakub Jelinek --- Created attachment 45856 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45856=edit WIP For that test the following helps, but guess I'm still not handling anonymous aggregates right there.

[Bug c++/89537] missing location for error

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 --- Comment #3 from Marek Polacek --- template class A {}; template class B; class C { using mapped_type = int; public: template C(B, A> *p1, unsigned) : keys(p1->keys), values(p1->values) {} A keys; A values; }; class D {

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #6 from Jakub Jelinek --- (In reply to Eric Botcazou from comment #5) > There is very likely the same issue in the BIT_AND_EXPR case then. Isn't that different though? I mean, even if we have int type and have [0, 1] range and have

[Bug c++/88049] [7/8/9 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r231671

2019-02-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049 --- Comment #8 from Jason Merrill --- Author: jason Date: Thu Feb 28 17:29:48 2019 New Revision: 269283 URL: https://gcc.gnu.org/viewcvs?rev=269283=gcc=rev Log: PR c++/88049 - ICE with undefined destructor and anon namespace. A type in

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #7 from Eric Botcazou --- > Isn't that different though? I mean, even if we have int type and have [0, > 1] range and have a check that the value isn't 0, then it must be 1. Then I don't understand the problem in the BIT_NOT_EXPR

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #9 from Eric Botcazou --- > Then I don't understand the problem in the BIT_NOT_EXPR case: we have int > type and [0, 1] range for rhs; if we know that BIT_NOT_EXPR is zero, we can > deduce that it must be 1 too. So the problem is in

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #10 from Jakub Jelinek --- (In reply to Eric Botcazou from comment #9) > > Then I don't understand the problem in the BIT_NOT_EXPR case: we have int > > type and [0, 1] range for rhs; if we know that BIT_NOT_EXPR is zero, we can > >

[Bug ipa/88235] [7/8/9 Regression] ICE: verify_cgraph_node failed (error: edge points to wrong declaration)

2019-02-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88235 --- Comment #4 from Jan Hubicka --- I think you can add cgraph predicate former_thunk_p which tests that return !thunk_p && (thunk_info.fixed_offset || virtual_offset_p || indirect_offset) Every thunk should set one of those (it may be good to

[Bug c++/89537] missing location for error

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 --- Comment #5 from Marek Polacek --- With this patch diff --git a/gcc/cp/call.c b/gcc/cp/call.c index fb67d905acd..d9073d7c23d 100644 --- a/gcc/cp/call.c +++ b/gcc/cp/call.c @@ -4246,7 +4246,7 @@ resolve_args (vec *args, tsubst_flags_t

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #5 from Eric Botcazou --- > I wonder if we shouldn't do: > --- gcc/tree-ssa-dom.c.jj 2019-02-26 14:13:08.296824100 +0100 > +++ gcc/tree-ssa-dom.c2019-02-28 15:46:52.285495060 +0100 > @@ -346,6 +346,9 @@

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P1 Summary|[9 Regression]

[Bug c++/89537] missing location for error

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #12 from Jakub Jelinek --- #c2 with it still fails though.

[Bug c++/88049] [7/8/9 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r231671

2019-02-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88049 --- Comment #7 from Jan Hubicka --- I am happy with the patch in #5, so you can consider it pre-approved. It is probably your call whether to declare the code invalid at first place.

[Bug lto/88585] [9 Regression] ICE in fld_incomplete_type_of, at tree.c:5295

2019-02-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88585 Jan Hubicka changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug lto/88585] [9 Regression] ICE in fld_incomplete_type_of, at tree.c:5295

2019-02-28 Thread hubicka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88585 --- Comment #5 from Jan Hubicka --- Author: hubicka Date: Thu Feb 28 16:45:44 2019 New Revision: 269282 URL: https://gcc.gnu.org/viewcvs?rev=269282=gcc=rev Log: PR lto/88585 * tree.c (find_atomic_core_type): Move ahead in file.

[Bug c++/89537] missing location for error

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 --- Comment #4 from Marek Polacek --- loc is UNKNOWN_LOCATION: (gdb) up #1 0x00b98003 in invalid_nonstatic_memfn_p (loc=0, expr=, complain=3) at /home/mpolacek/src/gcc/gcc/cp/typeck.c:1896 1896 error_at (loc,

[Bug c++/88049] [7/8 Regression] ICE in lto_symtab_prevailing_virtual_decl at gcc/lto/lto-symtab.c:1075 since r23

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

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 Jakub Jelinek changed: What|Removed |Added Attachment #45856|0 |1 is obsolete|

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #8 from Eric Botcazou --- > Isn't that different though? I mean, even if we have int type and have [0, > 1] range and have a check that the value isn't 0, then it must be 1. Then I don't understand the problem in the BIT_NOT_EXPR

[Bug tree-optimization/89536] [9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 Jakub Jelinek changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org ---

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #3 from Jakub Jelinek --- I wonder if we shouldn't do: --- gcc/tree-ssa-dom.c.jj 2019-02-26 14:13:08.296824100 +0100 +++ gcc/tree-ssa-dom.c 2019-02-28 15:46:52.285495060 +0100 @@ -346,6 +346,9 @@ edge_info::derive_equivalences

[Bug c++/89537] New: missing location for error

2019-02-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 Bug ID: 89537 Summary: missing location for error Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

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

[Bug c++/89537] missing location for error

2019-02-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 --- Comment #1 from Jonathan Wakely --- Created attachment 45855 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45855=edit gzipped unreduced testcase

[Bug fortran/89496] [9 Regression] gcc/fortran/trans-types.c:3015:9: runtime error: member access within null pointer of type 'struct gfc_formal_arglist'

2019-02-28 Thread damian at sourceryinstitute dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89496 Damian Rouson changed: What|Removed |Added CC||damian at sourceryinstitute dot or

[Bug c++/89532] [9 Regression] internal compiler error: in type_has_nontrivial_copy_init, at cp/tree.c:4024

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89532 --- Comment #2 from Marek Polacek --- struct tuple; template struct S { };

[Bug c++/71446] Incorrect overload resolution when using designated initializers

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71446 --- Comment #11 from Jakub Jelinek --- So like (untested): --- gcc/call.c.jj 2019-02-28 08:14:58.251562934 +0100 +++ gcc/call.c 2019-02-28 17:04:49.697357298 +0100 @@ -819,7 +819,7 @@ build_list_conv (tree type, tree ctor, i conversion

[Bug c++/89537] missing location for error

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

[Bug fortran/67542] ICE in gfc_emit_parameter_debug_info, at fortran/trans-decl.c:4947 and :4945

2019-02-28 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67542 --- Comment #11 from G. Steinmetz --- Well, the ICEs are gone for all posted test cases above. Assuming that different shapes are not supported as an extension (aka feature), as such they are not standard-conforming. F2018 7.5.10 item 2 says

[Bug sanitizer/82501] AddressSanitizer does not handle negative offset for first global variable

2019-02-28 Thread a.drobyshev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501 --- Comment #22 from Andrey Drobyshev --- Created attachment 45851 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45851=edit Work-in-progress fix considering relocations I'm a bit stuck. I managed to precompute reloc value for the globals

[Bug rtl-optimization/80791] [8/9 regression] test case gcc.dg/sms-1.c fail2 starting with r247885

2019-02-28 Thread linkw at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80791 --- Comment #24 from Kewen Lin --- (In reply to bin cheng from comment #23) > (In reply to Kewen Lin from comment #22) > > As the discussion above, on Power any IV should have an extend (sign/zero) > > if its width is less than the GPR width

[Bug c++/63164] unnecessary calls to __dynamic_cast

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63164 Jakub Jelinek changed: What|Removed |Added CC||hubicka at gcc dot gnu.org,

[Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism

2019-02-28 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741 --- Comment #9 from Thomas Schwinge --- Author: tschwinge Date: Thu Feb 28 20:31:01 2019 New Revision: 269285 URL: https://gcc.gnu.org/viewcvs?rev=269285=gcc=rev Log: [PR72741, PR89433] Accept intrinsic symbols in Fortran OpenACC 'routine'

[Bug fortran/68544] ICE trying to pass derived type constructor as a function

2019-02-28 Thread anlauf at gmx dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544 --- Comment #9 from Harald Anlauf --- (In reply to kargl from comment #8) > Index: gcc/fortran/resolve.c > === > --- gcc/fortran/resolve.c (revision 266281) > +++

[Bug fortran/77604] ICE in get_frame_type, at tree-nested.c:208

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

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #12 from Eric Botcazou --- > On the testcase, value is -2 and before your change it would derive > correctly that if BIT_NOT_EXPR is -2, then rhs must be ~-2, i.e. 1, but > after the patch it says rhs must be 0. Right, an annoying

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #13 from Eric Botcazou --- > On the testcase, value is -2 and before your change it would derive > correctly that if BIT_NOT_EXPR is -2, then rhs must be ~-2, i.e. 1, but > after the patch it says rhs must be 0. The oversight is

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #16 from Eric Botcazou --- > So, for BIT_AND_EXPR we only handle the case where the result of > BIT_AND_EXPR is known to be non-zero. That means both operands have to be > non-zero (and have at least one common bit). Now, if say

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #18 from Jakub Jelinek --- We do take the range as granted in both cases. If for BIT_NOT_EXPR on say int the result is -2 or -1, then your TREE_INT_CST_LOW fix would DTRT, sure. If the result is any other value, then we run into

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #14 from Jakub Jelinek --- (In reply to Eric Botcazou from comment #12) > > Adding integer_onep wouldn't be > > correct IMHO, if you have some non-boolean non-prec==1 integral type, even > > if you know rhs has range [0, 1], if

[Bug fortran/87751] ICE in gfc_trans_assignment_1, at fortran/trans-expr.c:10255

2019-02-28 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87751 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING Known to fail|

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #11 from Jakub Jelinek --- The [0, 1] range in that case (if not boolean or prec==1) is not the property of the type, but just that optimizations figured out the SSA_NAME will not have other values. In tree-ssa-dom.c it goes in the

[Bug fortran/71544] gfortran compiler optimization bug when dealing with c-style pointers

2019-02-28 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71544 --- Comment #13 from Thomas Koenig --- This looks like it does the trick (test case passes): Index: trans-types.c === --- trans-types.c (Revision 269260) +++ trans-types.c

[Bug c/89433] Repeated use of the OpenACC 'routine' directive

2019-02-28 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89433 --- Comment #2 from Thomas Schwinge --- Author: tschwinge Date: Thu Feb 28 20:31:36 2019 New Revision: 269287 URL: https://gcc.gnu.org/viewcvs?rev=269287=gcc=rev Log: [PR72741, PR89433] Repeated use of the Fortran OpenACC 'routine' directive

[Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism

2019-02-28 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741 --- Comment #10 from Thomas Schwinge --- Author: tschwinge Date: Thu Feb 28 20:31:23 2019 New Revision: 269286 URL: https://gcc.gnu.org/viewcvs?rev=269286=gcc=rev Log: [PR72741] For all Fortran OpenACC 'routine' directive variants check for

[Bug fortran/72741] Fortran OpenACC routine directive doesn't properly handle clauses specifying the level of parallelism

2019-02-28 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72741 --- Comment #11 from Thomas Schwinge --- Author: tschwinge Date: Thu Feb 28 20:31:36 2019 New Revision: 269287 URL: https://gcc.gnu.org/viewcvs?rev=269287=gcc=rev Log: [PR72741, PR89433] Repeated use of the Fortran OpenACC 'routine' directive

[Bug c/89433] Repeated use of the OpenACC 'routine' directive

2019-02-28 Thread tschwinge at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89433 --- Comment #1 from Thomas Schwinge --- Author: tschwinge Date: Thu Feb 28 20:31:01 2019 New Revision: 269285 URL: https://gcc.gnu.org/viewcvs?rev=269285=gcc=rev Log: [PR72741, PR89433] Accept intrinsic symbols in Fortran OpenACC 'routine'

[Bug c++/89537] missing location for error

2019-02-28 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89537 --- Comment #6 from Jonathan Wakely --- (In reply to Marek Polacek from comment #5) > 89537.C:9:18: error: invalid use of non-static member function ‘void B< > , , > , >::keys() [with _Tp = > int; = int; = A; > = A]’ > 9 | :

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #15 from Jakub Jelinek --- How is BIT_NOT_EXPR expanded for the prec > 1 BOOLEAN_TYPEs btw? If it is normal QImode or SImode etc. one's complement, then I'd say it is a bug if match.pd generates such BIT_NOT_EXPRs.

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #17 from Eric Botcazou --- > How is BIT_NOT_EXPR expanded for the prec > 1 BOOLEAN_TYPEs btw? If it is > normal QImode or SImode etc. one's complement, then I'd say it is a bug if > match.pd generates such BIT_NOT_EXPRs. No idea

[Bug c++/89538] [7.3.0] GCC miscompiling LLVM because of wrong vectorization

2019-02-28 Thread twoh at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538 --- Comment #1 from Taewook Oh --- And I confirmed that this bug doesn't reproduce with GCC5.

[Bug c++/89538] New: [7.3.0] GCC miscompiling LLVM because of wrong vectorization

2019-02-28 Thread twoh at fb dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89538 Bug ID: 89538 Summary: [7.3.0] GCC miscompiling LLVM because of wrong vectorization Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/68544] ICE trying to pass derived type constructor as a function

2019-02-28 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68544 kargl at gcc dot gnu.org changed: What|Removed |Added CC||kargl at gcc dot gnu.org ---

[Bug fortran/84868] [7/8/9 Regression] ICE in gfc_conv_descriptor_offset, at fortran/trans-array.c:208

2019-02-28 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84868 anlauf at gcc dot gnu.org changed: What|Removed |Added CC||anlauf at gcc dot gnu.org

[Bug fortran/60576] [7/8/9 Regression] FAIL: gfortran.dg/assumed_rank_7.f90

2019-02-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60576 --- Comment #29 from Dominique d'Humieres --- > Is this still an issue? I still get the stack-buffer-overflow reported in comment 26 with 8.2 and trunk (9.0) but not with 7.4.

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89536 --- Comment #19 from Eric Botcazou --- > We do take the range as granted in both cases. If for BIT_NOT_EXPR on say > int the result is -2 or -1, then your TREE_INT_CST_LOW fix would DTRT, sure. > If the result is any other value, then we run

[Bug fortran/77604] ICE in get_frame_type, at tree-nested.c:208

2019-02-28 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77604 Dominique d'Humieres changed: What|Removed |Added Priority|P3 |P4 --- Comment #5 from Dominique

[Bug c/89539] New: [9.0 regression] gcc fails to build/bootstrap on MACOSX

2019-02-28 Thread juergen.reuter at desy dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89539 Bug ID: 89539 Summary: [9.0 regression] gcc fails to build/bootstrap on MACOSX Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]

2019-02-28 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87068 --- Comment #3 from Marek Polacek --- Author: mpolacek Date: Thu Feb 28 22:29:42 2019 New Revision: 269288 URL: https://gcc.gnu.org/viewcvs?rev=269288=gcc=rev Log: PR c++/87068 - missing diagnostic with fallthrough statement. *

[Bug c++/87068] No diagnostic on an ill-formed [[fallthrough]]

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

[Bug tree-optimization/89536] [8/9 Regression] wrong code at -Os and above on x86_64-linux-gnu

2019-02-28 Thread ebotcazou at gcc dot gnu.org
::derive_equivalences) : Test only whether bit #0 of the value is 0 instead of the entire value. Added: branches/gcc-8-branch/gcc/testsuite/gcc.c-torture/execute/20190228-1.c - copied unchanged from r269289, trunk/gcc/testsuite/gcc.c-torture/execute/20190228-1.c Modified: branches/gcc

[Bug c++/86969] [8/9 Regression] ICE (in tsubst_copy) for a generic recursive lambda

2019-02-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86969 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Mar 1 00:08:21 2019 New Revision: 269292 URL: https://gcc.gnu.org/viewcvs?rev=269292=gcc=rev Log: PR c++/86969 - ICE with constexpr if and recursive generic lambdas.

[Bug c++/88183] [8/9 Regression] Fold expression with operator .* inside an polymorphic lambda

2019-02-28 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88183 --- Comment #6 from Jason Merrill --- Author: jason Date: Fri Mar 1 00:08:58 2019 New Revision: 269293 URL: https://gcc.gnu.org/viewcvs?rev=269293=gcc=rev Log: PR c++/88183 - ICE with .* fold-expression. build_m_component_ref can't

  1   2   >