User account creation filtered due to spam.

Bug 16533 - ICE on va-arg-25.c testcase when -Os and -msse are given
Summary: ICE on va-arg-25.c testcase when -Os and -msse are given
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 4.0.0
: P2 normal
Target Milestone: 4.0.0
Assignee: Richard Henderson
Keywords: ice-on-valid-code, ssemmx
Depends on:
Reported: 2004-07-14 00:50 UTC by Joe Buck
Modified: 2005-01-20 18:46 UTC (History)
2 users (show)

See Also:
Host: i686-pc-linux-gnu
Target: i686-pc-linux-gnu
Build: i686-pc-linux-gnu
Known to work:
Known to fail:
Last reconfirmed: 2005-01-20 09:48:44


Note You need to log in before you can comment on or make changes to this bug.
Description Joe Buck 2004-07-14 00:50:08 UTC
PR 16354 was just fixed, and I tested the fix.  I noticed that there is a new

va-arg-25.c:32: warning: SSE vector argument without SSE enabled changes the ABI

So I entered

gcc -Os -msse va-arg-25.c

and I get

va-arg-25.c: In function `main':
va-arg-25.c:36: error: unrecognizable insn:
(insn:HI 11 10 12 0 (set (mem/i:V4SI (pre_dec:SI (reg/f:SI 7 sp)) [0 S16 A128])
        (reg:V4SI 59)) -1 (insn_list 10 (nil))
    (expr_list:REG_DEAD (reg:V4SI 59)
va-arg-25.c:36: internal compiler error: in extract_insn, at recog.c:2050

The test case is
Comment 1 Joe Buck 2004-07-14 00:52:06 UTC
With 3.4.x and 3.3.x, we don't see the ICE, but we do see the problem
described in PR 16354 .
Comment 2 Andrew Pinski 2004-07-14 02:53:43 UTC
I have seen something like this in 3.4.0 also but I cannot remmeber were.  The real issue is that it 
cannot be done without sse2 and not sse.
Comment 3 Richard Henderson 2005-01-20 18:46:20 UTC