public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform.
@ 2011-04-11  9:46 miro.kropacek at gmail dot com
  2011-04-11  9:48 ` [Bug c++/48551] " miro.kropacek at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: miro.kropacek at gmail dot com @ 2011-04-11  9:46 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: Following source code crashes the c++ compiler on
                    coldfire platform.
           Product: gcc
           Version: 4.5.2
            Status: UNCONFIRMED
          Severity: blocker
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: miro.kropacek@gmail.com


m68k-atari-mint-g++ -v -fomit-frame-pointer -mcpu=5475 -g -O2 -DHAVE_CONFIG_H
-I.. -I./../goo -I./../fofi -I.   -c Splash.ii 
Using built-in specs.
COLLECT_GCC=m68k-atari-mint-g++
COLLECT_LTO_WRAPPER=/home/mikro/gnu-tools/libexec/gcc/m68k-atari-mint/4.5.2/lto-wrapper
Target: m68k-atari-mint
Configured with: ../gcc-4.5.2/configure --target=m68k-atari-mint
--prefix=/home/mikro/gnu-tools --enable-languages=c,c++ --disable-nls
--disable-libstdcxx-pch 'CFLAGS_FOR_TARGET=-O2 -fomit-frame-pointer'
'CXXFLAGS_FOR_TARGET=-O2 -fomit-frame-pointer'
Thread model: single
gcc version 4.5.2 (MiNT 20110206) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-fomit-frame-pointer' '-mcpu=5475' '-g' '-O2'
'-DHAVE_CONFIG_H' '-I..' '-I./../goo' '-I./../fofi' '-I.' '-c'
 /home/mikro/gnu-tools/libexec/gcc/m68k-atari-mint/4.5.2/cc1plus -fpreprocessed
Splash.ii -quiet -dumpbase Splash.ii -mcpu=5475 -auxbase Splash -g -O2 -version
-fomit-frame-pointer -o /tmp/ccEwEpj3.s
GNU C++ (GCC) version 4.5.2 (MiNT 20110206) (m68k-atari-mint)
        compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version
2.4.2-p1, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (GCC) version 4.5.2 (MiNT 20110206) (m68k-atari-mint)
        compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version
2.4.2-p1, MPC version 0.8.1
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 7c132bafa38d6cea47b5bd54ad75cb89
Splash.cc: In member function 'void Splash::flattenCurve(SplashCoord,
SplashCoord, SplashCoord, SplashCoord, SplashCoord, SplashCoord, SplashCoord,
SplashCoord, SplashCoord*, SplashCoord, SplashPath*)':
Splash.cc:1380:1: error: unrecognizable insn:
(insn 385 384 20 2 Splash.cc:1320 (set (reg:DF 16 %fp0)
        (mem/c/i:DF (plus:SI (reg/f:SI 15 %sp)
                (reg:SI 0 %d0)) [3 x0+0 S8 A32])) -1 (nil))
Splash.cc:1380:1: internal compiler error: in extract_insn, at recog.c:2103
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

It's true m68k-atari-mint is not officially supported but I believe this is
common coldfire problem. For example, if I replace -mcpu=5475 with -m68020-60,
it works like a charm.


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

* [Bug c++/48551] Following source code crashes the c++ compiler on coldfire platform.
  2011-04-11  9:46 [Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform miro.kropacek at gmail dot com
@ 2011-04-11  9:48 ` miro.kropacek at gmail dot com
  2011-04-11 18:14 ` mikpe at it dot uu.se
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: miro.kropacek at gmail dot com @ 2011-04-11  9:48 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Miro Kropacek <miro.kropacek at gmail dot com> 2011-04-11 09:48:18 UTC ---
Created attachment 23953
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23953
Test case


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

* [Bug c++/48551] Following source code crashes the c++ compiler on coldfire platform.
  2011-04-11  9:46 [Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform miro.kropacek at gmail dot com
  2011-04-11  9:48 ` [Bug c++/48551] " miro.kropacek at gmail dot com
@ 2011-04-11 18:14 ` mikpe at it dot uu.se
  2011-04-11 18:15 ` [Bug target/48551] " pinskia at gcc dot gnu.org
  2015-01-16 20:17 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: mikpe at it dot uu.se @ 2011-04-11 18:14 UTC (permalink / raw)
  To: gcc-bugs

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

Mikael Pettersson <mikpe at it dot uu.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mikpe at it dot uu.se

--- Comment #2 from Mikael Pettersson <mikpe at it dot uu.se> 2011-04-11 18:14:04 UTC ---
Also ICE gcc-4.6-20110408 targeting m68k-linux when invoked with -mcpu=5475,
ICE disappears if -mcpu=5475 is removed.


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

* [Bug target/48551] Following source code crashes the c++ compiler on coldfire platform.
  2011-04-11  9:46 [Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform miro.kropacek at gmail dot com
  2011-04-11  9:48 ` [Bug c++/48551] " miro.kropacek at gmail dot com
  2011-04-11 18:14 ` mikpe at it dot uu.se
@ 2011-04-11 18:15 ` pinskia at gcc dot gnu.org
  2015-01-16 20:17 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-04-11 18:15 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |m68k-linux
          Component|c++                         |target
           Severity|blocker                     |normal


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

* [Bug target/48551] Following source code crashes the c++ compiler on coldfire platform.
  2011-04-11  9:46 [Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform miro.kropacek at gmail dot com
                   ` (2 preceding siblings ...)
  2011-04-11 18:15 ` [Bug target/48551] " pinskia at gcc dot gnu.org
@ 2015-01-16 20:17 ` law at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: law at redhat dot com @ 2015-01-16 20:17 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48551

Jeffrey A. Law <law at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2015-01-16
                 CC|                            |law at redhat dot com
     Ever confirmed|0                           |1


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

end of thread, other threads:[~2015-01-16 20:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-11  9:46 [Bug c++/48551] New: Following source code crashes the c++ compiler on coldfire platform miro.kropacek at gmail dot com
2011-04-11  9:48 ` [Bug c++/48551] " miro.kropacek at gmail dot com
2011-04-11 18:14 ` mikpe at it dot uu.se
2011-04-11 18:15 ` [Bug target/48551] " pinskia at gcc dot gnu.org
2015-01-16 20:17 ` law at redhat dot com

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).