This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6
- From: "dominiq at lps dot ens dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 2 Jun 2010 19:06:17 -0000
- Subject: [Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6
- References: <bug-43170-14181@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #44 from dominiq at lps dot ens dot fr 2010-06-02 19:06 -------
This seems linked to the optimization:
[macbook] f90/bug% /opt/gcc/build_w/prev-gcc/xgcc -B/opt/gcc/build_w/prev-gcc/
-O2 -pthread pthread_create.c -o tls.ex
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
9
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
7
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
26
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
420
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
266
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
277
[macbook] f90/bug% /opt/gcc/build_w/prev-gcc/xgcc -B/opt/gcc/build_w/prev-gcc/
-O1 -pthread pthread_create.c -o tls.ex
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
11
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
9
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
10
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
357
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
391
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
376
[macbook] f90/bug% /opt/gcc/build_w/prev-gcc/xgcc -B/opt/gcc/build_w/prev-gcc/
-pthread pthread_create.c -o tls.ex
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
0
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
1
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
0
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
1
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
0
[macbook] f90/bug% rm -f tmp ; tls_1.sh > tmp ; cat tmp | wc -l
0
For each O level, the first 3 runs are for an idle system and the 3 others for
a loaded one.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43170