public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL @ 2008-01-31 17:24 rguenth at gcc dot gnu dot org 2008-01-31 17:31 ` [Bug tree-optimization/35043] " rguenth at gcc dot gnu dot org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-01-31 17:24 UTC (permalink / raw) To: gcc-bugs 1510 type = signed_type_for_types (TREE_TYPE (chrec_a), TREE_TYPE (chrec_b)); 1511 chrec_a = chrec_convert (type, chrec_a, NULL_TREE); (gdb) p type $4 = (tree) 0x0 and we then ICE in #0 0x000000000064bc08 in fold_convert (type=0x0, arg=0x2aad7d1bb570) at /space/rguenther/src/svn/trunk/gcc/fold-const.c:2496 (gdb) call debug_tree (chrec_a) <integer_cst 0x2aad7d1bb570 type <integer_type 0x2aad7d1ae0c0 bit_size_type> constant invariant 1> (gdb) call debug_tree (chrec_b) <integer_cst 0x2aad7d1bb390 type <integer_type 0x2aad7d1ae0c0 bit_size_type> constant invariant 0> -- Summary: ICE in tree-data-ref because signed_type_for_types returns NULL Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: ice-on-valid-code Severity: normal Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org GCC target triplet: ia64-*-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/35043] ICE in tree-data-ref because signed_type_for_types returns NULL 2008-01-31 17:24 [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL rguenth at gcc dot gnu dot org @ 2008-01-31 17:31 ` rguenth at gcc dot gnu dot org 2008-01-31 18:40 ` [Bug middle-end/35043] " rguenth at gcc dot gnu dot org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-01-31 17:31 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from rguenth at gcc dot gnu dot org 2008-01-31 17:15 ------- Created an attachment (id=15065) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15065&action=view) testcase -O -ftree-vectorize a cross from x86_64 is enough to trigger the ICE. reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/35043] ICE in tree-data-ref because signed_type_for_types returns NULL 2008-01-31 17:24 [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL rguenth at gcc dot gnu dot org 2008-01-31 17:31 ` [Bug tree-optimization/35043] " rguenth at gcc dot gnu dot org @ 2008-01-31 18:40 ` rguenth at gcc dot gnu dot org 2008-01-31 18:45 ` rguenth at gcc dot gnu dot org ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-01-31 18:40 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from rguenth at gcc dot gnu dot org 2008-01-31 17:23 ------- Reduced testcase: typedef long unsigned int size_t; typedef struct { long double dat[2]; } gsl_complex_long_double; typedef struct { size_t size; size_t stride; long double *data; } gsl_vector_complex_long_double; void gsl_vector_complex_long_double_set_zero (gsl_vector_complex_long_double * v) { long double * const data = v->data; const size_t n = v->size; const size_t stride = v->stride; const gsl_complex_long_double zero = { { 0.0L,0.0L} } ; size_t i; for (i = 0; i < n; i++) *(gsl_complex_long_double *) (data + 2 * i * stride) = zero; } tree.c:signed_or_unsigned_type_for doesn't handle bit_size_type specially which has TImode and a precision of 68. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Component|tree-optimization |middle-end Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2008-01-31 17:23:03 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/35043] ICE in tree-data-ref because signed_type_for_types returns NULL 2008-01-31 17:24 [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL rguenth at gcc dot gnu dot org 2008-01-31 17:31 ` [Bug tree-optimization/35043] " rguenth at gcc dot gnu dot org 2008-01-31 18:40 ` [Bug middle-end/35043] " rguenth at gcc dot gnu dot org @ 2008-01-31 18:45 ` rguenth at gcc dot gnu dot org 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-01-31 18:45 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from rguenth at gcc dot gnu dot org 2008-01-31 17:30 ------- Mine. I have a patch, defered for 4.4. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org |org Status|NEW |ASSIGNED Last reconfirmed|2008-01-31 17:23:03 |2008-01-31 17:30:26 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/35043] ICE in tree-data-ref because signed_type_for_types returns NULL 2008-01-31 17:24 [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL rguenth at gcc dot gnu dot org ` (2 preceding siblings ...) 2008-01-31 18:45 ` rguenth at gcc dot gnu dot org @ 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-02-04 13:31 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from rguenth at gcc dot gnu dot org 2008-02-04 13:30 ------- Fixed. -- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043 ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug middle-end/35043] ICE in tree-data-ref because signed_type_for_types returns NULL 2008-01-31 17:24 [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL rguenth at gcc dot gnu dot org ` (3 preceding siblings ...) 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org @ 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu dot org @ 2008-02-04 13:31 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from rguenth at gcc dot gnu dot org 2008-02-04 13:30 ------- Subject: Bug 35043 Author: rguenth Date: Mon Feb 4 13:30:00 2008 New Revision: 132091 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132091 Log: 2008-02-04 Richard Guenther <rguenther@suse.de> PR middle-end/35043 * gimplify.c (gimplify_init_ctor_eval): Convert array indices to TYPE_DOMAINs base type instead of using bitsizetype here. * gcc.c-torture/compile/pr35043.c: New testcase. Added: trunk/gcc/testsuite/gcc.c-torture/compile/pr35043.c Modified: trunk/gcc/ChangeLog trunk/gcc/gimplify.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35043 ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-02-04 13:31 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-01-31 17:24 [Bug tree-optimization/35043] New: ICE in tree-data-ref because signed_type_for_types returns NULL rguenth at gcc dot gnu dot org 2008-01-31 17:31 ` [Bug tree-optimization/35043] " rguenth at gcc dot gnu dot org 2008-01-31 18:40 ` [Bug middle-end/35043] " rguenth at gcc dot gnu dot org 2008-01-31 18:45 ` rguenth at gcc dot gnu dot org 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org 2008-02-04 13:31 ` rguenth at gcc dot gnu dot org
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).