Bug 505786 - g++ produces ICE
Summary: g++ produces ICE
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: 11
Hardware: x86_64
OS: Linux
low
high
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-13 20:13 UTC by Stefan Seefeld
Modified: 2009-06-16 15:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-16 15:22:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
preprocessed source file causing the compiler to generate an ICE. (2.21 MB, text/plain)
2009-06-13 20:13 UTC, Stefan Seefeld
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 40446 0 None None None Never

Description Stefan Seefeld 2009-06-13 20:13:21 UTC
Created attachment 347763 [details]
preprocessed source file causing the compiler to generate an ICE.

Description of problem:

The attached code compiles fine with g++ without optimization, but with -O2 results in an ICE, with this message:

In file included from /usr/lib/gcc/x86_64-redhat-linux/4.4.0/include/xmmintrin.h:1248,
                 from /home/stefan/work/svxx-build/../svxx/src/vsip/opt/simd/simd.hpp:36,
                 from /home/stefan/work/svxx-build/../svxx/tests/simd.cpp:21:
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/include/emmintrin.h: In function ‘void test_complex(vsip::impl::Bool_type<true>) [with T = double]’:
/usr/lib/gcc/x86_64-redhat-linux/4.4.0/include/emmintrin.h:106: internal compiler error: in gen_lowpart_general, at rtlhooks.c:59



Version-Release number of selected component (if applicable):

g++ -v yields "gcc version 4.4.0 20090506 (Red Hat 4.4.0-4) (GCC)..."

Comment 1 Jakub Jelinek 2009-06-16 15:22:58 UTC
Fixed upstream, in both trunk and 4.4 branch.  Will appear in next rawhide gcc build even, whenever F11 gcc is updated, there as well.


Note You need to log in before you can comment on or make changes to this bug.