[Bug c/115027] Missing warning: unused struct's with self-referential initialisers

2025-04-30 Thread dave at treblig dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115027 --- Comment #3 from Dr. David Alan Gilbert --- (For my own keeping track, Jakub replied to that patch with a suggestion: https://inbox.sourceware.org/gcc-patches/Zwlg8VYJXQmEC65C@tucnak/ )

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2025-02-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Richard Biener changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|rguenth at gcc d

[Bug middle-end/38486] Missing warning about type punning

2025-02-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=38486 Richard Biener changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution|---

[Bug c++/29593] Missing warning when reference is bound to converted temporary

2025-01-16 Thread egallager at gcc dot gnu.org via Gcc-bugs
Summary|Missing warning.|Missing warning when ||reference is bound to ||converted temporary --- Comment #9 from Eric Gallager --- Retitling to clarify. Would this go under a new flag, or an

[Bug c++/29593] Missing warning.

2025-01-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29593 --- Comment #8 from Jonathan Wakely --- *** Bug 118386 has been marked as a duplicate of this bug. ***

[Bug c++/29593] Missing warning.

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29593 Andrew Pinski changed: What|Removed |Added CC||tower120 at gmail dot com --- Comment #7

[Bug c++/29593] Missing warning.

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29593 Andrew Pinski changed: What|Removed |Added CC||valiente.arthur at gmail dot com --- Co

[Bug c++/29593] Missing warning.

2025-01-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=29593 Andrew Pinski changed: What|Removed |Added Last reconfirmed||2025-01-09 Severity|minor

[Bug middle-end/92936] missing warning on a past-the-end store to a PHI

2024-10-30 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92936 --- Comment #5 from GCC Commits --- The master branch has been updated by Sam James : https://gcc.gnu.org/g:2dcb174385fd366282bf34bf95adbf918d5befda commit r15-4792-g2dcb174385fd366282bf34bf95adbf918d5befda Author: Sam James Date: Thu Oct 31

[Bug ada/82529] Missing warning on with_clause for predefined unit

2024-10-26 Thread ebotcazou at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82529 Eric Botcazou changed: What|Removed |Added Resolution|--- |FIXED Status|NEW

[Bug ipa/100717] missing warning for a call to a function with attribute access inlined into caller

2024-09-20 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100717 --- Comment #1 from Sam James --- This seems to work now, presumably the same as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96505#c2.

[Bug tree-optimization/100073] missing warning on an uninitialized array read in a loop

2024-07-18 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 Richard Biener changed: What|Removed |Added Target Milestone|11.5|---

[Bug c/115027] Missing warning: unused struct's with self-referential initialisers

2024-06-29 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115027 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #2 f

[Bug middle-end/103637] [12/13/14/15 Regression] missing warning writing past the end of one of multiple elements of the same array

2024-06-20 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Richard Biener changed: What|Removed |Added Target Milestone|12.4|12.5 --- Comment #5 from Richard Biene

[Bug middle-end/115498] Missing warning for comparing distinct (char*) pointers in much complex code path

2024-06-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
||2024-06-15 Severity|normal |enhancement Ever confirmed|0 |1 Component|c |middle-end Blocks||87403 Summary|Missing warning for

[Bug c/115498] New: Missing warning for comparing distinct (char*) pointers

2024-06-14 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115498 Bug ID: 115498 Summary: Missing warning for comparing distinct (char*) pointers Product: gcc Version: unknown Status: UNCONFIRMED Keywords: diagnostic

[Bug c/115096] -fstrict-aliasing miscompilation or missing warning

2024-06-11 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115096 Andrew Pinski changed: What|Removed |Added CC||Explorer09 at gmail dot com --- Comment

[Bug c/115096] -fstrict-aliasing miscompilation or missing warning

2024-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115096 --- Comment #2 from Andrew Pinski --- > the warning described in that bug is not occurring. That is because in that case it had literally `(unsigned char**)&var` while in this case it is spread across function calls and that would require a lo

[Bug c/115096] -fstrict-aliasing miscompilation or missing warning

2024-05-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115096 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/115096] New: -fstrict-aliasing miscompilation or missing warning

2024-05-14 Thread Philip.Taff at itron dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115096 Bug ID: 115096 Summary: -fstrict-aliasing miscompilation or missing warning Product: gcc Version: 12.3.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/115027] Missing warning: unused struct's with self-referential initialisers

2024-05-10 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115027 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug c/115027] New: Missing warning: unused struct's with self-referential initialisers

2024-05-10 Thread dave at treblig dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115027 Bug ID: 115027 Summary: Missing warning: unused struct's with self-referential initialisers Product: gcc Version: 14.0 Status: UNCONFIRMED Severity: n

[Bug middle-end/94208] missing warning on passing unterminated local array to string functions

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

[Bug c/113825] missing warning for omitted parameter names in function definitions (c23 extension)

2024-02-08 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113825 Joseph S. Myers changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/113825] New: missing warning for omitted parameter names in function definitions (c23 extension)

2024-02-08 Thread jemarch at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113825 Bug ID: 113825 Summary: missing warning for omitted parameter names in function definitions (c23 extension) Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug c/102558] missing warning comparing T[static N] to null

2023-12-17 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102558 uecker at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|

[Bug c/102558] missing warning comparing T[static N] to null

2023-12-17 Thread uecker at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102558 uecker at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |14.0 CC|

[Bug c/102558] missing warning comparing T[static N] to null

2023-08-05 Thread muecker at gwdg dot de via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102558 Martin Uecker changed: What|Removed |Added CC||muecker at gwdg dot de --- Comment #1 f

[Bug target/53935] [avr][c++] missing warning for non-const data in progmem

2023-08-01 Thread gjl at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53935 Georg-Johann Lay changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug c++/110802] Missing warning for attribute deprecated on a function template definition with a previous declaration

2023-07-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110802 --- Comment #2 from Jonathan Wakely --- Not sure why that didn't show up when I searched, thanks Andrew!

[Bug c++/110802] Missing warning for attribute deprecated on a function template definition with a previous declaration

2023-07-25 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110802 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/110802] New: Missing warning for attribute deprecated on a function template definition with a previous declaration

2023-07-25 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110802 Bug ID: 110802 Summary: Missing warning for attribute deprecated on a function template definition with a previous declaration Product: gcc Version: 13.1.1 Status

[Bug c++/110092] Missing warning that internal header is used

2023-06-05 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #5 from Piotr Nycz --- (In reply to Jonathan Wakely from comment #2) > (In reply to Piotr Nycz from comment #0) > > So, probably it is doable to add warning like: "bist/shared_ptr.h is an > > internal header file, included by other l

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #4 from Andrew Pinski --- (In reply to Jonathan Wakely from comment #1) > This seems more like a bug in the IDE than in GCC. If you don't include the > header at all then GCC tells you the right header: > > sp.cc: In function ‘int m

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #3 from Piotr Nycz --- (In reply to Jonathan Wakely from comment #2) > (In reply to Piotr Nycz from comment #0) > > So, probably it is doable to add warning like: "bist/shared_ptr.h is an > > internal header file, included by other l

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 Jonathan Wakely changed: What|Removed |Added Severity|normal |enhancement --- Comment #2 from Jonat

[Bug c++/110092] Missing warning that internal header is used

2023-06-02 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 --- Comment #1 from Jonathan Wakely --- This seems more like a bug in the IDE than in GCC. If you don't include the header at all then GCC tells you the right header: sp.cc: In function ‘int main()’: sp.cc:2:8: error: ‘shared_ptr’ is not a memb

[Bug c++/110092] New: Missing warning that internal header is used

2023-06-02 Thread piotrwn1 at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110092 Bug ID: 110092 Summary: Missing warning that internal header is used Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component

[Bug tree-optimization/100073] missing warning on an uninitialized array read in a loop

2023-05-29 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 Jakub Jelinek changed: What|Removed |Added Target Milestone|11.4|11.5 --- Comment #10 from Jakub Jelinek

[Bug analyzer/109783] New: missing warning (due to a wrong suppression) when va_end is not in the same function

2023-05-08 Thread arsen at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109783 Bug ID: 109783 Summary: missing warning (due to a wrong suppression) when va_end is not in the same function Product: gcc Version: 14.0 Status: UNCONFIRMED

[Bug middle-end/103637] [12/13/14 Regression] missing warning writing past the end of one of multiple elements of the same array

2023-05-08 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Richard Biener changed: What|Removed |Added Target Milestone|12.3|12.4 --- Comment #4 from Richard Biene

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character [-Wnewline-eof]

2023-04-17 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81745 --- Comment #16 from Eric Gallager --- (In reply to Andrew Pinski from comment #15) > (In reply to Vincent Lefèvre from comment #14) > > Even though GCC decides to add a newline to the logical file, so that the > > missing diagnostic can be regar

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character [-Wnewline-eof]

2023-04-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81745 --- Comment #15 from Andrew Pinski --- (In reply to Vincent Lefèvre from comment #14) > Even though GCC decides to add a newline to the logical file, so that the > missing diagnostic can be regarded as correct, I think that an optional > warning

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character [-Wnewline-eof]

2023-04-17 Thread vincent-gcc at vinc17 dot net via Gcc-bugs
efault, not that `-pedantic` shouldn't warn: "I checked through the gcc manual, and didn't found any option to suppress the warning message "no newline at end of file". And PR 68994 was complaining about the missing warning. > https://gcc.gnu.org/legacy-ml/gcc-patc

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character

2023-04-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81745 Andrew Pinski changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character

2023-04-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81745 --- Comment #12 from Sam James --- (In reply to Sam James from comment #11) > C99 seems to explicitly say, within Clause J.2, in the second bullet point: This seems to be in C23 still.

[Bug preprocessor/81745] missing warning with -pedantic when a C file does not end with a newline character

2023-04-16 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81745 --- Comment #11 from Sam James --- C99 seems to explicitly say, within Clause J.2, in the second bullet point: > >1 The behavior is undefined in the following circumstances: > >[...] >A nonempty source file does not end in a new-line char

[Bug middle-end/103637] [12/13 Regression] missing warning writing past the end of one of multiple elements of the same array

2023-04-13 Thread law at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Jeffrey A. Law changed: What|Removed |Added Priority|P3 |P2 CC|

[Bug middle-end/103637] [12/13 Regression] missing warning writing past the end of one of multiple elements of the same array

2023-02-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Richard Biener changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED

[Bug middle-end/103637] [12/13 Regression] missing warning writing past the end of one of multiple elements of the same array

2022-08-19 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Richard Biener changed: What|Removed |Added Target Milestone|12.2|12.3 --- Comment #2 from Richard Biene

[Bug c++/67906] Missing warning about std::move without effect

2022-08-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906 Marek Polacek changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug c++/67906] Missing warning about std::move without effect

2022-08-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906 --- Comment #12 from CVS Commits --- The trunk branch has been updated by Marek Polacek : https://gcc.gnu.org/g:177e93e95272e9b373203dee5b28d2b284ffa05e commit r13-2099-g177e93e95272e9b373203dee5b28d2b284ffa05e Author: Marek Polacek Date: We

[Bug c++/67906] Missing warning about std::move without effect

2022-08-04 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67906 Marek Polacek changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |mpolacek at gcc dot gnu.org

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2022-07-27 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #30 from Andrew Pinski --- *** Bug 106456 has been marked as a duplicate of this bug. ***

[Bug c/78155] missing warning on invalid usage of functions/macros from (isalpha et al.)

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78155 --- Comment #8 from Eric Gallager --- (In reply to Martin Sebor from comment #4) > I don't really see what existing warning this might fall under, except > perhaps -Wchar-subscripts because isalpha and friend use the argument as an > index into a

[Bug middle-end/103637] [12/13 Regression] missing warning writing past the end of one of multiple elements of the same array

2022-05-06 Thread jakub at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Jakub Jelinek changed: What|Removed |Added Target Milestone|12.0|12.2 --- Comment #1 from Jakub Jelinek

[Bug c/78155] missing warning on invalid usage of functions/macros from (isalpha et al.)

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78155 Eric Gallager changed: What|Removed |Added Summary|missing warning on invalid |missing warning on invalid

[Bug tree-optimization/100073] missing warning on an uninitialized array read in a loop

2022-04-21 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100073 Richard Biener changed: What|Removed |Added Target Milestone|11.3|11.4 --- Comment #9 from Richard Biene

[Bug target/81909] Missing warning in gcc.dg/pr53037-{2,3}.c

2022-03-29 Thread vries at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81909 Tom de Vries changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/91848] missing warning on strcpy past the end of a member of an array with variable index

2022-03-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91848 Martin Sebor changed: What|Removed |Added Status|ASSIGNED|NEW Assignee|msebor at gcc dot

[Bug c++/83430] missing warning for specifying larger snprintf bound than destination size

2022-03-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83430 Martin Sebor changed: What|Removed |Added CC|msebor at gcc dot gnu.org | Assignee|msebor at gcc

[Bug middle-end/95485] missing warning writing into function text

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug middle-end/102934] missing warning passing address of first member to free()

2022-01-26 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102934 Martin Sebor changed: What|Removed |Added Assignee|msebor at gcc dot gnu.org |unassigned at gcc dot gnu.org

[Bug tree-optimization/93518] missing warning on a possible overflow by sprintf %s with an allocated argument

2022-01-19 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93518 Martin Sebor changed: What|Removed |Added Last reconfirmed|2021-12-23 00:00:00 |2022-1-19 Known to fail|

[Bug c++/84544] Missing warning when returning a reference to internal variable inside a lambda

2022-01-15 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84544 Martin Sebor changed: What|Removed |Added CC||msebor at gcc dot gnu.org --- Comment #3

[Bug tree-optimization/57503] Missing warning for signed overflow

2022-01-08 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57503 Andrew Pinski changed: What|Removed |Added Target Milestone|6.5 |---

[Bug middle-end/95485] missing warning writing into function text

2022-01-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95485 --- Comment #4 from Eric Gallager --- (In reply to Martin Sebor from comment #3) > Ah, yes, -Wpedantic does detect the invalid conversion. But few projects > use -Wpedantic (GCC itself doesn't) and enabling the warning in -Wall or > -Wextra woul

[Bug c/24016] Missing warning for unspecified evaluation order

2021-12-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=24016 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org --- Comment

[Bug c++/63809] Missing warning on extra template

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

[Bug c++/63809] Missing warning on extra template

2021-12-24 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63809 --- Comment #4 from Andrew Pinski --- Reduced testcase: template struct binary_traits{}; template <> template struct binary_traits { typedef int result_type; }; - CUT This is rejected since GCC 8 with: :6:8: error: too many templ

[Bug tree-optimization/93518] missing warning on a possible overflow by sprintf %s with an allocated argument

2021-12-22 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93518 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |NEW Component|middle-end

[Bug middle-end/92937] missing warning on a store with index >= malloc size

2021-12-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92937 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug c/30368] missing warning for dereferencing null pointer

2021-12-18 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=30368 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/84573] missing warning on an uninstantiated function template returning T with no return statement

2021-12-17 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84573 Martin Sebor changed: What|Removed |Added Status|WAITING |NEW --- Comment #4 from Martin Sebor ---

[Bug c++/84573] missing warning on an uninstantiated function template returning T with no return statement

2021-12-17 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84573 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org --- Comment

[Bug c++/84573] missing warning on an uninstantiated function template returning T with no return statement

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
|1 Last reconfirmed||2021-12-17 --- Comment #2 from Andrew Pinski --- Plus this is valid: template T g () { } // missing warning template<> void g(); So having a return here would be invalid code and the warning might influence someone to

[Bug c++/84573] missing warning on an uninstantiated function template returning T with no return statement

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84573 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement --- Comment #1 from Andrew P

[Bug c++/84544] Missing warning when returning a reference to internal variable inside a lambda

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84544 Andrew Pinski changed: What|Removed |Added CC||antoshkka at gmail dot com --- Comment #

[Bug c++/84544] Missing warning when returning a reference to internal variable inside a lambda

2021-12-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84544 Andrew Pinski changed: What|Removed |Added Ever confirmed|0 |1 Severity|normal

[Bug middle-end/98901] missing warning passing a dangling pointer to a function

2021-12-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
’ [-Wdangling-pointer=] 11 | f (1, p); // missing warning | ^~~~ pr98901.c:7:9: note: ‘x’ declared here 7 | int x = 0; | ^ *** This bug has been marked as a duplicate of bug 63272 ***

[Bug c/103104] missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration

2021-12-16 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103104 Martin Sebor changed: What|Removed |Added Last reconfirmed||2021-12-16 CC|

[Bug middle-end/98548] missing warning on strcmp with a nonstring member

2021-12-12 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98548 --- Comment #2 from Jonathan Wakely --- GCC started to warn for f() at r12-2793: Move more code to new gimple-ssa-warn-access pass.

[Bug middle-end/98548] missing warning on strcmp with a nonstring member

2021-12-10 Thread pinskia at gcc dot gnu.org via Gcc-bugs
7;: :16:15: warning: '__builtin_strcmp' argument 1 declared attribute 'nonstring' is smaller than the specified bound 8 [-Wstringop-overread] 16 | return 0 == __builtin_strcmp (p->a, p->b); // missing warning | ^~

[Bug middle-end/103637] [12 Regression] missing warning writing past the end of one of multiple elements of the same array

2021-12-09 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Andrew Pinski changed: What|Removed |Added Target Milestone|--- |12.0

[Bug middle-end/103637] New: [12 Regression] missing warning writing past the end of one of multiple elements of the same array

2021-12-09 Thread msebor at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103637 Bug ID: 103637 Summary: [12 Regression] missing warning writing past the end of one of multiple elements of the same array Product: gcc Version: 12.0 Status

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #29 from Richard Biener --- Created attachment 51895 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51895&action=edit -Wunreachable-code-ctrl at GIMPLE lowering time This is the -Wunreachable-code-ctrl (not enabled by -Wextra)

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-29 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Richard Biener changed: What|Removed |Added Attachment #51878|0 |1 is obsolete|

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-28 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Bug 46476 depends on bug 103439, which changed state. Bug 103439 Summary: genemit emits dead code https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103439 What|Removed |Added -

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #27 from Richard Biener --- (In reply to Richard Biener from comment #25) > Created attachment 51878 [details] > -Wunreachable-code-return at GIMPLE lowering time ... > At least this patch passes bootstrap and would have found one rea

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #26 from Richard Biener --- diff --git a/gcc/gimple-low.c b/gcc/gimple-low.c index 18e66450977..dc56e14b605 100644 --- a/gcc/gimple-low.c +++ b/gcc/gimple-low.c @@ -60,7 +60,7 @@ typedef struct return_statements_t return_statements_t;

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #25 from Richard Biener --- Created attachment 51878 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51878&action=edit -Wunreachable-code-return at GIMPLE lowering time This is an alternative change only implementing -Wunreachab

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Thomas Schwinge changed: What|Removed |Added See Also||http://gcc.gnu.org/bugzilla

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #23 from Richard Biener --- Created attachment 51877 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51877&action=edit some fallout in GCC This fixes some fallout appearant when bootstrapping with the patch, mostly style, so not

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 --- Comment #22 from Richard Biener --- Created attachment 51876 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=51876&action=edit -Wunreachable-code at CFG construction time

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Bug 46476 depends on bug 80701, which changed state. Bug 80701 Summary: Option for generating link symbol for functions removed by DCE https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80701 What|Removed |Added

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-26 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Richard Biener changed: What|Removed |Added CC||gustavo.hime at mpimet dot mpg.de ---

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-25 Thread tschwinge at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Thomas Schwinge changed: What|Removed |Added CC||tschwinge at gcc dot gnu.org --- Comme

[Bug c++/46476] Missing Warning about unreachable code after return [-Wunreachable-code-return]

2021-11-24 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46476 Richard Biener changed: What|Removed |Added Status|NEW |ASSIGNED Assignee|unassigned

[Bug c/103104] missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration

2021-11-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103104 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/103104] New: missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration

2021-11-05 Thread aldot at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103104 Bug ID: 103104 Summary: missing warning about superfluous forward declaration -Wsuperfluous-forward-declaration Product: gcc Version: 12.0 Status: UNCONFIRMED

  1   2   3   4   5   6   7   8   >