summaryrefslogtreecommitdiff
path: root/gcc/libgcc1-test.c
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-10 18:21:05 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>1995-05-10 18:21:05 +0000
commit7c130fb71c783fe525cdff0ce3246f40f73b9b80 (patch)
tree237ce832c3c17fad19c942c1fc38ba7932cbb7b1 /gcc/libgcc1-test.c
parentd14771e1a27bc10d5ee62b1dcf52da6a8a0a5150 (diff)
downloadgcc-7c130fb71c783fe525cdff0ce3246f40f73b9b80.tar.gz
* libgcc1-test.c (main_without__main): Renamed from `main'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@9611 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/libgcc1-test.c')
-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 43250a9ccdb..9b2a5c42ddf 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 ();