Bug 1008 - Internal error on valid code
Summary: Internal error on valid code
Status: NEW
Alias: None
Product: binutils
Classification: Unclassified
Component: gas (show other bugs)
Version: 2.16
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-13 15:10 UTC by Marcel Telka
Modified: 2006-03-17 01:02 UTC (History)
1 user (show)

See Also:
Host:
Target: h8300-elf
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Telka 2005-06-13 15:10:20 UTC
h8300-elf-as 2.16.1 fails to assemble valid code:

$ cat bug.S
        .section .mysect
label:
        bra     label
$ h8300-elf-as bug.S
bug.S: Assembler messages:
bug.S:3: Internal error, aborting at ../../binutils-2.16.1/gas/config/tc-h8300.c
line 2212 in md_pcrel_from
Please report this bug.
$ h8300-elf-as --version
GNU assembler 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `h8300-elf'.
Comment 1 Ben Elliston 2006-03-17 01:02:45 UTC
Reproduced using CVS HEAD.