public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52773] New: internal error: in replace_pseudos_in, at reload1.c:577
@ 2012-03-29 14:58 fdarkangel at gmail dot com
  2012-03-29 18:16 ` [Bug c/52773] " mikpe at it dot uu.se
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: fdarkangel at gmail dot com @ 2012-03-29 14:58 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52773
           Summary: internal error: in replace_pseudos_in, at
                    reload1.c:577
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: fdarkangel@gmail.com


Created attachment 27035
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27035
An excerpt from SGDK v0.90 that demonstrates the bug

Using m68k-elf-gcc 4.7.0 with
m68k-elf-gcc -c -m68000 -Wall -O2 -funroll-loops -fomit-frame-pointer
-fno-builtin-memset -fno-builtin-memcpy bug.c

The problem disappears without -funroll-loops parameter (or -O0).
I was able to compile the code on my host machine (x86_64, gcc 4.6.3) without
any problems.

More details on the cross compiler:
m68k-elf-gcc -v
Using built-in specs.
COLLECT_GCC=m68k-elf-gcc
COLLECT_LTO_WRAPPER=/opt/toolchains/sega/m68k-elf/libexec/gcc/m68k-elf/4.7.0/lto-wrapper
Target: m68k-elf
Configured with: ../gcc-4.7.0/configure --target=m68k-elf
--prefix=/opt/toolchains/sega/m68k-elf --without-headers --with-newlib
--enable-languages=c --disable-libssp --disable-tls --with-cpu=m68000
--disable-werror : (reconfigured) ../gcc-4.7.0/configure --target=m68k-elf
--prefix=/opt/toolchains/sega/m68k-elf --with-newlib --disable-libssp
--disable-tls --enable-threads=single --enable-languages=c,c++,objc,obj-c++
--with-cpu=m68000 --disable-werror
Thread model: single
gcc version 4.7.0 (GCC)


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

end of thread, other threads:[~2022-01-10 10:12 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-29 14:58 [Bug c/52773] New: internal error: in replace_pseudos_in, at reload1.c:577 fdarkangel at gmail dot com
2012-03-29 18:16 ` [Bug c/52773] " mikpe at it dot uu.se
2012-03-29 22:17 ` mikpe at it dot uu.se
2013-04-08 15:52 ` alanh at fairlite dot co.uk
2013-04-08 17:11 ` mikpe at it dot uu.se
2013-06-17 17:35 ` alanh at fairlite dot co.uk
2013-06-18  9:03 ` mikpe at it dot uu.se
2013-06-21 11:07 ` mikpe at it dot uu.se
2013-12-18  4:37 ` fdarkangel at gmail dot com
2013-12-18  8:44 ` mikpelinux at gmail dot com
2014-09-12  2:26 ` [Bug rtl-optimization/52773] " fdarkangel at gmail dot com
2014-09-13  9:48 ` mikpelinux at gmail dot com
2015-01-17  7:36 ` law at gcc dot gnu.org
2015-01-17  7:42 ` law at redhat dot com
2022-01-10 10:12 ` pinskia at gcc dot gnu.org
2022-01-10 10:12 ` 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).