aboutsummaryrefslogtreecommitdiff
path: root/gcc/global.c
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-06-22 02:02:28 +0000
committerRichard Stallman <rms@gnu.org>1992-06-22 02:02:28 +0000
commitab40ad2b6ad5769c8bcb4741c47b93622d1a8a09 (patch)
treebf1819d4928a2b99055cc89e9dae5efea06297fd /gcc/global.c
parent4d06f14570ebec47f666a03bd7f67b832d1e7f0f (diff)
downloadgcc-ab40ad2b6ad5769c8bcb4741c47b93622d1a8a09.zip
gcc-ab40ad2b6ad5769c8bcb4741c47b93622d1a8a09.tar.gz
gcc-ab40ad2b6ad5769c8bcb4741c47b93622d1a8a09.tar.bz2
*** empty log message ***
From-SVN: r1231
Diffstat (limited to 'gcc/global.c')
-rw-r--r--gcc/global.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/global.c b/gcc/global.c
index 3f9b081..527d67f 100644
--- a/gcc/global.c
+++ b/gcc/global.c
@@ -262,9 +262,12 @@ static void set_preference ();
/* Perform allocation of pseudo-registers not allocated by local_alloc.
FILE is a file to output debugging information on,
- or zero if such output is not desired. */
+ or zero if such output is not desired.
-void
+ Return value is nonzero if reload failed
+ and we must not do any more for this function. */
+
+int
global_alloc (file)
FILE *file;
{
@@ -543,7 +546,7 @@ global_alloc (file)
for the sake of debugging information. */
if (n_basic_blocks > 0)
#endif
- reload (get_insns (), 1, file);
+ return reload (get_insns (), 1, file);
}
/* Sort predicate for ordering the allocnos.