bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/6038] New: [gas patch] xtensa: fix compile failure with gcc 4.3


From: bunk at stusta dot de
Subject: [Bug gas/6038] New: [gas patch] xtensa: fix compile failure with gcc 4.3
Date: 4 Apr 2008 21:17:46 -0000

gcc 4.3 can't prove that decode_reloc() always succeeds here, and therefore
emits the following warnings that are due to -Werror treated as errors:

<--  snip  -->

...
gcc -DHAVE_CONFIG_H -I. -I/TMP/binutils-2.18.50.0.6/gas -I. -I.
-I/TMP/binutils-2.18.50.0.6/gas -I../bfd -I/TMP/binutils-2.18.50.0.6/gas/config
-I/TMP/binutils-2.18.50.0.6/gas/../include -I/TMP/binutils-2.18.50.0.6/gas/..
-I/TMP/binutils-2.18.50.0.6/gas/../bfd
-DLOCALEDIR="\"/usr/local/DIR/binutils-xtensa-2.18.50.0.6/share/locale\""   -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -march=k8 -c
/TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c
cc1: warnings being treated as errors
/TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c: In function 
‘xg_apply_fix_value’:
/TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c:4973: error: ‘alt_reloc’ 
may be
used uninitialized in this function
/TMP/binutils-2.18.50.0.6/gas/config/tc-xtensa.c:4967: error: ‘slot’ may be 
used
uninitialized in this function
make[4]: *** [tc-xtensa.o] Error 1
make[4]: Leaving directory `/tmp/build-binutils-2.18.50.0.6-xtensa/gas'

<--  snip  -->

-- 
           Summary: [gas patch] xtensa: fix compile failure with gcc 4.3
           Product: binutils
           Version: 2.19 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: bunk at stusta dot de
                CC: bug-binutils at gnu dot org
GCC target triplet: xtensa-unknown-linux-gnu


http://sourceware.org/bugzilla/show_bug.cgi?id=6038

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]