public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40742]  New: GCC (for Microblaze) reports internal compiler error
@ 2009-07-14  8:53 klaus-christian dot saalfeld at sma dot de
  2009-07-14  9:24 ` [Bug target/40742] " rguenth at gcc dot gnu dot org
  2009-07-14  9:26 ` [Bug c/40742] " steven at gcc dot gnu dot org
  0 siblings, 2 replies; 3+ messages in thread
From: klaus-christian dot saalfeld at sma dot de @ 2009-07-14  8:53 UTC (permalink / raw)
  To: gcc-bugs

Note: GCC for Microblaze was used (mb-gcc)


The code that caused the error:

#define APP_ENTRY_POINT_BASE    ((unsigned int)0x300000)
#define APP_ENTRY_POINT_OFFSET  ((unsigned int)0x200000)
#define APP_ENTRY_POINT         (APP_ENTRY_POINT_BASE + APP_ENTRY_POINT_OFFSET)

int main()
{
        (*((void(*)())APP_ENTRY_POINT))();
}


Call and output of compiler:

mb-gcc -c -mno-xl-soft-mul -mxl-pattern-compare -mcpu=v7.10.d
-I../../microblaze_0_sw_platform/microblaze_0/include -xl-mode-executable -g
-O0 -ostarter.o ../starter.c
../starter.c: In function 'main':
../starter.c:18: error: unrecognizable insn:
(call_insn 8 7 9 1 ../starter.c:11 (parallel [
            (call (mem:SI (const_int 5242880 [0x500000]) [0 S4 A32])
                (const_int 24 [0x18]))
            (clobber (reg:SI 15 r15))
        ]) -1 (nil)
    (nil)
    (nil))
../starter.c:18: internal compiler error: in extract_insn, at recog.c:2084
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make: *** [starter.o] Error 1
Build complete for project starter


-- 
           Summary: GCC (for Microblaze) reports internal compiler error
           Product: gcc
           Version: 4.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: klaus-christian dot saalfeld at sma dot de


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug target/40742] GCC (for Microblaze) reports internal compiler error
  2009-07-14  8:53 [Bug c/40742] New: GCC (for Microblaze) reports internal compiler error klaus-christian dot saalfeld at sma dot de
@ 2009-07-14  9:24 ` rguenth at gcc dot gnu dot org
  2009-07-14  9:26 ` [Bug c/40742] " steven at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-14  9:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from rguenth at gcc dot gnu dot org  2009-07-14 09:23 -------
GCC 4.1.1 is no longer maintained, please update to at least GCC 4.3.3 and
try there.  Also always paste the output of gcc -v.


-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
          Component|c                           |target


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c/40742] GCC (for Microblaze) reports internal compiler error
  2009-07-14  8:53 [Bug c/40742] New: GCC (for Microblaze) reports internal compiler error klaus-christian dot saalfeld at sma dot de
  2009-07-14  9:24 ` [Bug target/40742] " rguenth at gcc dot gnu dot org
@ 2009-07-14  9:26 ` steven at gcc dot gnu dot org
  1 sibling, 0 replies; 3+ messages in thread
From: steven at gcc dot gnu dot org @ 2009-07-14  9:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from steven at gcc dot gnu dot org  2009-07-14 09:26 -------
Microblaze is not an FSF GCC version.

Please report this bug to the distributor of mb-gcc (Google says this is
http://www.petalogix.com/resources/downloads/mb-gcc). and kindly request them
to adjust the bug-reporting URL also.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
          Component|target                      |c
         Resolution|                            |INVALID


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-14  9:26 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-14  8:53 [Bug c/40742] New: GCC (for Microblaze) reports internal compiler error klaus-christian dot saalfeld at sma dot de
2009-07-14  9:24 ` [Bug target/40742] " rguenth at gcc dot gnu dot org
2009-07-14  9:26 ` [Bug c/40742] " steven at gcc dot gnu dot 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).