The node you are looking for is at gnat_rm/standard_and_implementation_defined_restrictions no-implicit-protected-object-allocations.