Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 3/22/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

fpreview-breaking-changes

Lets a user tell the compiler that they are willing to give up backward compatibility guarantees and lets the compiler enable new backward breaking changes that will appear in the next major release. This feature is only available for ifx.

Syntax

Linux:

-fpreview-breaking-changes

Windows:

-fpreview-breaking-changes

Arguments

None

Default

OFF

The compiler follows default heuristics for backward compatibility.

Description

This option lets a user tell the compiler that they are willing to give up backward compatibility guarantees and lets the compiler enable new backward breaking changes that will appear in the next major release.

The breaking changes specified will be the default in the next major compiler release. So, this option lets you prepare for that release should you want to do so.

When this option is specified, it sets the macro __INTEL_PREVIEW_BREAKING_CHANGES.

When this option is used along with option -fsycl, the driver will link against an alternate form of libsycl, which is libsycl-preview.

NOTE:

To decide whether you want to choose to use the latest changes made by developers, see the Release Notes, which will show what is actually enabled by option -fpreview-breaking-release in each release.

IDE Equivalent

None

Alternate Options

None

Example

The following shows examples of using this option:

> ifx -fpreview-breaking-changes file.f90
> ifx -fpreview-breaking-changes -fiopenmp -fopenmp-targets=spir64 test.for