]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Daily bump.
authorGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 29 Oct 2023 00:17:16 +0000 (00:17 +0000)
committerGCC Administrator <gccadmin@gcc.gnu.org>
Sun, 29 Oct 2023 00:17:16 +0000 (00:17 +0000)
gcc/DATESTAMP
gcc/d/ChangeLog
gcc/testsuite/ChangeLog

index 208e534ff5788021331076b38413f32a7c0848c4..c45582a317ffbffe31e59ee75a5c885a9f83aec9 100644 (file)
@@ -1 +1 @@
-20231028
+20231029
index ed47d4ea0b9013649ce6c9d1ac9765f6f04bc35e..e561c46e345bd519dcb5258063bb637435d4959c 100644 (file)
@@ -1,3 +1,31 @@
+2023-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/112270
+       * d-builtins.cc (d_build_d_type_nodes): Initialize d_bool_false_node,
+       d_bool_true_node.
+       * d-codegen.cc (build_array_struct_comparison): Use d_bool_false_node
+       instead of boolean_false_node.
+       * d-convert.cc (d_truthvalue_conversion): Use d_bool_false_node and
+       d_bool_true_node instead of boolean_false_node and boolean_true_node.
+       * d-tree.h (enum d_tree_index): Add DTI_BOOL_FALSE and DTI_BOOL_TRUE.
+       (d_bool_false_node): New macro.
+       (d_bool_true_node): New macro.
+       * modules.cc (build_dso_cdtor_fn): Use d_bool_false_node and
+       d_bool_true_node instead of boolean_false_node and boolean_true_node.
+       (register_moduleinfo): Use d_bool_type instead of boolean_type_node.
+
+2023-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * d-codegen.cc (call_side_effect_free_p): New function.
+       * d-tree.h (CALL_EXPR_WARN_IF_UNUSED): New macro.
+       (call_side_effect_free_p): New prototype.
+       * expr.cc (ExprVisitor::visit (CallExp *)): Set
+       CALL_EXPR_WARN_IF_UNUSED on matched call expressions.
+       (ExprVisitor::visit (NewExp *)): Don't dereference the result of an
+       allocation call here.
+       * toir.cc (add_stmt): Emit warning when call expression added to
+       statement list without being used.
+
 2023-10-22  Iain Buclaw  <ibuclaw@gdcproject.org>
 
        * dmd/MERGE: Merge upstream dmd f4be7f6f7b.
index 718345c3548505db5c58043478497dbf19b10fae..af0a83c089333baf365b93aa4ac24968260f1b7f 100644 (file)
@@ -1,3 +1,12 @@
+2023-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       PR d/112270
+       * gdc.dg/pr112270.d: New test.
+
+2023-10-28  Iain Buclaw  <ibuclaw@gdcproject.org>
+
+       * gdc.dg/Wunused_value.d: New test.
+
 2023-10-27  Patrick O'Neill  <patrick@rivosinc.com>
 
        * gcc.target/riscv/stack_save_restore_2.c: Accept any number