Skip to content

Latest commit

 

History

History
15 lines (12 loc) · 887 Bytes

fatal-error-c1307.md

File metadata and controls

15 lines (12 loc) · 887 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Fatal Error C1307
Fatal Error C1307
11/04/2016
C1307
C1307
6f77d3d4-ba8a-476c-b540-aff19eb4efc4

Fatal Error C1307

program has been edited since profile data was collected

When using /LTCG:PGOPTIMIZE, the linker detected an input module that was recompiled after /LTCG:PGINSTRUMENT and that the module was changed to the point where existing profile data is no longer relevant. For example, if the call graph changed in the recompiled module, the compiler will generate C1307.

To resolve this error, run /LTCG:PGINSTRUMENT, redo all test runs, and run /LTCG:PGOPTIMIZE. If you cannot run /LTCG:PGINSTRUMENT and redo all test runs, use /LTCG:PGUPDATE instead of /LTCG:PGOPTIMIZE to create the optimized image.