forked from gcc-mirror/gcc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20231028 | ||
20231029 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,31 @@ | ||
2023-10-28 Iain Buclaw <[email protected]> | ||
|
||
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 <[email protected]> | ||
|
||
* 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 <[email protected]> | ||
|
||
* dmd/MERGE: Merge upstream dmd f4be7f6f7b. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
2023-10-28 Iain Buclaw <[email protected]> | ||
|
||
PR d/112270 | ||
* gdc.dg/pr112270.d: New test. | ||
|
||
2023-10-28 Iain Buclaw <[email protected]> | ||
|
||
* gdc.dg/Wunused_value.d: New test. | ||
|
||
2023-10-27 Patrick O'Neill <[email protected]> | ||
|
||
* gcc.target/riscv/stack_save_restore_2.c: Accept any number | ||
|