This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/49652] New: SIGFPE in vector_alignment_reachable_p


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

           Summary: SIGFPE in vector_alignment_reachable_p
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dcb314@hotmail.com


Created attachment 24697
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24697
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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]