bug-binutils
[Top][All Lists]
Advanced

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

[Bug gas/5946] New: [gas patch] hppa: remove the no longer used is_same_


From: bunk at stusta dot de
Subject: [Bug gas/5946] New: [gas patch] hppa: remove the no longer used is_same_frag()
Date: 16 Mar 2008 20:42:37 -0000

The only remaining user of is_same_frag() was the function recursively calling
itself.

Different from earlier gcc versions, gcc 4.3 detects and warns about this fact,
which leads due to -Werror to the following build error:

<--  snip  -->

...
gcc -DHAVE_CONFIG_H -I. -I/TMP/binutils-2.18.50.0.5/gas -I. -I.
-I/TMP/binutils-2.18.50.0.5/gas -I../bfd -I/TMP/binutils-2.18.50.0.5/gas/config
-I/TMP/binutils-2.18.50.0.5/gas/../include -I/TMP/binutils-2.18.50.0.5/gas/..
-I/TMP/binutils-2.18.50.0.5/gas/../bfd
-DLOCALEDIR="\"/usr/local/DIR/binutils-hppa-2.18.50.0.5/share/locale\""   -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -march=k8 -c
/TMP/binutils-2.18.50.0.5/gas/config/tc-hppa.c
cc1: warnings being treated as errors
/TMP/binutils-2.18.50.0.5/gas/config/tc-hppa.c:5905: error: ‘is_same_frag’
defined but not used
make[4]: *** [tc-hppa.o] Error 1

<--  snip  -->

-- 
           Summary: [gas patch] hppa: remove the no longer used
                    is_same_frag()
           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: hppa-unknown-linux-gnu


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

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