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 regression/48262] New: Subversion id 171341 breaks various vectorization files on powerpc


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

           Summary: Subversion id 171341 breaks various vectorization
                    files on powerpc
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: regression
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: meissner@gcc.gnu.org
              Host: powerpc64-linux
            Target: powerpc64-linux
             Build: powerpc64-linux


Created attachment 23763
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23763
-save-temps of a file that shows the bug (compile with -O3 -m64 -mvsx)

I updated GCC to the head release and tried to build spec on power7, and I had
a lot of failures.  I also got failures in one of my vectorization tests.

The failures are in:
oo2.c: In function âtrunkp7vsx_align_amove_0_0_sign_longâ:
foo2.c:120:36: internal compiler error: in expand_insn, at optabs.c:7171
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

GNU gdb (GDB) SUSE (7.0-0.4.16)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "ppc64-suse-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/home/meissner/fsf-build-ppc64/power7-meissner/gcc/cc1...done.
Breakpoint 1 at 0x1020460c: file
/home/meissner/fsf-src/power7-meissner/gcc/diagnostic.c, line 893.
Breakpoint 2 at 0x102052c4: file
/home/meissner/fsf-src/power7-meissner/gcc/diagnostic.c, line 838.
Breakpoint 3 at 0x109e7f94
Breakpoint 4 at 0x109e7884
(gdb) r -O3 -m64 -mvsx foo2.i
Starting program: /home/meissner/fsf-build-ppc64/power7-meissner/gcc/cc1 -O3
-m64 -mvsx foo2.i
Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: zypper install -C
"debuginfo(build-id)=ed25a9207e96ab232788f89131590142a443bca0"
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C
"debuginfo(build-id)=3a099294fce09d9fce7bf2a37e64588381d3c56d"
 atof atoi atol atoll gnu_dev_major gnu_dev_minor gnu_dev_makedev vprintf
getchar fgetc_unlocked getc_unlocked getchar_unlocked putchar fputc_unlocked
putc_unlocked putchar_unlocked feof_unlocked ferror_unlocked
trunkp7vsx_align_amove_0_0_sign_long
Analyzing compilation unit
Performing interprocedural optimizations
 <*free_lang_data> <visibility> <early_local_cleanups> <increase_alignment>
<whole-program> <ipa-profile> <cp> <inline> <pure-const> <static-var>Assembling
functions:
 trunkp7vsx_align_amove_0_0_sign_long
Breakpoint 1, fancy_abort (file=0x10a30f18
"/home/meissner/fsf-src/power7-meissner/gcc/optabs.c", line=7171,
function=0x10a30e60 "expand_insn") at
/home/meissner/fsf-src/power7-meissner/gcc/diagnostic.c:893
893       internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) up
#1  0x00000000103c2e6c in expand_insn (icode=<value optimized out>, nops=<value
optimized out>, ops=<value optimized out>) at
/home/meissner/fsf-src/power7-meissner/gcc/optabs.c:7171
7171        gcc_unreachable ();
(gdb) up
#2  expand_insn (icode=<value optimized out>, nops=<value optimized out>,
ops=<value optimized out>) at
/home/meissner/fsf-src/power7-meissner/gcc/optabs.c:7167
7167    expand_insn (enum insn_code icode, unsigned int nops,
(gdb) up
#3  0x00000000102864f4 in expand_assignment (nontemporal=<value optimized out>,
from=Unhandled dwarf expression opcode 0xf3
) at /home/meissner/fsf-src/power7-meissner/gcc/expr.c:4184
4184          expand_insn (icode, 2, ops);
(gdb) up
#4  expand_assignment (nontemporal=<value optimized out>, from=Unhandled dwarf
expression opcode 0xf3
) at /home/meissner/fsf-src/power7-meissner/gcc/expr.c:4108
4108    expand_assignment (tree to, tree from, bool nontemporal)
(gdb) print to
$1 = (union tree_node *) 0xfffb63bc5d0
(gdb) pt
 <target_mem_ref 0xfffb63bc5d0
    type <vector_type 0xfffb6409c30
        type <integer_type 0xfffb62405e8 long int public DI
            size <integer_cst 0xfffb6150780 constant 64>
            unit size <integer_cst 0xfffb61507a8 constant 8>
            align 64 symtab 0 alias set 2 canonical type 0xfffb62405e8
precision 64 min <integer_cst 0xfffb6150708 -9223372036854775808> max
<integer_cst 0xfffb6150730 9223372036854775807> context <translation_unit_decl
0xfffb61eaea8 D.2915>
            pointer_to_this <pointer_type 0xfffb62440f8>>
        V2DI
        size <integer_cst 0xfffb6150910 constant 128>
        unit size <integer_cst 0xfffb6150938 constant 16>
        align 64 symtab 0 alias set 2 canonical type 0xfffb6409648 nunits 2
        pointer_to_this <pointer_type 0xfffb640afe0>>

    arg 0 <ssa_name 0xfffb6393700
        type <pointer_type 0xfffb6409b88 type <vector_type 0xfffb6409648>
            public unsigned restrict DI size <integer_cst 0xfffb6150780 64>
unit size <integer_cst 0xfffb61507a8 8>
            align 64 symtab 0 alias set -1 canonical type 0xfffb6409b88>
        visited var <var_decl 0xfffb63e32a0 vect_p.29>def_stmt vect_p.29_94 =
vec1_15 + base_off.22_85;

        version 94
        ptr-info 0xfffb61db160>
    arg 1 <integer_cst 0xfffb63f7aa8 type <pointer_type 0xfffb6408730> constant
0>
    arg 2 <ssa_name 0xfffb6392520
        type <integer_type 0xfffb6240000 long unsigned int public unsigned
sizetype DI size <integer_cst 0xfffb6150780 64> unit size <integer_cst
0xfffb61507a8 8>
            align 64 symtab 0 alias set -1 canonical type 0xfffb6240000
precision 64 min <integer_cst 0xfffb61507d0 0> max <integer_cst 0xfffb6150aa0
-1>>
        visited var <var_decl 0xfffb63e8660 ivtmp.122>def_stmt ivtmp.122_61 =
PHI <ivtmp.122_62(22), 0(31)>
        version 61>>
(gdb) print from
Unhandled dwarf expression opcode 0xf3
(gdb) pt
 <target_mem_ref 0xfffb63bc5d0
    type <vector_type 0xfffb6409c30
        type <integer_type 0xfffb62405e8 long int public DI
            size <integer_cst 0xfffb6150780 constant 64>
            unit size <integer_cst 0xfffb61507a8 constant 8>
            align 64 symtab 0 alias set 2 canonical type 0xfffb62405e8
precision 64 min <integer_cst 0xfffb6150708 -9223372036854775808> max
<integer_cst 0xfffb6150730 9223372036854775807> context <translation_unit_decl
0xfffb61eaea8 D.2915>
            pointer_to_this <pointer_type 0xfffb62440f8>>
        V2DI
        size <integer_cst 0xfffb6150910 constant 128>
        unit size <integer_cst 0xfffb6150938 constant 16>
        align 64 symtab 0 alias set 2 canonical type 0xfffb6409648 nunits 2
        pointer_to_this <pointer_type 0xfffb640afe0>>

    arg 0 <ssa_name 0xfffb6393700
        type <pointer_type 0xfffb6409b88 type <vector_type 0xfffb6409648>
            public unsigned restrict DI size <integer_cst 0xfffb6150780 64>
unit size <integer_cst 0xfffb61507a8 8>
            align 64 symtab 0 alias set -1 canonical type 0xfffb6409b88>
        visited var <var_decl 0xfffb63e32a0 vect_p.29>def_stmt vect_p.29_94 =
vec1_15 + base_off.22_85;

        version 94
        ptr-info 0xfffb61db160>
    arg 1 <integer_cst 0xfffb63f7aa8 type <pointer_type 0xfffb6408730> constant
0>
    arg 2 <ssa_name 0xfffb6392520
        type <integer_type 0xfffb6240000 long unsigned int public unsigned
sizetype DI size <integer_cst 0xfffb6150780 64> unit size <integer_cst
0xfffb61507a8 8>
            align 64 symtab 0 alias set -1 canonical type 0xfffb6240000
precision 64 min <integer_cst 0xfffb61507d0 0> max <integer_cst 0xfffb6150aa0
-1>>
        visited var <var_decl 0xfffb63e8660 ivtmp.122>def_stmt ivtmp.122_61 =
PHI <ivtmp.122_62(22), 0(31)>

        version 61>>
(gdb)


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