public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/44685]  New: internal compiler error: in final_scan_insn, at final.c:2650 while compiling program with complex types
@ 2010-06-27  7:10 raj dot khem at gmail dot com
  2010-06-27  7:11 ` [Bug target/44685] " raj dot khem at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: raj dot khem at gmail dot com @ 2010-06-27  7:10 UTC (permalink / raw)
  To: gcc-bugs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3295 bytes --]

latest 4.5 branch is ICEing on the following code on mips. It works file with
-Os and -O2 and above but ICE's with -O1 or -O0, note that -fPIC is required to
reproduce it with -fPIC its ok.

Here is command to reproduce

mips-oe-linux-gcc -march=mips32 -mabi=32 b.c -c -fPIC


b.c: In function ‘__casin’:
b.c:19:1: error: could not split insn
(call_insn 20 55 21 b.c:13 (parallel [
            (set (reg:DF 32 $f0)
                (call (mem:SI (reg:SI 25 $25) [0 S4 A32])
                    (unspec [
                            (const_int 16 [0x10])
                            (symbol_ref:SI ("__casinh") [flags 0x41]
<function_decl 0xb7721e00 __casinh>)
                        ] 55)))
            (set (reg:DF 34 $f2)
                (call (mem:SI (reg:SI 25 $25) [0 S4 A32])
                    (const_int 16 [0x10])))
            (clobber (reg:SI 31 $31))
        ]) 574 {call_value_multiple_internal} (nil)
    (expr_list:REG_DEP_TRUE (use (reg:SI 79 $fakec))
        (expr_list:REG_DEP_TRUE (use (reg:SI 28 $28))
            (expr_list:REG_DEP_TRUE (use (reg:DC 4 $4))
                (nil)))))
b.c:19:1: internal compiler error: in final_scan_insn, at final.c:2650
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.



gcc is compiled with following options
Using built-in specs.
COLLECT_GCC=mips-oe-linux-gcc
COLLECT_LTO_WRAPPER=/scratch/oe/cross/mips/libexec/gcc/mips-oe-linux/4.5.1/lto-wrapper
Target: mips-oe-linux
Configured with:
/scratch/oe/work/mips-oe-linux/gcc-cross-intermediate-4.5-r1+svnr161450/gcc-4.5/configure
--build=i686-linux --host=i686-linux --target=mips-oe-linux
--prefix=/scratch/oe/cross/mips --exec_prefix=/scratch/oe/cross/mips
--bindir=/scratch/oe/cross/mips/bin --sbindir=/scratch/oe/cross/mips/bin
--libexecdir=/scratch/oe/cross/mips/libexec
--datadir=/scratch/oe/cross/mips/share --sysconfdir=/scratch/oe/cross/mips/etc
--sharedstatedir=/scratch/oe/cross/mips/com
--localstatedir=/scratch/oe/cross/mips/var --libdir=/scratch/oe/cross/mips/lib
--includedir=/scratch/oe/cross/mips/include
--oldincludedir=/scratch/oe/cross/mips/include
--infodir=/scratch/oe/cross/mips/share/info
--mandir=/scratch/oe/cross/mips/share/man
--with-local-prefix=/scratch/oe/sysroots/mips-oe-linux/usr --enable-shared
--disable-multilib --disable-threads --enable-languages=c
--program-prefix=mips-oe-linux-
--with-sysroot=/scratch/oe/sysroots/mips-oe-linux
--with-build-sysroot=/scratch/oe/sysroots/mips-oe-linux
--enable-target-optspace --disable-libmudflap --disable-libgomp
--disable-libssp --with-mips-plt --program-prefix=mips-oe-linux-
--enable-__cxa_atexit
Thread model: single
gcc version 4.5.1 20100627 (prerelease) (GCC)


-- 
           Summary: internal compiler error: in final_scan_insn, at
                    final.c:2650 while compiling program with complex types
           Product: gcc
           Version: 4.5.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raj dot khem at gmail dot com
 GCC build triplet: x86_64-linux
  GCC host triplet: x86_64-linux
GCC target triplet: mips-oe-linux


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


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

* [Bug target/44685] internal compiler error: in final_scan_insn, at final.c:2650 while compiling program with complex types
  2010-06-27  7:10 [Bug target/44685] New: internal compiler error: in final_scan_insn, at final.c:2650 while compiling program with complex types raj dot khem at gmail dot com
@ 2010-06-27  7:11 ` raj dot khem at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: raj dot khem at gmail dot com @ 2010-06-27  7:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from raj dot khem at gmail dot com  2010-06-27 07:11 -------
Created an attachment (id=21013)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21013&action=view)
testcase


-- 


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


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

end of thread, other threads:[~2010-06-27  7:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-27  7:10 [Bug target/44685] New: internal compiler error: in final_scan_insn, at final.c:2650 while compiling program with complex types raj dot khem at gmail dot com
2010-06-27  7:11 ` [Bug target/44685] " raj dot khem at gmail 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).