[Bug gas/10883] New: Compile error in gas/config/tc-arm.c

View: New views
4 Messages — Rating Filter:   Alert me  

[Bug gas/10883] New: Compile error in gas/config/tc-arm.c

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

This patch:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-arm.c.diff?
r1=1.407&r2=1.408&cvsroot=src&f=h

causes an error (warning turned into error due to -Werror):

gcc -DHAVE_CONFIG_H -I. -I../../../sources/binutils-2.20/gas  -I. -
I../../../sources/binutils-2.20/gas -I../bfd -I../../../sources/binutils-
2.20/gas/config -I../../../sources/binutils-2.20/gas/../include -
I../../../sources/binutils-2.20/gas/.. -I../../../sources/binutils-
2.20/gas/../bfd -DLOCALEDIR="\"/cygdrive/c/arm-elf-cy/binutils-
2.20/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror
-g -O2 -MT tc-arm.o -MD -MP -MF .deps/tc-arm.Tpo -c -o tc-arm.o `test -f
'config/tc-arm.c' || echo '../../../sources/binutils-2.20/gas/'`config/tc-arm.c
cc1: warnings being treated as errors
../../../sources/binutils-2.20/gas/config/tc-arm.c: In function
'make_mapping_symbol':
../../../sources/binutils-2.20/gas/config/tc-arm.c:2489: error: suggest braces
around empty body in an 'if' statement

--
           Summary: Compile error in gas/config/tc-arm.c
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: bruck dot michael at googlemail dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: i686-pc-cygwin
GCC target triplet: arm-elf


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10883] Compile error in gas/config/tc-arm.c

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From amodra at bigpond dot net dot au  2009-11-01 12:25 -------
Only if you pick that patch without the one that goes with it
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/as.h.diff?cvsroot=src&r1=1.64&r2=1.65

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10883] Compile error in gas/config/tc-arm.c

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From bruck dot michael at googlemail dot com  2009-11-01 12:51 -------
(In reply to comment #1)
> Only if you pick that patch without the one that goes with it
> http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gas/as.h.diff?
cvsroot=src&r1=1.64&r2=1.65

The problem is in the latest 2.20 release. I referred to the patch only because it
seemed to illustrate the issue.


--


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10883] Compile error in gas/config/tc-arm.c

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From amodra at bigpond dot net dot au  2009-11-01 13:19 -------
Yes, binutile-2.20 went out with this bug.  It has already been fixed on the
2.20 branch and on mainline.  (The patch you referenced on mainline was part of
the *fix* for the bug, so was a little confusing.)

--


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils