public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/18779] New: SSE2 intrinsics cause segmentation fault and internal compiler error
@ 2004-12-02 10:00 jochang at gmail dot com
  2004-12-02 10:02 ` [Bug target/18779] " jochang at gmail dot com
  2004-12-02 10:30 ` belyshev at lubercy dot com
  0 siblings, 2 replies; 3+ messages in thread
From: jochang at gmail dot com @ 2004-12-02 10:00 UTC (permalink / raw)
  To: gcc-bugs

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

-- 
           Summary: SSE2 intrinsics cause segmentation fault and internal
                    compiler error
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jochang at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug target/18779] SSE2 intrinsics cause segmentation fault and internal compiler error
  2004-12-02 10:00 [Bug target/18779] New: SSE2 intrinsics cause segmentation fault and internal compiler error jochang at gmail dot com
@ 2004-12-02 10:02 ` jochang at gmail dot com
  2004-12-02 10:30 ` belyshev at lubercy dot com
  1 sibling, 0 replies; 3+ messages in thread
From: jochang at gmail dot com @ 2004-12-02 10:02 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From jochang at gmail dot com  2004-12-02 10:02 -------
Created an attachment (id=7655)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7655&action=view)
The test case

The problem happens on 3.4.2 and 3.4.3, but not on 3.3.4.


-- 


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


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

* [Bug target/18779] SSE2 intrinsics cause segmentation fault and internal compiler error
  2004-12-02 10:00 [Bug target/18779] New: SSE2 intrinsics cause segmentation fault and internal compiler error jochang at gmail dot com
  2004-12-02 10:02 ` [Bug target/18779] " jochang at gmail dot com
@ 2004-12-02 10:30 ` belyshev at lubercy dot com
  1 sibling, 0 replies; 3+ messages in thread
From: belyshev at lubercy dot com @ 2004-12-02 10:30 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From belyshev at lubercy dot com  2004-12-02 10:30 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE


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


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

end of thread, other threads:[~2004-12-02 10:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-02 10:00 [Bug target/18779] New: SSE2 intrinsics cause segmentation fault and internal compiler error jochang at gmail dot com
2004-12-02 10:02 ` [Bug target/18779] " jochang at gmail dot com
2004-12-02 10:30 ` belyshev at lubercy 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).