aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1995-05-10 18:21:05 +0000
committerDoug Evans <dje@gnu.org>1995-05-10 18:21:05 +0000
commit0d5b1231b3e2263b1fd9ef8642876486f9cd5231 (patch)
tree237ce832c3c17fad19c942c1fc38ba7932cbb7b1 /gcc
parent7f5b8ca7682f78f5c48e027a51d192d95e1ff35a (diff)
downloadgcc-0d5b1231b3e2263b1fd9ef8642876486f9cd5231.zip
gcc-0d5b1231b3e2263b1fd9ef8642876486f9cd5231.tar.gz
gcc-0d5b1231b3e2263b1fd9ef8642876486f9cd5231.tar.bz2
* libgcc1-test.c (main_without__main): Renamed from `main'.
From-SVN: r9611
Diffstat (limited to 'gcc')
-rw-r--r--gcc/libgcc1-test.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/libgcc1-test.c b/gcc/libgcc1-test.c
index 43250a9..9b2a5c4 100644
--- a/gcc/libgcc1-test.c
+++ b/gcc/libgcc1-test.c
@@ -6,7 +6,10 @@
int foo ();
double dfoo ();
-main ()
+/* We don't want __main here because that can drag in atexit (among other
+ things) which won't necessarily exist yet. */
+
+main_without__main ()
{
int a = foo (), b = foo ();
unsigned int au = foo (), bu = foo ();