diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2002-05-11 10:47:05 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2002-05-11 10:47:05 +0000 |
commit | 3a538a6668acdfe94dd05fa36ef0341cb2382a88 (patch) | |
tree | da16232d8b5f58baa59884c0e12dc7f8fef82993 /gcc/dominance.c | |
parent | c9c2cb7c995ab5a0756a7c6a606e18206b368903 (diff) | |
download | gcc-3a538a6668acdfe94dd05fa36ef0341cb2382a88.zip gcc-3a538a6668acdfe94dd05fa36ef0341cb2382a88.tar.gz gcc-3a538a6668acdfe94dd05fa36ef0341cb2382a88.tar.bz2 |
dbxout.c: Fix formatting.
* dbxout.c: Fix formatting.
* dependence.c: Likewise.
* df.c: Likewise.
* diagnostic.c: Likewise.
* doloop.c: Likewise.
* dominance.c: Likewise.
* doschk.c: Likewise.
* dwarf2asm.c: Likewise.
* dwarf2out.c: Likewise.
* dwarfout.c: Likewise.
From-SVN: r53380
Diffstat (limited to 'gcc/dominance.c')
-rw-r--r-- | gcc/dominance.c | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/gcc/dominance.c b/gcc/dominance.c index 8bfd09d..3b8abdb 100644 --- a/gcc/dominance.c +++ b/gcc/dominance.c @@ -1,9 +1,9 @@ /* Calculate (post)dominators in slightly super-linear time. Copyright (C) 2000 Free Software Foundation, Inc. Contributed by Michael Matz (matz@ifh.de). - + This file is part of GCC. - + GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) @@ -119,17 +119,19 @@ static void idoms_to_doms PARAMS ((struct dom_info *, /* Helper macro for allocating and initializing an array, for aesthetic reasons. */ #define init_ar(var, type, num, content) \ - do { \ - unsigned int i = 1; /* Catch content == i. */ \ - if (! (content)) \ - (var) = (type *) xcalloc ((num), sizeof (type)); \ - else \ - { \ - (var) = (type *) xmalloc ((num) * sizeof (type)); \ - for (i = 0; i < num; i++) \ - (var)[i] = (content); \ - } \ - } while (0) + do \ + { \ + unsigned int i = 1; /* Catch content == i. */ \ + if (! (content)) \ + (var) = (type *) xcalloc ((num), sizeof (type)); \ + else \ + { \ + (var) = (type *) xmalloc ((num) * sizeof (type)); \ + for (i = 0; i < num; i++) \ + (var)[i] = (content); \ + } \ + } \ + while (0) /* Allocate all needed memory in a pessimistic fashion (so we round up). This initialises the contents of DI, which already must be allocated. */ |