aboutsummaryrefslogtreecommitdiff
path: root/gcc/c-family/c-warn.c
AgeCommit message (Expand)AuthorFilesLines
2022-01-17Rename .c files to .cc files.Martin Liska1-3788/+0
2022-01-11c-family: Fix up -W*conversion on bitwise &/|/^ [PR101537]Jakub Jelinek1-0/+28
2022-01-03Update copyright years.Jakub Jelinek1-1/+1
2021-10-04c-family: Implement -Warray-compare [PR97573]Marek Polacek1-0/+32
2021-07-27Use OEP_DECL_NAME when comparing VLA bounds [PR101585].Martin Sebor1-1/+2
2021-07-15Avoid -Wvla-parameter for nontrivial bounds [PR97548].Martin Sebor1-1/+2
2021-06-24c-family: add support for per-location warning groups.Martin Sebor1-5/+5
2021-06-08c++: remove redundant warning [PR100879]Jason Merrill1-12/+0
2021-06-04PR c/100719 - missing -Wvla-parameter on a mismatch in second parameterMartin Sebor1-1/+1
2021-04-08c-family: Fix various comment typos in c-warn.cJakub Jelinek1-9/+9
2021-03-25c-family: Fix up -Wduplicated-branches for union members [PR99565]Jakub Jelinek1-1/+2
2021-02-12PR c/99055 - memory leak in warn_parm_array_mismatchMartin Sebor1-4/+16
2021-01-04Update copyright years.Jakub Jelinek1-1/+1
2020-11-24PR c/97955 - ICE in build_array_type_1 on invalid redeclaration of function w...Martin Sebor1-2/+2
2020-11-20PR middle-end/97861 - ICE on an invalid redeclaration of a function with attr...Martin Sebor1-7/+9
2020-11-10c, c++: Fix up -Wunused-value on COMPLEX_EXPRs [PR97748]Jakub Jelinek1-2/+11
2020-10-23c, c++: Implement -Wsizeof-array-div [PR91741]Marek Polacek1-0/+47
2020-10-23PR c/97463 - ICE in warn_parm_ptrarray_mismatch on an incompatible function r...Martin Sebor1-4/+4
2020-09-23Avoid assuming input corresponds to valid source code (PR c/97131).Martin Sebor1-0/+5
2020-09-19Infrastructure & C front end changes for array parameter checking (PR c/50584).Martin Sebor1-0/+561
2020-05-13c++: Replace "C++2a" with "C++20".Jason Merrill1-2/+2
2020-03-23c++: Handle COMPOUND_EXPRs in get_narrower and warnings_for_convert_and_check...Jakub Jelinek1-0/+5
2020-01-23c-family: One more 40752 tweak for unsigned char.Jason Merrill1-3/+7
2020-01-22c-family: Fix problems with blender and PPC from PR 40752 patch.Jason Merrill1-23/+24
2020-01-22c-family: Remove location parm from unsafe_conversion_p.Jason Merrill1-2/+2
2020-01-21PR c++/40752 - useless -Wconversion with short +=.Jason Merrill1-9/+61
2020-01-21Handle -Wsign-conversion in conversion_warning.Jason Merrill1-15/+53
2020-01-07whitespaceJason Merrill1-1/+1
2020-01-01Update copyright years.Jakub Jelinek1-1/+1
2019-10-01re PR c++/91925 (-fpack-struct causes a decltype with template to ICE)Jakub Jelinek1-0/+2
2019-09-16Handle location wrappers better in warn_logical_operator.Jason Merrill1-20/+20
2019-08-01re PR c++/90590 (enumeration value not handled in switch warning for std::ios...Matthew Beliveau1-0/+10
2019-06-21PR c++/90875 - added -Wswitch-outside-range optionMatthew Beliveau1-7/+8
2019-06-05c-decl.c (start_decl): Adjust quoting and hyphenation in diagnostics.Martin Sebor1-6/+9
2019-05-17trans.c (check_inlining_for_nested_subprog): Quote reserved names.Martin Sebor1-2/+2
2019-04-26Fix use of COMPLETE_TYPE_P for -Wstrict-aliasing=1Richard Sandiford1-1/+1
2019-04-19re PR c/89888 (When switch controlling expression is promoted from type narro...Jakub Jelinek1-2/+77
2019-04-05Guard notes for -Waddress-of-packed-member on warning emission (PR c/89985)David Malcolm1-11/+14
2019-04-05PR c++/89973 - -Waddress-of-packed-member ICE with invalid conversion.Marek Polacek1-1/+1
2019-04-03PR c++/86586 - -fcompare-debug=-Wsign-compare.Jason Merrill1-0/+3
2019-03-08re PR tree-optimization/89550 (Spurious array-bounds warning when using __PRE...Jakub Jelinek1-8/+16
2019-01-28c-warn.c (check_address_or_pointer_of_packed_member): Handle the case when rh...Bernd Edlinger1-9/+22
2019-01-21re PR c/88928 (ICE segfault in check_address_or_pointer_of_packed_member sinc...Bernd Edlinger1-22/+38
2019-01-18c-family: Update unaligned adress of packed member checkH.J. Lu1-81/+96
2019-01-13C-family: Replace "may may" with "may" in warning messageH.J. Lu1-1/+1
2019-01-01Update copyright years.Jakub Jelinek1-1/+1
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