+2022-07-23 Immad Mir <mirimmad@outlook.com>
+
+ * doc/extend.texi: Add fd_arg, fd_arg_read and fd_arg_write under
+ "Common Function Attributes" section.
+ * doc/invoke.texi: Add docs to -Wanalyzer-fd-access-mode-mismatch,
+ -Wanalyzer-use-after-close, -Wanalyzer-fd-use-without-check that these
+ warnings may be emitted through usage of three function attributes used
+ for static analysis of file descriptors namely fd_arg, fd_arg_read and
+ fd_arg_write.
+
2022-07-22 Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp>
* config/xtensa/xtensa.md (*masktrue_const_bitcmpl):
+2022-07-23 Immad Mir <mirimmad@outlook.com>
+
+ * sm-fd.cc (fd_param_diagnostic): New diagnostic class.
+ (fd_access_mode_mismatch): Change inheritance from fd_diagnostic
+ to fd_param_diagnostic. Add new overloaded constructor.
+ (fd_use_after_close): Likewise.
+ (unchecked_use_of_fd): Likewise and also change name to fd_use_without_check.
+ (double_close): Change name to fd_double_close.
+ (enum access_directions): New.
+ (fd_state_machine::on_stmt): Handle calls to function with the
+ new three function attributes.
+ (fd_state_machine::check_for_fd_attrs): New.
+ (fd_state_machine::on_open): Use the new overloaded constructors
+ of diagnostic classes.
+
2022-07-22 David Malcolm <dmalcolm@redhat.com>
PR analyzer/106413
+2022-07-23 Immad Mir <mirimmad@outlook.com>
+
+ * c-attribs.cc: (c_common_attribute_table): add three new attributes
+ namely: fd_arg, fd_arg_read and fd_arg_write.
+ (handle_fd_arg_attribute): New.
+
2022-07-15 Marek Polacek <polacek@redhat.com>
PR c++/104477
+2022-07-23 Immad Mir <mirimmad@outlook.com>
+
+ * gcc.dg/analyzer/fd-5.c: New test.
+ * gcc.dg/analyzer/fd-4.c: Remove quotes around 'read-only' and
+ 'write-only'.
+ * c-c++-common/attr-fd.c: New test.
+
2022-07-22 David Malcolm <dmalcolm@redhat.com>
PR analyzer/106413