This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] PR36452 fix bootstrap
- From: Andreas Tobler <andreast-list at fgznet dot ch>
- To: GCC Patches <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Date: Fri, 06 Jun 2008 22:19:34 +0200
- Subject: [patch] PR36452 fix bootstrap
Hi all,
this patch should fix bootstrap on targets which do not have
HAVE_ATTRIBUTE_ALIAS defined.
Built on i686-apple-darwin9 multilib. Test in progress.
Ok for trunk?
Thanks,
Andreas
2008-06-06 Andreas Tobler <a.tobler@schweiz.org>
PR bootstrap/36452
* loop_ull.c (GOMP_loop_ull_static_start): Adjust API.
(GOMP_loop_ull_dynamic_start): Likewise.
(GOMP_loop_ull_guided_start): Likewise.
(GOMP_loop_ull_ordered_static_start): Likewise.
(GOMP_loop_ull_ordered_dynamic_start): Likewise.
(GOMP_loop_ull_ordered_guided_start): Likewise.
Index: loop_ull.c
===================================================================
--- loop_ull.c (revision 136497)
+++ loop_ull.c (working copy)
@@ -483,48 +483,57 @@
__attribute__((alias ("gomp_loop_ull_ordered_guided_next")));
#else
bool
-GOMP_loop_ull_static_start (gomp_ull start, gomp_ull end, gomp_ull incr, gomp_ull chunk_size,
- gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_static_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_static_start (start, end, incr, chunk_size, istart, iend);
+ return gomp_loop_ull_static_start (up, start, end, incr, chunk_size, istart,
+ iend);
}
bool
-GOMP_loop_ull_dynamic_start (gomp_ull start, gomp_ull end, gomp_ull incr, gomp_ull chunk_size,
- gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_dynamic_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_dynamic_start (start, end, incr, chunk_size, istart, iend);
+ return gomp_loop_ull_dynamic_start (up, start, end, incr, chunk_size, istart,
+ iend);
}
bool
-GOMP_loop_ull_guided_start (gomp_ull start, gomp_ull end, gomp_ull incr, gomp_ull chunk_size,
- gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_guided_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_guided_start (start, end, incr, chunk_size, istart, iend);
+ return gomp_loop_ull_guided_start (up, start, end, incr, chunk_size, istart,
+ iend);
}
bool
-GOMP_loop_ull_ordered_static_start (gomp_ull start, gomp_ull end, gomp_ull incr,
- gomp_ull chunk_size, gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_ordered_static_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_ordered_static_start (start, end, incr, chunk_size,
- istart, iend);
+ return gomp_loop_ull_ordered_static_start (up, start, end, incr, chunk_size,
+ istart, iend);
}
bool
-GOMP_loop_ull_ordered_dynamic_start (gomp_ull start, gomp_ull end, gomp_ull incr,
- gomp_ull chunk_size, gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_ordered_dynamic_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_ordered_dynamic_start (start, end, incr, chunk_size,
- istart, iend);
+ return gomp_loop_ull_ordered_dynamic_start (up, start, end, incr, chunk_size,
+ istart, iend);
}
bool
-GOMP_loop_ull_ordered_guided_start (gomp_ull start, gomp_ull end, gomp_ull incr,
- gomp_ull chunk_size, gomp_ull *istart, gomp_ull *iend)
+GOMP_loop_ull_ordered_guided_start (bool up, gomp_ull start, gomp_ull end,
+ gomp_ull incr, gomp_ull chunk_size,
+ gomp_ull *istart, gomp_ull *iend)
{
- return gomp_loop_ull_ordered_guided_start (start, end, incr, chunk_size,
- istart, iend);
+ return gomp_loop_ull_ordered_guided_start (up, start, end, incr, chunk_size,
+ istart, iend);
}
bool