public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43583]  New: [4.5 Regression] "value computed not used" in parallel.c:121:4
@ 2010-03-29 18:49 tkoenig at gcc dot gnu dot org
  2010-03-29 18:54 ` [Bug bootstrap/43583] " tkoenig at gcc dot gnu dot org
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-29 18:49 UTC (permalink / raw)
  To: gcc-bugs

Bootstrap fails with revision 157799 on trunk:

/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 -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 -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
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
make[9]: *** [parallel.lo] Error 1
make[9]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'
make[7]: *** [all] Error 2
make[7]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'
make[6]: *** [multi-do] Error 1
make[6]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[5]: *** [all-multi] Error 2
make[5]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[2]: *** [all-stage1-target-libgomp] Error 2
make[2]: Leaving directory `/home/ig25/Gcc/trunk-bin'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ig25/Gcc/trunk-bin'
make: *** [all] Error 2

configure command was

../trunk/configure --prefix=$HOME --enable-languages=all,ada
--with-mpc=/usr/local


-- 
           Summary: [4.5 Regression] "value computed not used" in
                    parallel.c:121:4
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: tkoenig at gcc dot gnu dot org
  GCC host triplet: x86_64-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
@ 2010-03-29 18:54 ` tkoenig at gcc dot gnu dot org
  2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-29 18:54 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
  2010-03-29 18:54 ` [Bug bootstrap/43583] " tkoenig at gcc dot gnu dot org
@ 2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
  2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-29 18:58 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
  2010-03-29 18:54 ` [Bug bootstrap/43583] " tkoenig at gcc dot gnu dot org
  2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
@ 2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
  2010-03-29 20:34 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-29 18:58 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
@ 2010-03-29 20:34 ` pinskia at gcc dot gnu dot org
  2010-03-29 22:01 ` tkoenig at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-29 20:34 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-03-29 20:34 ` pinskia at gcc dot gnu dot org
@ 2010-03-29 22:01 ` tkoenig at gcc dot gnu dot org
  2010-03-29 22:06 ` tkoenig at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-29 22:01 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-03-29 22:01 ` tkoenig at gcc dot gnu dot org
@ 2010-03-29 22:06 ` tkoenig at gcc dot gnu dot org
  2010-03-29 22:17 ` pinskia at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-29 22:06 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2010-03-29 22:06 ` tkoenig at gcc dot gnu dot org
@ 2010-03-29 22:17 ` pinskia at gcc dot gnu dot org
  2010-03-30 14:21 ` rguenth at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-03-29 22:17 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2010-03-29 22:17 ` pinskia at gcc dot gnu dot org
@ 2010-03-30 14:21 ` rguenth at gcc dot gnu dot org
  2010-03-30 15:10 ` tkoenig at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-30 14:21 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2010-03-30 14:21 ` rguenth at gcc dot gnu dot org
@ 2010-03-30 15:10 ` tkoenig at gcc dot gnu dot org
  2010-03-30 15:17 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-30 15:10 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2010-03-30 15:10 ` tkoenig at gcc dot gnu dot org
@ 2010-03-30 15:17 ` rguenth at gcc dot gnu dot org
  2010-03-30 15:50 ` tkoenig at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-30 15:17 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2010-03-30 15:17 ` rguenth at gcc dot gnu dot org
@ 2010-03-30 15:50 ` tkoenig at gcc dot gnu dot org
  2010-03-30 15:55 ` tkoenig at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-30 15:50 UTC (permalink / raw)
  To: gcc-bugs



------- 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"                         
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include" 
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/include-fixed" 
ignoring nonexistent directory
"/home/ig25/Gcc/trunk-bin/gcc/../lib/gcc/../../lib/gcc/x86_64-unknown-linux-gnu/4.5.0/../../../../x86_64-unknown-linux-gnu/include"
ignoring duplicate directory "../../../../trunk/libgomp"
#include "..." search starts here:
#include <...> search starts here:
 .
 ../../../../trunk/libgomp
 ../../../../trunk/libgomp/config/linux/x86
 ../../../../trunk/libgomp/config/linux
 ../../../../trunk/libgomp/config/posix
 /home/ig25/Gcc/trunk-bin/./gcc/include
 /home/ig25/Gcc/trunk-bin/./gcc/include-fixed
 /usr/local/include
 /usr/include
End of search list.
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 -fpreprocessed parallel.i -quiet -dumpbase
parallel.c -march=i486 -mtune=i686 -m32 -auxbase-strip .libs/parallel.o -g -O2
-Wall -Werror -version -ftls-model=initial-exec -fPIC -o parallel.s
GNU C (GCC) version 4.5.0 20100330 (experimental) (x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.4.1 [gcc-4_4-branch revision 150839], GMP
version 4.3.1, MPFR version 2.4.1-p5, 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.4.1 [gcc-4_4-branch revision 150839], GMP
version 4.3.1, MPFR version 2.4.1-p5, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 3348d511f9258850cd8213c19029c579
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
make[9]: *** [parallel.lo] Error 1
make[9]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'
make[8]: *** [all-recursive] Error 1
make[8]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'
make[7]: *** [all] Error 2
make[7]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/32/libgomp'
make[6]: *** [multi-do] Error 1
make[6]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[5]: *** [all-multi] Error 2
make[5]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/ig25/Gcc/trunk-bin/x86_64-unknown-linux-gnu/libgomp'
make[2]: *** [all-stage1-target-libgomp] Error 2
make[2]: Leaving directory `/home/ig25/Gcc/trunk-bin'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/ig25/Gcc/trunk-bin'
make: *** [all] Error 2


And here is the output of manually running the cross-compiler:

ig25@linux-fd1f:~/Gcc/trunk-bin> gcc/xgcc -O2 -Wall -m32 -g -march=i486
-ftls-model=initial-exec -mtune=i686 -Werror -v
x86_64-unknown-linux-gnu/32/libgomp/parallel.i
Using built-in specs.
COLLECT_GCC=gcc/xgcc
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='-O2' '-Wall' '-m32' '-g' '-march=i486'
'-ftls-model=initial-exec' '-mtune=i686' '-Werror' '-v'
 cc1 -fpreprocessed x86_64-unknown-linux-gnu/32/libgomp/parallel.i -quiet
-dumpbase parallel.i -m32 -march=i486 -mtune=i686 -auxbase parallel -g -O2
-Wall -Werror -version -ftls-model=initial-exec -o /tmp/ccv0LXie.s
xgcc: error trying to exec 'cc1': execvp: No such file or directory
ig25@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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  2010-03-30 15:50 ` tkoenig at gcc dot gnu dot org
@ 2010-03-30 15:55 ` tkoenig at gcc dot gnu dot org
  2010-03-30 16:01 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-30 15:55 UTC (permalink / raw)
  To: gcc-bugs



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

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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  2010-03-30 15:55 ` tkoenig at gcc dot gnu dot org
@ 2010-03-30 16:01 ` rguenth at gcc dot gnu dot org
  2010-03-30 16:13 ` jakub at gcc dot gnu dot org
  2010-03-30 17:31 ` tkoenig at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-03-30 16:01 UTC (permalink / raw)
  To: gcc-bugs



------- 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:
> 
> ig25@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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2010-03-30 16:01 ` rguenth at gcc dot gnu dot org
@ 2010-03-30 16:13 ` jakub at gcc dot gnu dot org
  2010-03-30 17:31 ` tkoenig at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: jakub at gcc dot gnu dot org @ 2010-03-30 16:13 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

* [Bug bootstrap/43583] [4.5 Regression] "value computed not used" in parallel.c:121:4
  2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  2010-03-30 16:13 ` jakub at gcc dot gnu dot org
@ 2010-03-30 17:31 ` tkoenig at gcc dot gnu dot org
  14 siblings, 0 replies; 16+ messages in thread
From: tkoenig at gcc dot gnu dot org @ 2010-03-30 17:31 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2010-03-30 17:31 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-29 18:49 [Bug bootstrap/43583] New: [4.5 Regression] "value computed not used" in parallel.c:121:4 tkoenig at gcc dot gnu dot org
2010-03-29 18:54 ` [Bug bootstrap/43583] " tkoenig at gcc dot gnu dot org
2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
2010-03-29 18:58 ` tkoenig at gcc dot gnu dot org
2010-03-29 20:34 ` pinskia at gcc dot gnu dot org
2010-03-29 22:01 ` tkoenig at gcc dot gnu dot org
2010-03-29 22:06 ` tkoenig at gcc dot gnu dot org
2010-03-29 22:17 ` pinskia at gcc dot gnu dot org
2010-03-30 14:21 ` rguenth at gcc dot gnu dot org
2010-03-30 15:10 ` tkoenig at gcc dot gnu dot org
2010-03-30 15:17 ` rguenth at gcc dot gnu dot org
2010-03-30 15:50 ` tkoenig at gcc dot gnu dot org
2010-03-30 15:55 ` tkoenig at gcc dot gnu dot org
2010-03-30 16:01 ` rguenth at gcc dot gnu dot org
2010-03-30 16:13 ` jakub at gcc dot gnu dot org
2010-03-30 17:31 ` tkoenig at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).