Bug 49652 - SIGFPE in vector_alignment_reachable_p
Summary: SIGFPE in vector_alignment_reachable_p
Status: RESOLVED DUPLICATE of bug 49628
Alias: None
Product: gcc
Classification: Unclassified
Component: c (show other bugs)
Version: 4.7.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-05 20:28 UTC by David Binderman
Modified: 2024-01-10 00:11 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
C source code (51.45 KB, text/plain)
2011-07-05 20:28 UTC, David Binderman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2011-07-05 20:28:15 UTC
Created attachment 24697 [details]
C source code

I just tried to compile the package xblast-2.10.4 with the latest trunk
snapshot 20110702 on an AMD x86_64 box.

The compiler said

cfg_game.c: In function 'RetrieveAnyGamePlayers':
cfg_game.c:464:1: internal compiler error: Floating point exception
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

gdb says

Program received signal SIGFPE, Arithmetic exception.
0x0000000000cf7007 in vector_alignment_reachable_p (dr=0x14f5150)
    at ../../src/gcc-4.7-20110702/gcc/tree-vect-data-refs.c:1114
1114          if ((nelements - mis_in_elements) % GROUP_SIZE (stmt_info))
(gdb) p stmt_info
$1 = (struct _stmt_vec_info *) 0x15490c0
(gdb)

Preprocessed source code attached. Flag -O3 required.
Comment 1 Richard Biener 2011-07-06 08:11:05 UTC
.

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