Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

forrtl warning (402)

Intel_C_Intel
Employee
500 Views
What are the implications of creating an array temporary for a passed argument that causes forrtl warning (402) to be generated?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
500 Views
Lower performance. We put that warning in (you have to ask for it, it's off by default) to help programmers find places where argument temp copies might be avoided with recoding. You get the temp if you're passing a non-contiguous array section to a routine that expects a contiguous array to be passed. See Chris Bord's article in VF Newsletter issue 1 (or maybe 2) for more on this.

Steve
0 Kudos
Reply