stdc++ issue: extremely long compile time with large number of string literals

2020-07-08 Thread Mandeep Sandhu via Gcc-bugs
Hi All, I'm not sure if this is the right mailing list for asking about (possible) g++ issues. If not, I'd appreciate it if someone can point me to the right one. With that said, here goes... I have an strange (to me) issue, where trying to compile a header which has a single

[Bug tree-optimization/96108] Different behavior in DSE pass

2020-07-08 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108 --- Comment #7 from Andrew Pinski --- My question was rather do you an original code where we are now missing an optimization and you reduced the code down to this and what happens if you correct the issue of using an uninit pointer (because

[Bug tree-optimization/95804] [11 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1323 since r11-1565-g2c0069fafb53ccb7

2020-07-08 Thread amker at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95804 --- Comment #6 from bin cheng --- (In reply to Martin Liška from comment #5) > @Bin: Any news about this? Patch is approved, will apply soon. Thanks

[Bug tree-optimization/96108] Different behavior in DSE pass

2020-07-08 Thread 499537630 at qq dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96108 --- Comment #6 from Jolyon <499537630 at qq dot com> --- I agree that we really can't do this in the test. GCC's inconsistencies with this behavior are beyond the developers' consideration(the behavior of DSE pass). I tried to initialize the

[Bug middle-end/87736] New attributes to mark custom alloc/free function pair

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87736 Martin Sebor changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c/96126] conflicting attribute section accepted on redeclaration

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96126 Martin Sebor changed: What|Removed |Added Keywords||patch See Also|

[Bug c/78666] conflicting attribute alloc_size accepted

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78666 Martin Sebor changed: What|Removed |Added Keywords||patch --- Comment #9 from Martin Sebor

[Bug c++/79815] gcc does not implement C++ standard 7.1.7.4.1 p5 correctly.

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79815 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409

2020-07-08 Thread bruck.michael at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 --- Comment #5 from Michael Bruck --- (In reply to Michael Bruck from comment #4) ugh that was for PR96097

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-08 Thread bruck.michael at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 --- Comment #5 from Michael Bruck --- Further simplified code template typename> void func() {} template struct Y {}; void test() { func(); }

[Bug c++/90782] internal compiler error: in dependent_type_p, at cp/pt.c:25409

2020-07-08 Thread bruck.michael at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90782 Michael Bruck changed: What|Removed |Added CC||bruck.michael at gmail dot com ---

[Bug c++/95982] [10 Regression] ICE with non-type template parameter that is itself the instantiation of a template

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

[Bug c++/95968] error: 'args#0' is not a constant expression

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95968 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/95956] ICE in check_bases, at cp/class.c:1689

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95956 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 CC|

[Bug c++/95954] ICE: unexpected expression ‘(a)’ of kind paren_expr

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95954 W E Brown changed: What|Removed |Added CC||webrown.cpp at gmail dot com Marek Polacek

[Bug c++/95945] ICE in poplevel, at cp/decl.c:585

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95945 Marek Polacek changed: What|Removed |Added Priority|P3 |P5 CC|

[Bug c++/95932] ICE in redeclare_class_template, at cp/pt.c:6231

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95932 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/95930] ICE: Segmentation fault signal terminated program cc1plus

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95930 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/93788] Segfault caused by infinite loop in cc1plus

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93788 --- Comment #2 from Marek Polacek --- *** Bug 95930 has been marked as a duplicate of this bug. ***

[Bug target/96125] __attribute__((target("cpu=power10,mma"))) does not set TARGET_MMA

2020-07-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96125 --- Comment #3 from Peter Bergner --- Actually, it's more complicated than that. We only initialize the target builtins once, using the command line option values and not again using the target attribute/pragma values. That means we basically

[Bug c++/96060] ICE with spaceship default operator returning int

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96060 Marek Polacek changed: What|Removed |Added CC||milasudril at gmail dot com --- Comment

[Bug c++/96064] Defaulted constexpr spaceship operator triggers internal compiler error after including utility

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96064 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/96060] ICE with spaceship default operator returning int

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96060 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-07-08 CC|

[Bug c++/96048] ICE in get_local_decls, at cp/name-lookup.c:3591

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96048 Marek Polacek changed: What|Removed |Added Priority|P3 |P5 CC|

[Bug c/96126] conflicting attribute section accepted on redeclaration

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96126 Martin Sebor changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |msebor at gcc dot gnu.org Last

[Bug c/96126] New: conflicting attribute section accepted on redeclaration

2020-07-08 Thread msebor at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96126 Bug ID: 96126 Summary: conflicting attribute section accepted on redeclaration Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/96045] [11 Regression] Wrong line and column diagnostic message in a class template instantiation

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96045 --- Comment #2 from Marek Polacek --- Regressed with r11-338-g2a0225e47868fbfceaecaa5e2de96c1c5a2251ea

[Bug c++/96045] [11 Regression] Wrong line and column diagnostic message in a class template instantiation

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96045 Marek Polacek changed: What|Removed |Added Target Milestone|--- |11.0 Ever confirmed|0

[Bug c++/95927] ICE in cp_lexer_new_from_tokens, at cp/parser.c:701

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95927 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Last

[Bug c++/95925] ICE in xref_basetypes, at cp/decl.c:15169

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95925 Marek Polacek changed: What|Removed |Added Last reconfirmed||2020-07-08 CC|

[Bug c++/95955] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have union_type in int_fits_type_p, at tree.c:8952

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95955 Marek Polacek changed: What|Removed |Added Priority|P3 |P5

[Bug c++/95955] ICE: tree check: expected integer_type or enumeral_type or boolean_type or real_type or fixed_point_type, have union_type in int_fits_type_p, at tree.c:8952

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95955 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org Ever

[Bug target/96125] __attribute__((target("cpu=power10,mma"))) does not set TARGET_MMA

2020-07-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96125 --- Comment #2 from Peter Bergner --- Looks like some missing code in rs6000_option_override_internal() to enable TARGET_MMA by default when -mcpu=power10 is used, similar to how we handle -mprefix. I'm testing a patch.

[Bug c++/96077] GCC accepts ill-legal local enum definition

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96077 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug fortran/96122] Segfault when using finalizer

2020-07-08 Thread abensonca at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 --- Comment #2 from Andrew Benson --- (In reply to Dominique d'Humieres from comment #1) > Confirmed. For me it segfaults from GCC7 up to GCC11. Interesting. This started occurring for me when I updated from GCC10.1 to 11. But, the code I

[Bug target/96125] __attribute__((target("cpu=power10,mma"))) does not set TARGET_MMA

2020-07-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96125 Peter Bergner changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |bergner at gcc dot gnu.org

[Bug fortran/96122] Segfault when using finalizer

2020-07-08 Thread dominiq at lps dot ens.fr
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 Dominique d'Humieres changed: What|Removed |Added Last reconfirmed||2020-07-08 Ever confirmed|0

[Bug target/96125] New: __attribute__((target("cpu=power10,mma"))) does not set TARGET_MMA

2020-07-08 Thread bergner at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96125 Bug ID: 96125 Summary: __attribute__((target("cpu=power10,mma"))) does not set TARGET_MMA Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal

[Bug libstdc++/96070] std::views::* won't work with non-legacy iterators

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96070 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/96124] New: Template specialization auto

2020-07-08 Thread amal029 at outlook dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96124 Bug ID: 96124 Summary: Template specialization auto Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++

[Bug c++/96120] Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration"

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120 --- Comment #4 from Jonathan Wakely --- (In reply to Haoxin Tu from comment #3) > Apologize for my expression. I mean the meaning of the error message > "invalid use of type ‘void’ in parameter declaration" is opposite with the > valid

[Bug c++/95159] ICE on aggregate template parameter with empty angle brackets

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95159 Marek Polacek changed: What|Removed |Added CC||lutztonineubert at gmail dot com ---

[Bug c++/96123] [10, trunk] segment fault with NTTP fixed_string

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96123 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c++/96123] [10, trunk] segment fault with NTTP fixed_string

2020-07-08 Thread lutztonineubert at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96123 --- Comment #1 from Toni Neubert --- :23:28: internal compiler error: Segmentation fault 23 | using type = Token; |^

[Bug c++/96123] New: [10, trunk] segment fault with NTTP fixed_string

2020-07-08 Thread lutztonineubert at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96123 Bug ID: 96123 Summary: [10, trunk] segment fault with NTTP fixed_string Product: gcc Version: 10.1.1 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/96097] ICE in dependent_type_p, at cp/pt.c:26326

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96097 Marek Polacek changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug fortran/96085] ICE in gfc_finish_var_decl, at fortran/trans-decl.c:694

2020-07-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96085 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug fortran/96085] ICE in gfc_finish_var_decl, at fortran/trans-decl.c:694

2020-07-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96085 --- Comment #4 from CVS Commits --- The master branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:1fa08dcac686ca5b6d84e64c9f5813daef59f540 commit r11-1949-g1fa08dcac686ca5b6d84e64c9f5813daef59f540 Author: Harald Anlauf Date:

[Bug fortran/95709] [9/10/11 Regression] ICE in gfc_resolve_code, at fortran/resolve.c:11807

2020-07-08 Thread anlauf at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95709 anlauf at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug libfortran/95293] Fortran not passing array by reference

2020-07-08 Thread kargl at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95293 --- Comment #9 from kargl at gcc dot gnu.org --- (In reply to Dominique d'Humieres from comment #8) > Isn't it an aliasing problem? No. It is not an aliasing problem. It is an invalid program giving a result that the programmer does not

[Bug fortran/95709] [9/10/11 Regression] ICE in gfc_resolve_code, at fortran/resolve.c:11807

2020-07-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95709 --- Comment #5 from CVS Commits --- The releases/gcc-9 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:006fda1b17a4d55b6548a1b3bd7efd0d8e40b6c4 commit r9-8727-g006fda1b17a4d55b6548a1b3bd7efd0d8e40b6c4 Author: Harald Anlauf

[Bug c++/95972] ICE in check_member_template, at cp/decl2.c:570

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95972 Marek Polacek changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug fortran/95709] [9/10/11 Regression] ICE in gfc_resolve_code, at fortran/resolve.c:11807

2020-07-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95709 --- Comment #4 from CVS Commits --- The releases/gcc-10 branch has been updated by Harald Anlauf : https://gcc.gnu.org/g:17327d6cc73672ada0c6608f70e0894144b1f54b commit r10-8439-g17327d6cc73672ada0c6608f70e0894144b1f54b Author: Harald Anlauf

[Bug fortran/96122] New: Segfault when using finalizer

2020-07-08 Thread abensonca at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96122 Bug ID: 96122 Summary: Segfault when using finalizer Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran

[Bug c++/95497] [11 Regression] ICE: concepts with a fully known / complete type in requires

2020-07-08 Thread gcc-bugs at marehr dot dialup.fu-berlin.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95497 --- Comment #4 from gcc-bugs at marehr dot dialup.fu-berlin.de --- Thank you for fixing!

[Bug c++/95497] [11 Regression] ICE: concepts with a fully known / complete type in requires

2020-07-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95497 Patrick Palka changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/95497] [11 Regression] ICE: concepts with a fully known / complete type in requires

2020-07-08 Thread cvs-commit at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95497 --- Comment #2 from CVS Commits --- The master branch has been updated by Patrick Palka : https://gcc.gnu.org/g:9eb7d0d76eb652caa9186766da4fe965f113b1b8 commit r11-1947-g9eb7d0d76eb652caa9186766da4fe965f113b1b8 Author: Patrick Palka Date:

[Bug tree-optimization/95804] [11 Regression] ICE in generate_code_for_partition, at tree-loop-distribution.c:1323 since r11-1565-g2c0069fafb53ccb7

2020-07-08 Thread marxin at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95804 --- Comment #5 from Martin Liška --- @Bin: Any news about this?

[Bug rtl-optimization/96015] [10/11 Regression] gcc-10.1.0 miscompiles Python on hppa

2020-07-08 Thread law at redhat dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96015 --- Comment #35 from Jeffrey A. Law --- That's a reasonable idea Eric -- the barriers are primarily there for the benefit of CFG building and manipulation and thus provide marginal, if any, benefit once we hit the reorg pass. I recall 81025

[Bug c++/96121] Uninitialized variable copying not diagnosed

2020-07-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 --- Comment #5 from Marc Glisse --- Yes, then we are back to the fact that it works for A=int but not for A a class containing an int.

[Bug c++/96121] Uninitialized variable copying not diagnosed

2020-07-08 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 --- Comment #4 from Antony Polukhin --- Adding members and usage does not make a difference https://godbolt.org/z/VommHu struct A { A(); int i; }; struct B { B(A); int i; }; struct composed2 { B b_; A a_; composed2() : b_(a_) {}

[Bug c++/96121] Uninitialized variable copying not diagnosed

2020-07-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 --- Comment #3 from Marc Glisse --- And this translation unit doesn't actually generate any code at all, so the way the warning is currently implemented has no chance of even looking at it.

[Bug c++/96121] Uninitialized variable copying not diagnosed

2020-07-08 Thread glisse at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 --- Comment #2 from Marc Glisse --- gcc warns for this at the level of actual instructions, not user code. Since A is empty, nothing uninitialized is getting copied.

[Bug c++/96120] Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration"

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120 --- Comment #3 from Haoxin Tu --- (In reply to Jonathan Wakely from comment #1) > (In reply to Haoxin Tu from comment #0) > > GCC might emit the ambiguity diagnostic message on it. > > What does that mean? Apologize for my expression. I mean

[Bug c++/96120] Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration"

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120 --- Comment #2 from Jonathan Wakely --- GCC's diagnostic seems fine to me. Using 'void' as the type of a parameter is invalid. There's a special case for (void) but that isn't relevant to your declaration, which has two parameters.

[Bug c++/96120] Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration"

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120 --- Comment #1 from Jonathan Wakely --- (In reply to Haoxin Tu from comment #0) > GCC might emit the ambiguity diagnostic message on it. What does that mean?

[Bug c++/96121] Uninitialized variable copying not diagnosed

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c++/96121] New: Uninitialized variable copying not diagnosed

2020-07-08 Thread antoshkka at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96121 Bug ID: 96121 Summary: Uninitialized variable copying not diagnosed Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal

[Bug c++/79815] gcc does not implement C++ standard 7.1.7.4.1 p5 correctly.

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79815 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW See Also|

[Bug c++/96118] GCC accepts invalid combination of two type specifiers

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96118 Jonathan Wakely changed: What|Removed |Added Resolution|--- |DUPLICATE

[Bug c++/86709] 'short type-name' is invalid

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86709 Jonathan Wakely changed: What|Removed |Added CC||haoxintu at gmail dot com --- Comment

[Bug c++/81836] ill-formed qualified name not diagnosed

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81836 Jonathan Wakely changed: What|Removed |Added Keywords|diagnostic | Last reconfirmed|2017-08-21

[Bug c++/46206] using typedef-name error with typedef name hiding struct name

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46206 Jonathan Wakely changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/19538] [DR 407] Bogus diagnostic for typedef name in elaborated type specifier

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19538 Jonathan Wakely changed: What|Removed |Added Keywords|accepts-invalid, diagnostic |rejects-valid

[Bug c++/96115] Char literal, decays to a pointer when passed to function pointer

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96115 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-07-08 Ever confirmed|0

[Bug c++/96120] New: Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration"

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96120 Bug ID: 96120 Summary: Ambiguity diagnostic message of "invalid use of type 'void' in parameter declaration" Product: gcc Version: 11.0 Status: UNCONFIRMED

[Bug c++/96117] Cannot mix c++11-style and GCC-style attributes

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96117 Jonathan Wakely changed: What|Removed |Added Last reconfirmed||2020-07-08

[Bug c++/96119] GCC accepts invalid qualifier in a try-catch block

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96119 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/96118] GCC accepts invalid combination of two type specifiers

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96118 --- Comment #1 from Jonathan Wakely --- This is a duplicate of an existing bug.

[Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989 Jonathan Wakely changed: What|Removed |Added See Also||https://sourceware.org/bugz

[Bug tree-optimization/96022] ICE during GIMPLE pass: slp in operator[], at vec.h:867

2020-07-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96022 Richard Biener changed: What|Removed |Added Resolution|--- |FIXED Status|REOPENED

[Bug tree-optimization/96022] ICE during GIMPLE pass: slp in operator[], at vec.h:867

2020-07-08 Thread mkuvyrkov at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96022 Maxim Kuvyrkov changed: What|Removed |Added Status|RESOLVED|REOPENED CC|

[Bug c++/96119] New: GCC accepts invalid qualifier in a try-catch block

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96119 Bug ID: 96119 Summary: GCC accepts invalid qualifier in a try-catch block Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal

[Bug libstdc++/95983] `std::counted_iterator>>` fails to satisfy `std::input_or_output_iterator`

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95983 Jonathan Wakely changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug c++/96118] New: GCC accepts invalid combination of two type specifiers

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96118 Bug ID: 96118 Summary: GCC accepts invalid combination of two type specifiers Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: accepts-invalid Severity: normal

[Bug libstdc++/95989] Segmentation fault compiling with static libraries and using jthread::request_stop

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95989 --- Comment #12 from Jonathan Wakely --- (In reply to Antal Buss from comment #1) > Created attachment 48811 [details] > Preprocessed file For convenience, that is: #include int main() { auto t = std::jthread([](){}); t.request_stop();

[Bug c++/96116] GCC accepts "enum struct/class" in reference to enumeration

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96116 Marek Polacek changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever confirmed|0

[Bug c++/96117] New: Cannot mix c++11-style and GCC-style attributes

2020-07-08 Thread steveire at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96117 Bug ID: 96117 Summary: Cannot mix c++11-style and GCC-style attributes Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/95910] transform view in combination with single view calls const qualified begin even if it is not const

2020-07-08 Thread ppalka at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95910 Patrick Palka changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/96116] New: GCC accepts "enum struct/class" in reference to enumeration

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96116 Bug ID: 96116 Summary: GCC accepts "enum struct/class" in reference to enumeration Product: gcc Version: 11.0 Status: UNCONFIRMED Keywords: accepts-invalid

[Bug c++/96110] Function declarator with a trailing return type "auto" should be allowed in try-catch block

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96110 --- Comment #6 from Jonathan Wakely --- I've reported https://bugs.llvm.org/show_bug.cgi?id=46637

[Bug c++/96115] New: Char literal, decays to a pointer when passed to function pointer

2020-07-08 Thread boris_oncev at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96115 Bug ID: 96115 Summary: Char literal, decays to a pointer when passed to function pointer Product: gcc Version: 10.1.0 Status: UNCONFIRMED Severity: normal

[Bug c++/95972] ICE in check_member_template, at cp/decl2.c:570

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95972 --- Comment #4 from Haoxin Tu --- (In reply to Marek Polacek from comment #3) > You can still use creduce (I do), but it's good to try adding missing > parens/braces and similar to make the code more sensible. Yes, you are right. Thanks for

[Bug c++/96110] Function declarator with a trailing return type "auto" should be allowed in try-catch block

2020-07-08 Thread haoxintu at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96110 --- Comment #5 from Haoxin Tu --- (In reply to Jonathan Wakely from comment #2) > This isn't specific to catch handlers, other compilers accept that nonsense > function declaration in various contexts, and GCC rejects them all: Thanks for your

[Bug c++/96110] Function declarator with a trailing return type "auto" should be allowed in try-catch block

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96110 Jonathan Wakely changed: What|Removed |Added Resolution|--- |INVALID

[Bug target/95105] Bogus reference-compatibility error for arm_sve_vector_bits

2020-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95105 rsandifo at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED

[Bug target/95105] Bogus reference-compatibility error for arm_sve_vector_bits

2020-07-08 Thread rsandifo at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95105 --- Comment #3 from rsandifo at gcc dot gnu.org --- Fixed.

[Bug c++/96111] checking type of attribute with concepts results in compilation error or ICE

2020-07-08 Thread mpolacek at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96111 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c++/96110] Function declarator with a trailing return type "auto" should be allowed in try-catch block

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96110 --- Comment #3 from Jonathan Wakely --- And this puts Clang into a coma even without debuginfo: template struct X { T* p; }; X auto> x;

[Bug c++/96110] Function declarator with a trailing return type "auto" should be allowed in try-catch block

2020-07-08 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96110 --- Comment #2 from Jonathan Wakely --- This isn't specific to catch handlers, other compilers accept that nonsense function declaration in various contexts, and GCC rejects them all: using F = auto () -> auto; template struct X { }; X auto> x;

  1   2   >