mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge branch 'release-0.5' into develop.
This commit is contained in:
commit
42712a78ce
@ -59,6 +59,12 @@ Compiler Features:
|
|||||||
* ABIEncoderV2: Do not warn about enabled ABIEncoderV2 anymore (the pragma is still needed, though).
|
* ABIEncoderV2: Do not warn about enabled ABIEncoderV2 anymore (the pragma is still needed, though).
|
||||||
|
|
||||||
|
|
||||||
|
### 0.5.16 (2020-01-02)
|
||||||
|
|
||||||
|
Backported Bugfixes:
|
||||||
|
* Yul Optimizer: Fix bug in redundant assignment remover in combination with break and continue statements.
|
||||||
|
|
||||||
|
|
||||||
### 0.5.15 (2019-12-17)
|
### 0.5.15 (2019-12-17)
|
||||||
|
|
||||||
Bugfixes:
|
Bugfixes:
|
||||||
|
@ -10,6 +10,17 @@
|
|||||||
"yulOptimizer": true
|
"yulOptimizer": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "YulOptimizerRedundantAssignmentBreakContinue0.5",
|
||||||
|
"summary": "The Yul optimizer can remove essential assignments to variables declared inside for loops when Yul's continue or break statement is used. You are unlikely to be affected if you do not use inline assembly with for loops and continue and break statements.",
|
||||||
|
"description": "The Yul optimizer has a stage that removes assignments to variables that are overwritten again or are not used in all following control-flow branches. This logic incorrectly removes such assignments to variables declared inside a for loop if they can be removed in a control-flow branch that ends with ``break`` or ``continue`` even though they cannot be removed in other control-flow branches. Variables declared outside of the respective for loop are not affected.",
|
||||||
|
"introduced": "0.5.8",
|
||||||
|
"fixed": "0.5.16",
|
||||||
|
"severity": "low",
|
||||||
|
"conditions": {
|
||||||
|
"yulOptimizer": true
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ABIEncoderV2LoopYulOptimizer",
|
"name": "ABIEncoderV2LoopYulOptimizer",
|
||||||
"summary": "If both the experimental ABIEncoderV2 and the experimental Yul optimizer are activated, one component of the Yul optimizer may reuse data in memory that has been changed in the meantime.",
|
"summary": "If both the experimental ABIEncoderV2 and the experimental Yul optimizer are activated, one component of the Yul optimizer may reuse data in memory that has been changed in the meantime.",
|
||||||
|
@ -742,32 +742,46 @@
|
|||||||
},
|
},
|
||||||
"0.5.10": {
|
"0.5.10": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5",
|
||||||
"ABIEncoderV2CalldataStructsWithStaticallySizedAndDynamicallyEncodedMembers"
|
"ABIEncoderV2CalldataStructsWithStaticallySizedAndDynamicallyEncodedMembers"
|
||||||
],
|
],
|
||||||
"released": "2019-06-25"
|
"released": "2019-06-25"
|
||||||
},
|
},
|
||||||
"0.5.11": {
|
"0.5.11": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5"
|
||||||
|
],
|
||||||
"released": "2019-08-12"
|
"released": "2019-08-12"
|
||||||
},
|
},
|
||||||
"0.5.12": {
|
"0.5.12": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5"
|
||||||
|
],
|
||||||
"released": "2019-10-01"
|
"released": "2019-10-01"
|
||||||
},
|
},
|
||||||
"0.5.13": {
|
"0.5.13": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5"
|
||||||
|
],
|
||||||
"released": "2019-11-14"
|
"released": "2019-11-14"
|
||||||
},
|
},
|
||||||
"0.5.14": {
|
"0.5.14": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5",
|
||||||
"ABIEncoderV2LoopYulOptimizer"
|
"ABIEncoderV2LoopYulOptimizer"
|
||||||
],
|
],
|
||||||
"released": "2019-12-09"
|
"released": "2019-12-09"
|
||||||
},
|
},
|
||||||
"0.5.15": {
|
"0.5.15": {
|
||||||
"bugs": [],
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5"
|
||||||
|
],
|
||||||
"released": "2019-12-17"
|
"released": "2019-12-17"
|
||||||
},
|
},
|
||||||
|
"0.5.16": {
|
||||||
|
"bugs": [],
|
||||||
|
"released": "2020-01-02"
|
||||||
|
},
|
||||||
"0.5.2": {
|
"0.5.2": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
"SignedArrayStorageCopy",
|
"SignedArrayStorageCopy",
|
||||||
@ -840,6 +854,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.8": {
|
"0.5.8": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5",
|
||||||
"ABIEncoderV2CalldataStructsWithStaticallySizedAndDynamicallyEncodedMembers",
|
"ABIEncoderV2CalldataStructsWithStaticallySizedAndDynamicallyEncodedMembers",
|
||||||
"SignedArrayStorageCopy",
|
"SignedArrayStorageCopy",
|
||||||
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
"ABIEncoderV2StorageArrayWithMultiSlotElement",
|
||||||
@ -849,6 +864,7 @@
|
|||||||
},
|
},
|
||||||
"0.5.9": {
|
"0.5.9": {
|
||||||
"bugs": [
|
"bugs": [
|
||||||
|
"YulOptimizerRedundantAssignmentBreakContinue0.5",
|
||||||
"ABIEncoderV2CalldataStructsWithStaticallySizedAndDynamicallyEncodedMembers",
|
"ABIEncoderV2CalldataStructsWithStaticallySizedAndDynamicallyEncodedMembers",
|
||||||
"SignedArrayStorageCopy",
|
"SignedArrayStorageCopy",
|
||||||
"ABIEncoderV2StorageArrayWithMultiSlotElement"
|
"ABIEncoderV2StorageArrayWithMultiSlotElement"
|
||||||
|
Loading…
Reference in New Issue
Block a user