This site is being rebuilt and some pages are out of date. For current details, write to [email protected]. This notice goes away when the rebuild is done.

No analytics unless you allow it, no tracking. This site keeps in your browser the language you pick, the theme, its colour, which site you chose, the currency on the pricing page and that you closed this notice; signing in adds session cookies. The legal page has the details.

Sign in

Radar · Solidity · Archive · Week 28 · Jul 6 – 12, 2026

Solidity 0.8.36 Release Announcement

Worth knowingcompiler

What changed
The release includes two security fixes of medium severity, stack‑to‑memory spilling for the experimental SSA code generator, and removal of the experimental EOF backend.
Production impact
The source does not say.
Try it
Upgrade to 0.8.36 and run a contract that previously hit a stack‑too‑deep error on the SSA backend.
Source
soliditylang.org/blog/2026/07/09/solidity-0.8.36-release-announcement

Understand it, then run it

Solidity 0.8.36 adds a new way to generate code that can move values from the stack to memory when the stack gets too full. In earlier releases, a contract that called a function many times in a row could hit a “stack‑too‑deep” error and fail to compile. The new SSA‑CFG code generator can spill values to memory, so those contracts now compile. The experimental EOF backend, which was a new format for contracts, is removed because it was no longer needed.

Run it now

Todaysolidity
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.37;

// This contract would fail to compile with a stack‑too‑deep error
// if the SSA‑CFG backend did not perform stack‑to‑memory spilling.
// The code below demonstrates a deep recursion that is now allowed.
contract DeepRecursion {
    uint256 public counter;

    function recurse(uint256 depth) public {
        if (depth == 0) return;
        counter++;
        recurse(depth - 1);
    }
}

Tests

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.37;

import "./main.sol";

contract DeepRecursionTest {
    DeepRecursion private contractUnderTest;

    constructor() {
        contractUnderTest = new DeepRecursion();
    }

    function test_deepRecursionCompilesAndRuns() public {
        // Call the recursive function with a depth that would normally
        // trigger a stack‑too‑deep error if spilling were not available.
        contractUnderTest.recurse(200);
        require(contractUnderTest.counter() == 200, "Counter should be 200");
    }
}

The test report when we ran it on Solidity 0.8.37 (solc)

1 of 1 tests passed.

  • test_deepRecursionCompilesAndRuns131,067 gas
  • DeepRecursionTest: 825 bytes of bytecode, deployed for 257,813 gas

solc 0.8.37 · prague

Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.

Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed