Skip to content

Commit

Permalink
wfc: rename symbol for consistency with other front-ends
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalak authored Apr 13, 2024
1 parent 34ce772 commit 3013daa
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions bld/f77/wfc/c/fcgmain.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ static void CGStart( void )
cg_switches cg_gen_opts;
cg_target_switches cg_target_opts;
int space_time;
cg_init_info info;
cg_init_info cg_info;
proc_revision cpu;

if( BELoad( NULL ) ) {
Expand Down Expand Up @@ -345,23 +345,23 @@ static void CGStart( void )
} else if( CGOpts & CGOPT_DI_DWARF ) {
cg_gen_opts |= CGSW_GEN_DBG_DF;
}
info = BEInit( cg_gen_opts, cg_target_opts, space_time, cpu );
cg_info = BEInit( cg_gen_opts, cg_target_opts, space_time, cpu );

if( info.success != 0 ) {
if( ( info.version.target == II_TARG_STUB ) ||
( info.version.target == II_TARG_CHECK ) ) {
if( cg_info.success != 0 ) {
if( ( cg_info.version.target == II_TARG_STUB ) ||
( cg_info.version.target == II_TARG_CHECK ) ) {
InitCG();
#if _CPU == 8086
} else if( info.version.target == II_TARG_8086 ) {
} else if( cg_info.version.target == II_TARG_8086 ) {
InitCG();
#elif _CPU == 386
} else if( info.version.target == II_TARG_80386 ) {
} else if( cg_info.version.target == II_TARG_80386 ) {
InitCG();
#elif _CPU == _AXP
} else if( info.version.target == II_TARG_AXP ) {
} else if( cg_info.version.target == II_TARG_AXP ) {
InitCG();
#elif _CPU == _PPC
} else if( info.version.target == II_TARG_PPC ) {
} else if( cg_info.version.target == II_TARG_PPC ) {
InitCG();
#else
#error no or invalid target specified
Expand Down

0 comments on commit 3013daa

Please sign in to comment.