[Bug c++/87480] [8/9 Regression] SFINAE constructor not matched, only in templated function

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

[Bug c++/89767] ICE with tuple and optimization

2019-03-18 Thread klystron25 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767 --- Comment #1 from Steven Blah --- This also fails on 8.2.

[Bug c++/89767] New: ICE with tuple and optimization

2019-03-18 Thread klystron25 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89767 Bug ID: 89767 Summary: ICE with tuple and optimization Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug tree-optimization/89720] [9 Regression] Spurious -Warray-bounds warning on a range with max < min

2019-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89720 --- Comment #6 from Martin Sebor --- (In reply to Steinar H. Gunderson from comment #3) > Are there also any plans to make the warning easier to trace? If you are referring to the missing inlining context (as discussed in bug 86650) then

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

2019-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56456 Bug 56456 depends on bug 89720, which changed state. Bug 89720 Summary: [9 Regression] Spurious -Warray-bounds warning on a range with max < min https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89720 What|Removed

[Bug tree-optimization/89720] [9 Regression] Spurious -Warray-bounds warning on a range with max < min

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

[Bug tree-optimization/89720] [9 Regression] Spurious -Warray-bounds warning on a range with max < min

2019-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89720 --- Comment #4 from Martin Sebor --- Author: msebor Date: Mon Mar 18 23:48:50 2019 New Revision: 269785 URL: https://gcc.gnu.org/viewcvs?rev=269785=gcc=rev Log: PR tree-optimization/89720 - Spurious -Warray-bounds warning on a range with max <

Invitation to Submit Your Paper

2019-03-18 Thread Maydim Malkov
Dear Researcher/Author, We publish peer-reviewed academic journals dedicated to the advancement of innovative science and technology. Now we sincerely invite scholars and researchers to submit papers to the journals or to join in the editorial board/reviewer team.

[Bug c++/80265] __builtin_{memcmp,memchr,strlen} are not usable in constexpr functions

2019-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80265 --- Comment #40 from Jonathan Wakely --- I'm not sure if we really need these builtins in constexpr functions now, as we can use is_constant_evaluated to avoid dispatching to optimised implementations using memcmp. Maybe we can close this.

[Bug other/44032] internals documentation is not legally safe to use

2019-03-18 Thread joseph at codesourcery dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44032 --- Comment #6 from joseph at codesourcery dot com --- I don't have anything further to add on this issue. If you want a docstring relicensing review you should say so when submitting a patch; for other cases of relicensing not covered by

[Bug c++/89766] New: ICE: canonical types differ for identical types, -std=c++17

2019-03-18 Thread rimvydas.jas at gmail dot com
g++ (GCC) 8.3.1 20190318 [gcc-8-branch revision 5d34f779cb1:731cdfacfef:2f978d6d097b6ad2a2fdff05d1f20a86ab674ceb] from libs/contract/src/contract.cpp:11: ./boost/function/function_template.hpp:523:9: internal compiler error: canonical types differ for identical types 'F

[Bug c++/89630] [9 Regression] FAIL: g++.dg/cpp0x/alias-decl-64.C

2019-03-18 Thread hjl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89630 --- Comment #10 from hjl at gcc dot gnu.org --- Author: hjl Date: Mon Mar 18 21:22:30 2019 New Revision: 269781 URL: https://gcc.gnu.org/viewcvs?rev=269781=gcc=rev Log: Add a test for PR c++/89630 PR c++/89630 *

[Bug target/82170] gcc optimizes int range-checking poorly on x86-64

2019-03-18 Thread eggert at gnu dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82170 Paul Eggert changed: What|Removed |Added Version|7.1.1 |8.3.1 --- Comment #10 from Paul Eggert

[Bug tree-optimization/89720] [9 Regression] Spurious -Warray-bounds warning on a range with max < min

2019-03-18 Thread steinar+gcc at gunderson dot no
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89720 --- Comment #3 from Steinar H. Gunderson --- Are there also any plans to make the warning easier to trace?

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/89761] [9 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select)

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89761 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/89630] [9 Regression] FAIL: g++.dg/cpp0x/alias-decl-64.C

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89630 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug libstdc++/89763] Making iterator's operator== breaks existing code

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

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 --- Comment #11 from Jonathan Wakely --- (In reply to Tadeus Prastowo from comment #7) > The code in question, which is simplified below to match the real use-case, > does not involve template specialization, and so, the quoted passage does >

[Bug c++/58074] [C++11][DR 1333] __is_trivial intrinsic fails for deleted members and for non-trivial copy-c'tors

2019-03-18 Thread richard-gccbugzilla at metafoo dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58074 --- Comment #11 from Richard Smith --- The point of trivial (as distinguished from trivially-copyable) is that an instance of type T can be created and "properly" initialized (albeit left with an indeterminate value) without executing any code.

[Bug middle-end/88273] [8 Regression] warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Warray-bounds]

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

[Bug middle-end/88273] [8 Regression] warning: 'memcpy' offset [-527, -529] is out of the bounds [0, 16] of object 'vrsave' with type 'union ' [-Warray-bounds]

2019-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88273 --- Comment #14 from Martin Sebor --- Author: msebor Date: Mon Mar 18 19:44:02 2019 New Revision: 269778 URL: https://gcc.gnu.org/viewcvs?rev=269778=gcc=rev Log: Backport from mainline: PR middle-end/88273 - [8/9 Regression] warning: 'memcpy'

[Bug c++/89630] [9 Regression] FAIL: g++.dg/cpp0x/alias-decl-64.C

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89630 --- Comment #8 from Jason Merrill --- Author: jason Date: Mon Mar 18 19:37:00 2019 New Revision: 269777 URL: https://gcc.gnu.org/viewcvs?rev=269777=gcc=rev Log: PR c++/89630 - ICE with dependent using-decl as template arg. Even though

[Bug c++/89761] [9 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select)

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89761 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 18 19:35:12 2019 New Revision: 269776 URL: https://gcc.gnu.org/viewcvs?rev=269776=gcc=rev Log: PR c++/89761 - ICE with sizeof... in pack expansion. In this testcase we

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89640 --- Comment #5 from Jason Merrill --- Author: jason Date: Mon Mar 18 19:34:47 2019 New Revision: 269775 URL: https://gcc.gnu.org/viewcvs?rev=269775=gcc=rev Log: PR c++/89640 - GNU attributes on lambda. My patch for PR 60503 to fix

[Bug c++/60503] gcc looks for C++ attributes in the wrong place in a lambda-expression

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60503 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 18 19:34:47 2019 New Revision: 269775 URL: https://gcc.gnu.org/viewcvs?rev=269775=gcc=rev Log: PR c++/89640 - GNU attributes on lambda. My patch for PR 60503 to fix

[Bug c++/87996] [8 Regression] "size of array is negative" error when SIZE_MAX/2 < sizeof(array) <= SIZE_MAX

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

[Bug target/89765] New: Multiple problems with vec-insert implementation on PowerPC

2019-03-18 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89765 Bug ID: 89765 Summary: Multiple problems with vec-insert implementation on PowerPC Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal

[Bug c++/89630] [9 Regression] FAIL: g++.dg/cpp0x/alias-decl-64.C

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

[Bug tree-optimization/89720] [9 Regression] Spurious -Warray-bounds warning on a range with max < min

2019-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89720 Martin Sebor changed: What|Removed |Added Keywords||patch Summary|[9 Regression]

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-18 Thread dave.anglin at bell dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #21 from dave.anglin at bell dot net --- On 2019-03-18 2:15 p.m., dominiq at lps dot ens.fr wrote: > Are you planning to submit the patch to the mail lists? While it seems to work, it is clear the author of this code thought ndigits

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-18 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #20 from Dominique d'Humieres --- > Created attachment 45989 [details] > Patch > > This fixes the stack overflow in memcpy. Are you planning to submit the patch to the mail lists?

[Bug c++/89757] accepts returning with reference to temporary in constant expression

2019-03-18 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89757 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org

[Bug sanitizer/89764] New: ubsan diagnostic on generic lambdas decayed to function pointers

2019-03-18 Thread patrick.a.moran at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89764 Bug ID: 89764 Summary: ubsan diagnostic on generic lambdas decayed to function pointers Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal

[Bug fortran/68009] [7/8/9 Regression] prototype for gfortran_runtime_error with inline matmul

2019-03-18 Thread tkoenig at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68009 --- Comment #13 from Thomas Koenig --- Author: tkoenig Date: Mon Mar 18 17:35:54 2019 New Revision: 269769 URL: https://gcc.gnu.org/viewcvs?rev=269769=gcc=rev Log: 2019-03-18 Thomas Koenig PR fortran/68009 * iresolve.c:

[Bug c++/89757] accepts returning with reference to temporary in constant expression

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

[Bug libstdc++/89763] New: Making iterator's operator== breaks existing code

2019-03-18 Thread dan at stahlke dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89763 Bug ID: 89763 Summary: Making iterator's operator== breaks existing code Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug lto/89762] New: Mixing optimization levels with ostream gives lto1: internal compiler error: in get_odr_type, at ipa-devirt.c:2098

2019-03-18 Thread dan at stahlke dot org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89762 Bug ID: 89762 Summary: Mixing optimization levels with ostream gives lto1: internal compiler error: in get_odr_type, at ipa-devirt.c:2098 Product: gcc Version:

[Bug rtl-optimization/84842] [7/8/9 Regression] ICE in verify_target_availability, at sel-sched.c:1569

2019-03-18 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 Andrey Belevantsev changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread tadeus.prastowo at unitn dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 --- Comment #10 from Tadeus Prastowo --- Okay, I see it now. Thank you very much, Jakub, for your clear explanation.

[Bug c++/89744] [8/9 Regression] ICE with specialization of nested template class

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89744 Jakub Jelinek changed: What|Removed |Added CC||jason at gcc dot gnu.org --- Comment #3

[Bug c++/89761] [9 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select)

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89761 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug fortran/37577] [meta-bug] change internal array descriptor format for better syntax, C interop TR, rank 15

2019-03-18 Thread egallager at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37577 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org ---

[Bug c++/89744] [8/9 Regression] ICE with specialization of nested template class

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89744 --- Comment #2 from Jakub Jelinek --- The second testcase still works with r8 and ICEs with r9, don't have anything in between and these old compilers are getting hard to build.

[Bug c++/89640] [9 Regression] g++ chokes on lambda with __attribute__

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

[Bug c++/89744] [8/9 Regression] ICE with specialization of nested template class

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

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 --- Comment #9 from Jakub Jelinek --- That is the C++11 wording, e.g. the C++17 wording is: "a hypothetical instantiation of a template immediately following its definition would be ill-formed due to a construct that does not depend on a

[Bug c++/89761] [9 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select)

2019-03-18 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89761 Marek Polacek changed: What|Removed |Added Keywords||ice-on-valid-code Target

[Bug c++/89761] [9.0 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select)

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

[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89682 --- Comment #3 from Jason Merrill --- Author: jason Date: Mon Mar 18 15:58:24 2019 New Revision: 269766 URL: https://gcc.gnu.org/viewcvs?rev=269766=gcc=rev Log: PR c++/89682 - wrong access error in default argument. Here we were

[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89682 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug regression/89733] [7/8/9 Regression] False positive -Wuninitialized in C++14+ mode

2019-03-18 Thread nok.raven at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89733 --- Comment #2 from Nikita Kniazev --- Created attachment 45990 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45990=edit preprocessed repro

[Bug c++/89761] New: [9.0 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select)

2019-03-18 Thread leni536 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89761 Bug ID: 89761 Summary: [9.0 Regression] ICE: tree check: expected class 'expression', have 'exceptional' (argument_pack_select) Product: gcc Version: 9.0

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 Jakub Jelinek changed: What|Removed |Added Status|REOPENED|RESOLVED Resolution|---

[Bug target/89736] New test pr87532-mc.c fails on compiler not defaulting to VSX

2019-03-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89736 --- Comment #2 from Segher Boessenkool --- I found this on a Power7 (maybe -m32, not sure). Your patch is eerily like what I did to fix this in testing, but the comment right below says it does not use -mvsx on purpose?

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #11 from Jakub Jelinek --- Actually can't bisect, as gcc 8 I have installed is no longer able to build r215000 or revisions around it (some error on wide-int.h: ../../gcc/wide-int.h:372:10: error: too many template-parameter-lists

[Bug libstdc++/89759] pop_back on empty vector gives wrong size

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

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread tadeus.prastowo at unitn dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 Tadeus Prastowo changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID

[Bug libstdc++/89758] queue and priority queue show invalid size when empty container is poped. Further pushes lead to inconsistent values/ queue state

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

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #19 from John David Anglin --- The patch also fixes test failure on hppa2.0w-hp-hpux11.11.

[Bug c++/89682] [9 Regression] g++9 incorrectly disallows using private static method as default arg to ctor of template type

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

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #10 from Wilco --- It seems that rewriting "+rm" into "=rm" and "0" is not equivalent. Eg. __asm__ ("" : [a0] "=m" (A0) : "0" (A0)); gives a million warnings "matching constraint does not allow a register", so "0" appears to imply

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #18 from John David Anglin --- Created attachment 45989 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45989=edit Patch This fixes the stack overflow in memcpy.

[Bug libfortran/89747] valgrind error in gfc_match_decl_type_spec

2019-03-18 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89747 Martin Liška changed: What|Removed |Added Status|WAITING |ASSIGNED Assignee|unassigned

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 --- Comment #5 from Jakub Jelinek --- This needs to be verified by our C++ language lawyers, but if: "If no valid specialization can be generated for a template definition, and that template is not instantiated, the template definition is

[Bug libstdc++/89760] [9 Regression] libstdc++ experimental testsuite failures

2019-03-18 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89760 David Edelsohn changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89760] New: [9 Regression] libstdc++ experimental testsuite failures

2019-03-18 Thread dje at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89760 Bug ID: 89760 Summary: [9 Regression] libstdc++ experimental testsuite failures Product: gcc Version: 9.0 Status: UNCONFIRMED Keywords: rejects-valid

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread tadeus.prastowo at unitn dot it
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 --- Comment #4 from Tadeus Prastowo --- My use-case is to use the instantiation of `struct X' to fire the static assert.

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #17 from John David Anglin --- 0x7adcb864 :cmpclr,> r21,r3,r0 0x7adcb868 :copy r21,r3 0x7adcb86c :stw r20,-8c(sp) 0x7adcb870 :stw r21,-90(sp) 0x7adcb874 :copy r19,r4

[Bug libstdc++/52114] SFINAE out the rvalue iostream operators to give better error messages

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

[Bug libstdc++/89759] pop_back on empty vector gives wrong size

2019-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89759 --- Comment #1 from Richard Biener --- It's probably undefined to pop_back () on an empty vector.

[Bug rtl-optimization/84206] ICE in get_all_loop_exits, at sel-sched-ir.h:1138

2019-03-18 Thread abel at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84206 Andrey Belevantsev changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #9 from Jakub Jelinek --- Bisecting now, r21 still works, r215000 ICEs.

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #8 from rguenther at suse dot de --- On Mon, 18 Mar 2019, jakub at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 > > Jakub Jelinek changed: > >What|Removed |Added

[Bug libfortran/79540] [7/8/9 Regression] FAIL: gfortran.dg/fmt_fw_d.f90 -O0 execution test

2019-03-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79540 --- Comment #16 from John David Anglin --- print '(f2.1)',100.00 end Here is backtrace info: Breakpoint 2, 0x7afce720 in memcpy () from /usr/lib/libc.2 (gdb) p/x $r26 $6 = 0x7eff0c1d (gdb) p/x $r25 $8 = 0x7eff0d9a (gdb) p/x $r24 $5 =

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 Jakub Jelinek changed: What|Removed |Added CC||jakub at gcc dot gnu.org --- Comment #7

[Bug tree-optimization/88945] ICE in fold_convert_loc in FRE when using -fdump-tree-fre-details

2019-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88945 Richard Biener changed: What|Removed |Added Status|NEW |RESOLVED Known to work|

[Bug tree-optimization/88945] ICE in fold_convert_loc in FRE when using -fdump-tree-fre-details

2019-03-18 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88945 --- Comment #4 from Richard Biener --- Author: rguenth Date: Mon Mar 18 13:59:11 2019 New Revision: 269765 URL: https://gcc.gnu.org/viewcvs?rev=269765=gcc=rev Log: 2019-03-18 Richard Biener PR middle-end/88945 *

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #6 from Jakub Jelinek --- It is on: __asm__("" : "a0" "=rm" A0, "a1" "=rm" A1 : "0" A0, "1" A1); where A0 and A1 are variables with LhsPacket type, which is 2 byte TYPE_ADDRESSABLE aggregate type. The r in the constraints looks

[Bug target/89736] New test pr87532-mc.c fails on compiler not defaulting to VSX

2019-03-18 Thread kelvin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89736 --- Comment #1 from kelvin at gcc dot gnu.org --- Hi Segher, I agree with your analysis. I'm not sure we have easy access to a platform where I can demonstrate/reproduce the problem. Do you know where I can test this? I believe the proper

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread rguenther at suse dot de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #5 from rguenther at suse dot de --- On Mon, 18 Mar 2019, wilco at gcc dot gnu.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 > > --- Comment #4 from Wilco --- > Small example which generates the same ICE on every

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

2019-03-18 Thread a.drobyshev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501 --- Comment #26 from Andrey Drobyshev --- (In reply to Jakub Jelinek from comment #24) > (In reply to Martin Liška from comment #23) > > (In reply to Andrey Drobyshev from comment #22) > > > Created attachment 45851 [details] > > >

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

2019-03-18 Thread a.drobyshev at samsung dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82501 --- Comment #25 from Andrey Drobyshev --- (In reply to Martin Liška from comment #23) > (In reply to Andrey Drobyshev from comment #22) > > Created attachment 45851 [details] > > Work-in-progress fix considering relocations > > > > I'm a bit

[Bug libstdc++/89759] New: pop_back on empty vector gives wrong size

2019-03-18 Thread anshulaggarwal987654321 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89759 Bug ID: 89759 Summary: pop_back on empty vector gives wrong size Product: gcc Version: 7.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug libstdc++/89758] queue and priority queue show invalid size when empty container is poped. Further pushes lead to inconsistent values/ queue state

2019-03-18 Thread anshulaggarwal987654321 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89758 --- Comment #1 from anshul aggarwal --- uncomfirmed : the dataStructure might try to "free" unowned memory

[Bug tree-optimization/89754] Vectorizer cost model check should look at evolution of niter in outer loop(s)

2019-03-18 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89754 rsandifo at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug libstdc++/89758] New: queue and priority queue show invalid size when empty container is poped. Further pushes lead to inconsistent values

2019-03-18 Thread anshulaggarwal987654321 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89758 Bug ID: 89758 Summary: queue and priority queue show invalid size when empty container is poped. Further pushes lead to inconsistent values Product: gcc Version:

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #4 from Wilco --- Small example which generates the same ICE on every GCC version: typedef struct { int x, y, z; } X; void f(void) { X A0, A1; __asm__ ("" : [a0] "+rm" (A0),[a1] "+rm" (A1)); } So it's completely invalid inline

[Bug c++/89757] New: accepts returning with reference to temporary in constant expression

2019-03-18 Thread leni536 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89757 Bug ID: 89757 Summary: accepts returning with reference to temporary in constant expression Product: gcc Version: 8.3.0 Status: UNCONFIRMED Severity: normal

[Bug d/89756] New: FAIL: gdc.dg/asm4.d -O0 (internal compiler error)

2019-03-18 Thread danglin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89756 Bug ID: 89756 Summary: FAIL: gdc.dg/asm4.d -O0 (internal compiler error) Product: gcc Version: 9.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/89746] powerpc-none-eabi-gcc emits code using stfiwx to misaligned address

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

[Bug target/89746] powerpc-none-eabi-gcc emits code using stfiwx to misaligned address

2019-03-18 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89746 --- Comment #5 from Segher Boessenkool --- Yes, it is just a code quality issue. I have the attached patch, and it works; it needs to be updated so that the alignment check is only done for CPUs where it is needed.

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 --- Comment #3 from Wilco --- Full instruction: (insn 531 530 532 19 (parallel [ (set (mem/c:BLK (reg:DI 3842) [29 A0+0 S2 A64]) (asm_operands:BLK ("") ("=rm") 0 [ (mem/c:BLK (reg:DI 3846) [29

[Bug c/89734] [7/8/9 Regression] const qualifier on return type not erased inside __typeof__

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89734 Jakub Jelinek changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED Last reconfirmed|

[Bug target/89752] [8/9 Regression] ICE in emit_move_insn, at expr.c:3723

2019-03-18 Thread wilco at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89752 Wilco changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

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

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #11 from Martin Jambor --- Author: jamborm Date: Mon Mar 18 11:31:52 2019 New Revision: 269762 URL: https://gcc.gnu.org/viewcvs?rev=269762=gcc=rev Log: Add forgotten requeing in propagate_subaccesses_across_link 2019-03-18 Martin

[Bug tree-optimization/89546] [8/9 Regression] Suspected arm flint miscompilation starting with r255510

2019-03-18 Thread jamborm at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89546 --- Comment #10 from Martin Jambor --- Author: jamborm Date: Mon Mar 18 11:28:01 2019 New Revision: 269761 URL: https://gcc.gnu.org/viewcvs?rev=269761=gcc=rev Log: Add forgotten requeing in propagate_subaccesses_across_link 2019-03-18 Martin

[Bug c++/89741] [9 Regression] static_assert fires when template not instantiated

2019-03-18 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89741 --- Comment #3 from Jakub Jelinek --- This might actually be invalid testcase with no diagnostics required though. Certainly no instantiations of X can be accepted.

  1   2   >