[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread tkoenig at gcc dot gnu dot org


--- Comment #15 from tkoenig at gcc dot gnu dot org  2010-03-30 17:30 
---
This was caused by a local modification on my tree.

Sorry for the noise :-(

Closing as invalid.


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |RESOLVED
 Resolution||INVALID


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread jakub at gcc dot gnu dot org


--- Comment #14 from jakub at gcc dot gnu dot org  2010-03-30 16:13 ---
I can't reproduce this iether.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread rguenth at gcc dot gnu dot org


--- Comment #13 from rguenth at gcc dot gnu dot org  2010-03-30 16:00 
---
(In reply to comment #12)
> Please forget the second half of my previous comment
> (I copied / pasted the wrong part).  Here's the actual
> output, probably not very useful:
> 
> i...@linux-fd1f:~/Gcc/trunk-bin> gcc/cc1 -quiet -o /dev/null -O2 -Wall -m32 -g
> -march=i486 -ftls-model=initial-exec -mtune=i686 -Werror -v
> x86_64-unknown-linux-gnu/32/libgomp/parallel.i
> ignoring nonexistent directory
> "/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include"
> #include "..." search starts here:
> #include <...> search starts here:
>  /usr/local/include
>  /home/ig25/include
>  /home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include
>  /home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed
>  /usr/include
> End of search list.
> cc1: warnings being treated as errors
> ../../../../trunk/libgomp/parallel.c: In function 'GOMP_parallel_end':
> ../../../../trunk/libgomp/parallel.c:121:4: error: value computed is not used
> 

/tmp> /abuild/rguenther/trunk-g/gcc/xgcc -B /abuild/rguenther/trunk-g/gcc -S -o
/dev/null -O2 -Wall -m32 -g -march=i486 -ftls-model=initial-exec -mtune=i686
-Werror team.i -v
Reading specs from /abuild/rguenther/trunk-g/gcc/specs
COLLECT_GCC=/abuild/rguenther/trunk-g/gcc/xgcc
COLLECT_LTO_WRAPPER=/abuild/rguenther/trunk-g/gcc/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: /space/rguenther/src/svn/trunk/configure --disable-bootstrap
--disable-nls --disable-libstdcxx-pch --enable-lto
--enable-languages=c,ada,c++,fortran,java,lto,objc,obj-c++ --enable-gold
--with-plugin-ld=/usr/bin/gold : (reconfigured)  : (reconfigured)  :
(reconfigured)  : (reconfigured)  : (reconfigured)  : (reconfigured)  :
(reconfigured) /space/rguenther/src/svn/trunk/configure --disable-bootstrap
--disable-nls --disable-libstdcxx-pch --enable-lto --enable-gold
--with-plugin-ld=/usr/bin/gold CFLAGS=-g
--enable-languages=c,ada,c++,fortran,java,lto,objc,obj-c++ --no-create
--no-recursion : (reconfigured)  : (reconfigured)  : (reconfigured)  :
(reconfigured)  : (reconfigured)  : (reconfigured)  : (reconfigured)  :
(reconfigured)  : (reconfigured)  : (reconfigured) 
Thread model: posix
gcc version 4.5.0 20100316 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-B' '/abuild/rguenther/trunk-g/gcc' '-S' '-o' '/dev/null'
'-O2' '-Wall' '-m32' '-g' '-march=i486' '-ftls-model=initial-exec'
'-mtune=i686' '-Werror' '-v'
 /abuild/rguenther/trunk-g/gcc/cc1 -fpreprocessed team.i -quiet -dumpbase
team.i -m32 -march=i486 -mtune=i686 -auxbase-strip /dev/null -g -O2 -Wall
-Werror -version -ftls-model=initial-exec -o /dev/null
GNU C (GCC) version 4.5.0 20100330 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.3.4 [gcc-4_3-branch revision 152973], GMP
version 4.3.1, MPFR version 2.3.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (GCC) version 4.5.0 20100330 (experimental) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.3.4 [gcc-4_3-branch revision 152973], GMP
version 4.3.1, MPFR version 2.3.2, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: d120cdac577033febb1405d25e77a328
COMPILER_PATH=/abuild/rguenther/trunk-g/gcc/
LIBRARY_PATH=/abuild/rguenther/trunk-g/gcc/32/:/lib/../lib/:/usr/lib/../lib/:/abuild/rguenther/trunk-g/gcc/:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-B' '/abuild/rguenther/trunk-g/gcc' '-S' '-o' '/dev/null'
'-O2' '-Wall' '-m32' '-g' '-march=i486' '-ftls-model=initial-exec'
'-mtune=i686' '-Werror' '-v'
/tmp>

that's with revision 157820.

Thus, I can't reproduce it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread tkoenig at gcc dot gnu dot org


--- Comment #12 from tkoenig at gcc dot gnu dot org  2010-03-30 15:54 
---
Please forget the second half of my previous comment
(I copied / pasted the wrong part).  Here's the actual
output, probably not very useful:

i...@linux-fd1f:~/Gcc/trunk-bin> gcc/cc1 -quiet -o /dev/null -O2 -Wall -m32 -g
-march=i486 -ftls-model=initial-exec -mtune=i686 -Werror -v
x86_64-unknown-linux-gnu/32/libgomp/parallel.i
ignoring nonexistent directory
"/home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /home/ig25/include
 /home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include
 /home/ig25/lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed
 /usr/include
End of search list.
cc1: warnings being treated as errors
../../../../trunk/libgomp/parallel.c: In function 'GOMP_parallel_end':
../../../../trunk/libgomp/parallel.c:121:4: error: value computed is not used


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread tkoenig at gcc dot gnu dot org


--- Comment #11 from tkoenig at gcc dot gnu dot org  2010-03-30 15:49 
---
(In reply to comment #10)
> Err,
> 
> cc1: error: unrecognized command line option "-fsave-temps"
> 
> but - still works for me.  How did you configure?


Sorry, that should have been -save-temps.

I added this to the Makefile in x86_64-unknown-linux-gnu/32/libgomp by
hand and messed up that particular option.

This is better:

make[9]: Entering directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'  
/bin/sh ./libtool --tag=CC   --mode=compile /home/ig25/Gcc/trunk-bin/./gcc/xgcc
-B/home/ig25/Gcc/trunk-bin/./gcc/ -B/home/ig25/x86_64-unknown-linux-gnu/bin/
-B/home/ig25/x86_64-unknown-linux-gnu/lib/ -isystem
/home/ig25/x86_64-unknown-linux-gnu/include -isystem
/home/ig25/x86_64-unknown-linux-gnu/sys-include-DHAVE_CONFIG_H -I.
-I../../../../trunk/libgomp  -I../../../../trunk/libgomp/config/linux/x86
-I../../../../trunk/libgomp/config/linux
-I../../../../trunk/libgomp/config/posix -I../../../../trunk/libgomp  -Wall
-Werror -v -save-temps -ftls-model=initial-exec -march=i486 -mtune=i686
-Wc,-pthread -g -O2  -m32 -MT parallel.lo -MD -MP -MF .deps/parallel.Tpo -c -o
parallel.lo ../../../../trunk/libgomp/parallel.c  
libtool: compile:  /home/ig25/Gcc/trunk-bin/./gcc/xgcc
-B/home/ig25/Gcc/trunk-bin/./gcc/ -B/home/ig25/x86_64-unknown-linux-gnu/bin/
-B/home/ig25/x86_64-unknown-linux-gnu/lib/ -isystem
/home/ig25/x86_64-unknown-linux-gnu/include -isystem
/home/ig25/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I.
-I../../../../trunk/libgomp -I../../../../trunk/libgomp/config/linux/x86
-I../../../../trunk/libgomp/config/linux
-I../../../../trunk/libgomp/config/posix -I../../../../trunk/libgomp -Wall
-Werror -v -save-temps -ftls-model=initial-exec -march=i486 -pthread
-mtune=i686 -g -O2 -m32 -MT parallel.lo -MD -MP -MF .deps/parallel.Tpo -c
../../../../trunk/libgomp/parallel.c  -fPIC -DPIC -o .libs/parallel.o   
Reading specs from /home/ig25/Gcc/trunk-bin/./gcc/specs 
COLLECT_GCC=/home/ig25/Gcc/trunk-bin/./gcc/xgcc 
COLLECT_LTO_WRAPPER=/home/ig25/Gcc/trunk-bin/./gcc/lto-wrapper  
Target: x86_64-unknown-linux-gnu
Configured with: ../trunk/configure --prefix=/home/ig25
--enable-languages=all,ada --with-mpc=/usr/local : (reconfigured)
../trunk/configure --prefix=/home/ig25 --enable-languages=all,ada
--with-mpc=/usr/local   
Thread model: posix 
gcc version 4.5.0 20100330 (experimental) (GCC) 
COLLECT_GCC_OPTIONS='-B/home/ig25/Gcc/trunk-bin/./gcc/'
'-B/home/ig25/x86_64-unknown-linux-gnu/bin/'
'-B/home/ig25/x86_64-unknown-linux-gnu/lib/' '-isystem'
'/home/ig25/x86_64-unknown-linux-gnu/include' '-isystem'
'/home/ig25/x86_64-unknown-linux-gnu/sys-include' '-DHAVE_CONFIG_H' '-I.'
'-I../../../../trunk/libgomp' '-I../../../../trunk/libgomp/config/linux/x86'
'-I../../../../trunk/libgomp/config/linux'
'-I../../../../trunk/libgomp/config/posix' '-I../../../../trunk/libgomp'
'-Wall' '-Werror' '-v' '-save-temps' '-ftls-model=initial-exec' '-march=i486'
'-pthread' '-mtune=i686' '-g' '-O2' '-m32' '-MT' 'parallel.lo' '-MD' '-MP'
'-MF' '.deps/parallel.Tpo' '-c' '-fPIC' '-DPIC' '-o' '.libs/parallel.o' 
 /home/ig25/Gcc/trunk-bin/./gcc/cc1 -E -quiet -v -I.
-I../../../../trunk/libgomp -I../../../../trunk/libgomp/config/linux/x86
-I../../../../trunk/libgomp/config/linux
-I../../../../trunk/libgomp/config/posix -I../../../../trunk/libgomp -imultilib
32 -iprefix
/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/
-isystem /home/ig25/Gcc/trunk-bin/./gcc/include -isystem
/home/ig25/Gcc/trunk-bin/./gcc/include-fixed -MD .libs/parallel.d -MF
.deps/parallel.Tpo -MP -MT parallel.lo -D_REENTRANT -DHAVE_CONFIG_H -DPIC
-isystem /home/ig25/x86_64-unknown-linux-gnu/include -isystem
/home/ig25/x86_64-unknown-linux-gnu/sys-include
../../../../trunk/libgomp/parallel.c -march=i486 -mtune=i686 -m32 -Wall -Werror
-ftls-model=initial-exec -fPIC -g -fworking-directory -O2 -fpch-preprocess -o
parallel.i
ignoring nonexistent directory "/home/ig25/x86_64-unknown-linux-gnu/include"
ignoring nonexistent directory
"/home/ig25/x86_64-unknown-linux-gnu/sys-include"   
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include"
 
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed"
 
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include"
 
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/../../include" 

[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread rguenth at gcc dot gnu dot org


--- Comment #10 from rguenth at gcc dot gnu dot org  2010-03-30 15:16 
---
Err,

cc1: error: unrecognized command line option "-fsave-temps"

but - still works for me.  How did you configure?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread tkoenig at gcc dot gnu dot org


--- Comment #9 from tkoenig at gcc dot gnu dot org  2010-03-30 15:10 ---
Created an attachment (id=20257)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20257&action=view)
Output obtained from adding '-v" to the 32/libgomp Makefile

Here's the output of "make", just after having added "-v" to
the options of the relevant Makefile.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-30 Thread rguenth at gcc dot gnu dot org


--- Comment #8 from rguenth at gcc dot gnu dot org  2010-03-30 14:21 ---
It doesn't warn for me.  Please provide -v output of the command that warns
for team.i or parallel.i.

tmp> /abuild/rguenther/trunk-g/gcc/cc1 -quiet -o /dev/null -Wall -O2 parallel.i
-m32 -g -march=i486 -ftls-model=initial-exec -mtune=i686 -Werror
tmp>


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2010-03-29 22:17 ---
I just was about to bootstrap with [trunk revision 157804].


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread tkoenig at gcc dot gnu dot org


--- Comment #6 from tkoenig at gcc dot gnu dot org  2010-03-29 22:06 ---
Created an attachment (id=20255)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20255&action=view)
Preprocessed source where the problem occurs for the first time

team.c also shows the problem, this is just the source corresponding
to the original error.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread tkoenig at gcc dot gnu dot org


--- Comment #5 from tkoenig at gcc dot gnu dot org  2010-03-29 22:01 ---
Created an attachment (id=20254)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20254&action=view)
Preprocessed source

This is from

~/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp

the 32 bit subdirectory


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2010-03-29 20:34 ---
  __sync_fetch_and_add (&gomp_remaining_threads_count,
1UL - team->nthreads);

This should not cause a warning to happen.

Can you provide the preprocessed source?

This works for me with:
LAST_UPDATED: Fri Mar 26 18:56:25 UTC 2010 (revision 157759)


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||build, diagnostic


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread tkoenig at gcc dot gnu dot org


--- Comment #3 from tkoenig at gcc dot gnu dot org  2010-03-29 18:58 ---
... which of course works better if I get the
"Known to work" and "Known to fail" fields correct.


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to fail|4.4.0   |4.5.0
  Known to work|4.5.0   |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread tkoenig at gcc dot gnu dot org


--- Comment #2 from tkoenig at gcc dot gnu dot org  2010-03-29 18:57 ---
Trying to get this onto the regression radar..


-- 

tkoenig at gcc dot gnu dot org changed:

   What|Removed |Added

  Known to fail||4.4.0
   Target Milestone|--- |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583



[Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4

2010-03-29 Thread tkoenig at gcc dot gnu dot org


--- Comment #1 from tkoenig at gcc dot gnu dot org  2010-03-29 18:54 ---
Created an attachment (id=20253)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20253&action=view)
config.log in the libgomp directory


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43583