public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/25690]  New: error: unrecognizable insn - failed to assign &a[1] if a is a struct
@ 2006-01-06  9:54 olaf at bonorden dot de
  2006-01-06  9:56 ` [Bug c/25690] " olaf at bonorden dot de
                   ` (6 more replies)
  0 siblings, 7 replies; 9+ messages in thread
From: olaf at bonorden dot de @ 2006-01-06  9:54 UTC (permalink / raw)
  To: gcc-bugs

Source (test.c):

struct type {
    char dummy;
} a[2];

void test( void ) {
    struct type* b = &a[1];
}

compiler call:
mcore-gcc test.c -c

output:

test.c: In function 'test':
test.c:7: error: unrecognizable insn:
(insn 8 6 9 3 (set (reg:SI 25)
        (const:SI (plus:SI (symbol_ref:SI ("a") <var_decl 0x4016f0b0 a>)
                (const_int 1 [0x1])))) -1 (nil)
    (nil))
test.c:7: internal compiler error: in extract_insn, at recog.c:2084


-- 
           Summary: error: unrecognizable insn - failed to assign &a[1] if a
                    is a struct
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: critical
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: olaf at bonorden dot de
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: mcore-be-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25690



^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <bug-25690-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2021-08-15  3:00 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-06  9:54 [Bug c/25690] New: error: unrecognizable insn - failed to assign &a[1] if a is a struct olaf at bonorden dot de
2006-01-06  9:56 ` [Bug c/25690] " olaf at bonorden dot de
2006-01-06 15:21 ` [Bug target/25690] " pinskia at gcc dot gnu dot org
2006-01-10  4:44 ` pinskia at gcc dot gnu dot org
2006-01-10  4:44 ` pinskia at gcc dot gnu dot org
2006-01-10  4:45 ` pinskia at gcc dot gnu dot org
2006-04-11  2:45 ` pinskia at gcc dot gnu dot org
2006-04-11  4:32 ` peter dot jansen at aad dot gov dot au
     [not found] <bug-25690-4@http.gcc.gnu.org/bugzilla/>
2021-08-15  3:00 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).