This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/43170] gcc 4.5 20100218 bootstrap compare fails on os x 10.6



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]