public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "irar at il dot ibm dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/28752] bootstrap comparision fails with "-ftree-vectorize -maltivec" on ppc
Date: Tue, 07 Nov 2006 08:31:00 -0000	[thread overview]
Message-ID: <20061107083136.13581.qmail@sourceware.org> (raw)
In-Reply-To: <bug-28752-12180@http.gcc.gnu.org/bugzilla/>



------- Comment #9 from irar at il dot ibm dot com  2006-11-07 08:31 -------
In r110758 (and r110705) bootstrap with BOOT_CFLAGS="-O2 -g -ftree-vectorize
-maltivec" fails with another error:

/Develop/main-110758/build-vect/./prev-gcc/xgcc
-B/Develop/main-110758/build-vect/./prev-gcc/
-B/Develop/main-110758//powerpc64-suse-linux/bin/ -c   -O2 -g -ftree-vectorize
-maltivec -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wmissing-format-attribute
-Werror    -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include 
-I../../gcc/gcc/../libdecnumber -I../libdecnumber    ../../gcc/gcc/regmove.c -o
regmove.o
../../gcc/gcc/recog.c: In function constrain_operands:
../../gcc/gcc/recog.c:2270: internal compiler error: in mark_operand_necessary,
at tree-ssa-dce.c:266
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[3]: *** [recog.o] Error 1
make[3]: *** Waiting for unfinished jobs....
rm cpp.pod gfdl.pod gfortran.pod fsf-funding.pod gpl.pod gcc.pod gcov.pod
make[3]: Leaving directory `/Develop/main-110758/build-vect/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/Develop/main-110758/build-vect'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/Develop/main-110758/build-vect'
make: *** [bootstrap] Error 2

The "guilty" loop is recog.c:2283, i.e., forcing this loop not to get
vectorized makes bootstrap with vectorization to pass.


The backtrace:

Breakpoint 1, fancy_abort (file=0x107b4668 "../../gcc/gcc/tree-ssa-dce.c",
line=266, function=0x107b4930 "mark_operand_necessary")
    at ../../gcc/gcc/diagnostic.c:642
642       internal_error ("in %s, at %s:%d", function, trim_filename (file),
line);
(gdb) backtrace
#0  fancy_abort (file=0x107b4668 "../../gcc/gcc/tree-ssa-dce.c", line=266,
function=0x107b4930 "mark_operand_necessary")
    at ../../gcc/gcc/diagnostic.c:642
During symbol reading, incomplete CFI data; unspecified registers (e.g., r0) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r2) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r3) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r4) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r5) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r6) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r7) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r8) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r9) at
0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r10)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r11)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r12)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r13)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r14)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r15)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r16)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r17)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r18)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r19)
at 0x10203008.
During symbol reading, incomplete CFI data; unspecified registers (e.g., r20)
at 0x10203008.
#1  0x105d2654 in mark_operand_necessary (op=0xf6d34e40, phionly=0 '\0') at
../../gcc/gcc/tree-ssa-dce.c:266
#2  0x105d218c in propagate_necessity (el=0x10ad6000) at
../../gcc/gcc/tree-ssa-dce.c:553
#3  0x105d401c in perform_tree_ssa_dce (aggressive=1 '\001') at
../../gcc/gcc/tree-ssa-dce.c:906
#4  0x105d4148 in tree_ssa_cd_dce () at ../../gcc/gcc/tree-ssa-dce.c:947
#5  0x1051b110 in execute_one_pass (pass=0x1088c584) at
../../gcc/gcc/passes.c:853
#6  0x1051b2c8 in execute_pass_list (pass=0x1088c584) at
../../gcc/gcc/passes.c:897
#7  0x1051b2f4 in execute_pass_list (pass=0x108876dc) at
../../gcc/gcc/passes.c:898
#8  0x100b1684 in tree_rest_of_compilation (fndecl=0xf7862d00) at
../../gcc/gcc/tree-optimize.c:412
#9  0x10016914 in c_expand_body (fndecl=0xf7862d00) at
../../gcc/gcc/c-decl.c:6689
#10 0x1059b914 in cgraph_expand_function (node=0xf75b3e00) at
../../gcc/gcc/cgraphunit.c:1101
#11 0x1059bba4 in cgraph_expand_all_functions () at
../../gcc/gcc/cgraphunit.c:1166
#12 0x1059c798 in cgraph_optimize () at ../../gcc/gcc/cgraphunit.c:1434
#13 0x1001a024 in c_write_global_declarations () at ../../gcc/gcc/c-decl.c:7804
#14 0x104d99a8 in compile_file () at ../../gcc/gcc/toplev.c:1012
#15 0x104dbc64 in do_compile () at ../../gcc/gcc/toplev.c:1957
#16 0x104dbcf8 in toplev_main (argc=54, argv=0xffe37c74) at
../../gcc/gcc/toplev.c:1989
#17 0x10090518 in main (argc=54, argv=0xffe37c74) at ../../gcc/gcc/main.c:35

Attached recog.i.
Please let me know if you need additional information.

Ira


-- 


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


  parent reply	other threads:[~2006-11-07  8:31 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-16  9:11 [Bug c/28752] New: " victork at il dot ibm dot com
2006-08-16  9:20 ` [Bug c/28752] " victork at il dot ibm dot com
2006-08-16  9:23 ` pluto at agmk dot net
2006-10-30 11:33 ` [Bug middle-end/28752] " irar at il dot ibm dot com
2006-11-02 11:18 ` irar at il dot ibm dot com
2006-11-02 11:44 ` irar at il dot ibm dot com
2006-11-03  0:08 ` janis at gcc dot gnu dot org
2006-11-06  9:39 ` irar at il dot ibm dot com
2006-11-06 17:37 ` law at redhat dot com
2006-11-07  8:31 ` irar at il dot ibm dot com [this message]
2006-11-07  8:32 ` irar at il dot ibm dot com
2006-11-07 21:03 ` law at redhat dot com
2006-11-08  8:40 ` irar at il dot ibm dot com
2006-11-08  8:41 ` irar at il dot ibm dot com
2006-11-08 11:34 ` irar at il dot ibm dot com
2006-11-08 12:05 ` irar at il dot ibm dot com
2006-11-08 18:30 ` law at redhat dot com
2006-11-09 10:15 ` irar at il dot ibm dot com
2006-11-09 17:34 ` janis187 at us dot ibm dot com
2006-11-12  9:53 ` irar at il dot ibm dot com
2006-11-12  9:55 ` irar at il dot ibm dot com
2006-11-12  9:56 ` irar at il dot ibm dot com
2006-11-15 22:28 ` janis at gcc dot gnu dot org
2006-11-20  8:43 ` irar at il dot ibm dot com
2006-11-20  8:46 ` irar at il dot ibm dot com
2006-11-20  8:50 ` irar at il dot ibm dot com
2006-11-20  9:03 ` irar at il dot ibm dot com
2006-11-22 11:15 ` [Bug middle-end/28752] bootstrap comparision fails with "-ftree-vectorize -maltivec" on ppc and i386 irar at il dot ibm dot com
2006-12-02 17:46 ` volodyan at gmail dot com
2006-12-04  9:25 ` irar at il dot ibm dot com
2006-12-07 12:14 ` irar at il dot ibm dot com
2006-12-07 13:30 ` irar at il dot ibm dot com
2006-12-11 12:46 ` irar at il dot ibm dot com
2006-12-11 12:57 ` irar at il dot ibm dot com
2006-12-11 13:03 ` irar at il dot ibm dot com
2006-12-14 11:58 ` [Bug middle-end/28752] bootstrap comparision fails with "-ftree-vectorize -maltivec" on ppc irar at il dot ibm dot com
2010-02-25  5:00 ` meissner at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061107083136.13581.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).