[Bug c++/105370] Improved diagnostics for code from statement expressions documentation [C++ component]

2022-07-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105370 Eric Gallager changed: What|Removed |Added Blocks|776 |772 --- Comment #1 from Eric Gallager

[Bug c++/106371] Bogus narrowing conversion reported due to bitfield

2022-07-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106371 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/106362] -Wc++20-compat should not warn with __extension__

2022-07-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=105499, ||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=71003 CC||egallager at gcc dot gnu.org

[Bug middle-end/106332] Possible out of bound buffer access in opts-common.c

2022-07-23 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106332 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug analyzer/106140] RFE: analyzer could complain about misuses of socket APIs

2022-07-22 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106140 Eric Gallager changed: What|Removed |Added See Also|https://gcc.gnu.org/bugzill |

[Bug analyzer/106301] RFE: analyzer support of mmap

2022-07-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106301 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug analyzer/106299] RFE: analyzer handling of fdopen

2022-07-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=101550 CC||egallager at gcc dot gnu.org --- Comment #1 from Eric Gallager --- As with other ideas for special-casing certain functions, I'd just be aware of certain portability issues, as gnulib

[Bug analyzer/106298] RFE: analyzer handling of dup, dup2, and dup3

2022-07-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106298 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug preprocessor/106272] clang build: new warning ?

2022-07-12 Thread egallager at gcc dot gnu.org via Gcc-bugs
||egallager at gcc dot gnu.org --- Comment #3 from Eric Gallager --- Note that GCC has its own version of -Wpessimizing-move, too... any idea why clang's version of the flag catches it, but gcc's doesn't?

[Bug bootstrap/78251] config/gettext.m4 and config/iconv.m4 contaminate CPPFLAGS (can lead to build failures when libunwind-headers from MacPorts is active)

2022-07-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78251 Eric Gallager changed: What|Removed |Added CC||bruno at clisp dot org --- Comment #14

[Bug target/34422] Bootstrap error with --enable-fixed-point (configure should reject --enable-fixed-point on platforms that don't support it)

2022-07-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34422 Eric Gallager changed: What|Removed |Added CC||aoliva at gcc dot gnu.org --- Comment

[Bug c/45358] Diagnostic could be issued for old C style a =+ b and similar cases

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

[Bug c/106148] RFE: warn about =- typos

2022-06-30 Thread egallager at gcc dot gnu.org via Gcc-bugs
||egallager at gcc dot gnu.org Resolution|--- |DUPLICATE --- Comment #2 from Eric Gallager --- (In reply to Marek Polacek from comment #1) > I think this was also requested in bug 45358. Yeah that was my first thought, too; closing this as a

[Bug target/34422] Bootstrap error with --enable-fixed-point (configure should reject --enable-fixed-point on platforms that don't support it)

2022-06-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34422 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug bootstrap/44425] configure should probe prefix for gmp/mpfr/mpc

2022-06-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44425 Eric Gallager changed: What|Removed |Added Status|ASSIGNED|RESOLVED CC|

[Bug c/105963] New: -Woverlength-strings: don't underline the entire offending string

2022-06-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Target Milestone: --- So I have been trying to enable -Woverlength-strings in my GCC build, just to see if it would work

[Bug c/105939] "warning: anonymous struct declared inside parameter list will not be visible outside of this definition or declaration" should have a warning flag attached to it

2022-06-12 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105939 --- Comment #1 from Eric Gallager --- Oh, one more; I updated the testcase so it's now: $ cat icculus_twitter_thread.c #include int main(void) { int x = 0; do printf("%d\n", x++); while (x < 10); return 0; } const const const

[Bug c/105939] New: "warning: anonymous struct declared inside parameter list will not be visible outside of this definition or declaration" should have a warning flag attached to it

2022-06-12 Thread egallager at gcc dot gnu.org via Gcc-bugs
g attached to it Product: gcc Version: 12.0 Status: UNCONFIRMED Keywords: diagnostic Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc d

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

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105898 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug analyzer/105889] RFE: -fanalyzer should complain about uses of inherently unsafe functions

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105889 --- Comment #2 from Eric Gallager --- Alternate idea: have fixincludes modify headers that still declare gets() and mktemp() to annotate them with __attribute__((error)) or __attribute__((warning)), if they don't already have at least one of

[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

[Bug analyzer/105895] RFE: -fanalyzer could check constraints on calls to C standard library

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
||a/show_bug.cgi?id=78155 CC||egallager at gcc dot gnu.org --- Comment #1 from Eric Gallager --- There's a request to do the alnum one as a front-end warning: see bug 78155

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

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105887 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug analyzer/105889] RFE: -fanalyzer should complain about uses of inherently unsafe functions

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105889 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug analyzer/105890] RFE: -fanalyzer should complain about mkstemp with not enough "X"s in format string

2022-06-08 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105890 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org Last

[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

2022-06-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #18 from Eric Gallager --- -Wmissing-declarations came up as a possibility for this in IRC

[Bug bootstrap/105831] Nonportable syntax in "test" and "[" commands.

2022-06-03 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105831 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c++/105828] New: [meta-bug] bogus/missing -Wshadow

2022-06-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Depends on: 56556, 78147, 78632, 92954, 96747, 105798 Target Milestone: --- alias Wshadow (also, this isn't so much a "Depends on" as it is a r

[Bug bootstrap/44425] configure should probe prefix for gmp/mpfr/mpc

2022-06-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44425 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug c/103810] -fallow-parameterless-variadic-functions flag could use a testcase that covers its documentation better

2022-06-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103810 --- Comment #2 from Eric Gallager --- (In reply to jos...@codesourcery.com from comment #1) > Note also that there is a proposal for C23 (N2854) to allow such > functions, including changing the requirements on va_start to make it > possible

[Bug c/103812] -fcond-mismatch could use a testcase that covers its documented behavior better

2022-06-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103812 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug bootstrap/103459] Make configury regenerate cleanly with `autoreconf -Wall`

2022-06-02 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103459 --- Comment #1 from Eric Gallager --- I've been working a bit on this in my autotools-tinkering branch in my userspace; it's nowhere near done yet, though... I'm also mirroring the branch on GitHub:

[Bug c++/105798] Add new -Wshadow for data member

2022-06-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105798 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug testsuite/104423] [libgomp, testsuite] Add means to do accelerator-only testing in libgomp

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

[Bug other/82383] Some new toplevel directories are not documented

2022-05-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82383 Eric Gallager changed: What|Removed |Added Resolution|--- |FIXED Status|ASSIGNED

[Bug libgomp/66005] libgomp make check time is excessive

2022-05-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66005 Eric Gallager changed: What|Removed |Added CC||tkoenig at gcc dot gnu.org --- Comment

[Bug libgomp/90084] Parallelize libgomp testing

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

[Bug target/34422] Bootstrap error with --enable-fixed-point (configure should reject --enable-fixed-point on platforms that don't support it)

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34422 --- Comment #10 from Eric Gallager --- Current code is like this: # Enable C extension for fixed-point arithmetic. AC_ARG_ENABLE(fixed-point, [AS_HELP_STRING([--enable-fixed-point], [enable fixed-point arithmetic extension to

[Bug target/34422] Bootstrap error with --enable-fixed-point (configure should reject --enable-fixed-point on platforms that don't support it)

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34422 Eric Gallager changed: What|Removed |Added Last reconfirmed|2008-01-22 00:58:46 |2022-5-24 CC|

[Bug other/37036] fixincludes does not understand sysroot!

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37036 --- Comment #5 from Eric Gallager --- (In reply to Jay from comment #4) > Here is a lame workaround that works, from my Python wrapper: > > if (Host == Target) and (Host != Build): > ExtraConfig += " -with-sysroot=/" >

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 --- Comment #32 from Eric Gallager --- (In reply to r...@cebitec.uni-bielefeld.de from comment #26) > That's one option, certainly easier for the users. At the least, the > issue should be documented in install.texi so they can add >

[Bug other/82383] Some new toplevel directories are not documented

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82383 Eric Gallager changed: What|Removed |Added Keywords||patch URL|

[Bug libbacktrace/105721] New: libbacktrace: update README

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: libbacktrace Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org CC: ian at gcc dot gnu.org Target Milestone: --- libbacktrace/README says: "As of September 2012, libbacktrace only supports ELF execut

[Bug bootstrap/44425] configure should probe prefix for gmp/mpfr/mpc

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=44425 --- Comment #3 from Eric Gallager --- This would be done in the top-level configure script... where it looks like it already does this for FreeBSD targets?

[Bug bootstrap/102665] ELF-specific configure flags should be rejected on non-ELF platforms

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102665 --- Comment #4 from Eric Gallager --- Hm, looking in gcc/configure.ac (where these are defined), it looks like there's a bunch of other flags that this bug could apply to, too...

[Bug target/34422] Bootstrap error with --enable-fixed-point (configure should reject --enable-fixed-point on platforms that don't support it)

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=34422 Eric Gallager changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug target/93082] macOS Authorization.h needs fixinclude

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082 --- Comment #13 from Eric Gallager --- (In reply to Eric Gallager from comment #12) > OK I'll open a separate bug for that and self-assign (that's bug 105719 now, for reference)

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |egallager at gcc dot gnu.org --- Comment #31 from Eric Gallager --- (In reply to Iain Sandoe from comment #30) > (In reply to Eric Gallager from comment #29) > > (In reply to Eric Gallager from comment #28) > > > (I recently got a new laptop and am now o

[Bug libobjc/48626] --enable-objc-gc should be automatic

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48626 Eric Gallager changed: What|Removed |Added CC||iains at gcc dot gnu.org --- Comment #4

[Bug target/34422] Bootstrap error with --enable-fixed-point (configure should reject --enable-fixed-point on platforms that don't support it)

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
||support it) Assignee|unassigned at gcc dot gnu.org |egallager at gcc dot gnu.org --- Comment #8 from Eric Gallager --- (In reply to Eric Gallager from comment #6) > (In reply to Andrew Pinski from comment #5) > > fixed point support is only currently

[Bug target/80782] Configure options to use llvm/clang assembler on Mac

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80782 --- Comment #15 from Eric Gallager --- (In reply to Iain Sandoe from comment #12) > please could you be more specific about exactly what's not working? > - i.e if you're on an older version of the OS. > - version of Xcode. So I'm assuming

[Bug bootstrap/43301] top-level configure script ignores ---with-build-time-tools

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |egallager at gcc dot gnu.org --- Comment #4 from Eric Gallager --- (In reply to Eric Gallager from comment #3) > Patches go to the gcc-patches mailing list if you still want to see this > fixed Actually I guess I can try taking it myself

[Bug other/82383] Some new toplevel directories are not documented

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
||easyhack Assignee|unassigned at gcc dot gnu.org |egallager at gcc dot gnu.org --- Comment #5 from Eric Gallager --- (In reply to Eric Gallager from comment #4) > (In reply to Eric Gallager from comment #1) > > Confirmed, they should be listed here:

[Bug other/58312] libssp configure check for "usable vsnprintf" is broken on cross-compilers.

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=58312 Eric Gallager changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |egallager at gcc dot gnu.org

[Bug libstdc++/21549] Configure options are poorly documented

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=21549 Eric Gallager changed: What|Removed |Added Summary|Configure options hard to |Configure options are

[Bug bootstrap/44425] configure should probe prefix for gmp/mpfr/mpc

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
at gcc dot gnu.org |egallager at gcc dot gnu.org --- Comment #2 from Eric Gallager --- Mine.

[Bug target/18469] configure incorrectly defines gid_t

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=18469 Eric Gallager changed: What|Removed |Added Resolution|--- |FIXED Status|WAITING

[Bug bootstrap/102665] ELF-specific configure flags should be rejected on non-ELF platforms

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
|unassigned at gcc dot gnu.org |egallager at gcc dot gnu.org Status|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 --- Comment #3 from Eric Gallager --- Mine.

[Bug target/105719] RFE: fixincludes should handle Frameworks

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105719 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug target/105719] RFE: fixincludes should handle Frameworks

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
|UNCONFIRMED |ASSIGNED Ever confirmed|0 |1 Assignee|unassigned at gcc dot gnu.org |egallager at gcc dot gnu.org --- Comment #1 from Eric Gallager --- Mine.

[Bug target/105719] New: RFE: fixincludes should handle Frameworks

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
: target Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org CC: bkorb at gnu dot org Target Milestone: --- Target: *-*-darwin This is split off from bug 93082. Basically, if there is a header that needs to be fixincluded

[Bug target/90835] Incompatibilities with macOS 10.15 headers

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835 Eric Gallager changed: What|Removed |Added Status|WAITING |NEW --- Comment #29 from Eric Gallager

[Bug preprocessor/51776] fixincludes hacks around a C++ deficiency

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

[Bug bootstrap/44252] fixincludes fork vs. vms

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

[Bug other/12300] gcc fails looking for "home frameworks" under MacOS X

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

[Bug target/93082] macOS Authorization.h needs fixinclude

2022-05-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082 --- Comment #12 from Eric Gallager --- (In reply to Iain Sandoe from comment #10) > I do not currently have a plan to try and build a second fix includes tree > for Frameworks, but happy to review patches if someone else does :) OK I'll open a

[Bug target/105710] ICE on powerpc darwin with TLS enabled

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

[Bug c/61469] language feature: Support for enum underlying type

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

[Bug c++/87504] inconsistent diagnostic style between C and C++ for binary operators

2022-05-15 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87504 Eric Gallager changed: What|Removed |Added Status|ASSIGNED|WAITING --- Comment #10 from Eric

[Bug c/105612] New: [meta-bug] bogus/missing -Wtautological-compare

2022-05-15 Thread egallager at gcc dot gnu.org via Gcc-bugs
Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Target Milestone: --- alias Wtautological-compate

[Bug c/105557] -Wtautological-compare doesn't warn about bitwise expressions that always evaluate to true or false

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

[Bug target/93082] macOS Authorization.h needs fixinclude

2022-05-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93082 Eric Gallager changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment

[Bug c/81233] -Wdiscarded-qualifiers and Wincompatible-pointer-types missing important detail

2022-05-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
|--Wdiscarded-qualifiers and |-Wdiscarded-qualifiers and |Wincompatible-pointer-types |Wincompatible-pointer-types |missing important detail|missing important detail CC||egallager at gcc dot gnu.org Resolution|FIXED

[Bug c/80528] reimplement gnulib's "useless-if-before-free" script as a compiler warning

2022-05-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80528 Eric Gallager changed: What|Removed |Added CC||dmalcolm at gcc dot gnu.org --- Comment

[Bug go/83308] Missing platform definitions for SH in libgo

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

[Bug libbacktrace/105590] GCC should give backtraces on Darwin when it ICEs

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

[Bug fortran/49566] [DWARF/DEBUG] Add coarray shapes (codimensions) to the debug output

2022-05-11 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=49566 --- Comment #4 from Eric Gallager --- Does this still need to be in WAITING?

[Bug objc/102537] Objective-C: can't use >= USE_FIXUP_BEFORE paths on non-Darwin

2022-05-07 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102537 Eric Gallager changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug c++/105499] inconsistency between -Werror=c++-compat and g++ in __extension__ block

2022-05-05 Thread egallager at gcc dot gnu.org via Gcc-bugs
||egallager at gcc dot gnu.org --- Comment #1 from Eric Gallager --- This is probably another one of those issues with how the preprocessor works in C++ mode in general; see for example bug 71003 and bug 87274

[Bug c/71176] trunk/fixincludes/fixincl.c:162: bad % specifier

2022-05-01 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71176 Eric Gallager changed: What|Removed |Added CC||xerofoify at gmail dot com --- Comment

[Bug c++/87656] Useful flags to enable with -Wall or -Wextra

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87656 --- Comment #14 from Eric Gallager --- (In reply to David Binderman from comment #11) > -Wold-style-definition > > KnR style function definitions have been deprecated for about 35 years. > > Yes, there is a warning for it in gcc, but that

[Bug target/95381] [11 Regression]: Build fails with --disable-bootstrap on m68k with ICE: in operator[], at vec.h:867

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
||egallager at gcc dot gnu.org Keywords||build --- Comment #21 from Eric Gallager --- (In reply to John Paul Adrian Glaubitz from comment #20) > JIT definitely works with 12 on m68k again - and probably 13. So, the title > is misleading. ok, retitled

[Bug ada/88200] [9/10/11 Regression] ada bootstrap failure on alpha-linux-gnu (raised STORAGE_ERROR : stack overflow or erroneous memory access)

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
|overflow or erroneous |memory access) |memory access) CC||egallager at gcc dot gnu.org --- Comment #8 from Eric Gallager --- (In reply to John Paul Adrian Glaubitz from comment #7) > This has been fixed on

[Bug target/98341] [11 Regression] Ada bootstrap fails with erroneous memory access on m68k

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98341 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/99950] Option -Wchar-subscripts leads to wrong fixes when used with functions from

2022-04-28 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99950 Eric Gallager changed: What|Removed |Added Summary|Option -Wchar-subscripts|Option -Wchar-subscripts

[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 c/86647] Test on constant expression (unsigned) -1 < 0 triggers a spurious -Wtype-limits warning

2022-04-27 Thread egallager at gcc dot gnu.org via Gcc-bugs
, ||egallager at gcc dot gnu.org --- Comment #6 from Eric Gallager --- Apparently this issue affects the Linux kernel: https://gcc.gnu.org/pipermail/gcc/2022-April/238605.html

[Bug c/105401] Improved diagnostics for code from "Labels as Values" documentation

2022-04-27 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105401 --- Comment #1 from Eric Gallager --- Actually never mind about point 3: I do actually get warnings from -Winline when I turn on optimizations: $ /usr/local/bin/gcc -c -Wall -Wextra -Wc++-compat -Winline -O2 labels_as_values.c

[Bug c/105401] New: Improved diagnostics for code from "Labels as Values" documentation

2022-04-26 Thread egallager at gcc dot gnu.org via Gcc-bugs
Keywords: diagnostic, documentation Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Target Milestone: --- Continuing my GCC documentation readthrough, I'm now up to the d

[Bug c++/105377] Likely a misleading clang warning -Wc++20-attribute-extensions

2022-04-25 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105377 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug c/105369] Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 --- Comment #3 from Eric Gallager --- (In reply to Eric Gallager from comment #0) > Anyways, that's it for the plain-C code from that page; I'll open a separate > bug for the C++ if it turns out that that needs one, too. OK I opened bug 105370

[Bug c++/105370] New: Improved diagnostics for code from statement expressions documentation [C++ component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
Keywords: diagnostic, documentation Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Target Milestone: --- This is the C++ counterpart to bug 105369. Code is taken from GCC

[Bug c/105369] Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105369 --- Comment #1 from Eric Gallager --- Oh, I should probably add something to test the sentence that says, "If you don’t know the type of the operand, you can still do this, but you must use typeof or __auto_type (see Typeof)," too...

[Bug c/105369] New: Improved diagnostics for code from statement expressions documentation [C component]

2022-04-24 Thread egallager at gcc dot gnu.org via Gcc-bugs
Keywords: diagnostic, documentation Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: egallager at gcc dot gnu.org Target Milestone: --- So, I'm going back to reading GCC documentation again; I last left off

[Bug c++/105278] no warning for precise literals compared with floats

2022-04-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105278 --- Comment #3 from Eric Gallager --- (In reply to David Binderman from comment #2) > (In reply to Eric Gallager from comment #1) > > -Wfloat-equal gets you a warning, as does -Wdouble-promotion: > > Thanks for that. This looks like another

[Bug c++/87404] Implement -Wenum-compare and -Wenum-compare-switch

2022-04-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87404 --- Comment #9 from Eric Gallager --- (In reply to Ævar Arnfjörð Bjarmason from comment #8) > Eric: I filed bug 87983. I think it makes sense to mark it as a duplicate > only if this one covers both C and C++, right now the "component" for this

[Bug c++/105278] no warning for precise literals compared with floats

2022-04-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105278 Eric Gallager changed: What|Removed |Added CC||egallager at gcc dot gnu.org

[Bug analyzer/105273] -Wanalyzer-use-of-uninitialized-value warns on "missing" default for switch when callers can be statically determined

2022-04-14 Thread egallager at gcc dot gnu.org via Gcc-bugs
||egallager at gcc dot gnu.org See Also||https://gcc.gnu.org/bugzill ||a/show_bug.cgi?id=61864 --- Comment #3 from Eric Gallager --- For more discussion of how "default" branches

[Bug preprocessor/103027] Implement warning for homoglyphs in identifiers

2022-04-13 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103027 --- Comment #5 from Eric Gallager --- Example bug that this warning flag could have found, if the string involved were a C string: https://twitter.com/nyt_first_said/status/1513148451210637313

[Bug tree-optimization/105237] Missing uninitialized warning in self-initialization case

2022-04-12 Thread egallager at gcc dot gnu.org via Gcc-bugs
||egallager at gcc dot gnu.org --- Comment #3 from Eric Gallager --- (In reply to Andrew Pinski from comment #2) > Note: > int n = n; > Is a documented way of having the uninitiated warning to not happen. ...although there are requests for a separate flag to warn in c

<    1   2   3   4   5   6   7   8   9   10   >