builtins.c (expand_builtin_mathfn_3): Correct coding style.
* builtins.c (expand_builtin_mathfn_3): Correct coding style. * ddg.c (print_ddg_edge): Likewise. * dwarf2out.c (prune_unused_types_walk): Likewise. * ifcvt.c (noce_try_cmove_arith): Likewise. * langhooks.c (add_builtin_function): Likewise. * reg-stack.c (subst_stack_regs_pat): Likewise. * tree.c (expanded_location): Likewise. * tree-dump.c (dequeue_and_dump): Likewise. From-SVN: r118187
This commit is contained in:
parent
0e69739965
commit
428aba16aa
@ -1,3 +1,14 @@
|
||||
2006-10-30 Roger Sayle <roger@eyesopen.com>
|
||||
|
||||
* builtins.c (expand_builtin_mathfn_3): Correct coding style.
|
||||
* ddg.c (print_ddg_edge): Likewise.
|
||||
* dwarf2out.c (prune_unused_types_walk): Likewise.
|
||||
* ifcvt.c (noce_try_cmove_arith): Likewise.
|
||||
* langhooks.c (add_builtin_function): Likewise.
|
||||
* reg-stack.c (subst_stack_regs_pat): Likewise.
|
||||
* tree.c (expanded_location): Likewise.
|
||||
* tree-dump.c (dequeue_and_dump): Likewise.
|
||||
|
||||
2006-10-30 David Daney <ddaney@avtrex.com>
|
||||
|
||||
* config/mips/linux.h (NO_SHARED_SPECS): Correct syntax error.
|
||||
|
@ -2089,7 +2089,7 @@ expand_builtin_mathfn_3 (tree exp, rtx target, rtx subtarget)
|
||||
|
||||
/* Check if sincos insn is available, otherwise fallback
|
||||
to sin or cos insn. */
|
||||
if (builtin_optab->handlers[(int) mode].insn_code == CODE_FOR_nothing) {
|
||||
if (builtin_optab->handlers[(int) mode].insn_code == CODE_FOR_nothing)
|
||||
switch (DECL_FUNCTION_CODE (fndecl))
|
||||
{
|
||||
CASE_FLT_FN (BUILT_IN_SIN):
|
||||
@ -2099,7 +2099,6 @@ expand_builtin_mathfn_3 (tree exp, rtx target, rtx subtarget)
|
||||
default:
|
||||
gcc_unreachable ();
|
||||
}
|
||||
}
|
||||
|
||||
/* Before working hard, check whether the instruction is available. */
|
||||
if (builtin_optab->handlers[(int) mode].insn_code != CODE_FOR_nothing)
|
||||
|
@ -549,7 +549,8 @@ print_ddg_edge (FILE *file, ddg_edge_ptr e)
|
||||
{
|
||||
char dep_c;
|
||||
|
||||
switch (e->type) {
|
||||
switch (e->type)
|
||||
{
|
||||
case OUTPUT_DEP :
|
||||
dep_c = 'O';
|
||||
break;
|
||||
|
@ -14045,7 +14045,8 @@ prune_unused_types_walk (dw_die_ref die)
|
||||
if (die->die_mark)
|
||||
return;
|
||||
|
||||
switch (die->die_tag) {
|
||||
switch (die->die_tag)
|
||||
{
|
||||
case DW_TAG_const_type:
|
||||
case DW_TAG_packed_type:
|
||||
case DW_TAG_pointer_type:
|
||||
|
@ -1329,11 +1329,10 @@ noce_try_cmove_arith (struct noce_if_info *if_info)
|
||||
return FALSE;
|
||||
}
|
||||
else
|
||||
{
|
||||
insn_cost = 0;
|
||||
}
|
||||
|
||||
if (insn_b) {
|
||||
if (insn_b)
|
||||
{
|
||||
insn_cost += insn_rtx_cost (PATTERN (insn_b));
|
||||
if (insn_cost == 0 || insn_cost > COSTS_N_INSNS (BRANCH_COST))
|
||||
return FALSE;
|
||||
|
@ -605,7 +605,8 @@ add_builtin_function (const char *name,
|
||||
DECL_BUILT_IN_CLASS (decl) = cl;
|
||||
DECL_FUNCTION_CODE (decl) = function_code;
|
||||
|
||||
if (library_name) {
|
||||
if (library_name)
|
||||
{
|
||||
tree libname = get_identifier (library_name);
|
||||
SET_DECL_ASSEMBLER_NAME (decl, libname);
|
||||
}
|
||||
|
@ -1702,7 +1702,8 @@ subst_stack_regs_pat (rtx insn, stack regstack, rtx pat)
|
||||
|
||||
/* Push the result back onto stack. Empty stack slot
|
||||
will be filled in second part of insn. */
|
||||
if (STACK_REG_P (*dest)) {
|
||||
if (STACK_REG_P (*dest))
|
||||
{
|
||||
regstack->reg[regstack->top] = REGNO (*dest);
|
||||
SET_HARD_REG_BIT (regstack->reg_set, REGNO (*dest));
|
||||
replace_reg (dest, FIRST_STACK_REG);
|
||||
@ -1733,7 +1734,8 @@ subst_stack_regs_pat (rtx insn, stack regstack, rtx pat)
|
||||
|
||||
/* Push the result back onto stack. Fill empty slot from
|
||||
first part of insn and fix top of stack pointer. */
|
||||
if (STACK_REG_P (*dest)) {
|
||||
if (STACK_REG_P (*dest))
|
||||
{
|
||||
regstack->reg[regstack->top - 1] = REGNO (*dest);
|
||||
SET_HARD_REG_BIT (regstack->reg_set, REGNO (*dest));
|
||||
replace_reg (dest, FIRST_STACK_REG + 1);
|
||||
@ -1760,7 +1762,8 @@ subst_stack_regs_pat (rtx insn, stack regstack, rtx pat)
|
||||
|
||||
/* Push the result back onto stack. Empty stack slot
|
||||
will be filled in second part of insn. */
|
||||
if (STACK_REG_P (*dest)) {
|
||||
if (STACK_REG_P (*dest))
|
||||
{
|
||||
regstack->reg[regstack->top + 1] = REGNO (*dest);
|
||||
SET_HARD_REG_BIT (regstack->reg_set, REGNO (*dest));
|
||||
replace_reg (dest, FIRST_STACK_REG);
|
||||
@ -1786,7 +1789,8 @@ subst_stack_regs_pat (rtx insn, stack regstack, rtx pat)
|
||||
|
||||
/* Push the result back onto stack. Fill empty slot from
|
||||
first part of insn and fix top of stack pointer. */
|
||||
if (STACK_REG_P (*dest)) {
|
||||
if (STACK_REG_P (*dest))
|
||||
{
|
||||
regstack->reg[regstack->top] = REGNO (*dest);
|
||||
SET_HARD_REG_BIT (regstack->reg_set, REGNO (*dest));
|
||||
replace_reg (dest, FIRST_STACK_REG + 1);
|
||||
|
@ -650,12 +650,12 @@ dequeue_and_dump (dump_info_p di)
|
||||
|
||||
case CASE_LABEL_EXPR:
|
||||
dump_child ("name", CASE_LABEL (t));
|
||||
if (CASE_LOW (t)) {
|
||||
if (CASE_LOW (t))
|
||||
{
|
||||
dump_child ("low ", CASE_LOW (t));
|
||||
if (CASE_HIGH (t)) {
|
||||
if (CASE_HIGH (t))
|
||||
dump_child ("high", CASE_HIGH (t));
|
||||
}
|
||||
}
|
||||
break;
|
||||
case LABEL_EXPR:
|
||||
dump_child ("name", TREE_OPERAND (t,0));
|
||||
|
@ -3220,7 +3220,12 @@ expanded_location
|
||||
expand_location (source_location loc)
|
||||
{
|
||||
expanded_location xloc;
|
||||
if (loc == 0) { xloc.file = NULL; xloc.line = 0; xloc.column = 0; }
|
||||
if (loc == 0)
|
||||
{
|
||||
xloc.file = NULL;
|
||||
xloc.line = 0;
|
||||
xloc.column = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
const struct line_map *map = linemap_lookup (&line_table, loc);
|
||||
|
Loading…
Reference in New Issue
Block a user