[Bug lto/106170] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

2022-07-02 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 cqwrteur changed: What|Removed |Added Attachment #53242|0 |1 is obsolete|

[Bug lto/106170] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

2022-07-02 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 cqwrteur changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #2 from

[Bug lto/106118] lto-plugin/lto-plugin.c: -pthread not passed to AM_LDFLAGS

2022-07-02 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106118 cqwrteur changed: What|Removed |Added CC||unlvsur at live dot com --- Comment #4 from

[Bug lto/106170] x86_64-w64-mingw32 host GCC with win32 thread model does not provide pthread.h. lto-plugin fails with canadian compilation

2022-07-02 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 --- Comment #1 from cqwrteur --- windows does not provide those things. You can use EnterCriticalSection/ LeaveCriticalSection instead. I can write a patch to fix it for windows.

[Bug lto/106170] New: win32 thread model does not pthread.h. lto-plugin fails with canadian compilation

2022-07-02 Thread unlvsur at live dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106170 Bug ID: 106170 Summary: win32 thread model does not pthread.h. lto-plugin fails with canadian compilation Product: gcc Version: 13.0 Status: UNCONFIRMED

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2022-07-02 Thread harper at msor dot vuw.ac.nz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 --- Comment #25 from harper at msor dot vuw.ac.nz --- I received your patch but I have no idea how to install it - I have been using Fortran off and on since 1963 but I am not a systems programmer. My version of gfortran is gcc version 9.4.0

[Bug gcov-profile/106090] [GCOV] Wrong coverage for loop statements

2022-07-02 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106090 --- Comment #3 from Yang Wang --- (In reply to Yang Wang from comment #2) > (In reply to Martin Liška from comment #1) > > No, it's correct as it only contains do_it() call that is triggered the same > > number times as line 20 minus one. > >

[Bug gcov-profile/106090] [GCOV] Wrong coverage for loop statements

2022-07-02 Thread njuwy at smail dot nju.edu.cn via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106090 --- Comment #2 from Yang Wang --- (In reply to Martin Liška from comment #1) > No, it's correct as it only contains do_it() call that is triggered the same > number times as line 20 minus one. (In reply to Martin Liška from comment #1) > No,

[Bug analyzer/105898] RFE: -fanalyzer should complain about overlapping args to memcpy and mempcpy

2022-07-02 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105898 Tim Lange changed: What|Removed |Added CC||tlange at gcc dot gnu.org --- Comment #2

[Bug fortran/106089] false positives with -Wuninitialized for allocation on assignment

2022-07-02 Thread kargl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106089 kargl at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW CC|

[Bug fortran/106065] Crash when reading extended derived type array in namelist

2022-07-02 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106065 --- Comment #2 from Jerry DeLisle --- I was a bit curious to see what flang would do with the test case. It gives the exact same error message as gfortran, word for word.

[Bug fortran/105473] semicolon allowed when list-directed read integer with decimal='point'

2022-07-02 Thread jvdelisle at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105473 Jerry DeLisle changed: What|Removed |Added Attachment #52981|0 |1 is obsolete|

[Bug analyzer/105887] [meta-bug] clang analyzer warnings that GCC's -fanalyzer could implement

2022-07-02 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887 Bug 105887 depends on bug 105900, which changed state. Bug 105900 Summary: RFE: -fanalyzer could check malloc sizes when casting the result to a pointer https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 What|Removed

[Bug analyzer/105900] RFE: -fanalyzer could check malloc sizes when casting the result to a pointer

2022-07-02 Thread tlange at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 Tim Lange changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug analyzer/105900] RFE: -fanalyzer could check malloc sizes when casting the result to a pointer

2022-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105900 --- Comment #4 from CVS Commits --- The master branch has been updated by Tim Lange : https://gcc.gnu.org/g:e6c3bb379f515b27268d08e62b4b3e5d7200b437 commit r13-1405-ge6c3bb379f515b27268d08e62b4b3e5d7200b437 Author: Tim Lange Date: Fri Jul

[Bug analyzer/106003] RFE: -fanalyzer could complain about misuse of file-descriptors

2022-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106003 --- Comment #2 from CVS Commits --- The master branch has been updated by Immad Mir : https://gcc.gnu.org/g:97baacba963c06e3d0e33cde04e7e687671e60e7 commit r13-1404-g97baacba963c06e3d0e33cde04e7e687671e60e7 Author: Immad Mir Date: Sat Jul

[Bug ada/106037] ICE with Aggregate aspect

2022-07-02 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106037 Pascal Pignard changed: What|Removed |Added CC||p.p11 at orange dot fr --- Comment #2

[Bug libcc1/104799] Header issue with x86_64-linux-musl based cross-compiler

2022-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104799 Sergei Trofimovich changed: What|Removed |Added Resolution|--- |FIXED Target Milestone|---

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-07-02 Thread slyfox at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 Sergei Trofimovich changed: What|Removed |Added Target Milestone|--- |12.2

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #9 from CVS Commits --- The releases/gcc-12 branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:ad5d760b815b3d491bdb5d97f6e053d60d6991b9 commit r12-8540-gad5d760b815b3d491bdb5d97f6e053d60d6991b9 Author: Sergei

[Bug c++/106102] gcc/cp/mapper-resolver.cc fails to build against musl: musl-1.2.3-dev/include/sched.h:84:7: error: attempt to use poisoned "calloc"

2022-07-02 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106102 --- Comment #8 from CVS Commits --- The releases/gcc-12 branch has been updated by Sergei Trofimovich : https://gcc.gnu.org/g:de6f402a54f7e6a3f8a79d723a25724e6274cc3e commit r12-8539-gde6f402a54f7e6a3f8a79d723a25724e6274cc3e Author: Sergei

[Bug ada/106169] New: Error with iterated element association in aggregate.

2022-07-02 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106169 Bug ID: 106169 Summary: Error with iterated element association in aggregate. Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug ada/106168] New: Errors with empty array aggregate.

2022-07-02 Thread p.p11 at orange dot fr via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106168 Bug ID: 106168 Summary: Errors with empty array aggregate. Product: gcc Version: 12.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: ada

[Bug target/106167] New: Missed optimization (memory vs register read)

2022-07-02 Thread vluchits at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106167 Bug ID: 106167 Summary: Missed optimization (memory vs register read) Product: gcc Version: 9.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component:

[Bug analyzer/106000] RFE: -fanalyzer should complain about memory accesses that are definitely out-of-bounds

2022-07-02 Thread dmalcolm at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106000 --- Comment #4 from David Malcolm --- For example, the "classic test" referred to in section 1.2 of https://open-std.org/JTC1/SC22/WG14/www/docs/n3005.pdf has: #include #include int y=2, x=1; int main() { int *p = + 1; int *q =

[Bug c++/106166] Improve diagnostic for explicit constructor

2022-07-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106166 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |NEW Last reconfirmed|