https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92612

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #1 from Martin Liška <marxin at gcc dot gnu.org> ---
Following patch fixes that:

diff --git a/benchspec/CPU/525.x264_r/src/ldecod_src/inc/configfile.h
b/benchspec/CPU/525.x264_r/src/ldecod_src/inc/configfile.h
index 12ed1cc8..450930e2 100644
--- a/benchspec/CPU/525.x264_r/src/ldecod_src/inc/configfile.h
+++ b/benchspec/CPU/525.x264_r/src/ldecod_src/inc/configfile.h
@@ -18,9 +18,9 @@
 //#define LEVEL_IDC       21


-InputParameters cfgparams;

 #ifdef INCLUDED_BY_CONFIGFILE_C
+InputParameters cfgparams;
 // Mapping_Map Syntax:
 // {NAMEinConfigFile,  &cfgparams.VariableName, Type, InitialValue, LimitType,
MinLimit, MaxLimit, CharSize}
 // Types : {0:int, 1:text, 2: double}
@@ -59,6 +59,7 @@ extern Mapping Map[];
 #endif
 extern void JMDecHelpExit ();
 extern void ParseCommand(InputParameters *p_Inp, int ac, char *av[]);
+extern InputParameters cfgparams;

 #endif

Reply via email to