[Bug c++/93589] New: Template instantiation creates a conversion warning when it should not

2020-02-04 Thread lokeshjanghel91 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93589 Bug ID: 93589 Summary: Template instantiation creates a conversion warning when it should not Product: gcc Version: 9.2.0 Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/93588] New: Vectorized load followed by FMA pessimizes on Haswell from version 8.1

2020-02-04 Thread alex.reinking at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93588 Bug ID: 93588 Summary: Vectorized load followed by FMA pessimizes on Haswell from version 8.1 Product: gcc Version: 8.1.0 Status: UNCONFIRMED Severity: normal

[Bug target/93587] New: [RX] bclr,bnot,bset on byte memory with bit 7 not fused

2020-02-04 Thread olegendo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93587 Bug ID: 93587 Summary: [RX] bclr,bnot,bset on byte memory with bit 7 not fused Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal

[Bug tree-optimization/93586] [10 Regression] wrong code at -O1 on x86_64-linux-gnu

2020-02-04 Thread qrzhang at gatech dot edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93586 --- Comment #2 from Qirun Zhang --- (In reply to Andrew Pinski from comment #1) > (In reply to Qirun Zhang from comment #0) > > commit ede31f6ffe73357705e95016046e77c7e3d6ad13 > > Author: Jan Hubicka > > Date: Tue Oct 1 21:46:09 2019 +0200 >

[Bug tree-optimization/93586] [10 Regression] wrong code at -O1 on x86_64-linux-gnu

2020-02-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93586 Andrew Pinski changed: What|Removed |Added Keywords||alias, wrong-code

[Bug tree-optimization/93586] wrong code at -O1 on x86_64-linux-gnu

2020-02-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93586 --- Comment #1 from Andrew Pinski --- (In reply to Qirun Zhang from comment #0) > commit ede31f6ffe73357705e95016046e77c7e3d6ad13 > Author: Jan Hubicka > Date: Tue Oct 1 21:46:09 2019 +0200 g:ede31f6ffe73357705e95016046e77c7e3d6ad13

[Bug c++/93585] Linker resolves variable with extern variable of same name but different type

2020-02-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93585 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug tree-optimization/93586] New: wrong code at -O1 on x86_64-linux-gnu

2020-02-04 Thread qrzhang at gatech dot edu
/configure --prefix=/home/absozero/trunk/root-gcc --enable-languages=c,c++ --disable-werror --enable-multilib Thread model: posix Supported LTO compression algorithms: zlib gcc version 10.0.1 20200204 (experimental) [master revision 5f0653a8b75:037d7906159:5bc9d2f5ed4c39a7cad74db34e2bb125e012fa60

[Bug c++/93585] New: Linker resolves variable with extern variable of same name but different type

2020-02-04 Thread normvcr at telus dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93585 Bug ID: 93585 Summary: Linker resolves variable with extern variable of same name but different type Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity:

[Bug c++/92003] [8/9/10 Regression] constexpr-ness of char const* doesn't propagate

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

[Bug libfortran/93567] G edit descriptor uses E instead of F editing in rounding mode UP

2020-02-04 Thread jvdelisle at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93567 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug target/91102] [9 Regression] aarch64 ICE on Linux kernel with -Os starting with r270266

2020-02-04 Thread kondratyuk.taras at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91102 Taras Kondratiuk changed: What|Removed |Added CC||kondratyuk.taras at gmail dot com

[Bug middle-end/84275] missing warning on conflicting alloc_size attributes on different declarations

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84275 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug analyzer/93543] [10 regression] bootstrap with clang fails in analyzer: reinterpret_cast from 'nullptr_t' to 'function *' is not allowed

2020-02-04 Thread gerald at pfeifer dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93543 --- Comment #7 from Gerald Pfeifer --- Thank you - and I just received confirmation that also the new patch addresses the original issue coming from a FreeBSD user with clang 9.0.1.

[Bug libstdc++/93584] New: std::string::find_first_not_of is about 9X slower than strspn

2020-02-04 Thread rafael at espindo dot la
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93584 Bug ID: 93584 Summary: std::string::find_first_not_of is about 9X slower than strspn Product: gcc Version: 9.2.1 Status: UNCONFIRMED Severity: normal

[Bug target/87213] ICE in final_scan_insn_1, at final.c:3070

2020-02-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87213 --- Comment #2 from Segher Boessenkool --- I don't know how I reproduced this before, but I cannot any more.

[Bug c++/92413] [temp.explicit] Explicit template instantiations should not define member functions that are not defined at the point of instantiation

2020-02-04 Thread dblaikie at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92413 --- Comment #3 from David Blaikie --- Ah, miswrote the example, here: template struct C {void foo();}; template struct C; template void C::foo() { static_assert(sizeof(T) == 1); } Here's a godbolt comparing Clang trunk and GCC trunk:

[Bug fortran/93579] [9/10 Regression] ICE in gfc_conv_substring_expr, at fortran/trans-expr.c:8587

2020-02-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93579 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

2020-02-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 --- Comment #2 from Segher Boessenkool --- Of course it first tried to do Failed to match this instruction: (parallel [ (set (reg:DI 101 [ _9 ]) (ctz:DI (reg/v:DI 98 [ x ]))) (set (reg:DI 100) (ctz:DI

[Bug rtl-optimization/93565] Combine duplicates count trailing zero instructions

2020-02-04 Thread segher at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93565 Segher Boessenkool changed: What|Removed |Added CC||segher at gcc dot gnu.org ---

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #11 from Martin Sebor --- -mtune=z13 seems to enable more inlining so many of the past-the-end references to the tempGrab local variable end up inlined into the bodies of the functions that define them. For example: PassivGrab.c:

[Bug c++/92593] [10 Regression] ICE with CTAD using undeclared constraint

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92593 Jason Merrill changed: What|Removed |Added Status|NEW |ASSIGNED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 93551, which changed state. Bug 93551 Summary: [10 Regression] Call from templated function to constrained constructor segfaults when attempting to narrow to bool https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93551

[Bug c++/93551] [10 Regression] Call from templated function to constrained constructor segfaults when attempting to narrow to bool

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93551 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/93551] [10 Regression] Call from templated function to constrained constructor segfaults when attempting to narrow to bool

2020-02-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93551 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:85409531ff032a008ebfbb715344648f15492dac commit r10-6438-g85409531ff032a008ebfbb715344648f15492dac Author: Jason Merrill Date:

[Bug c++/67727] [concepts] parameterized constraint not being checked for unused variables

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67727 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67727, which changed state. Bug 67727 Summary: [concepts] parameterized constraint not being checked for unused variables https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67727 What|Removed

[Bug c++/67720] [concepts] bug with recursive constrained function

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67720 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67720, which changed state. Bug 67720 Summary: [concepts] bug with recursive constrained function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67720 What|Removed |Added

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67719, which changed state. Bug 67719 Summary: [concepts] bug with concepts using logical or https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67719 What|Removed |Added

[Bug c++/67719] [concepts] bug with concepts using logical or

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67719 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67704, which changed state. Bug 67704 Summary: [concepts] requirements not being applied to aliases https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67704 What|Removed |Added

[Bug c++/67704] [concepts] requirements not being applied to aliases

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67704 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67697] [concepts] ICE when using non-constexpr in requires expression

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67697 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67697, which changed state. Bug 67697 Summary: [concepts] ICE when using non-constexpr in requires expression https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67697 What|Removed |Added

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67686, which changed state. Bug 67686 Summary: [concepts] segfault in finish_call_expr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67686 What|Removed |Added

[Bug c++/67686] [concepts] segfault in finish_call_expr function

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67686 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67684, which changed state. Bug 67684 Summary: [concepts] friend access not working with constrained function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67684 What|Removed |Added

[Bug c++/67684] [concepts] friend access not working with constrained function

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67684 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67658, which changed state. Bug 67658 Summary: [concepts] invalid code with constrained concepts compiles https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67658 What|Removed |Added

[Bug c++/67658] [concepts] invalid code with constrained concepts compiles

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67658 Jason Merrill changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67654, which changed state. Bug 67654 Summary: [concepts] ICE when using concepts in constexpr function https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67654 What|Removed |Added

[Bug c++/67654] [concepts] ICE when using concepts in constexpr function

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67654 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67545] [concepts] Failure to properly substitute template parameters into requires-clause

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67545 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67545, which changed state. Bug 67545 Summary: [concepts] Failure to properly substitute template parameters into requires-clause https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67545 What|Removed

[Bug c++/67319] Short-hand concepts for variadic member functions broken

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67319 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67319, which changed state. Bug 67319 Summary: Short-hand concepts for variadic member functions broken https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67319 What|Removed |Added

[Bug c++/67070] [concepts] Concept with negation and disjunction not checked correctly

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67070 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 67070, which changed state. Bug 67070 Summary: [concepts] Concept with negation and disjunction not checked correctly https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67070 What|Removed

[Bug c++/66844] [c++-concepts] Requires-expression parameter with void type

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66844 Jason Merrill changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/67491] [meta-bug] concepts issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67491 Bug 67491 depends on bug 66844, which changed state. Bug 66844 Summary: [c++-concepts] Requires-expression parameter with void type https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66844 What|Removed |Added

[Bug c++/90951] [8/9/10 Regression] error initializing a constexpr array of a struct with const member

2020-02-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90951 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:0712ea6313bc44f9ae8feb235c1b02c92cdd0527 commit r10-6437-g0712ea6313bc44f9ae8feb235c1b02c92cdd0527 Author: Jason Merrill Date:

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #10 from Marek Polacek --- Cross-compiled s390x-redhat-linux gcc shows that the warning appears with -mtune=z13, but not without it (using -O2).

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #9 from Marek Polacek --- Created attachment 47778 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47778=edit original .i file Attaching the original .i file

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #8 from Martin Sebor --- We would need to see the original code (the translation unit) to tell for sure why the warning is only issued on some targets and not on others, but the most likely answer is that the code results in

[Bug rtl-optimization/91333] [9/10 Regression] suboptimal register allocation for inline asm

2020-02-04 Thread vmakarov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91333 --- Comment #16 from Vladimir Makarov --- (In reply to rsand...@gcc.gnu.org from comment #15) > (In reply to Jakub Jelinek from comment #14) > > I think what matters is whether the new asm for those is the same or better > > than before. If the

[Bug target/93270] [8/9/10 Regression] DSE removes store incorrectly

2020-02-04 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93270 --- Comment #6 from Jeffrey A. Law --- I can live with that :-)

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread ajax at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #7 from Adam Jackson --- (In reply to Marek Polacek from comment #6) > Well, zero-length arrays are a GNU C extension, but pre-C99 you could use > pixels[1] and post-C99 you can use pixels[]. Is non of that an option? The code

[Bug c/93577] [8/9/10 Regression] internal compiler error: tree check: expected integer_cst, have non_lvalue_expr in get_len, at tree.h:5902

2020-02-04 Thread jakub at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93577 Jakub Jelinek changed: What|Removed |Added Priority|P3 |P4 Status|UNCONFIRMED

[Bug fortran/93580] [9/10 Regression] ICE in gfc_validate_kind(): Got bad kind

2020-02-04 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93580 kargl at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P4

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #6 from Marek Polacek --- (In reply to Adam Jackson from comment #5) > (In reply to Martin Sebor from comment #4) > > It seems like the reporter might be conflating the forming of a past-the-end > > pointer (what the GRABEXT macro

[Bug c++/93551] [10 Regression] Call from templated function to constrained constructor segfaults when attempting to narrow to bool

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

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread ajax at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 Adam Jackson changed: What|Removed |Added CC||ajax at redhat dot com --- Comment #5

[Bug c/93577] internal compiler error: tree check: expected integer_cst, have non_lvalue_expr in get_len, at tree.h:5902

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93577 --- Comment #1 from Yongheng Chen --- Stack dump: --- tt.c: In function ‘main’: tt.c:2:48: warning: implicit declaration of function ‘f’ [-Wimplicit-function-declaration] 2 | struct s { int x [ 16 == ( ( ( sizeof ( ( 3 , f ( ) > 1000 < 5000

[Bug c/93574] internal compiler error: tree check: expected class ‘type’, have ‘exceptional’ (error_mark) in c_expr_sizeof_expr, at c/c-typeck.c:2925

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93574 --- Comment #1 from Yongheng Chen --- Stack dump: --- tt.c:1:26: error: variable or field ‘y’ declared void 1 | struct s { struct { void y ; | ^ tt.c: In function ‘main’: tt.c:7:23: warning: implicit

[Bug c/93573] internal compiler error: in force_constant_size, at gimplify.c:733

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93573 --- Comment #1 from Yongheng Chen --- Stack dump: --- tt.c:1:5: error: ‘f1’ declared as function returning a function 1 | int f1 ( char * p ) ( ) { int x ; | ^~ tt.c: In function ‘f1’: tt.c:4:9: warning: implicit declaration of

[Bug c/93572] internal compiler error: q from h referenced in main

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93572 --- Comment #1 from Yongheng Chen --- Stack dump: --- tt.c:3:4: error: expected ‘;’, identifier or ‘(’ before ‘short’ 3 | } short main ( ) { int x ; |^ tt.c: In function ‘h’: tt.c:5:14: warning: comparison between pointer and

[Bug middle-end/93576] [10 Regression] internal compiler error: Segmentation fault (in gimplify.c)

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93576 --- Comment #6 from Yongheng Chen --- I see. I will do it for future bugs.

[Bug middle-end/93576] [10 Regression] internal compiler error: Segmentation fault (in gimplify.c)

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93576 --- Comment #5 from Martin Sebor --- The full compiler output is useful. Some of us use it to quickly see what part of the compiler is affected. It also helps make sure we're reproducing the same problem.

[Bug libstdc++/79193] libstdc++ configure incorrectly decides linking works for cross-compiler

2020-02-04 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79193 --- Comment #5 from sandra at gcc dot gnu.org --- *** Bug 88999 has been marked as a duplicate of this bug. ***

[Bug middle-end/93576] [10 Regression] internal compiler error: Segmentation fault (in gimplify.c)

2020-02-04 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93576 --- Comment #4 from Andrew Pinski --- (In reply to Yongheng Chen from comment #3) > It seems I overwrote Andrew Pinski's comment by mistake. Sorry about that LOL I did not have any comment changes, only the addition of the error-recovery

[Bug libstdc++/88999] [9/10 Regression] testcases using in_avail() fail on nios2-elf

2020-02-04 Thread sandra at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88999 sandra at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 Martin Sebor changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/93425] [9/10 Regression] Template parameter deduction failure when template parameters have template template parameter since r9-3807-g5d9a0e3b99e31a21

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93425 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/91793] [8/9/10 Regression] ICE on unexpanded parameter pack in lambda

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91793 Marek Polacek changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug c++/92003] [8/9/10 Regression] constexpr-ness of char const* doesn't propagate

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92003 Marek Polacek changed: What|Removed |Added Priority|P3 |P2

[Bug c++/93559] [10 Regression] ICE: side-effects element in no-side-effects CONSTRUCTOR

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93559 Marek Polacek changed: What|Removed |Added Priority|P3 |P1

[Bug c++/93549] [10 Regression] ICE / Segfault in constexpr expansion involving vector_size(16) short COND_EXPR

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93549 Marek Polacek changed: What|Removed |Added Priority|P3 |P1

[Bug c++/93551] [10 Regression] Call from templated function to constrained constructor segfaults when attempting to narrow to bool

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93551 Marek Polacek changed: What|Removed |Added Priority|P3 |P1 CC|

[Bug c++/90951] [8/9/10 Regression] error initializing a constexpr array of a struct with const member

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

[Bug c++/90966] [9/10 Regression] ICE in tsubst_copy, at cp/pt.c:16155

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90966 Jason Merrill changed: What|Removed |Added CC||haoranni at terpmail dot umd.edu ---

[Bug c++/92625] [8/9/10 Regression] Internal compiler error accessing element in static constexpr char array in template class using alias

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92625 Jason Merrill changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/55004] [meta-bug] constexpr issues

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55004 Bug 55004 depends on bug 92625, which changed state. Bug 92625 Summary: [8/9/10 Regression] Internal compiler error accessing element in static constexpr char array in template class using alias https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92625

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #3 from Marek Polacek --- This is about us not accepting the code anymore, I think it's what libXt relies on. Quoting Adam J.: "Where GRABEXT here is just doing the standard C trick for incrementing past the current struct and

[Bug middle-end/93576] [10 Regression] internal compiler error: Segmentation fault (in gimplify.c)

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93576 --- Comment #3 from Yongheng Chen --- It seems I overwrote Andrew Pinski's comment by mistake. Sorry about that LOL

[Bug c++/92625] [8/9/10 Regression] Internal compiler error accessing element in static constexpr char array in template class using alias

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

[Bug c++/93442] [8/9 Regression] lambda in if constexpr fails to compile since r8-5529

2020-02-04 Thread jason at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93442 Jason Merrill changed: What|Removed |Added Summary|[8/9/10 Regression] lambda |[8/9 Regression] lambda in

[Bug c++/86917] [8/9 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

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

[Bug middle-end/93576] [10 Regression] internal compiler error: Segmentation fault (in gimplify.c)

2020-02-04 Thread changochen1 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93576 --- Comment #2 from Yongheng Chen --- Hi Martin, I included the CMD line "gcc -o tmp poc.c" in the report but not the stack dump. Is the stack dump necessary? I didn't include it because I think the POC is enough to reproduce the problem and

[Bug c++/86917] [8/9/10 Regression] ICE in verify_ctor_sanity, at cp/constexpr.c:2798

2020-02-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86917 --- Comment #8 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a1c9c9ff06ab15e697d5bac6ea6e5da2df840cf5 commit r10-6436-ga1c9c9ff06ab15e697d5bac6ea6e5da2df840cf5 Author: Jason Merrill Date:

[Bug c++/92812] Implement P1975R0: Fixing the wording of parenthesized aggregate-initialization

2020-02-04 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92812 --- Comment #3 from CVS Commits --- The master branch has been updated by Jason Merrill : https://gcc.gnu.org/g:a1c9c9ff06ab15e697d5bac6ea6e5da2df840cf5 commit r10-6436-ga1c9c9ff06ab15e697d5bac6ea6e5da2df840cf5 Author: Jason Merrill Date:

[Bug middle-end/93576] [10 Regression] internal compiler error: Segmentation fault (in gimplify.c)

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93576 Martin Sebor changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 --- Comment #2 from Martin Sebor --- Below is a simplified C test case. The warning is justified and works correctly, but the index and the type it prints might be a little confusing. The index corresponds to the MEM_REF offset which is set to

[Bug c++/92812] Implement P1975R0: Fixing the wording of parenthesized aggregate-initialization

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

[Bug rtl-optimization/93583] [10 Regression] bootstrap failure on powerpc64le-linux-gnu

2020-02-04 Thread doko at ubuntu dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93583 --- Comment #1 from Matthias Klose --- a build without lto seems to succeed.

[Bug rtl-optimization/93583] New: [10 Regression] bootstrap failure on powerpc64le-linux-gnu

2020-02-04 Thread doko at ubuntu dot com
Priority: P3 Component: rtl-optimization Assignee: unassigned at gcc dot gnu.org Reporter: doko at ubuntu dot com Target Milestone: --- seen with trunk 20200204 5124c34fcc62f0f880ae947542678e28aa2ce703 on powerpc64le-linux-gnu. during RTL pass: expand ../../src/gcc

[Bug middle-end/93582] [10 Regression] -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 Marek Polacek changed: What|Removed |Added CC||msebor at gcc dot gnu.org Target

[Bug middle-end/93582] New: -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1]

2020-02-04 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93582 Bug ID: 93582 Summary: -Warray-bounds gives error: array subscript 0 is outside array bounds of struct E[1] Product: gcc Version: 10.0 Status: UNCONFIRMED

[Bug target/93532] RISCV g++ hangs with optimization >= -O2

2020-02-04 Thread wilson at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93532 --- Comment #11 from Jim Wilson --- I'm able to reproduce with the gcc-8-branch now. Maybe I made a mistake with my earlier build. Anyways, it looks like it is going wrong here in the reload dump

[Bug fortran/93581] New: [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951

2020-02-04 Thread gs...@t-online.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93581 Bug ID: 93581 Summary: [9/10 Regression] ICE in gfc_get_dataptr_offset, at fortran/trans-array.c:6951 Product: gcc Version: 10.0 Status: UNCONFIRMED Severity:

  1   2   >