# recursive

Tells the compiler that all routines should be compiled for possible recursive execution.

## Syntax

Linux: | -recursive -norecursive

macOS: | -recursive -norecursive

Windows: | /recursive /norecursive

## Arguments

None

## Default

norecursive | Routines are not compiled for possible recursive execution.

## Description

This option tells the compiler that all routines should be compiled for possible recursive execution. It sets option auto.

### Note

This option will be deprecated in a future release. We recommend you use its replacement option: assume [no]recursion.

## IDE Equivalent

Visual Studio: Code Generation > Enable Recursive Routines

## Alternate Options

Linux and macOS: -assume [no]recursion

Windows: /assume:[no]recursion

Parent topic: Floating-Point Options

## See Also

auto compiler option
assume compiler option, setting [no]recursion