[Bug c/119891] New: Incorrect suggestion for sizeof and printf

2025-04-21 Thread nightstrike at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- void f() { int x; __builtin_printf("%d\n", sizeof(x)); } $ gcc -c a.c -Wformat a.c: In function 'f': a.c:3:28: warning: format '%d&

[Bug testsuite/119791] FAIL: gcc.dg/stack-check-10.c on Windows

2025-04-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119791 --- Comment #1 from nightstrike --- Created attachment 61102 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61102&action=edit RTL on linux

[Bug testsuite/119791] FAIL: gcc.dg/stack-check-10.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119791 --- Comment #3 from nightstrike --- Created attachment 61104 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61104&action=edit asm on Linux

[Bug testsuite/119791] FAIL: gcc.dg/stack-check-10.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119791 --- Comment #2 from nightstrike --- Created attachment 61103 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61103&action=edit asm on Windows

[Bug testsuite/119791] New: FAIL: gcc.dg/stack-check-10.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 61101 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=61101&action=edit RTL on windows All four tests in this file fail on Windows: FAIL:

[Bug c++/86273] confusing diagnostic for member-declaration with missing identifier

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86273 nightstrike changed: What|Removed |Added Known to work||13.1.0 Known to fail

[Bug testsuite/119789] New: FAIL: gcc.dg/20021029-1.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- This test fails on at least x86_64-w64-mingw32: /* { dg-final { scan-assembler-symbol-section {^_?ar} {^\.(const|rodata)|\[RO\]} } } */ with the following message: FAIL

[Bug target/119765] FAIL: gcc.target/i386/amd64-abi-9.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119765 --- Comment #6 from nightstrike --- Patch posted: https://gcc.gnu.org/pipermail/gcc-patches/2025-April/680856.html

[Bug target/119765] FAIL: gcc.target/i386/amd64-abi-9.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119765 --- Comment #4 from nightstrike --- Ah, I think I understand better. It's not the AMD64 ABI saying to pass the register count in EAX, it's the SysV or whatever ABI saying to do it, and the Windows ABI says to do something else.

[Bug target/119765] FAIL: gcc.target/i386/amd64-abi-9.c on Windows

2025-04-13 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119765 --- Comment #3 from nightstrike --- Is this a case of "skip windows", or a case of "skip targets with/without feature X"? Also, I'm a little surprised, as based on the name of the test, I would think it was testing

[Bug c/119765] New: FAIL: gcc.target/i386/amd64-abi-9.c on Windows

2025-04-12 Thread nightstrike at gmail dot com via Gcc-bugs
: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- The test gcc.target/i386/amd64-abi-9.c fails on at least x86_64-w64-mingw-w64 due to the xorl instruction not being found: FAIL: gcc.target/i386/amd64-abi-9.c scan-assembler

[Bug ipa/117432] [12/13 Regression] IPA ICF disregards types of variadic arguments since r10-4643-ga37f58f506e436

2025-04-07 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117432 --- Comment #19 from nightstrike --- (In reply to Sam James from comment #17) > (In reply to nightstrike from comment #16) > > I think you've either made an error and tested with the wrong GCC, or it > needs its own bug. In

[Bug c/119660] New: builtin functions erroneously suggested as originating in system headers

2025-04-06 Thread nightstrike at gmail dot com via Gcc-bugs
: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- While investigating an unrelated bug in gcc.dg/Wbuiltin-declaration-mismatch-16.c, I noticed that the output of the compiler

[Bug c/119658] New: Better support for freestanding env on Windows

2025-04-06 Thread nightstrike at gmail dot com via Gcc-bugs
: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- See the following for reference: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117432#c18 https://gcc.gnu.org/legacy-ml/gcc-patches/2010-01/msg01034.html https

[Bug ipa/117432] [12/13 Regression] IPA ICF disregards types of variadic arguments since r10-4643-ga37f58f506e436

2025-04-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117432 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug cobol/119414] cobol driver unconditionally adds platform-specific command line options.

2025-04-03 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119414 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug preprocessor/119438] New: More descriptive warning desired: '#' is not followed by a macro parameter

2025-03-23 Thread nightstrike at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: preprocessor Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- ``` a.c: #define F(A) \ f(#notA) $ gcc -c a.c a.c:1:12: error: '#' is not followed by a m

[Bug testsuite/108152] gcc.dg/pr71558.c fails for LLP64

2025-03-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108152 --- Comment #4 from nightstrike --- >From Andrew on IRC: use __extension__ before __SIZE_TYPE__ This should alleviate the pedantic warnings while (I believe) not invalidating the point of the test.

[Bug c/87950] GCC warns about reaching end of non-void function when all switch cases are completely handled

2025-01-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87950 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug analyzer/109577] -Wanalyzer-allocation-size mishandles __builtin_mul_overflow

2024-05-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577 --- Comment #9 from nightstrike --- (In reply to David Malcolm from comment #8) > Should be fixed for GCC 13 (for the upcoming GCC 13.3) by the above patches. Did you miss my comment #5 highlighting the need to adjust the declaration of mal

[Bug analyzer/110014] -Wanalyzer-allocation-size mishandles realloc (..., .... * sizeof (object))

2024-05-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110014 --- Comment #6 from nightstrike --- (In reply to David Malcolm from comment #5) > Should be fixed for GCC 13 (for the upcoming GCC 13.3) by the above patch. Did you miss my comment #3 that highlighted the problem due to assuming that siz

[Bug c++/114534] New: Feature request: extend VLA support in C++

2024-03-30 Thread nightstrike at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- See https://gcc.gnu.org/pipermail/gcc-help/2024-March/143369.html for reference. The documentation at https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html states that VLAs

[Bug other/108644] Format string warnings related to longs under MigW-W64/MSYS2 on Windows 10

2024-02-17 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108644 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/43613] Some architecture-dependent codes

2024-02-17 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43613 --- Comment #10 from nightstrike --- Patch thread started here: https://gcc.gnu.org/pipermail/gcc-patches/2024-February/644674.html https://inbox.sourceware.org/gcc-patches/4700e066-1b50-4e7b-92f7-d8c33a330...@gmail.com/ and ended with this

[Bug analyzer/105755] -Wanalyzer-null-dereference regression compiling Emacs

2024-02-16 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755 --- Comment #6 from nightstrike --- (In reply to nightstrike from comment #5) > If I open your godbolt links, they aren't using a Windows target compiler, > so they aren't exercising an LLP64 target. For instance: https

[Bug analyzer/105755] -Wanalyzer-null-dereference regression compiling Emacs

2024-02-16 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755 --- Comment #5 from nightstrike --- (In reply to David Malcolm from comment #4) > Looks like this was fixed sometime in GCC 13; resolving as WORKSFORME. > > Feel free to reopen if you have a reproducer that triggers on a more rec

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2024-02-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 --- Comment #35 from nightstrike --- (In reply to anlauf from comment #34) > Are you sure that it finds the right new libgfortran? Good call. I did a make install first and re-ran it, and they all pass now. Sorry for the noise, this is

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2024-02-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 --- Comment #33 from nightstrike --- I modified the test further to just print which ones would have called stop. Almost, but not all, do: stop 2 stop 3 stop 4 stop 7 stop 8 stop 9 stop 10 stop 11 stop 12 stop 13 stop 15 stop 20

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2024-02-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 --- Comment #32 from nightstrike --- (In reply to anlauf from comment #31) > (In reply to nightstrike from comment #30) > > (In reply to GCC Commits from comment #29) > > > * gfortran.dg/pr111022.f90: New test.

[Bug libfortran/111022] ES0.0E0 format gave ES0.dE0 output with d too high.

2024-02-11 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111022 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug c++/113624] FAIL: g++.dg/ext/dllimport4.C, ICE on windows targets

2024-01-29 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113624 nightstrike changed: What|Removed |Added Known to fail||11.3.0, 12.2.0, 13.0, 14.0 --- Comment

[Bug analyzer/105755] -Wanalyzer-null-dereference regression compiling Emacs

2024-01-28 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105755 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug analyzer/109577] -Wanalyzer-allocation-size mishandles __builtin_mul_overflow

2024-01-28 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109577 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug analyzer/110014] -Wanalyzer-allocation-size mishandles realloc (..., .... * sizeof (object))

2024-01-28 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110014 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug testsuite/113634] New: FAIL: gcc.dg/Wfree-nonheap-object-7.c, incorrect declaration for calloc()

2024-01-27 Thread nightstrike at gmail dot com via Gcc-bugs
: testsuite-fail Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- This test uses an incorrect declaration for calloc(): void *calloc(long, long

[Bug target/113633] New: FAIL: gcc.dg/bf-ms-attrib.c execution test, wrong size for ms_struct

2024-01-27 Thread nightstrike at gmail dot com via Gcc-bugs
, testsuite-fail Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com CC: ktietz at gcc dot gnu.org Target Milestone: --- Target: *-*-mingw

[Bug c/113631] New: FAIL: gcc.dg/pr7356.c, fix still fails with #pragma

2024-01-27 Thread nightstrike at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com CC: dmalcolm at gcc dot gnu.org Target Milestone: --- The original PR7356 highlighted a problem where a diagnostic for a

[Bug c++/113624] New: FAIL: g++.dg/ext/dllimport4.C, ICE on windows targets

2024-01-26 Thread nightstrike at gmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 57235 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57235&action=edit output of -freport-bug A test from the testsuite is fail

[Bug c++/113591] New: FAIL: g++.dg/cpp0x/lambda/lambda-ice15.C

2024-01-24 Thread nightstrike at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- See PR 67846. The original PR highlighted an ICE, and we do not ICE on Windows, but we don't error out either. We can achieve the Linux behavior with -fno-ms-extensio

[Bug libstdc++/113589] New: FAIL: experimental/filesystem/operations/absolute.cc on Windows

2024-01-24 Thread nightstrike at gmail dot com via Gcc-bugs
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- (Probably related to PR4) The absolute.cc test fails this assertion: VERIFY( absolute(p).is_absolute() ); on the second

[Bug target/100058] -Wpadded is inconsistent using -mms-bitfields

2024-01-23 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100058 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/113549] float simd crash on windows in gcc.dg/vect/vect-simd-clone-16b.c

2024-01-22 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113549 --- Comment #4 from nightstrike --- (In reply to Andrew Pinski from comment #3) > Either the stack size or the stack alignment issue. > > I am suspecting a stack alignement issue. Possibly related: PR110273

[Bug testsuite/113548] gcc.dg/vect/vect-ifcvt-19.c ICEs on LLP64 target

2024-01-22 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113548 --- Comment #3 from nightstrike --- Seeing as how this is a testsuite issue, it seems that the crash in the same location applies to the following: FAIL: gcc.dg/vect/vect-ifcvt-19.c (internal compiler error: in build2, at tree.cc:5097) FAIL

[Bug target/113549] float simd crash on windows in gcc.dg/vect/vect-simd-clone-16b.c

2024-01-22 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113549 --- Comment #2 from nightstrike --- Test 16e uses double instead of float, which also crashes.

[Bug target/113549] float simd crash on windows in gcc.dg/vect/vect-simd-clone-16b.c

2024-01-22 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113549 --- Comment #1 from nightstrike --- Created attachment 57188 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57188&action=edit Failing source for easier copying

[Bug target/113549] New: float simd crash on windows in gcc.dg/vect/vect-simd-clone-16b.c

2024-01-22 Thread nightstrike at gmail dot com via Gcc-bugs
Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 57187 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57187&action=edit Assembly output The ve

[Bug tree-optimization/113548] New: ICE vect-ifcvt-19 in build2, at tree.cc:5097

2024-01-22 Thread nightstrike at gmail dot com via Gcc-bugs
: tree-optimization Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 57186 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=57186&action=edit Preprocessed source from -freport-bug ICE during testsu

[Bug libstdc++/107603] checking for ld that supports -Wl,--gc-sections... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. for i686-w64-mingw32 target at canadian compilation

2024-01-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107603 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/59425] ICE - seg fault building ISL on Windows

2024-01-19 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=59425 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug ada/113516] New: POLLPRI redefined on windows building ada

2024-01-19 Thread nightstrike at gmail dot com via Gcc-bugs
Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com CC: dkm at gcc dot gnu.org Target Milestone: --- g:r11-4313-gd08d481912b9a2 defined POLLPRI to zero on Windows, stating in the commit message "Define POLLPRI as zero on Windows

[Bug libstdc++/65257] cin not working with empty string when _GLIBCXX_DEBUG is defined on Windows

2024-01-17 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65257 --- Comment #2 from nightstrike --- I should clarify that I tested this with mingw-w64, not mingw.org where the bug was originally reported.

[Bug libstdc++/65257] cin not working with empty string when _GLIBCXX_DEBUG is defined on Windows

2024-01-17 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65257 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/43613] Some architecture-dependent codes

2024-01-15 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=43613 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug libstdc++/110167] New: excessive compile time when optimizing std::to_array

2023-06-07 Thread nightstrike at gmail dot com via Gcc-bugs
Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- #include int f[262144]; auto g(void) { return std::to_array(f); } (Thanks to Andrew for help reducing!) Baseline run: $ time g++ test.cc -std=gnu++20 -O0

[Bug target/69639] [10/11/12/13 Regression] FAIL: gcc.c-torture/compile/limits-exprparen.c

2023-03-04 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69639 --- Comment #18 from nightstrike --- (In reply to nightstrike from comment #9) > This affects 8-trunk on x86_64 cygwin, as well. The default size of the > stack for cc1 is: > > $ peflags -x /tmp/b2/gcc/cc1.exe > /tmp/b2/gcc

[Bug c/108942] New: ICE in build2, at tree.c: 5096 for gcc/testsuite/gcc.dg/torture/ssa-fre-7.c:23:3

2023-02-27 Thread nightstrike at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 54541 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54541&action=edit preprocessed sour

[Bug middle-end/83286] internal compiler error: Illegal instruction

2023-02-17 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83286 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/90458] [10/11/12/13 Regression] mingw64: ICE in i386_pe_seh_unwind_emit, at config/i386/winnt.c:1258 with -fstack-clash-protection

2023-02-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90458 --- Comment #8 from nightstrike --- FYI, this is the same as the failure in gcc/testsuite/gcc.dg/stack-check-16.c: (running this under Wine) during RTL pass: final gcc.dg/stack-check-16.c:36:1: internal compiler error: in

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-10 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #9 from nightstrike --- I understand it's not ideal based on comment #6, but this fixes all the tests: diff --git a/gcc/testsuite/gcc.c-torture/execute/builtins/lib/fprintf.c b/gcc/testsuite/gcc.c-torture/execute/builtin

[Bug testsuite/108709] FAIL: gcc.dg/analyzer/pipe-glibc.c

2023-02-07 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108709 --- Comment #1 from nightstrike --- Perhaps these are separate bugs, but: 1) gcc.dg/analyzer/pipe-manpages.c will need similar improvements 2) gcc.dg/analyzer/pipe-void-return.c passes with an incorrect declaration for pipe(), implying that

[Bug analyzer/108709] New: FAIL: gcc.dg/analyzer/pipe-glibc.c

2023-02-07 Thread nightstrike at gmail dot com via Gcc-bugs
Assignee: dmalcolm at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- This test fails on Windows for lack of fork. It actually fails for not having pipe(), also, but _pipe() does the job well enough, so that fix is a simple #define. It is not very

[Bug analyzer/108708] New: __analyzer_dump_named_constant fails with derived values

2023-02-07 Thread nightstrike at gmail dot com via Gcc-bugs
Priority: P3 Component: analyzer Assignee: dmalcolm at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- The analyzer test fd-access-mode-target-headers.c fails on mingw-w64 due to the following: FAIL: gcc.dg/analyzer/fd-access-mode-target

[Bug testsuite/107602] dump-noaddr testcases fail when running the testsuite with already built installed toolchain

2023-02-07 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107602 --- Comment #2 from nightstrike --- Better link(In reply to nightstrike from comment #1) > Reverting 186d43a78e945ebe9fbe217fc341847af7f95d30 fixes this problem at > least for me Better link: r255433

[Bug testsuite/107602] dump-noaddr testcases fail when running the testsuite with already built installed toolchain

2023-02-07 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107602 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #8 from nightstrike --- (In reply to LIU Hao from comment #7) > (In reply to nightstrike from comment #5) > > (In reply to LIU Hao from comment #4) > > > Does it make any sense to remove `#include ` from > >

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #5 from nightstrike --- (In reply to LIU Hao from comment #4) > Does it make any sense to remove `#include ` from > 'gcc.c-torture/execute/builtins/lib/fprintf.c' ? That will prevent the FILE type from existing, so

[Bug testsuite/108675] FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-06 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108675 --- Comment #2 from nightstrike --- (In reply to Richard Biener from comment #1) > These tests are known to be a bit awkwardly implemented to check for > optimizations done ... How would you do it if you were writing the test today? &

[Bug testsuite/108675] New: FAIL: gcc.c-torture/execute/builtins/*printf.c when stdio.h includes definitions

2023-02-04 Thread nightstrike at gmail dot com via Gcc-bugs
Severity: normal Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Failing tests: gcc.c-torture/execute/builtins/printf.c gcc.c-torture/execute/builtins/fprintf.c gcc.c-torture

[Bug target/90826] Weak symbol does not work reliably on windows

2023-01-17 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90826 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug testsuite/108427] New: bitfield tests fail with missing warnings

2023-01-16 Thread nightstrike at gmail dot com via Gcc-bugs
: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Both bitfield-3.m and bitfield-5.m appear to fail for the same reason on x86_64-w64-mingw32 (cross compiled from linux, if it matters). The tests each contain multiple

[Bug d/108408] New: libphobos: Support building on *-*-cygwin

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
Assignee: ibuclaw at gdcproject dot org Reporter: nightstrike at gmail dot com Target Milestone: --- See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99794 for reference. This PR is tracking the state of building libphobos on cygwin using 11.3, the last compiler that can be

[Bug middle-end/108300] `abort()` macro cause bootstrap failure on *-w64-mingw32

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108300 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/82028] Windows x86_64 should not pass float aggregates in xmm

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82028 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/90256] Optimizer with interrupt routines

2023-01-14 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90256 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug d/99794] libphobos: Support building on *-*mingw*

2023-01-12 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99794 --- Comment #3 from nightstrike --- Hm, looks like it *IS* in 11. I was confused by the PR being open and the version stating 11, thinking that it still wasn't applied. So the remaining issues then are building on cygwin. But at least

[Bug d/99794] libphobos: Support building on *-*mingw*

2023-01-12 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99794 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug testsuite/108204] pr84973-2.C fails with wrong error on mingw

2023-01-09 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108204 --- Comment #4 from nightstrike --- (In reply to Richard Biener from comment #3) > I'd suggest to add a dg-additional-options -fno-ms-extensions to the test > then. We certainly can (well, Jon can :P), but shouldn't t

[Bug libstdc++/108332] dynamic link libstdc++ with win32 thread model's gcc for windows native toolchain would cause .rdata_r: section below image base

2023-01-09 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108332 nightstrike changed: What|Removed |Added CC||10walls at gmail dot com

[Bug testsuite/108192] g++.dg/cet-notrack-1.C searching for wrong function on mingw

2023-01-07 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108192 --- Comment #3 from nightstrike --- Created attachment 54209 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54209&action=edit Patch to change printf to puts so it works everywhere

[Bug testsuite/108152] gcc.dg/pr71558.c fails for LLP64

2022-12-29 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108152 nightstrike changed: What|Removed |Added CC||10walls at gmail dot com --- Comment #3

[Bug preprocessor/107974] compiler can't find source file in path that is longer than 255 characters

2022-12-28 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107974 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug testsuite/108150] gcc.dg/attr-aligned.c fails with incorrect max alignment

2022-12-27 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108150 nightstrike changed: What|Removed |Added CC||10walls at gmail dot com --- Comment #2

[Bug target/102993] -fcf-protection=full produces segfaulting code when targeting 32-bit x86 (i686)

2022-12-26 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102993 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug target/103327] Do not search MINGW in the search dir

2022-12-26 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103327 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug bootstrap/100427] canadian compile for mingw-w64 copies the wrong dlls for mingw-w64 multilibs

2022-12-26 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 --- Comment #11 from nightstrike --- Possible duplicate of PR39947

[Bug bootstrap/100427] canadian compile for mingw-w64 copies the wrong dlls for mingw-w64 multilibs

2022-12-26 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug c++/106395] [12/13 regression] [mingw] "redeclared without dllimport attribute: previous dllimport ignored" on C++ friend since r12-299-ga0fdff3cf33f72

2022-12-26 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106395 nightstrike changed: What|Removed |Added CC||nightstrike at gmail dot com --- Comment

[Bug libstdc++/108210] error: 'mutex' does not name a type; did you mean 'minutes'? for x86_64-w64-mingw32 target with win32 thread model

2022-12-26 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108210 nightstrike changed: What|Removed |Added CC||i.nixman at autistici dot org

[Bug c++/108207] ICE in testcase g++.dg/other/ptrmem8.C on mingw

2022-12-23 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108207 --- Comment #1 from nightstrike --- Ah, Andrew, before you beat me to it... this doesn't ICE if you pass -fno-ms-extensions, and it does ICE on Linux if you pass -fms-extensions

[Bug c++/108207] New: ICE in testcase g++.dg/other/ptrmem8.C on mingw

2022-12-23 Thread nightstrike at gmail dot com via Gcc-bugs
: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- All variants of this test fail (98, 14, 17, 20) // Target: x86_64-w64-mingw32 // Configured with: ../configure --disable-nls --with-sysroot=/tmp/rtmingw --target=x86_64

[Bug c++/108204] pr84973-2.C fails with wrong error on mingw

2022-12-22 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108204 --- Comment #2 from nightstrike --- (In reply to Andrew Pinski from comment #1) > Try with -fno-ms-extensions or try -fms-extension on Linux. Hey, we have a winner! -fms-extension on Linux results in the bad error, and -fno-ms-extensions

[Bug c++/108204] New: pr84973-2.C fails with wrong error on mingw

2022-12-22 Thread nightstrike at gmail dot com via Gcc-bugs
++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- All of the pr84973-2.C tests fail on mingw. They give the output: g++.dg/template/pr84973-2.C: In instantiation of 'void a()::c::b() [with int = 0]': g++.d

[Bug c++/108203] New: Format string checking with __USE_MINGW_ANSI_STDIO

2022-12-22 Thread nightstrike at gmail dot com via Gcc-bugs
Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Circa v4.5, some mingw-w64 users discovered an issue with printf functions and g++. Addressing this resulted in a kludge on the mingw-w64 headers side, but this should

[Bug tree-optimization/101854] [11 Regression] Invalid warning -Wstringop-overflow wrong argument

2022-12-21 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101854 --- Comment #11 from nightstrike --- (In reply to Martin Sebor from comment #9) > Fixed for GCC 12. The patch is far too intrusive to backport but the > following should fix the problem in GCC 11: Would you mind applying it to 11?

[Bug testsuite/108192] g++.dg/cet-notrack-1.C searching for wrong function on mingw

2022-12-21 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108192 --- Comment #2 from nightstrike --- (In reply to H.J. Lu from comment #1) > Since Windows doesn't support IBT, this test can be limited to Linux. I don't know what IBT is, but if I change the two printf's to puts(), the test

[Bug testsuite/108192] New: g++.dg/cet-notrack-1.C searching for wrong function on mingw

2022-12-20 Thread nightstrike at gmail dot com via Gcc-bugs
Priority: P3 Component: testsuite Assignee: unassigned at gcc dot gnu.org Reporter: nightstrike at gmail dot com Target Milestone: --- Created attachment 54139 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54139&action=edit cet-notrack-1.s g++.dg/cet-

[Bug testsuite/108190] g++.target/i386/*pr54700*.C testcases fail on x86_64-mingw

2022-12-20 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108190 --- Comment #5 from nightstrike --- Created attachment 54138 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54138&action=edit avx512vl-pr54700-1b.s

[Bug testsuite/108190] g++.target/i386/*pr54700*.C testcases fail on x86_64-mingw

2022-12-20 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108190 --- Comment #4 from nightstrike --- Created attachment 54137 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54137&action=edit avx512vl-pr54700-1a.s

[Bug testsuite/108190] g++.target/i386/*pr54700*.C testcases fail on x86_64-mingw

2022-12-20 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108190 --- Comment #3 from nightstrike --- Created attachment 54136 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54136&action=edit avx2-pr54700-1.s

[Bug testsuite/108190] Various testsuite asm fails

2022-12-20 Thread nightstrike at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108190 --- Comment #1 from nightstrike --- Created attachment 54135 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=54135&action=edit avx-pr54700-1.s

  1   2   3   4   >