Bug 18779 - SSE2 intrinsics cause segmentation fault and internal compiler error
Summary: SSE2 intrinsics cause segmentation fault and internal compiler error
Status: RESOLVED DUPLICATE of bug 14981
Alias: None
Product: gcc
Classification: Unclassified
Component: target (show other bugs)
Version: 3.4.3
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 09:59 UTC by Chih-Chung Chang
Modified: 2005-07-23 22:49 UTC (History)
1 user (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:


Attachments
The test case (356 bytes, text/x-csrc)
2004-12-02 10:01 UTC, Chih-Chung Chang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chih-Chung Chang 2004-12-02 09:59:54 UTC
Command line: gcc -msse2 -O main.c

(1) The generated executable causes segmentation fault while running. It looks
like some alignment problem.

(2) If test1 and test2 are called directly from main(), not through test3, the
problem disappears.

(3) If the line "t2 = coeffs" in test1 is commented out, ICE happens:
main.c: In function `test1':
main.c:33: internal compiler error: in immed_double_const, at emit-rtl.c:481
Comment 1 Chih-Chung Chang 2004-12-02 10:02:00 UTC
Created attachment 7655 [details]
The test case

The problem happens on 3.4.2 and 3.4.3, but not on 3.3.4.
Comment 2 Serge Belyshev 2004-12-02 10:30:43 UTC

*** This bug has been marked as a duplicate of 14981 ***