[Bug libstdc++/100376] __gnu_cxx::stdio_filebuf does not work correctly on windows for GCC 12

2022-12-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100376 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/108222] windows 9x support for libstdc++ threads and probably other features like std::filesystem

2022-12-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108222 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/108222] windows 9x support for libstdc++ threads and probably other features like std::filesystem

2022-12-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108222 cqwrteur changed: What|Removed |Added Resolution|WONTFIX |--- Status|RESOLVED

[Bug libstdc++/108222] windows 9x support for libstdc++ threads and probably other features like std::filesystem

2022-12-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108222 --- Comment #8 from cqwrteur --- then what's wrong with me myself submitting patches to fix them? tbh. i would like to help maintaining future windows support for libstdc++ since i think i am probably more familiar than you on windows. Like nt

[Bug tree-optimization/108227] Unnecessary division when looping over array with size of elements not a power of two

2022-12-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108227 Thomas Koenig changed: What|Removed |Added Keywords||missed-optimization --- Comment #1

[Bug c++/108169] class type template parameters are const in GCC (differs from other compilers)

2022-12-26 Thread johelegp at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108169 Johel Ernesto Guerrero Peña changed: What|Removed |Added CC||johelegp at gmail dot com

[Bug c++/7221] wrong linkage of typedef-named classes

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7221 Andrew Pinski changed: What|Removed |Added Known to fail||4.8.5 Known to work|

[Bug tree-optimization/108227] New: Unnecessary division when looping over array with size of elements not a power of two

2022-12-26 Thread tkoenig at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108227 Bug ID: 108227 Summary: Unnecessary division when looping over array with size of elements not a power of two Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug libstdc++/108222] windows 9x support for libstdc++ threads and probably other features like std::filesystem

2022-12-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108222 Jonathan Wakely changed: What|Removed |Added Resolution|--- |WONTFIX

[Bug libstdc++/103445] build failure for old versions of mingw32 (not mingw-w64)

2022-12-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103445 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/42011] linker error with typedef struct

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=42011 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |4.9.0 Status|NEW

[Bug c/108224] Suggest stdlib.h header for rand

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108224 --- Comment #5 from Jonny Grant --- (In reply to Sam James from comment #4) > (In reply to Jonny Grant from comment #3) > > Great! I just saw it is the same for random(), srandom(), initstate(), > > setstate() > > > > Is there an easy way to

[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 i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108210 --- Comment #4 from niXman --- (In reply to nightstrike from comment #2) > Is this before or after this patch set was applied? > > https://gcc.gnu.org/pipermail/gcc-patches/2022-December/609116.html I think it can be so because of unspecified

[Bug sanitizer/81649] Instrumentation Options page grammar

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81649 --- Comment #2 from Jonny Grant --- (In reply to Jakub Jelinek from comment #1) > That doesn't look correct to me, as it is the option that ensures that the > executables are linked against such a library, after all, it is the only > purpose of

[Bug pch/105858] MinGW-w64 64-bit build with --libstdcxx-pch: fatal error: cannot write PCH file: required memory segment unavailable

2022-12-26 Thread brechtsanders at users dot sourceforge.net via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105858 --- Comment #7 from Brecht Sanders --- Any update on this? This issue makes GCC12 really slow on Windows because PCH support doesn't work. If mman-win32 support could be made to work it might solve this issue. The problem is that this

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

2022-12-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 --- Comment #12 from cqwrteur --- (In reply to nightstrike from comment #10) > (In reply to cqwrteur from comment #5) > > I think the copy to bin behavior should be removed. It should be just like > > normal linux distribution. 64 bit dlls in

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

2022-12-26 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100427 --- Comment #13 from cqwrteur --- (In reply to cqwrteur from comment #12) > (In reply to nightstrike from comment #10) > > (In reply to cqwrteur from comment #5) > > > I think the copy to bin behavior should be removed. It should be just like >

[Bug c++/99631] decltype of non-type template-parameter shouldn't be const

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99631 Andrew Pinski changed: What|Removed |Added CC||danakj at orodu dot net --- Comment #7

[Bug c++/108169] class type template parameters are const in GCC (differs from other compilers)

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108169 Andrew Pinski changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug tree-optimization/108230] assert() spuriously activates maybe-initialized warning

2022-12-26 Thread shin.david at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 --- Comment #2 from David Shin --- The preprocessed source is 3.5M, which exceeds the file attachment size limit of 1000K.

[Bug web/88860] Clarify gcc online manual 6.38 Attribute Syntax

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88860 --- Comment #1 from Jonny Grant --- 2022-12-26 Jonathan Grant * gcc/doc/extend.texi: Bugzilla 88860 - Add attribute format printf example >From 1668dc58206428ee92ff142bafb5f545dba029ae Mon Sep 17 00:00:00 2001 From: Jonathan Grant

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #10 from Jonny Grant --- printf("sizeof time_t %ld\n", sizeof(time_t)); Another example, but suggesting the same %ld from a sizeof broken.c:34:29: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type

[Bug c++/90205] Wformat-signedness detects %d and suggests %d fixit hint

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90205 --- Comment #11 from Jonny Grant --- That last comment was using gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0

[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 i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108210 --- Comment #3 from niXman --- (In reply to cqwrteur from comment #0) > /home/cqwrteur/toolchains_build/gcc/libstdc++-v3/src/c++20/tzdb.cc:565:5: > error: 'mutex' does not name a type; did you mean 'minutes'? > 565 | mutex infos_mutex; >

[Bug target/108229] New: [13 Regression] unprofitable STV transform

2022-12-26 Thread amonakov at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108229 Bug ID: 108229 Summary: [13 Regression] unprofitable STV transform Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug c++/108230] New: assert() spuriously activates maybe-initialized warning

2022-12-26 Thread shin.david at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 Bug ID: 108230 Summary: assert() spuriously activates maybe-initialized warning Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: normal

[Bug web/88860] Clarify gcc online manual 6.38 Attribute Syntax

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88860 --- Comment #2 from Jonny Grant --- 2022-12-26 Jonathan Grant * gcc/doc/extend.texi: Bugzilla 88860 - Clarify online manual infelicities >From 8b142ad8973dc67289e197e30966490a944e4819 Mon Sep 17 00:00:00 2001 From: Jonathan Grant

[Bug c/88944] Suggested alternative C stdbool.h

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88944 Jonny Grant changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[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++/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 i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108210 --- Comment #5 from niXman --- (In reply to niXman from comment #4) > (In reply to nightstrike from comment #2) > > Is this before or after this patch set was applied? > > > > https://gcc.gnu.org/pipermail/gcc-patches/2022-December/609116.html

[Bug c++/94924] Default equality operator for C-array compares addresses, not data

2022-12-26 Thread rhalbersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94924 --- Comment #4 from rhalbersma --- Is there any chance that this bug fix can be backported to gcc 10 also?

[Bug c++/93480] Defaulted <=> doesn't expand array elements

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93480 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |11.0

[Bug tree-optimization/108230] assert() spuriously activates maybe-initialized warning

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 --- Comment #1 from Andrew Pinski --- Can you attach the preprocessed source?

[Bug fortran/102331] ICE in attr_decl1, at fortran/decl.c:8691

2022-12-26 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102331 Jerry DeLisle changed: What|Removed |Added CC||jvdelisle at gcc dot gnu.org ---

[Bug ada/108202] [13 Regression] Many new acats fails on 32bit Darwin hosts.

2022-12-26 Thread iains at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108202 Iain Sandoe changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|

[Bug sanitizer/88997] Implicit constructors created with line numbers

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88997 --- Comment #2 from Jonny Grant --- 2022-12-26 Jonathan Grant * gcc/doc/extend.texi: Bugzilla 88860 - Clarify online manual infelicities >From 8b142ad8973dc67289e197e30966490a944e4819 Mon Sep 17 00:00:00 2001 From: Jonathan Grant

[Bug sanitizer/88997] Implicit constructors created with line numbers

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88997 --- Comment #3 from Jonny Grant --- (In reply to Jonny Grant from comment #2) > 2022-12-26 Jonathan Grant > * gcc/doc/extend.texi: Bugzilla 88860 - Clarify online manual > infelicities > > > >From

[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 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 c++/93480] Defaulted <=> doesn't expand array elements

2022-12-26 Thread rhalbersma at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93480 --- Comment #9 from rhalbersma --- Could this fix also be back-ported to gcc 10?

[Bug fortran/102331] ICE in attr_decl1, at fortran/decl.c:8691

2022-12-26 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102331 --- Comment #6 from Jerry DeLisle --- Regression testing looks good. The patch wiggles on the error messages given for: pr85779.f90 class_result_4.f90 In both cases they are reasonable. I don't think we need any new test cases since we are

[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 i.nixman at autistici dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108210 --- Comment #6 from niXman --- (In reply to niXman from comment #5) > (In reply to niXman from comment #4) > > (In reply to nightstrike from comment #2) > > > Is this before or after this patch set was applied? > > > > > >

[Bug c++/96412] format suggestion issue

2022-12-26 Thread jg at jguk dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96412 --- Comment #2 from Jonny Grant --- Just posted this on bug 90205 but maybe more appropriate here gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0 Another example, but suggesting the same %ld from a sizeof printf("sizeof time_t %zu\n", sizeof(time_t));

[Bug target/107548] STV doesn't consider vec_select

2022-12-26 Thread roger at nextmovesoftware dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107548 Roger Sayle changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug libstdc++/108228] New: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv'

2022-12-26 Thread danglin at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108228 Bug ID: 108228 Summary: /usr/lib/pa20_64/dld.sl: Unsatisfied code symbol '_ZN9__gnu_cxx21zoneinfo_dir_ov errideEv' Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug tree-optimization/108230] assert() spuriously activates maybe-initialized warning

2022-12-26 Thread shin.david at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 --- Comment #5 from David Shin --- Indeed, no warning on trunk! Sorry, should have checked trunk version before reporting this.

[Bug c++/108231] malloc attribute vs extern "C" in a namespace and global and using of one in the namespace in the global one

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231 --- Comment #1 from Andrew Pinski --- A little more reduced: ``` namespace g { extern "C" void free(void *); } using g::free; extern "C" void free (void *); void foo1 (void *p) { free (p); } void (*foo2) (void *) = free; extern "C" { void foo3

[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 tree-optimization/108227] Unnecessary division when looping over array with size of elements not a power of two

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108227 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Last reconfirmed|

[Bug tree-optimization/108230] assert() spuriously activates maybe-initialized warning

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 --- Comment #3 from Andrew Pinski --- (In reply to David Shin from comment #2) > The preprocessed source is 3.5M, which exceeds the file attachment size > limit of 1000K. You can compress it since it is above the max attachment size limit.

[Bug tree-optimization/108230] assert() spuriously activates maybe-initialized warning

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 Andrew Pinski changed: What|Removed |Added Keywords||missed-optimization,

[Bug tree-optimization/108230] assert() spuriously activates maybe-initialized warning

2022-12-26 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108230 --- Comment #6 from Andrew Pinski --- (In reply to David Shin from comment #5) > Indeed, no warning on trunk! Sorry, should have checked trunk version before > reporting this. No it is a good thing to report as we might want to get it fixed

[Bug c++/108231] New: g++ mistakenly reports ambiguity between equivalent function declarations

2022-12-26 Thread bruno at clisp dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108231 Bug ID: 108231 Summary: g++ mistakenly reports ambiguity between equivalent function declarations Product: gcc Version: 12.2.0 Status: UNCONFIRMED Severity: