While Trench Gorger’s ability is on the stack, it’s on the battlefield as a 6/6.

Artwork
Loading artwork…
Trench Gorger
The List · #CMD-65 · EN
Nonfoil—Foil—
Card rules
Trample
When this creature enters, you may search your library for any number of land cards, exile them, then shuffle. If you do, this creature has base power and base toughness each equal to the number of cards exiled this way.
6/6
Rare · Illustrated by Hideaki Takamura
Format legality
Commander Legal
Duel Legal
Legacy Legal
Oathbreaker Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Modern Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Penny Not Legal
Pioneer Not Legal
PreDH Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
If Trench Gorger leaves the battlefield before its triggered ability resolves, you may still search your library.
After the ability resolves, Trench Gorger’s power and toughness won’t change if one of the exiled cards leaves exile.
If you choose not to search, Trench Gorger will simply be 6/6.