This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/24823] [4.1/4.2 Regression] ICE in insert_save, at caller-save.c:719



------- Comment #14 from pinskia at gcc dot gnu dot org  2005-11-21 16:19 -------
(In reply to comment #13)
> Ups. That's what I was trying to suggest - an unusual typo isn't it? ;-)
> Thanks for taking care of this!


Actually I was wrong in saying that only complex modes can show up here.  It
can also show up in the mixed 64/32 bit of PPC for 64bit ints (powerpc-darwin
is the target).
(call_insn 8 6 9 (parallel [
            (set (parallel:DI [
                        (expr_list:REG_DEP_TRUE (reg:SI 3 r3)
                            (const_int 0 [0x0]))
                        (expr_list:REG_DEP_TRUE (reg:SI 4 r4)
                            (const_int 4 [0x4]))
                    ])
                (call (mem:SI (symbol_ref:SI ("f") [flags 0x41] <function_decl
0x2aaaab0a6e00 f>) [0 S4 A8])
                    (const_int 32 [0x20])))
            (use (const_int 0 [0x0]))
            (clobber (scratch:SI))
        ]) -1 (nil)
    (nil)
    (nil))

You most likely can construct an ICE for that testcase too but I don't really
know how.
The testcase to get that construct is:
long long f(void);

int g(void)
{
  return f();
}


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]