Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
9cabb1d8
Commit
9cabb1d8
authored
May 08, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
May 08, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* toplev.c: Fix formatting.
From-SVN: r53276
parent
6b9b5de2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
81 additions
and
77 deletions
+81
-77
gcc/ChangeLog
+4
-0
gcc/toplev.c
+77
-77
No files found.
gcc/ChangeLog
View file @
9cabb1d8
2002-05-07 Kazu Hirata <kazu@cs.umass.edu>
* toplev.c: Fix formatting.
2002-05-07 Janis Johnson <janis187@us.ibm.com>
2002-05-07 Janis Johnson <janis187@us.ibm.com>
* config.in (ENABLE_RTL_FLAG_CHECKING): New.
* config.in (ENABLE_RTL_FLAG_CHECKING): New.
...
...
gcc/toplev.c
View file @
9cabb1d8
...
@@ -1166,9 +1166,9 @@ documented_lang_options[] =
...
@@ -1166,9 +1166,9 @@ documented_lang_options[] =
used here is to only describe those options which are not
used here is to only describe those options which are not
enabled by default. */
enabled by default. */
{
"-ansi"
,
{
"-ansi"
,
N_
(
"Compile just for ISO C89"
)
},
N_
(
"Compile just for ISO C89"
)
},
{
"-std= "
,
{
"-std= "
,
N_
(
"Determine language standard"
)
},
N_
(
"Determine language standard"
)
},
{
"-fsigned-bitfields"
,
""
},
{
"-fsigned-bitfields"
,
""
},
...
@@ -1176,44 +1176,44 @@ documented_lang_options[] =
...
@@ -1176,44 +1176,44 @@ documented_lang_options[] =
N_
(
"Make bit-fields by unsigned by default"
)
},
N_
(
"Make bit-fields by unsigned by default"
)
},
{
"-fno-signed-bitfields"
,
""
},
{
"-fno-signed-bitfields"
,
""
},
{
"-fno-unsigned-bitfields"
,
""
},
{
"-fno-unsigned-bitfields"
,
""
},
{
"-fsigned-char"
,
{
"-fsigned-char"
,
N_
(
"Make 'char' be signed by default"
)
},
N_
(
"Make 'char' be signed by default"
)
},
{
"-funsigned-char"
,
{
"-funsigned-char"
,
N_
(
"Make 'char' be unsigned by default"
)
},
N_
(
"Make 'char' be unsigned by default"
)
},
{
"-fno-signed-char"
,
""
},
{
"-fno-signed-char"
,
""
},
{
"-fno-unsigned-char"
,
""
},
{
"-fno-unsigned-char"
,
""
},
{
"-fasm"
,
""
},
{
"-fasm"
,
""
},
{
"-fno-asm"
,
{
"-fno-asm"
,
N_
(
"Do not recognize the 'asm' keyword"
)
},
N_
(
"Do not recognize the 'asm' keyword"
)
},
{
"-fbuiltin"
,
""
},
{
"-fbuiltin"
,
""
},
{
"-fno-builtin"
,
{
"-fno-builtin"
,
N_
(
"Do not recognize any built in functions"
)
},
N_
(
"Do not recognize any built in functions"
)
},
{
"-fhosted"
,
{
"-fhosted"
,
N_
(
"Assume normal C execution environment"
)
},
N_
(
"Assume normal C execution environment"
)
},
{
"-fno-hosted"
,
""
},
{
"-fno-hosted"
,
""
},
{
"-ffreestanding"
,
{
"-ffreestanding"
,
N_
(
"Assume that standard libraries & main might not exist"
)
},
N_
(
"Assume that standard libraries & main might not exist"
)
},
{
"-fno-freestanding"
,
""
},
{
"-fno-freestanding"
,
""
},
{
"-fcond-mismatch"
,
{
"-fcond-mismatch"
,
N_
(
"Allow different types as args of ? operator"
)
},
N_
(
"Allow different types as args of ? operator"
)
},
{
"-fno-cond-mismatch"
,
""
},
{
"-fno-cond-mismatch"
,
""
},
{
"-fdollars-in-identifiers"
,
{
"-fdollars-in-identifiers"
,
N_
(
"Allow the use of $ inside identifiers"
)
},
N_
(
"Allow the use of $ inside identifiers"
)
},
{
"-fno-dollars-in-identifiers"
,
""
},
{
"-fno-dollars-in-identifiers"
,
""
},
{
"-fpreprocessed"
,
""
},
{
"-fpreprocessed"
,
""
},
{
"-fno-preprocessed"
,
""
},
{
"-fno-preprocessed"
,
""
},
{
"-fshort-double"
,
{
"-fshort-double"
,
N_
(
"Use the same size for double as for float"
)
},
N_
(
"Use the same size for double as for float"
)
},
{
"-fno-short-double"
,
""
},
{
"-fno-short-double"
,
""
},
{
"-fshort-enums"
,
{
"-fshort-enums"
,
N_
(
"Use the smallest fitting integer to hold enums"
)
},
N_
(
"Use the smallest fitting integer to hold enums"
)
},
{
"-fno-short-enums"
,
""
},
{
"-fno-short-enums"
,
""
},
{
"-fshort-wchar"
,
{
"-fshort-wchar"
,
N_
(
"Override the underlying type for wchar_t to `unsigned short'"
)
},
N_
(
"Override the underlying type for wchar_t to `unsigned short'"
)
},
{
"-fno-short-wchar"
,
""
},
{
"-fno-short-wchar"
,
""
},
{
"-Wall"
,
{
"-Wall"
,
N_
(
"Enable most warning messages"
)
},
N_
(
"Enable most warning messages"
)
},
{
"-Wbad-function-cast"
,
{
"-Wbad-function-cast"
,
N_
(
"Warn about casting functions to incompatible types"
)
},
N_
(
"Warn about casting functions to incompatible types"
)
},
...
@@ -1221,34 +1221,34 @@ documented_lang_options[] =
...
@@ -1221,34 +1221,34 @@ documented_lang_options[] =
{
"-Wmissing-format-attribute"
,
{
"-Wmissing-format-attribute"
,
N_
(
"Warn about functions which might be candidates for format attributes"
)
},
N_
(
"Warn about functions which might be candidates for format attributes"
)
},
{
"-Wno-missing-format-attribute"
,
""
},
{
"-Wno-missing-format-attribute"
,
""
},
{
"-Wcast-qual"
,
{
"-Wcast-qual"
,
N_
(
"Warn about casts which discard qualifiers"
)
},
N_
(
"Warn about casts which discard qualifiers"
)
},
{
"-Wno-cast-qual"
,
""
},
{
"-Wno-cast-qual"
,
""
},
{
"-Wchar-subscripts"
,
{
"-Wchar-subscripts"
,
N_
(
"Warn about subscripts whose type is 'char'"
)
},
N_
(
"Warn about subscripts whose type is 'char'"
)
},
{
"-Wno-char-subscripts"
,
""
},
{
"-Wno-char-subscripts"
,
""
},
{
"-Wcomment"
,
{
"-Wcomment"
,
N_
(
"Warn if nested comments are detected"
)
},
N_
(
"Warn if nested comments are detected"
)
},
{
"-Wno-comment"
,
""
},
{
"-Wno-comment"
,
""
},
{
"-Wcomments"
,
{
"-Wcomments"
,
N_
(
"Warn if nested comments are detected"
)
},
N_
(
"Warn if nested comments are detected"
)
},
{
"-Wno-comments"
,
""
},
{
"-Wno-comments"
,
""
},
{
"-Wconversion"
,
{
"-Wconversion"
,
N_
(
"Warn about possibly confusing type conversions"
)
},
N_
(
"Warn about possibly confusing type conversions"
)
},
{
"-Wno-conversion"
,
""
},
{
"-Wno-conversion"
,
""
},
{
"-Wdiv-by-zero"
,
""
},
{
"-Wdiv-by-zero"
,
""
},
{
"-Wno-div-by-zero"
,
{
"-Wno-div-by-zero"
,
N_
(
"Do not warn about compile-time integer division by zero"
)
},
N_
(
"Do not warn about compile-time integer division by zero"
)
},
{
"-Wfloat-equal"
,
{
"-Wfloat-equal"
,
N_
(
"Warn about testing equality of floating point numbers"
)
},
N_
(
"Warn about testing equality of floating point numbers"
)
},
{
"-Wno-float-equal"
,
""
},
{
"-Wno-float-equal"
,
""
},
{
"-Wformat"
,
{
"-Wformat"
,
N_
(
"Warn about printf/scanf/strftime/strfmon format anomalies"
)
},
N_
(
"Warn about printf/scanf/strftime/strfmon format anomalies"
)
},
{
"-Wno-format"
,
""
},
{
"-Wno-format"
,
""
},
{
"-Wformat-extra-args"
,
""
},
{
"-Wformat-extra-args"
,
""
},
{
"-Wno-format-extra-args"
,
{
"-Wno-format-extra-args"
,
N_
(
"Don't warn about too many arguments to format functions"
)
},
N_
(
"Don't warn about too many arguments to format functions"
)
},
{
"-Wformat-nonliteral"
,
{
"-Wformat-nonliteral"
,
N_
(
"Warn about non-string-literal format strings"
)
},
N_
(
"Warn about non-string-literal format strings"
)
},
{
"-Wno-format-nonliteral"
,
""
},
{
"-Wno-format-nonliteral"
,
""
},
{
"-Wformat-security"
,
{
"-Wformat-security"
,
...
@@ -1261,18 +1261,18 @@ documented_lang_options[] =
...
@@ -1261,18 +1261,18 @@ documented_lang_options[] =
N_
(
"Warn about implicit function declarations"
)
},
N_
(
"Warn about implicit function declarations"
)
},
{
"-Wno-implicit-function-declaration"
,
""
},
{
"-Wno-implicit-function-declaration"
,
""
},
{
"-Werror-implicit-function-declaration"
,
""
},
{
"-Werror-implicit-function-declaration"
,
""
},
{
"-Wimplicit-int"
,
{
"-Wimplicit-int"
,
N_
(
"Warn when a declaration does not specify a type"
)
},
N_
(
"Warn when a declaration does not specify a type"
)
},
{
"-Wno-implicit-int"
,
""
},
{
"-Wno-implicit-int"
,
""
},
{
"-Wimplicit"
,
""
},
{
"-Wimplicit"
,
""
},
{
"-Wno-implicit"
,
""
},
{
"-Wno-implicit"
,
""
},
{
"-Wimport"
,
{
"-Wimport"
,
N_
(
"Warn about the use of the #import directive"
)
},
N_
(
"Warn about the use of the #import directive"
)
},
{
"-Wno-import"
,
""
},
{
"-Wno-import"
,
""
},
{
"-Wlong-long"
,
""
},
{
"-Wlong-long"
,
""
},
{
"-Wno-long-long"
,
{
"-Wno-long-long"
,
N_
(
"Do not warn about using 'long long' when -pedantic"
)
},
N_
(
"Do not warn about using 'long long' when -pedantic"
)
},
{
"-Wmain"
,
{
"-Wmain"
,
N_
(
"Warn about suspicious declarations of main"
)
},
N_
(
"Warn about suspicious declarations of main"
)
},
{
"-Wno-main"
,
""
},
{
"-Wno-main"
,
""
},
{
"-Wmissing-braces"
,
{
"-Wmissing-braces"
,
...
@@ -1281,19 +1281,19 @@ documented_lang_options[] =
...
@@ -1281,19 +1281,19 @@ documented_lang_options[] =
{
"-Wmissing-declarations"
,
{
"-Wmissing-declarations"
,
N_
(
"Warn about global funcs without previous declarations"
)
},
N_
(
"Warn about global funcs without previous declarations"
)
},
{
"-Wno-missing-declarations"
,
""
},
{
"-Wno-missing-declarations"
,
""
},
{
"-Wmissing-prototypes"
,
{
"-Wmissing-prototypes"
,
N_
(
"Warn about global funcs without prototypes"
)
},
N_
(
"Warn about global funcs without prototypes"
)
},
{
"-Wno-missing-prototypes"
,
""
},
{
"-Wno-missing-prototypes"
,
""
},
{
"-Wmultichar"
,
{
"-Wmultichar"
,
N_
(
"Warn about use of multicharacter literals"
)
},
N_
(
"Warn about use of multicharacter literals"
)
},
{
"-Wno-multichar"
,
""
},
{
"-Wno-multichar"
,
""
},
{
"-Wnested-externs"
,
{
"-Wnested-externs"
,
N_
(
"Warn about externs not at file scope level"
)
},
N_
(
"Warn about externs not at file scope level"
)
},
{
"-Wno-nested-externs"
,
""
},
{
"-Wno-nested-externs"
,
""
},
{
"-Wparentheses"
,
{
"-Wparentheses"
,
N_
(
"Warn about possible missing parentheses"
)
},
N_
(
"Warn about possible missing parentheses"
)
},
{
"-Wno-parentheses"
,
""
},
{
"-Wno-parentheses"
,
""
},
{
"-Wpointer-arith"
,
{
"-Wpointer-arith"
,
N_
(
"Warn about function pointer arithmetic"
)
},
N_
(
"Warn about function pointer arithmetic"
)
},
{
"-Wno-pointer-arith"
,
""
},
{
"-Wno-pointer-arith"
,
""
},
{
"-Wredundant-decls"
,
{
"-Wredundant-decls"
,
...
@@ -1305,24 +1305,24 @@ documented_lang_options[] =
...
@@ -1305,24 +1305,24 @@ documented_lang_options[] =
{
"-Wsequence-point"
,
{
"-Wsequence-point"
,
N_
(
"Warn about possible violations of sequence point rules"
)
},
N_
(
"Warn about possible violations of sequence point rules"
)
},
{
"-Wno-sequence-point"
,
""
},
{
"-Wno-sequence-point"
,
""
},
{
"-Wsign-compare"
,
{
"-Wsign-compare"
,
N_
(
"Warn about signed/unsigned comparisons"
)
},
N_
(
"Warn about signed/unsigned comparisons"
)
},
{
"-Wno-sign-compare"
,
""
},
{
"-Wno-sign-compare"
,
""
},
{
"-Wstrict-prototypes"
,
{
"-Wstrict-prototypes"
,
N_
(
"Warn about non-prototyped function decls"
)
},
N_
(
"Warn about non-prototyped function decls"
)
},
{
"-Wno-strict-prototypes"
,
""
},
{
"-Wno-strict-prototypes"
,
""
},
{
"-Wtraditional"
,
{
"-Wtraditional"
,
N_
(
"Warn about constructs whose meanings change in ISO C"
)
},
N_
(
"Warn about constructs whose meanings change in ISO C"
)
},
{
"-Wno-traditional"
,
""
},
{
"-Wno-traditional"
,
""
},
{
"-Wtrigraphs"
,
{
"-Wtrigraphs"
,
N_
(
"Warn when trigraphs are encountered"
)
},
N_
(
"Warn when trigraphs are encountered"
)
},
{
"-Wno-trigraphs"
,
""
},
{
"-Wno-trigraphs"
,
""
},
{
"-Wundef"
,
""
},
{
"-Wundef"
,
""
},
{
"-Wno-undef"
,
""
},
{
"-Wno-undef"
,
""
},
{
"-Wunknown-pragmas"
,
{
"-Wunknown-pragmas"
,
N_
(
"Warn about unrecognized pragmas"
)
},
N_
(
"Warn about unrecognized pragmas"
)
},
{
"-Wno-unknown-pragmas"
,
""
},
{
"-Wno-unknown-pragmas"
,
""
},
{
"-Wwrite-strings"
,
{
"-Wwrite-strings"
,
N_
(
"Mark strings as 'const char *'"
)
},
N_
(
"Mark strings as 'const char *'"
)
},
{
"-Wno-write-strings"
,
""
},
{
"-Wno-write-strings"
,
""
},
...
@@ -1344,7 +1344,7 @@ static const struct
...
@@ -1344,7 +1344,7 @@ static const struct
const
int
value
;
const
int
value
;
const
char
*
const
description
;
const
char
*
const
description
;
}
}
target_switches
[]
=
TARGET_SWITCHES
;
target_switches
[]
=
TARGET_SWITCHES
;
/* This table is similar, but allows the switch to have a value. */
/* This table is similar, but allows the switch to have a value. */
...
@@ -1355,7 +1355,7 @@ static const struct
...
@@ -1355,7 +1355,7 @@ static const struct
const
char
**
const
variable
;
const
char
**
const
variable
;
const
char
*
const
description
;
const
char
*
const
description
;
}
}
target_options
[]
=
TARGET_OPTIONS
;
target_options
[]
=
TARGET_OPTIONS
;
#endif
#endif
/* Options controlling warnings. */
/* Options controlling warnings. */
...
@@ -1453,7 +1453,7 @@ int warn_disabled_optimization;
...
@@ -1453,7 +1453,7 @@ int warn_disabled_optimization;
int
warn_missing_noreturn
;
int
warn_missing_noreturn
;
/* Nonzero means warn about uses of __attribute__((deprecated))
/* Nonzero means warn about uses of __attribute__((deprecated))
declarations. */
declarations. */
int
warn_deprecated_decl
=
1
;
int
warn_deprecated_decl
=
1
;
...
@@ -1655,7 +1655,7 @@ strip_off_ending (name, len)
...
@@ -1655,7 +1655,7 @@ strip_off_ending (name, len)
int
len
;
int
len
;
{
{
int
i
;
int
i
;
for
(
i
=
2
;
i
<
6
&&
len
>
i
;
i
++
)
for
(
i
=
2
;
i
<
6
&&
len
>
i
;
i
++
)
{
{
if
(
name
[
len
-
i
]
==
'.'
)
if
(
name
[
len
-
i
]
==
'.'
)
{
{
...
@@ -1707,7 +1707,7 @@ output_file_directive (asm_file, input_name)
...
@@ -1707,7 +1707,7 @@ output_file_directive (asm_file, input_name)
while
(
na
>
input_name
)
while
(
na
>
input_name
)
{
{
if
(
IS_DIR_SEPARATOR
(
na
[
-
1
]))
if
(
IS_DIR_SEPARATOR
(
na
[
-
1
]))
break
;
break
;
na
--
;
na
--
;
}
}
...
@@ -2185,7 +2185,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end)
...
@@ -2185,7 +2185,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end)
{
{
alias
=
TREE_VALUE
(
TREE_VALUE
(
alias
));
alias
=
TREE_VALUE
(
TREE_VALUE
(
alias
));
alias
=
get_identifier
(
TREE_STRING_POINTER
(
alias
));
alias
=
get_identifier
(
TREE_STRING_POINTER
(
alias
));
assemble_alias
(
decl
,
alias
);
assemble_alias
(
decl
,
alias
);
}
}
}
}
...
@@ -2197,7 +2197,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end)
...
@@ -2197,7 +2197,7 @@ rest_of_decl_compilation (decl, asmspec, top_level, at_end)
timevar_push
(
TV_VARCONST
);
timevar_push
(
TV_VARCONST
);
if
(
asmspec
)
if
(
asmspec
)
make_decl_rtl
(
decl
,
asmspec
);
make_decl_rtl
(
decl
,
asmspec
);
/* Don't output anything when a tentative file-scope definition
/* Don't output anything when a tentative file-scope definition
is seen. But at end of compilation, do output code for them. */
is seen. But at end of compilation, do output code for them. */
...
@@ -2480,7 +2480,7 @@ rest_of_compilation (decl)
...
@@ -2480,7 +2480,7 @@ rest_of_compilation (decl)
distinguish between the return value of this function and the
distinguish between the return value of this function and the
return value of called functions. Also, we can remove all SETs
return value of called functions. Also, we can remove all SETs
of subregs of hard registers; they are only here because of
of subregs of hard registers; they are only here because of
integrate. Also, we can now initialize pseudos intended to
integrate. Also, we can now initialize pseudos intended to
carry magic hard reg data throughout the function. */
carry magic hard reg data throughout the function. */
rtx_equal_function_value_matters
=
0
;
rtx_equal_function_value_matters
=
0
;
purge_hard_subreg_sets
(
get_insns
());
purge_hard_subreg_sets
(
get_insns
());
...
@@ -2624,7 +2624,7 @@ rest_of_compilation (decl)
...
@@ -2624,7 +2624,7 @@ rest_of_compilation (decl)
open_dump_file
(
DFI_ssa_dce
,
decl
);
open_dump_file
(
DFI_ssa_dce
,
decl
);
insns
=
get_insns
();
insns
=
get_insns
();
ssa_eliminate_dead_code
();
ssa_eliminate_dead_code
();
close_dump_file
(
DFI_ssa_dce
,
print_rtl_with_bb
,
insns
);
close_dump_file
(
DFI_ssa_dce
,
print_rtl_with_bb
,
insns
);
timevar_pop
(
TV_SSA_DCE
);
timevar_pop
(
TV_SSA_DCE
);
...
@@ -2663,7 +2663,7 @@ rest_of_compilation (decl)
...
@@ -2663,7 +2663,7 @@ rest_of_compilation (decl)
timevar_push
(
TV_IFCVT
);
timevar_push
(
TV_IFCVT
);
if
(
flag_if_conversion
)
if
(
flag_if_conversion
)
if_convert
(
0
);
if_convert
(
0
);
timevar_pop
(
TV_IFCVT
);
timevar_pop
(
TV_IFCVT
);
cleanup_cfg
(
CLEANUP_EXPENSIVE
|
CLEANUP_PRE_LOOP
);
cleanup_cfg
(
CLEANUP_EXPENSIVE
|
CLEANUP_PRE_LOOP
);
close_dump_file
(
DFI_null
,
print_rtl_with_bb
,
insns
);
close_dump_file
(
DFI_null
,
print_rtl_with_bb
,
insns
);
...
@@ -2914,7 +2914,7 @@ rest_of_compilation (decl)
...
@@ -2914,7 +2914,7 @@ rest_of_compilation (decl)
cleanup_cfg
(
CLEANUP_EXPENSIVE
);
cleanup_cfg
(
CLEANUP_EXPENSIVE
);
if
(
flag_if_conversion
)
if
(
flag_if_conversion
)
if_convert
(
0
);
if_convert
(
0
);
timevar_pop
(
TV_IFCVT
);
timevar_pop
(
TV_IFCVT
);
timevar_pop
(
TV_JUMP
);
timevar_pop
(
TV_JUMP
);
/* CFG is no longer maintained up-to-date. */
/* CFG is no longer maintained up-to-date. */
...
@@ -3245,9 +3245,9 @@ rest_of_compilation (decl)
...
@@ -3245,9 +3245,9 @@ rest_of_compilation (decl)
open_dump_file
(
DFI_rnreg
,
decl
);
open_dump_file
(
DFI_rnreg
,
decl
);
if
(
flag_rename_registers
)
if
(
flag_rename_registers
)
regrename_optimize
();
regrename_optimize
();
if
(
flag_cprop_registers
)
if
(
flag_cprop_registers
)
copyprop_hardreg_forward
();
copyprop_hardreg_forward
();
close_dump_file
(
DFI_rnreg
,
print_rtl_with_bb
,
insns
);
close_dump_file
(
DFI_rnreg
,
print_rtl_with_bb
,
insns
);
timevar_pop
(
TV_RENAME_REGISTERS
);
timevar_pop
(
TV_RENAME_REGISTERS
);
...
@@ -3311,7 +3311,7 @@ rest_of_compilation (decl)
...
@@ -3311,7 +3311,7 @@ rest_of_compilation (decl)
/* Last attempt to optimize CFG, as scheduling, peepholing and insn
/* Last attempt to optimize CFG, as scheduling, peepholing and insn
splitting possibly introduced more crossjumping oppurtuntities.
splitting possibly introduced more crossjumping oppurtuntities.
Except that we can't actually run crossjumping without running
Except that we can't actually run crossjumping without running
another DCE pass, which we can't do after reg-stack. */
another DCE pass, which we can't do after reg-stack. */
cleanup_cfg
(
CLEANUP_EXPENSIVE
|
CLEANUP_POST_REGSTACK
cleanup_cfg
(
CLEANUP_EXPENSIVE
|
CLEANUP_POST_REGSTACK
|
(
flag_crossjumping
?
CLEANUP_CROSSJUMP
:
0
));
|
(
flag_crossjumping
?
CLEANUP_CROSSJUMP
:
0
));
...
@@ -3523,7 +3523,7 @@ display_help ()
...
@@ -3523,7 +3523,7 @@ display_help ()
{
{
const
char
*
description
=
f_options
[
i
].
description
;
const
char
*
description
=
f_options
[
i
].
description
;
if
(
description
!=
NULL
&&
*
description
!=
0
)
if
(
description
!=
NULL
&&
*
description
!=
0
)
printf
(
" -f%-21s %s
\n
"
,
printf
(
" -f%-21s %s
\n
"
,
f_options
[
i
].
string
,
_
(
description
));
f_options
[
i
].
string
,
_
(
description
));
}
}
...
@@ -3533,9 +3533,9 @@ display_help ()
...
@@ -3533,9 +3533,9 @@ display_help ()
for
(
i
=
LAST_PARAM
;
i
--
;)
for
(
i
=
LAST_PARAM
;
i
--
;)
{
{
const
char
*
description
=
compiler_params
[
i
].
help
;
const
char
*
description
=
compiler_params
[
i
].
help
;
const
int
length
=
21
-
strlen
(
compiler_params
[
i
].
option
);
const
int
length
=
21
-
strlen
(
compiler_params
[
i
].
option
);
if
(
description
!=
NULL
&&
*
description
!=
0
)
if
(
description
!=
NULL
&&
*
description
!=
0
)
printf
(
" --param %s=<value>%.*s%s
\n
"
,
printf
(
" --param %s=<value>%.*s%s
\n
"
,
compiler_params
[
i
].
option
,
compiler_params
[
i
].
option
,
length
>
0
?
length
:
1
,
" "
,
length
>
0
?
length
:
1
,
" "
,
...
@@ -3550,7 +3550,7 @@ display_help ()
...
@@ -3550,7 +3550,7 @@ display_help ()
{
{
const
char
*
description
=
W_options
[
i
].
description
;
const
char
*
description
=
W_options
[
i
].
description
;
if
(
description
!=
NULL
&&
*
description
!=
0
)
if
(
description
!=
NULL
&&
*
description
!=
0
)
printf
(
" -W%-21s %s
\n
"
,
printf
(
" -W%-21s %s
\n
"
,
W_options
[
i
].
string
,
_
(
description
));
W_options
[
i
].
string
,
_
(
description
));
}
}
...
@@ -3676,7 +3676,7 @@ display_target_options ()
...
@@ -3676,7 +3676,7 @@ display_target_options ()
if
(
extra_warnings
)
if
(
extra_warnings
)
printf
(
_
(
" -m%-23.23s [undocumented]
\n
"
),
option
);
printf
(
_
(
" -m%-23.23s [undocumented]
\n
"
),
option
);
}
}
else
if
(
*
description
!=
0
)
else
if
(
*
description
!=
0
)
doc
+=
printf
(
" -m%-23.23s %s
\n
"
,
option
,
_
(
description
));
doc
+=
printf
(
" -m%-23.23s %s
\n
"
,
option
,
_
(
description
));
}
}
...
@@ -3695,7 +3695,7 @@ display_target_options ()
...
@@ -3695,7 +3695,7 @@ display_target_options ()
if
(
extra_warnings
)
if
(
extra_warnings
)
printf
(
_
(
" -m%-23.23s [undocumented]
\n
"
),
option
);
printf
(
_
(
" -m%-23.23s [undocumented]
\n
"
),
option
);
}
}
else
if
(
*
description
!=
0
)
else
if
(
*
description
!=
0
)
doc
+=
printf
(
" -m%-23.23s %s
\n
"
,
option
,
_
(
description
));
doc
+=
printf
(
" -m%-23.23s %s
\n
"
,
option
,
_
(
description
));
}
}
#endif
#endif
...
@@ -3731,9 +3731,9 @@ decode_d_option (arg)
...
@@ -3731,9 +3731,9 @@ decode_d_option (arg)
flag_print_asm_name
=
1
;
flag_print_asm_name
=
1
;
break
;
break
;
case
'P'
:
case
'P'
:
flag_dump_rtl_in_asm
=
1
;
flag_dump_rtl_in_asm
=
1
;
flag_print_asm_name
=
1
;
flag_print_asm_name
=
1
;
break
;
break
;
case
'v'
:
case
'v'
:
graph_dump_format
=
vcg
;
graph_dump_format
=
vcg
;
break
;
break
;
...
@@ -3847,10 +3847,10 @@ decode_f_option (arg)
...
@@ -3847,10 +3847,10 @@ decode_f_option (arg)
=
skip_leading_substring
(
arg
,
"diagnostics-show-location="
)))
=
skip_leading_substring
(
arg
,
"diagnostics-show-location="
)))
{
{
if
(
!
strcmp
(
option_value
,
"once"
))
if
(
!
strcmp
(
option_value
,
"once"
))
diagnostic_prefixing_rule
(
global_dc
)
=
DIAGNOSTICS_SHOW_PREFIX_ONCE
;
diagnostic_prefixing_rule
(
global_dc
)
=
DIAGNOSTICS_SHOW_PREFIX_ONCE
;
else
if
(
!
strcmp
(
option_value
,
"every-line"
))
else
if
(
!
strcmp
(
option_value
,
"every-line"
))
diagnostic_prefixing_rule
(
global_dc
)
diagnostic_prefixing_rule
(
global_dc
)
=
DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE
;
=
DIAGNOSTICS_SHOW_PREFIX_EVERY_LINE
;
else
else
error
(
"unrecognized option `%s'"
,
arg
-
2
);
error
(
"unrecognized option `%s'"
,
arg
-
2
);
}
}
...
@@ -3925,7 +3925,7 @@ static int
...
@@ -3925,7 +3925,7 @@ static int
decode_g_option
(
arg
)
decode_g_option
(
arg
)
const
char
*
arg
;
const
char
*
arg
;
{
{
static
unsigned
level
=
0
;
static
unsigned
level
=
0
;
/* A lot of code assumes write_symbols == NO_DEBUG if the
/* A lot of code assumes write_symbols == NO_DEBUG if the
debugging level is 0 (thus -gstabs1 -gstabs0 would lose track
debugging level is 0 (thus -gstabs1 -gstabs0 would lose track
of what debugging type has been selected). This records the
of what debugging type has been selected). This records the
...
@@ -4449,25 +4449,25 @@ init_asm_output (name)
...
@@ -4449,25 +4449,25 @@ init_asm_output (name)
else
else
{
{
if
(
asm_file_name
==
0
)
if
(
asm_file_name
==
0
)
{
{
int
len
=
strlen
(
dump_base_name
);
int
len
=
strlen
(
dump_base_name
);
char
*
dumpname
=
(
char
*
)
xmalloc
(
len
+
6
);
char
*
dumpname
=
(
char
*
)
xmalloc
(
len
+
6
);
memcpy
(
dumpname
,
dump_base_name
,
len
+
1
);
memcpy
(
dumpname
,
dump_base_name
,
len
+
1
);
strip_off_ending
(
dumpname
,
len
);
strip_off_ending
(
dumpname
,
len
);
strcat
(
dumpname
,
".s"
);
strcat
(
dumpname
,
".s"
);
asm_file_name
=
dumpname
;
asm_file_name
=
dumpname
;
}
}
if
(
!
strcmp
(
asm_file_name
,
"-"
))
if
(
!
strcmp
(
asm_file_name
,
"-"
))
asm_out_file
=
stdout
;
asm_out_file
=
stdout
;
else
else
asm_out_file
=
fopen
(
asm_file_name
,
"w"
);
asm_out_file
=
fopen
(
asm_file_name
,
"w"
);
if
(
asm_out_file
==
0
)
if
(
asm_out_file
==
0
)
fatal_io_error
(
"can't open %s for writing"
,
asm_file_name
);
fatal_io_error
(
"can't open %s for writing"
,
asm_file_name
);
}
}
#ifdef IO_BUFFER_SIZE
#ifdef IO_BUFFER_SIZE
setvbuf
(
asm_out_file
,
(
char
*
)
xmalloc
(
IO_BUFFER_SIZE
),
setvbuf
(
asm_out_file
,
(
char
*
)
xmalloc
(
IO_BUFFER_SIZE
),
_IOFBF
,
IO_BUFFER_SIZE
);
_IOFBF
,
IO_BUFFER_SIZE
);
#endif
#endif
if
(
!
flag_syntax_only
)
if
(
!
flag_syntax_only
)
...
@@ -4835,7 +4835,7 @@ process_options ()
...
@@ -4835,7 +4835,7 @@ process_options ()
error
(
"profiling does not work without a frame pointer"
);
error
(
"profiling does not work without a frame pointer"
);
flag_omit_frame_pointer
=
0
;
flag_omit_frame_pointer
=
0
;
}
}
user_label_prefix
=
USER_LABEL_PREFIX
;
user_label_prefix
=
USER_LABEL_PREFIX
;
if
(
flag_leading_underscore
!=
-
1
)
if
(
flag_leading_underscore
!=
-
1
)
{
{
...
@@ -5142,7 +5142,7 @@ toplev_main (argc, argv)
...
@@ -5142,7 +5142,7 @@ toplev_main (argc, argv)
hex_init
();
hex_init
();
/* Initialization of GCC's environment, and diagnostics. */
/* Initialization of GCC's environment, and diagnostics. */
general_init
(
argv
[
0
]);
general_init
(
argv
[
0
]);
/* Parse the options and do minimal processing; basically just
/* Parse the options and do minimal processing; basically just
enough to default flags appropriately. */
enough to default flags appropriately. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment