[Bug c++/89088] New: Dllexport for explicit template instantiation missing inline methods

2019-01-28 Thread martin at martin dot st
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: martin at martin dot st Target Milestone: --- Created attachment 45538 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45538=edit Sample code showing the issue With dllexpor

[Bug c++/89087] New: Dllexport for explicit template instantiation with nested classes loses nested class

2019-01-28 Thread martin at martin dot st
Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: martin at martin dot st Target Milestone: --- Created attachment 45537 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45537=edit Sample code showing the is

[Bug c++/89088] Dllexport for explicit template instantiation missing inline methods

2019-04-26 Thread martin at martin dot st
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89088 --- Comment #1 from Martin Storsjö --- FWIW, Clang (when operating in MinGW mode, where it tries to follow what GCC does) also had the same issue. There this issue was fixed by making dllexport export inline methods as well, for template

[Bug c++/89087] Dllexport for explicit template instantiation with nested classes loses nested class

2019-04-26 Thread martin at martin dot st
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89087 --- Comment #1 from Martin Storsjö --- FWIW, Clang (when operating in MinGW mode, where it tries to follow what GCC does) also had the same issue. There this issue was fixed by emitting definitions for nested classes even if a template

[Bug c/95130] New: GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2020-05-14 Thread martin at martin dot st
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: martin at martin dot st Target Milestone: --- Since a long time (GCC 4.4?) GCC does support annotating functions with either the format attribute "gnu_printf" or "ms_printf&

[Bug target/103274] [10/11/12 regression] remaining -freorder-blocks-and-partition/ glitch with Windows SEH

2021-11-30 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274 --- Comment #11 from Martin Storsjö --- (In reply to Eric Botcazou from comment #10) > Thanks for reporting the problem. Thanks for the fix! I can confirm that the version of the patch backported on the gcc-10 branch fixes the testcase at

[Bug target/103274] Remaining -freorder-blocks-and-partition/ glitch with Windows SEH

2021-11-16 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274 --- Comment #4 from Martin Storsjö --- Also for additional context; with GCC 9.x, this testcase had the needed nop instruction between "call" and ".seh_endproc". In GCC 10.x (regressed in

[Bug target/103274] Remaining -freorder-blocks-and-partition/ glitch with Windows SEH

2021-11-16 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103274 Martin Storsjö changed: What|Removed |Added CC||martin at martin dot st --- Comment

[Bug c/103956] New: [10 Regression] -Wstringop-overflow= false positive on -O3 for writes to array

2022-01-09 Thread martin at martin dot st via Gcc-bugs
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: martin at martin dot st Target Milestone: --- Since GCC 10.0, the following snippet produces warnings (various numbers of warnings with the same issue) for this reduced

[Bug target/105506] Error building GCC 12.1.0 against MinGW-w64: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory

2022-06-06 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506 --- Comment #8 from Martin Storsjö --- (In reply to Brecht Sanders from comment #7) > So I guess the question that remains is: Where is -D__USE_MINGW_ACCES > missing in the configuration of GCC 12? > > It would seem to me the answer lies in

[Bug target/105506] Error building GCC 12.1.0 against MinGW-w64: fatal error: cannot execute 'cc1': CreateProcess: No such file or directory

2022-06-05 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105506 Martin Storsjö changed: What|Removed |Added CC||martin at martin dot st --- Comment

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2022-10-25 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #8 from Martin Storsjö --- (In reply to Tomas Kalibera from comment #7) > I sent an updated version for the trunk, 12, 11 and 10 to the gcc-patches > mailing list in May: > >

[Bug c/95130] GCC ignoring attribute(format(gnu_printf)) on printf in mingw

2024-04-19 Thread martin at martin dot st via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95130 --- Comment #25 from Martin Storsjö --- (In reply to Andrew Pinski from comment #23) > Note since MSVC 2015 runtime, printf has support %ll so ms_printf should be > fixed to incldue that. > >