[Bug c++/110836] [C++20] g++ should report when there is no way to create structure or class

2023-07-27 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110836 --- Comment #2 from Andris Pavenis --- Warning would allow to detected problem earlier. Otherwise it could only be detected later in case when affected structure or class is part of an library and its objects are not created directly inside the

[Bug c++/110836] New: g++ should report when there is no way to create structure or class

2023-07-27 Thread andris at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: andris at gcc dot gnu.org Target Milestone: --- Created attachment 55651 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55651&action=edit example GCC should repo

[Bug analyzer/97240] Analyzer runs out of memory building C++ source

2022-02-16 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97240 --- Comment #2 from Andris Pavenis --- Tried with gcc-12.0.1-20220216 (revision 875e493bf5eb04c11bc3846a6bfee47a6f183e3f). gcc configured without additional configure parameters (Configured with: ../gcc-12.0.1-20220216/configure) 1) /opt/gcc-gi

[Bug analyzer/97240] Analyzer runs out of memory building C++ source

2022-02-15 Thread andris at gcc dot gnu.org via Gcc-bugs
||11.1.0 CC||andris at gcc dot gnu.org --- Comment #1 from Andris Pavenis --- Reproduced on Arch Linux with gcc-10.3.0 (killed process when memory use reached about 30 GB) Problem does not happen with gcc-11.0 (Also Arch Linux). Output

[Bug c++/104365] Overload ambiguity not detected

2022-02-04 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 --- Comment #11 from Andris Pavenis --- OK. New version: 20220203-1.cpp: In function 'int main()': 20220203-1.cpp:19:24: warning: suspicious use of overloaded 'Test(const char [4], const char[4])' 21 | Test test("foo", "bar"); |

[Bug c++/104365] Overload ambiguity not detected

2022-02-03 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 --- Comment #9 from Andris Pavenis --- >> The warning should be in case when both >> 1) there is preferred standard conversion sequence for parameter of one >> overloaded method > >Standard conversions include T -> const T&, and derived-to-base

[Bug c++/104365] Overload ambiguity not detected

2022-02-03 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 --- Comment #6 from Andris Pavenis --- Suggested format (changed types to get real ambiguity and edited generated message): 20220203-1.cpp: In function 'int main()': 20220203-1.cpp:19:24: warning: call of overloaded 'Test(const char [4], unsign

[Bug c++/104365] Overload ambiguity not detected

2022-02-03 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 --- Comment #5 from Andris Pavenis --- The warning should be in case when both 1) there is preferred standard conversion sequence for parameter of one overloaded method 2) there is other user defined conversion sequences for one more more other

[Bug c++/104365] Overload ambiguity not detected

2022-02-03 Thread andris at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104365 --- Comment #2 from Andris Pavenis --- OK. Then warning would be nice. Otherwise it is a trap when one chooses to add bool parameter at end after string parameter and other overloaded method with one more string parameter at end is also presen

[Bug c++/104365] New: Overload ambiguity not detected

2022-02-03 Thread andris at gcc dot gnu.org via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: andris at gcc dot gnu.org Target Milestone: --- Created attachment 52336 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52336&action=edit Test example Overload ambiguity is not detected when 2 constructors with paramete

[Bug c/95800] DJGPP 9.3.1 doesn't parse C files correctly

2020-06-25 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95800 Andris Pavenis changed: What|Removed |Added CC||andris at gcc dot gnu.org --- Comment

[Bug target/47099] i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined

2019-05-30 Thread andris at gcc dot gnu.org
||andris at gcc dot gnu.org Resolution|--- |FIXED --- Comment #5 from Andris Pavenis --- Fix committed long time ago: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=acb1c4c499938d3bc00dacb1ca8179e4635f8a2b SVN revision 202016 from 2013

[Bug target/47093] [meta-bug]: broken configurations

2019-05-30 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47093 Bug 47093 depends on bug 47099, which changed state. Bug 47099 Summary: i686-pc-msdosdjgpp fails to build i386.o: ASM_DECLARE_FUNCTION_NAME undefined https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47099 What|Removed

[Bug target/86651] [8/9 Regression] lto-wrapper.exe: fatal error: simple_object_copy_lto_debug_sections not implemented: Invalid argument

2018-07-29 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86651 Andris Pavenis changed: What|Removed |Added CC||andris at gcc dot gnu.org --- Comment

[Bug other/52992] Incorrect sprintf format in fixincludes/fixincl.c

2017-07-17 Thread andris at gcc dot gnu.org
||andris at gcc dot gnu.org Resolution|--- |FIXED Assignee|unassigned at gcc dot gnu.org |andris at gcc dot gnu.org --- Comment #1 from Andris Pavenis --- Fixed by r186759 soon after submitting of the bug [andris@localhost gcc

[Bug preprocessor/71681] header.gcc file lookup is broken for -remap

2017-07-17 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71681 Andris Pavenis changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug target/41557] gcc.exe: Internal error: (null) (program cc1plus)

2017-02-07 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41557 Andris Pavenis changed: What|Removed |Added CC||andris at gcc dot gnu.org --- Comment

[Bug preprocessor/71681] header.gcc file lookup is broken for -remap

2016-10-21 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71681 --- Comment #5 from Andris Pavenis --- Author: andris Date: Fri Oct 21 16:22:51 2016 New Revision: 241415 URL: https://gcc.gnu.org/viewcvs?rev=241415&root=gcc&view=rev Log: 2016-10-21 Andris Pavenis PR preprocessor/71681 * gc

[Bug preprocessor/71681] header.gcc file lookup is broken for -remap

2016-10-21 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71681 --- Comment #4 from Andris Pavenis --- Author: andris Date: Fri Oct 21 15:52:25 2016 New Revision: 241413 URL: https://gcc.gnu.org/viewcvs?rev=241413&root=gcc&view=rev Log: 2016-10-21 Andris Pavenis PR preprocessor/71681 * fi

[Bug preprocessor/71681] header.gcc file lookup is broken for -remap

2016-09-08 Thread andris at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71681 --- Comment #3 from Andris Pavenis --- Patch in mailing list https://gcc.gnu.org/ml/gcc-patches/2016-09/msg00395.html