This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/33332] [4.3 Regression] unrecognizable insn on hppa
- From: "tbm at cyrius dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Sep 2007 14:11:50 -0000
- Subject: [Bug target/33332] [4.3 Regression] unrecognizable insn on hppa
- References: <bug-33332-12387@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from tbm at cyrius dot com 2007-09-07 14:11 -------
Here's a smaller testcase:
tbm@meitner:~$ /usr/lib/gcc-snapshot/bin/gcc -c -O mxb.c
mxb.c: In function 'mxb_probe':
mxb.c:30: error: unrecognizable insn:
(insn 10 9 11 3 mxb.c:29 (parallel [
(set (mem/s/j/c:QI (reg:SI 98) [0 D.1580.name+8 S1 A64])
(const_int 0 [0x0]))
(clobber (reg:SI 99))
(clobber (reg:SI 100))
(use (const_int 40 [0x28]))
(use (const_int 8 [0x8]))
]) -1 (nil))
mxb.c:30: internal compiler error: in extract_insn, at recog.c:1990
Please submit a full bug report,
Testcase:
struct pci_device_id {
unsigned long driver_data;
};
extern struct module __this_module;
struct i2c_adapter {
char name[48];
};
struct saa7146_dev;
struct saa7146_pci_extension_data {
struct saa7146_extension *ext;
void *ext_priv;
};
struct saa7146_extension {
int (*probe)(struct saa7146_dev *);
}
input_port_selection[4] = {
0x00, 0x00
};
struct mxb {
struct i2c_adapter i2c_adapter;
};
static struct saa7146_extension extension;
static int mxb_probe(struct saa7146_dev* dev) {
struct mxb* mxb = ((void *)0);
mxb->i2c_adapter = (struct i2c_adapter) {
.name = "mxb",
};
}
static struct saa7146_pci_extension_data mxb = {
.ext = &extension,
};
static struct pci_device_id pci_tbl[] = {
{
.driver_data = (unsigned long)&mxb,
}
};
extern struct pci_device_id __mod_pci_device_table __attribute__ ((unused,
alias("pci_tbl")));
static struct saa7146_extension extension = {
.probe = mxb_probe,
};
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33332