public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize
@ 2007-06-24 9:14 dcb314 at hotmail dot com
2007-06-24 9:15 ` [Bug c/32477] " dcb314 at hotmail dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2007-06-24 9:14 UTC (permalink / raw)
To: gcc-bugs
I just tried to compile Suse Linux package hwinfo-13.35-18 with the
GNU C compiler version 4.3 snapshot 20070622
The compiler said
i10_vbios.c: In function 'int10_bios_ok':
i10_vbios.c:154: warning: cast to pointer from integer of different size
i10_vbios.c: In function 'InitInt10':
i10_vbios.c:80: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
Here is some additional help from valgrind
==10659== Invalid read of size 2
==10659== at 0x698243: set_bb_for_stmt (tree-cfg.c:2629)
==10659== by 0x6994B1: bsi_insert_after (tree-cfg.c:2740)
==10659== by 0x69A8D4: bsi_insert_on_edge_immediate (tree-cfg.c:3007)
==10659== by 0xA283A5: vect_create_data_ref_ptr (tree-vect-transform.c:805)
==10659== by 0xA2B7EA: vectorizable_load (tree-vect-transform.c:4566)
==10659== by 0xA35164: vect_transform_stmt (tree-vect-transform.c:4923)
==10659== by 0xA359A8: vect_transform_loop (tree-vect-transform.c:5912)
==10659== by 0x7B1271: vectorize_loops (tree-vectorizer.c:2306)
==10659== by 0x618B78: execute_one_pass (passes.c:1125)
==10659== by 0x618D4F: execute_pass_list (passes.c:1178)
==10659== by 0x618D64: execute_pass_list (passes.c:1179)
==10659== by 0x618D64: execute_pass_list (passes.c:1179)
==10659== Address 0x0 is not stack'd, malloc'd or (recently) free'd
Preprocessed source code attached. Flags -O2 -ftree-vectorize
required.
--
Summary: ice for legal code with -O2 -ftree-vectorize
Product: gcc
Version: 4.3.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dcb314 at hotmail dot com
GCC host triplet: x86_64-suse-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/32477] ice for legal code with -O2 -ftree-vectorize
2007-06-24 9:14 [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize dcb314 at hotmail dot com
@ 2007-06-24 9:15 ` dcb314 at hotmail dot com
2007-06-24 9:25 ` [Bug tree-optimization/32477] " pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: dcb314 at hotmail dot com @ 2007-06-24 9:15 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from dcb314 at hotmail dot com 2007-06-24 09:15 -------
Created an attachment (id=13772)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13772&action=view)
C source code
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32477] ice for legal code with -O2 -ftree-vectorize
2007-06-24 9:14 [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize dcb314 at hotmail dot com
2007-06-24 9:15 ` [Bug c/32477] " dcb314 at hotmail dot com
@ 2007-06-24 9:25 ` pinskia at gcc dot gnu dot org
2007-07-01 13:21 ` irar at il dot ibm dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-06-24 9:25 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-24 09:25 -------
Related to PR 32230 (that is we have the same issue but different places).
This case, we call vect_create_addr_base_for_vector_ref and then expect the
new_stmt_list not be to empty.
I am starting to think we should have bsi_insert_on_edge_immediate just return
NULL when it is past NULL now.
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Component|c |tree-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32477] ice for legal code with -O2 -ftree-vectorize
2007-06-24 9:14 [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize dcb314 at hotmail dot com
2007-06-24 9:15 ` [Bug c/32477] " dcb314 at hotmail dot com
2007-06-24 9:25 ` [Bug tree-optimization/32477] " pinskia at gcc dot gnu dot org
@ 2007-07-01 13:21 ` irar at il dot ibm dot com
2007-07-02 10:27 ` irar at gcc dot gnu dot org
2007-07-11 10:49 ` irar at il dot ibm dot com
4 siblings, 0 replies; 6+ messages in thread
From: irar at il dot ibm dot com @ 2007-07-01 13:21 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from irar at il dot ibm dot com 2007-07-01 13:21 -------
A fix to PR 32230 http://gcc.gnu.org/ml/gcc-patches/2007-07/msg00018.html fixes
this one too.
Ira
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32477] ice for legal code with -O2 -ftree-vectorize
2007-06-24 9:14 [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize dcb314 at hotmail dot com
` (2 preceding siblings ...)
2007-07-01 13:21 ` irar at il dot ibm dot com
@ 2007-07-02 10:27 ` irar at gcc dot gnu dot org
2007-07-11 10:49 ` irar at il dot ibm dot com
4 siblings, 0 replies; 6+ messages in thread
From: irar at gcc dot gnu dot org @ 2007-07-02 10:27 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from irar at gcc dot gnu dot org 2007-07-02 10:27 -------
Subject: Bug 32477
Author: irar
Date: Mon Jul 2 10:27:27 2007
New Revision: 126196
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=126196
Log:
PR tree-optimization/32230
PR tree-optimization/32477
* tree-vect-analyze.c (vect_analyze_data_refs): Fail if base
address is a constant.
Added:
trunk/gcc/testsuite/gcc.dg/vect/pr32230.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-vect-analyze.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/32477] ice for legal code with -O2 -ftree-vectorize
2007-06-24 9:14 [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize dcb314 at hotmail dot com
` (3 preceding siblings ...)
2007-07-02 10:27 ` irar at gcc dot gnu dot org
@ 2007-07-11 10:49 ` irar at il dot ibm dot com
4 siblings, 0 replies; 6+ messages in thread
From: irar at il dot ibm dot com @ 2007-07-11 10:49 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from irar at il dot ibm dot com 2007-07-11 10:49 -------
Fixed.
--
irar at il dot ibm dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32477
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-07-11 10:49 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-24 9:14 [Bug c/32477] New: ice for legal code with -O2 -ftree-vectorize dcb314 at hotmail dot com
2007-06-24 9:15 ` [Bug c/32477] " dcb314 at hotmail dot com
2007-06-24 9:25 ` [Bug tree-optimization/32477] " pinskia at gcc dot gnu dot org
2007-07-01 13:21 ` irar at il dot ibm dot com
2007-07-02 10:27 ` irar at gcc dot gnu dot org
2007-07-11 10:49 ` irar at il dot ibm dot com
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).