aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-warn.c
AgeCommit message (Expand)AuthorFilesLines
2018-12-20C/C++: Add -Waddress-of-packed-memberH.J. Lu1-0/+164
2018-12-20-Wtautological-compare: fix comparison of macro expansionsDavid Malcolm1-5/+21
2018-12-19C++: improvements to binary operator diagnostics (PR c++/87504)David Malcolm1-10/+47
2018-12-19C++: more location wrapper nodes (PR c++/43064, PR c++/43486)David Malcolm1-27/+44
2018-11-28PR c/88065 - ICE in -Wsizeof-pointer-memaccess on an invalid strncpyMartin Sebor1-1/+6
2018-11-14P1236R1 - Signed integers are two's complementJakub Jelinek1-2/+4
2018-08-27Less verbose fix-it hints for missing header files (PR 87091)David Malcolm1-1/+1
2018-08-27Come up with fndecl_built_in_p.Martin Liska1-1/+1
2018-08-20Add support for grouping of related diagnostics (PR other/84889)David Malcolm1-0/+3
2018-06-18PR middle-end/85602 - -Wsizeof-pointer-memaccess for strncat with size of sourceMartin Sebor1-0/+7
2018-06-12PR c/85931 - -Wsizeof-pointer-memaccess for strncpy with size of sourceMartin Sebor1-2/+15
2018-06-06PR c++/85710 - ICE with -Wmemset-elt-size.Jason Merrill1-1/+2
2018-05-26re PR bootstrap/85921 (/gcc/c-family/c-warn.c fails to build)Jakub Jelinek1-5/+3
2018-05-17Fix GNU coding style for G_.Martin Liska1-4/+4
2018-03-16re PR c/84909 (typo: conversion from %qT to to %qT)Jakub Jelinek1-2/+1
2018-03-16re PR c/84910 (typo: "%qs follows inline declaration ")Jakub Jelinek1-1/+1
2018-03-12PR tree-optimization/83456 - -Wrestrict false positive on a non-overlapping m...Martin Sebor1-12/+13
2018-03-02re PR c++/84171 (ICE with -Wsign-compare)Marek Polacek1-0/+3
2018-02-09[PR c/84293] Unexpected strict-alias warningNathan Sidwell1-14/+22
2018-01-10Preserving locations for variable-uses and constants (PR c++/43486)David Malcolm1-0/+3
2018-01-03Update copyright years.Jakub Jelinek1-1/+1
2017-12-18c-warn.c (warn_logical_operator): Return early if -Wlogical-op is not in effect.Marek Polacek1-0/+3
2017-12-07PR c/81544 - attribute noreturn and warn_unused_result on the same function a...Martin Sebor1-23/+6
2017-11-10PR c/81117 - Improve buffer overflow checking in strncpyMartin Sebor1-2/+22
2017-10-31diagnostics: get rid of *_at_rich_loc in favor of overloadingDavid Malcolm1-9/+9
2017-10-23re PR c/82681 (c-warn.c:1218: typo in warning message)Marek Polacek1-2/+2
2017-10-10Require wi::to_wide for treesRichard Sandiford1-8/+8
2017-10-10re PR c/82437 (false-positive -Wtautological-compare warning with -std=gnu89)Jakub Jelinek1-2/+2
2017-10-06re PR c/82437 (false-positive -Wtautological-compare warning with -std=gnu89)Jakub Jelinek1-5/+13
2017-10-02Fix mismatched precisions in tree arithmeticRichard Sandiford1-4/+6
2017-09-04re PR c/81783 (-Wtautological-compare could do better)Marek Polacek1-0/+55
2017-08-08trans.c: Include header files.Martin Liska1-0/+2
2017-08-02re PR c/81448 (False positive -Werror=multistatement-macros in openssl)Marek Polacek1-21/+31
2017-07-27re PR c/81417 (-Wsign-compare should print types being compared)Marek Polacek1-3/+4
2017-07-18tree-parloops.c (try_transform_to_exit_first_loop_alt): Use TYPE_MAX_VALUE.Nathan Sidwell1-4/+4
2017-07-04* c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling.Marek Polacek1-1/+0
2017-06-26re PR c/80116 (Warn about macros expanding to multiple statements)Marek Polacek1-0/+89
2017-06-13re PR objc/80949 (ICE in do_warn_duplicated_branches_r)Marek Polacek1-2/+2
2017-06-02PR c/80892 - -Wfloat-conversion now warns about non-floatsMartin Sebor1-4/+13
2017-05-24PR c/80731 - poor -Woverflow warningsMartin Sebor1-53/+141
2017-05-19c-warn.c (match_case_to_enum_1): Don't warn about enums with no enumerators.Jason Merrill1-0/+4
2017-05-19re PR c++/80593 (GCC 7, aligned_storage and “dereferencing type-punned poin...Richard Biener1-4/+4
2017-05-17c-common.c: Use NULL_TREE instead of 0 where appropriate.Marek Polacek1-1/+1
2017-05-09re PR c/80525 (-Wlogical-op confused by undefined integer overflow)Marek Polacek1-4/+20
2017-04-03Fix numerous typos in commentsJonathan Wakely1-1/+1
2017-02-24re PR c++/79588 (ICE in warn_for_restrict with -Wrestrict)Jakub Jelinek1-21/+15
2017-02-15re PR c/79515 (ICE: tree check: expected class 'type', have 'exceptional' (er...Marek Polacek1-0/+3
2017-01-20re PR c/64279 (Warning missing for "(cond) ? A : A" / if(cond) expr1; else ex...Marek Polacek1-0/+70
2017-01-01Update copyright years.Jakub Jelinek1-1/+1
2016-11-13re PR tree-optimization/35503 (Warning about restricted pointers?)Prathamesh Kulkarni1-0/+56