GCC Bugzilla – Dependency tree for
Bug 87403
[Meta-bug] Issues that suggest a new warning
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Max Depth:
Bug 87403
depends on 172 bugs:
view as bug list
87403:
[Meta-bug] Issues that suggest a new warning
[NEW; assigned to unassigned; target: ---]
4898:
adding an option to verify exception specifications [-Wexceptions]
[NEW; assigned to unassigned; target: ---]
12341:
Request for additional warning for variable shadowing
[NEW; assigned to vultkayn; target: ---]
16186:
gcc should have an option to warn about enumerations with duplicate values
[ASSIGNED; assigned to mpolacek; target: ---]
16358:
-Wno-system-headers hides warning caused by user header vs system header conflict [i.e. add -Wmacro-redefined]
[NEW; assigned to unassigned; target: ---]
17170:
add warning for bitfield declarations where the presence of a signbit (or lack thereof) could lead to confusion [-Wdefault-bitfield-sign]
[NEW; assigned to unassigned; target: ---]
17426:
Emit mandatory warning for manual expansions of offsetof
[NEW; assigned to unassigned; target: ---]
30811:
__FUNCTION__ allowed in function declaration (i.e. add -Wpredefined-identifier-outside-function)
[NEW; assigned to unassigned; target: ---]
32562:
-Wunused/-Wunused-function doesn't warn about static function only called by itself (recursive)
[NEW; assigned to unassigned; target: ---]
33483:
New warning suggestion (for -Wall): sizeof() with non-lvalue has side effects that will not execute at runtime
[NEW; assigned to unassigned; target: ---]
33715:
Suggest -Wmemleak warning for C++
[SUSPENDED; assigned to unassigned; target: ---]
36159:
C++ compiler should issue a warning with missing new operator
[NEW; assigned to unassigned; target: ---]
36367:
warning for questionable compound expression
[NEW; assigned to unassigned; target: ---]
41423:
missing warning for an uncallable function template
[NEW; assigned to unassigned; target: ---]
45358:
Diagnostic could be issued for old C style a =+ b and similar cases
[NEW; assigned to unassigned; target: ---]
46476:
Missing Warning about unreachable code after return [-Wunreachable-code-return]
[ASSIGNED; assigned to rguenth; target: ---]
80701:
Option for generating link symbol for functions removed by DCE
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
103439:
genemit emits dead code
[RESOLVED WONTFIX; assigned to unassigned; target: ---]
46742:
-Wparentheses unexpectedly misses some cases [-Wbool-bitwise-parentheses]
[NEW; assigned to unassigned; target: ---]
51066:
[C++0x] warning about binding an rvalue-reference to an implicit conversion result
[NEW; assigned to unassigned; target: ---]
51437:
GCC should warn on the use of reserved identifier/macro names
[NEW; assigned to unassigned; target: ---]
52050:
Want an option to warn about a declaration inside a for/while/if statements.
[NEW; assigned to unassigned; target: ---]
52281:
No warnings generated for unused captures
[NEW; assigned to unassigned; target: ---]
53129:
Wself-assign
[NEW; assigned to unassigned; target: ---]
53265:
Warn when undefined behavior implies smaller iteration count
[NEW; assigned to unassigned; target: ---]
53598:
missed diagnostics / equality comparison result unused [-Wunused-comparison]
[NEW; assigned to unassigned; target: ---]
55077:
implement and enable by default -Wliteral-conversion
[NEW; assigned to unassigned; target: ---]
56370:
RFE: warn on 'foo = realloc(foo, …)'
[NEW; assigned to unassigned; target: ---]
58884:
OPTIONAL warning when a temprary value is created and not used.
[NEW; assigned to unassigned; target: ---]
59552:
Warning when non-trivial type parameter is passed by value but not changed in function
[NEW; assigned to unassigned; target: ---]
59793:
Warning to suggest making trivial non-virtual method inline
[NEW; assigned to unassigned; target: ---]
60135:
add option to warn if ctor/conversion declared implicit
[NEW; assigned to unassigned; target: ---]
60523:
Warning flag for octal literals [-Woctal-literals]
[NEW; assigned to unassigned; target: ---]
60664:
comparison of constant SPR_POINTER with unsigned_flag is always false [-Wtautological-constant-out-of-range-compare]
[REOPENED; assigned to unassigned; target: ---]
61372:
Add warning to detect noexcept functions that might throw [-Wnoexcept-mismatch]
[UNCONFIRMED; assigned to unassigned; target: ---]
61864:
-Wcovered-switch-default to identify "dead" default branch
[NEW; assigned to unassigned; target: ---]
61961:
Add new warning when initializer-list constructor chosen for uniform init that doesn't intend to use initializer_list
[NEW; assigned to unassigned; target: ---]
62029:
Requesting new warning: missing const-qualifier
[NEW; assigned to unassigned; target: ---]
62181:
[C/C++] Expected new warning: "adding 'char' to a string does not append to the string" [-Wstring-plus-int]
[NEW; assigned to unassigned; target: ---]
63181:
GCC should warn about "obvious" bugs in binding a reference to temporary
[NEW; assigned to unassigned; target: ---]
64463:
Add warning: returns_nonnull attribute on a function compared against NULL
[NEW; assigned to unassigned; target: ---]
64867:
split warning for passing non-POD to varargs function from -Wconditionally-supported into new warning flag, -Wnon-pod-varargs
[NEW; assigned to unassigned; target: ---]
65253:
add -Wmemsize-comparison
[NEW; assigned to unassigned; target: ---]
65254:
libiberty produces using extended field designator is an extension warnings in clang [-Wextended-offsetof]
[NEW; assigned to unassigned; target: ---]
67479:
Support for -Wformat-pedantic
[NEW; assigned to unassigned; target: ---]
68230:
Unused function parameters not reported by -Wunused-parameter when only used recursively (add -Wparameter-only-used-recursively instead?)
[NEW; assigned to unassigned; target: ---]
68888:
No Warning when converting an array of a subclass to its parent
[NEW; assigned to unassigned; target: ---]
69777:
Give a warning when virtual function is devirtualized into a __cxa_pure_virtual call
[NEW; assigned to unassigned; target: ---]
69818:
warn for C++ functional cast expression on pointer or reference (i.e. add -Wfunctional-cast)
[NEW; assigned to unassigned; target: ---]
70047:
Warn on inefficient function parameter passing
[NEW; assigned to unassigned; target: ---]
70065:
Split -Wparentheses warnings about operators priority into a separate warning flag, -Wprecedence
[NEW; assigned to unassigned; target: ---]
70606:
new warning for unicode quotes
[NEW; assigned to unassigned; target: ---]
70644:
Warn about implicit conversion of 'this' to pointer to virtual base class during construction [-Wbase-conversion]
[NEW; assigned to unassigned; target: ---]
70952:
Missing warning for likely-erroneous octal escapes in string literals [-Woctal-escapes]
[NEW; assigned to unassigned; target: ---]
71218:
Add a warning about "new T[integer-literal]"
[NEW; assigned to unassigned; target: ---]
71482:
Add -Wglobal-constructors warning option
[NEW; assigned to unassigned; target: ---]
72751:
anonymous union within an anonymous union accepted without diagnostic (i.e. add -Wnested-anon-types)
[NEW; assigned to unassigned; target: ---]
72789:
add -Wunused-private-field
[NEW; assigned to unassigned; target: ---]
77430:
warn about redundant assignments
[NEW; assigned to unassigned; target: ---]
77618:
warn for explicit instantiation that occurs after an explicit specialization [-Winstantiation-after-specialization]
[NEW; assigned to unassigned; target: ---]
78155:
missing warning on invalid usage of functions/macros from <ctype.h> (isalpha et al.)
[NEW; assigned to unassigned; target: ---]
80151:
Add a warning to catch implicit string to bool conversion (-Wstring-conversion)
[NEW; assigned to unassigned; target: ---]
80528:
reimplement gnulib's "useless-if-before-free" script as a compiler warning
[NEW; assigned to unassigned; target: ---]
80711:
warn on non-const accessor member functions
[NEW; assigned to unassigned; target: ---]
80744:
Detect Possible Division By Zero and give a warning in C/C++ [-Wmaybe-div-by-zero]
[NEW; assigned to unassigned; target: ---]
81452:
warn on realloc(p, 0)
[NEW; assigned to unassigned; target: ---]
82100:
gcc does not warn about code that is unreachable due to conflicting conditions [subset of reviving -Wunreachable-code]
[NEW; assigned to unassigned; target: ---]
82272:
RFE: request a warning for (<nonbool> == <bool>) etc.
[NEW; assigned to unassigned; target: ---]
84185:
missing warning when ignoring attribute aligned on a member
[UNCONFIRMED; assigned to unassigned; target: ---]
84203:
add -Wsuggest-attribute=returns_nonnull
[NEW; assigned to unassigned; target: ---]
84695:
Missed opportunity to issue warning about override [-Winconsistent-missing-override]
[NEW; assigned to unassigned; target: ---]
86239:
Suggestion: Improve "set but not used variable" warning
[UNCONFIRMED; assigned to unassigned; target: ---]
87348:
Implement -Watomic-implicit-seq-cst
[NEW; assigned to unassigned; target: ---]
87379:
Warn about function pointer casts which differ in variadic-ness [-Wcast-variadic-function-type]
[NEW; assigned to unassigned; target: ---]
87404:
Implement -Wenum-compare and -Wenum-compare-switch
[NEW; assigned to unassigned; target: ---]
87406:
Implement -Wconstant-conversion and -Wbitfield-constant-conversion
[NEW; assigned to unassigned; target: ---]
87407:
Enhance -Wunused-function to handle also inline functions
[NEW; assigned to unassigned; target: ---]
87408:
Enhance -Wunused-value to catch more complex expressions
[NEW; assigned to unassigned; target: ---]
87730:
Warn about misuses of __has_include_next
[NEW; assigned to unassigned; target: ---]
87797:
Enhancement: Warning for potential name clash of variables/intrinsics...
[NEW; assigned to unassigned; target: ---]
88000:
Warn when different local vars regs order may produce different and so unsupported code [-Wasm-register-var]
[REOPENED; assigned to unassigned; target: ---]
88050:
Add a warning for breaking the "Rule of Three"
[NEW; assigned to unassigned; target: ---]
88727:
Diagnostics improvement: Detection of undefined behaviour. Incomplete type in tenative definition with internal linkage. [-Wtentative-definition-incomplete-type]
[NEW; assigned to unassigned; target: ---]
88887:
Warn on unexpected continuation of 'return' to new line in if statement.
[NEW; assigned to unassigned; target: ---]
89700:
Warn if move constructor is not generated and not deleted
[NEW; assigned to unassigned; target: ---]
89738:
Warn for unused macro arguments
[NEW; assigned to unassigned; target: ---]
89990:
request warning: Use of out of scope compound literals
[NEW; assigned to unassigned; target: ---]
88058:
gcc fails to detect use of out of scope variable ?
[NEW; assigned to unassigned; target: ---]
91770:
warn on #includes inside extern C regions
[ASSIGNED; assigned to nathan; target: ---]
92210:
no warning for invariable used in loop condition (i.e. add clang's -Wfor-loop-analysis)
[NEW; assigned to unassigned; target: ---]
92375:
Warn on suspicious taking of function address instead of calling a function
[NEW; assigned to unassigned; target: ---]
92479:
missing warnings for unreachable codes with break (i.e. revive the subset of -Wunreachable-code that fits under clang's -Wunreachable-code-break)
[ASSIGNED; assigned to rguenth; target: ---]
93252:
Warning for symbols that could be internalized
[NEW; assigned to unassigned; target: ---]
94699:
enhance -Wstring-compare to detect tautological or mutually exclusive strcmp expressions
[UNCONFIRMED; assigned to unassigned; target: ---]
95445:
diagnose incompatible calls to functions declared without prototype
[UNCONFIRMED; assigned to unassigned; target: ---]
95485:
missing warning writing into function text
[NEW; assigned to unassigned; target: ---]
96570:
Warnings desired for time_t to int coversions
[UNCONFIRMED; assigned to unassigned; target: ---]
96765:
Base class constructor cast to derived should cause a warning
[NEW; assigned to unassigned; target: ---]
96842:
enhancement: copy clang Wheader-guard
[NEW; assigned to unassigned; target: ---]
97398:
Enhancement request: Warning when multiply assigning to same struct field
[NEW; assigned to unassigned; target: ---]
97424:
Warn on invalid shift amount after inlining
[UNCONFIRMED; assigned to unassigned; target: ---]
99131:
gcc doesn't detect missing comma in array initialisation [-Wstring-concatenation]
[NEW; assigned to unassigned; target: ---]
99851:
Warn about operator new that takes std::nothrow_t but is potentially-throwing
[NEW; assigned to unassigned; target: ---]
100721:
Warn when assigning to temporary
[NEW; assigned to unassigned; target: ---]
101358:
Warn when saving a pointer to an object with temporary lifetime
[NEW; assigned to unassigned; target: ---]
102726:
Does not warn for enum constant in boolean context
[NEW; assigned to unassigned; target: ---]
103027:
Implement warning for homoglyphs in identifiers
[NEW; assigned to unassigned; target: ---]
103531:
Propose compiler warning when ceil/ceilf used on integral value
[NEW; assigned to unassigned; target: ---]
103745:
Warn on throwing an exception not derived from std::exception
[UNCONFIRMED; assigned to unassigned; target: ---]
103863:
We need a warning for loss of no-exec stacks
[UNCONFIRMED; assigned to unassigned; target: ---]
103920:
No warning for large structs passed by value ?
[UNCONFIRMED; assigned to unassigned; target: ---]
103947:
wishlist: warning if explicitly defaulted (spaceship) operator is deleted
[UNCONFIRMED; assigned to unassigned; target: ---]
104365:
Overload ambiguity not detected
[UNCONFIRMED; assigned to unassigned; target: ---]
105082:
[OpenMP] [RFC] Add warning like LLVM's "declaration marked as declare target after first use, it may lead to incorrect results [-Wopenmp-target]" ?
[UNCONFIRMED; assigned to unassigned; target: ---]
105164:
new warning in clang, missing in gcc: -Wbitwise-instead-of-logical
[NEW; assigned to unassigned; target: ---]
105177:
GCC should warn if pragma redefine_extname fails due to missing declaration
[UNCONFIRMED; assigned to unassigned; target: ---]
105283:
Ternary operator and precedence warning
[UNCONFIRMED; assigned to unassigned; target: ---]
105581:
new warning about boolean types and relational operators
[UNCONFIRMED; assigned to unassigned; target: ---]
105610:
warn about cv qualifiers ignored for a base class
[UNCONFIRMED; assigned to unassigned; target: ---]
105701:
Warn about unused initializer for virtual base
[UNCONFIRMED; assigned to unassigned; target: ---]
105798:
Add new -Wshadow for data member
[NEW; assigned to unassigned; target: ---]
105890:
RFE: -fanalyzer should complain about mkstemp with not enough "X"s in format string
[NEW; assigned to dmalcolm; target: ---]
106393:
Add warnings for common dangling problems
[NEW; assigned to unassigned; target: ---]
106571:
Implement -Wsection diag
[WAITING; assigned to unassigned; target: ---]
106774:
warning about comparison to true/false
[UNCONFIRMED; assigned to unassigned; target: ---]
106926:
string_view construction from literal string containing null/zero should warn
[NEW; assigned to unassigned; target: ---]
106940:
Feature request: -Wsuggest-noexcept and -Wsuggest-explicit
[UNCONFIRMED; assigned to unassigned; target: ---]
108155:
no warning for for (int i = 1; 1 <= 12; ++i)
[NEW; assigned to unassigned; target: ---]
108694:
need a new warning option for preparing migration to ISO C 23
[UNCONFIRMED; assigned to unassigned; target: ---]
109515:
Diagnostic request: warning on out-of-order structured bindings names
[UNCONFIRMED; assigned to unassigned; target: ---]
109548:
Detect c_str() dangling problems
[NEW; assigned to unassigned; target: ---]
109787:
Warn about contract violations that can be detected at compile time
[NEW; assigned to unassigned; target: ---]
109835:
-Wincompatible-function-pointer-types as a subset of -Wincompatible-pointer-types?
[UNCONFIRMED; assigned to unassigned; target: ---]
109994:
Issue a diagnostic when a C++ file defines a macro that hides a keyword
[NEW; assigned to unassigned; target: ---]
110047:
RFE: Add a warning for use of bare "unsigned" (possibly under -Wimplicit-int?)
[UNCONFIRMED; assigned to unassigned; target: ---]
110092:
Missing warning that internal header is used
[UNCONFIRMED; assigned to unassigned; target: ---]
110187:
The compiler fails to warn about deleted constructor
[UNCONFIRMED; assigned to unassigned; target: ---]
110322:
Be more helpful when a varargs function is called in a wrong way
[NEW; assigned to unassigned; target: ---]
110933:
Add warnings to detect wrapping happening inside a loop (an infinite loop)
[UNCONFIRMED; assigned to dmalcolm; target: ---]
25814:
Request for warning for parser ambiguity of function declarations and variable declarations with initializations
[RESOLVED FIXED; assigned to mpolacek; target: 9.4]
43728:
Add warning for redundant static function prototypes
[RESOLVED WONTFIX; assigned to unassigned; target: ---]
46513:
Request: Warning for use of unsafe string handling functions
[RESOLVED WONTFIX; assigned to unassigned; target: ---]
49574:
Give a warning for insane overloading
[RESOLVED INVALID; assigned to unassigned; target: ---]
51628:
__attribute__((packed)) is unsafe in some cases (i.e. add -Waddress-of-packed-member, etc.)
[RESOLVED FIXED; assigned to unassigned; target: 9.0]
65213:
Extend -Wmissing-declarations to variables [i.e. add -Wmissing-variable-declarations]
[RESOLVED FIXED; assigned to unassigned; target: 14.0]
67906:
Missing warning about std::move without effect
[RESOLVED FIXED; assigned to mpolacek; target: ---]
77404:
Add Wobjc-root-class
[RESOLVED FIXED; assigned to iains; target: 11.0]
78736:
enum warnings in GCC (request for -Wenum-conversion to be added)
[RESOLVED FIXED; assigned to prathamesh3492; target: ---]
81159:
New warning idea: -Wself-move
[RESOLVED FIXED; assigned to mpolacek; target: 13.0]
81745:
missing warning with -pedantic when a C file does not end with a newline character [-Wnewline-eof]
[RESOLVED INVALID; assigned to unassigned; target: ---]
85043:
-Wuseless-cast false positive for temporary objects; add separate -Wcast-to-the-same-type to cover that case instead
[RESOLVED FIXED; assigned to mpolacek; target: 13.0]
87405:
Implement -Wliteral-conversion
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
87409:
Implement -Wunused-private-field
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
87731:
Detection of mismatched alloc/free pairs
[RESOLVED FIXED; assigned to msebor; target: 11.0]
87983:
Feature: Add a warning when case labels from a different enum than the one in switch(EXPR) are used
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
88232:
Please implement -Winfinite-recursion
[RESOLVED FIXED; assigned to msebor; target: 12.0]
90629:
Support for -Wmismatched-new-delete
[RESOLVED FIXED; assigned to msebor; target: 11.0]
90885:
GCC should warn about 2^16 and 2^32 and 2^64 [-Wxor-used-as-pow]
[RESOLVED FIXED; assigned to dmalcolm; target: 13.0]
91428:
Please warn on if constexpr (std::is_constant_evaluated())
[RESOLVED FIXED; assigned to mpolacek; target: ---]
91741:
Implement new warning -Wsizeof-array-div
[RESOLVED FIXED; assigned to mpolacek; target: ---]
91777:
No warning for iterator going out of scope
[RESOLVED WONTFIX; assigned to unassigned; target: ---]
91915:
New warning for duplicate if condition in if-elseif-elseif chain
[RESOLVED FIXED; assigned to marxin; target: ---]
94112:
Please add a warning for potentially throwing code in noexcept function
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
94527:
RFE: Add an __attribute__ that marks a function as freeing an object
[RESOLVED FIXED; assigned to msebor; target: 11.0]
94695:
Implement -Wrange-loop-analysis
[RESOLVED FIXED; assigned to mpolacek; target: ---]
96501:
[C++11] Should warn when classes only have copy constructor defined
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
98750:
does not detect dead code [-Wunreachable-code-break]
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
46476:
Missing Warning about unreachable code after return [-Wunreachable-code-return]
[ASSIGNED; assigned to rguenth; target: ---]
(*)
100020:
RFE: Wmisleading-indentation (or similar warning) for certain missing semicolons?
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
100343:
add -Wundefined-inline for inline function is used but not defined
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
102638:
Add warning for implicit save
[RESOLVED DUPLICATE; assigned to unassigned; target: ---]
103026:
Implement warning for Unicode bidi override characters [CVE-2021-42574]
[RESOLVED FIXED; assigned to mpolacek; target: ---]
103945:
No warning for ordered comparison of function pointers ?
[RESOLVED DUPLICATE; assigned to mpolacek; target: ---]
105131:
Warning for mismatched declaration/definition with enum
[RESOLVED FIXED; assigned to mpolacek; target: ---]
Bug 87403
does not block any bugs.
Max Depth: