Skip to content

Commit a532df2

Browse files
authored
Merge pull request #11751 from ethereum/fix-inconsistent-suppressing-of-pre-release-warning
Fix inconsistent suppressing of pre-release warning + remove superfluous warnings from tests
2 parents db85849 + 506cc20 commit a532df2

File tree

70 files changed

+96
-168
lines changed
  • test
    • cmdlineTests
      • abiencoderv2_no_warning
      • combined_json_generated_sources
      • dup_opt_peephole
      • exp_base_literal
      • keccak_optimization_deploy_code
      • keccak_optimization_low_runs
      • message_format_utf8
      • model_checker_contracts_inexistent_contract
      • model_checker_contracts_inexistent_source
      • model_checker_engine_none
      • model_checker_targets_balance_chc
      • model_checker_targets_constant_condition_chc
      • model_checker_targets_out_of_bounds_bmc
      • model_checker_targets_pop_empty_bmc
      • object_compiler
      • standard_default_success
      • standard_empty_file_name
      • standard_missing_key_useLiteralContent
      • standard_secondary_source_location
      • standard_wrong_key_auxiliary_input
      • standard_wrong_key_metadata
      • standard_wrong_key_optimizer
      • standard_wrong_key_root
      • standard_wrong_key_settings
      • standard_wrong_key_source
      • standard_wrong_type_auxiliary_input_smtlib2responses_member
      • standard_wrong_type_auxiliary_input_smtlib2responses
      • standard_wrong_type_auxiliary_input
      • standard_wrong_type_metadata
      • standard_wrong_type_optimizer
      • standard_wrong_type_output_selection_contract
      • standard_wrong_type_output_selection_file
      • standard_wrong_type_output_selection_output
      • standard_wrong_type_output_selection
      • standard_wrong_type_remappings_entry
      • standard_wrong_type_remappings
      • standard_wrong_type_root
      • standard_wrong_type_settings
      • standard_wrong_type_sources
      • standard_wrong_type_source
      • standard_wrong_type_useLiteralContent
      • stdin
      • too_long_line_both_sides_short
      • too_long_line_edge_in
      • too_long_line_edge_out
      • too_long_line_left_short
      • too_long_line_multiline
      • too_long_line_right_short
      • too_long_line
      • yul_verbatim_msize
      • yul_verbatim

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+96
-168
lines changed

test/cmdlineTests.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,7 @@ EOF
169169
rm "$stdout_path.bak"
170170
else
171171
sed -i.bak -e '/^Warning: This is a pre-release compiler version, please do not use it in production./d' "$stderr_path"
172+
sed -i.bak -e '/^Compiler run successful, no output requested\.$/d' "$stderr_path"
172173
sed -i.bak -e '/^Warning (3805): This is a pre-release compiler version, please do not use it in production./d' "$stderr_path"
173174
sed -i.bak -e 's/\(^[ ]*auxdata: \)0x[0-9a-f]*$/\1<AUXDATA REMOVED>/' "$stdout_path"
174175
sed -i.bak -e 's/ Consider adding "pragma .*$//' "$stderr_path"

test/cmdlineTests/abiencoderv2_no_warning/exit

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/combined_json_generated_sources/err

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/cmdlineTests/combined_json_generated_sources/exit

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/combined_json_generated_sources/input.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// SPDX-License-Identifier: GPL-3.0
2+
pragma solidity >=0.0;
13
pragma abicoder v2;
24

35
contract C {

test/cmdlineTests/dup_opt_peephole/err

Lines changed: 0 additions & 5 deletions
This file was deleted.

test/cmdlineTests/dup_opt_peephole/input.sol

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-License-Identifier: GPL-3.0
2+
pragma solidity >=0.0;
3+
14
contract C {
25
fallback() external {
36
assembly {

test/cmdlineTests/dup_opt_peephole/output

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
======= dup_opt_peephole/input.sol:C =======
33
EVM assembly:
4-
/* "dup_opt_peephole/input.sol":0:111 contract C {... */
4+
/* "dup_opt_peephole/input.sol":60:171 contract C {... */
55
mstore(0x40, 0x80)
66
callvalue
77
dup1
@@ -23,7 +23,7 @@ tag_1:
2323
stop
2424

2525
sub_0: assembly {
26-
/* "dup_opt_peephole/input.sol":0:111 contract C {... */
26+
/* "dup_opt_peephole/input.sol":60:171 contract C {... */
2727
mstore(0x40, 0x80)
2828
callvalue
2929
dup1
@@ -35,19 +35,19 @@ sub_0: assembly {
3535
revert
3636
tag_3:
3737
pop
38-
/* "dup_opt_peephole/input.sol":74:75 0 */
38+
/* "dup_opt_peephole/input.sol":134:135 0 */
3939
0x00
40-
/* "dup_opt_peephole/input.sol":61:76 calldataload(0) */
40+
/* "dup_opt_peephole/input.sol":121:136 calldataload(0) */
4141
calldataload
42-
/* "dup_opt_peephole/input.sol":100:101 x */
42+
/* "dup_opt_peephole/input.sol":160:161 x */
4343
dup1
44-
/* "dup_opt_peephole/input.sol":97:98 0 */
44+
/* "dup_opt_peephole/input.sol":157:158 0 */
4545
0x00
46-
/* "dup_opt_peephole/input.sol":90:102 sstore(0, x) */
46+
/* "dup_opt_peephole/input.sol":150:162 sstore(0, x) */
4747
sstore
48-
/* "dup_opt_peephole/input.sol":47:106 {... */
48+
/* "dup_opt_peephole/input.sol":107:166 {... */
4949
pop
50-
/* "dup_opt_peephole/input.sol":0:111 contract C {... */
50+
/* "dup_opt_peephole/input.sol":60:171 contract C {... */
5151
stop
5252

5353
auxdata: <AUXDATA REMOVED>

test/cmdlineTests/exp_base_literal/exit

Lines changed: 0 additions & 1 deletion
This file was deleted.

test/cmdlineTests/keccak_optimization_deploy_code/exit

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)