Heat oven to 375°F. Butter an 8-by-8-inch or 9-by-9-inch baking dish.
Toss peaches, blueberries, granulated sugar, cornstarch, lemon juice, vanilla, and 1/2 teaspoon cinnamon in a large bowl. Transfer to the baking dish.
In another bowl, mix oats, flour, brown sugar, 1 teaspoon cinnamon, and salt. Cut in cold butter until coarse crumbs form.
Sprinkle topping evenly over the fruit.
Bake for 35 to 40 minutes, until topping is golden and fruit juices are bubbling.
Rest for 15 minutes before serving. Serve warm with vanilla ice cream if desired.