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 rtl-optimization/43300] New: ICE: in emit_move_insn, at expr.c:3432 with -Os -fgraphite-identity


Testcase is:
gcc.c-torture/compile/pr33614.c
with compiler parameters -Os -fgraphite-identity

------ pr33614.c ------
typedef float V2SF __attribute__ ((vector_size (8)));

V2SF
foo (int x, V2SF a)
{
  while (x--)
    a += (V2SF) {1.0f/0.0f - 1.0f/0.0f, 1.0f/0.0f - 1.0f/0.0f};
  return a;
}
-----------------------

Command line:
gcc -Os -fgraphite-identity pr33614.c

Tested revisions:
r157292 - crash
build dated 20100304 - segfault (disabled checking, both x86 and x86_64)
r157161 - crash
r155966 - crash (release checking)
r153685 - crash
4.4 r157120 - OK (checking)
4.4 r153668 - OK (release checking)

Output - enabled checking:
/mnt/svn/gcc-trunk/binary-157161/bin/gcc  -Os -c -fgraphite-identity
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33614.c
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33614.c: In function
'foo':
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33614.c:4:1: internal
compiler error: in emit_move_insn, at expr.c:3432

Output - disabled checking:
$ gcc-4.5.0-alpha20100304  -Os -c -fgraphite-identity
/mnt/svn/gcc-trunk/gcc/testsuite/gcc.c-torture/compile/pr33614.c
gcc-4.5.0-alpha20100304: Internal error: Segmentation fault (program cc1)


-- 
           Summary: ICE: in emit_move_insn, at expr.c:3432 with -Os -
                    fgraphite-identity
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86(_64)-pc-linux-gnu
GCC target triplet: x86(_64)-pc-linux-gnu


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


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