5.14.3.1 The #pragma Addrqual Directive

This directive allows you to control the compiler’s response to non-standard memory qualifiers. This pragma is an in-code equivalent to the -maddrqual option and both use the same arguments (see 4.6.1.1 Addrqual Option).

The pragma has an effect over the entire C program and should be issued once, if required. If the pragma is issued more than once, the last pragma determines the compiler’s response.

For example:

#pragma addrqual require
__bank(2) int foobar;