public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218
@ 2010-09-08 13:41 dominiq at lps dot ens dot fr
2010-09-08 13:53 ` [Bug tree-optimization/45598] " rguenth at gcc dot gnu dot org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-08 13:41 UTC (permalink / raw)
To: gcc-bugs
Between revisions 163966 (working) and 164000 compiling the following test
gives an ICE with -O[23s]
[macbook] f90/bug% cat pr30940.f90
program main
implicit none
character(len=10) :: digit_string = '123456789'
character :: digit_arr(10)
call copy(digit_string, digit_arr)
print '(1x, a1)',digit_arr(1:9)
contains
subroutine copy(in, out)
character, dimension(10) :: in, out
out(1:10) = in(1:10)
end subroutine copy
end program main
[macbook] f90/bug% gfc -O2 pr30940.f90
pr30940.f90: In function 'MAIN__':
pr30940.f90:1:0: internal compiler error: in build_int_cst_wide, at tree.c:1218
--
Summary: [4.6 Regression] ICE; in build_int_cst_wide, at
tree.c:1218
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: dominiq at lps dot ens dot fr
GCC build triplet: x86_64-apple-darwin10
GCC host triplet: x86_64-apple-darwin10
GCC target triplet: x86_64-apple-darwin10
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218
2010-09-08 13:41 [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218 dominiq at lps dot ens dot fr
@ 2010-09-08 13:53 ` rguenth at gcc dot gnu dot org
2010-09-08 15:31 ` hjl dot tools at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-08 13:53 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from rguenth at gcc dot gnu dot org 2010-09-08 13:53 -------
#4 0x0000000000b25f5e in fold_const_aggregate_ref (t=0x7ffff7f0cc18)
at /space/rguenther/src/svn/trunk/gcc/tree-ssa-ccp.c:1444
1444 return build_int_cst_type (TREE_TYPE (t),
(gdb) l
1439 == TYPE_MODE (TREE_TYPE (TREE_TYPE (ctor))))
1440 && (GET_MODE_CLASS (TYPE_MODE (TREE_TYPE (TREE_TYPE
(ctor))))
1441 == MODE_INT)
1442 && GET_MODE_SIZE (TYPE_MODE (TREE_TYPE (TREE_TYPE
(ctor)))) == 1
1443 && double_int_cmp (index_cst, length_cst, signed_p) < 0)
1444 return build_int_cst_type (TREE_TYPE (t),
1445 (TREE_STRING_POINTER (ctor)
1446 [double_int_to_uhwi
(index_cst)]));
1447 return NULL_TREE;
1448 }
(gdb) p t->common.type->base.code
$2 = ARRAY_TYPE
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hubicka at gcc dot gnu dot
| |org
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2010-09-08 13:53:34
date| |
Target Milestone|--- |4.6.0
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218
2010-09-08 13:41 [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218 dominiq at lps dot ens dot fr
2010-09-08 13:53 ` [Bug tree-optimization/45598] " rguenth at gcc dot gnu dot org
@ 2010-09-08 15:31 ` hjl dot tools at gmail dot com
2010-09-08 16:19 ` hjl dot tools at gmail dot com
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-08 15:31 UTC (permalink / raw)
To: gcc-bugs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]
------- Comment #2 from hjl dot tools at gmail dot com 2010-09-08 15:30 -------
On Linux/x86-64, revision 163997 failed to build 191.fma3d in
SPEC CPU 2K:
[hjl@gnu-27 00000001]$ /export/gnu/import/svn/gcc-test/usr/bin/gfortran -c -o
getirv.o -DSPEC_CPU2000_LP64 -O3 -funroll-loops -ffast-math
getirv.f90
getirv.f90: In function rcrdrd:
getirv.f90:213:0: internal compiler error: in build_int_cst_wide, at
tree.c:1218
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
[hjl@gnu-27 00000001]$
--
hjl dot tools at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hjl dot tools at gmail dot
| |com
GCC build triplet|x86_64-apple-darwin10 |
GCC host triplet|x86_64-apple-darwin10 |
GCC target triplet|x86_64-apple-darwin10 |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218
2010-09-08 13:41 [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218 dominiq at lps dot ens dot fr
2010-09-08 13:53 ` [Bug tree-optimization/45598] " rguenth at gcc dot gnu dot org
2010-09-08 15:31 ` hjl dot tools at gmail dot com
@ 2010-09-08 16:19 ` hjl dot tools at gmail dot com
2010-09-10 13:00 ` dominiq at lps dot ens dot fr
2010-09-10 13:24 ` dominiq at lps dot ens dot fr
4 siblings, 0 replies; 6+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-09-08 16:19 UTC (permalink / raw)
To: gcc-bugs
------- Comment #3 from hjl dot tools at gmail dot com 2010-09-08 16:19 -------
This is caused by revision 163973:
http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00265.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218
2010-09-08 13:41 [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218 dominiq at lps dot ens dot fr
` (2 preceding siblings ...)
2010-09-08 16:19 ` hjl dot tools at gmail dot com
@ 2010-09-10 13:00 ` dominiq at lps dot ens dot fr
2010-09-10 13:24 ` dominiq at lps dot ens dot fr
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-10 13:00 UTC (permalink / raw)
To: gcc-bugs
------- Comment #4 from dominiq at lps dot ens dot fr 2010-09-10 12:59 -------
The test in comment #0 has been fixed by revision 164111. However it seems that
191.fma3d in
SPEC CPU 2K is not fixed by this revision (see
http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg00913.html ).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/45598] [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218
2010-09-08 13:41 [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218 dominiq at lps dot ens dot fr
` (3 preceding siblings ...)
2010-09-10 13:00 ` dominiq at lps dot ens dot fr
@ 2010-09-10 13:24 ` dominiq at lps dot ens dot fr
4 siblings, 0 replies; 6+ messages in thread
From: dominiq at lps dot ens dot fr @ 2010-09-10 13:24 UTC (permalink / raw)
To: gcc-bugs
------- Comment #5 from dominiq at lps dot ens dot fr 2010-09-10 13:24 -------
Since pr45634 has been opened for the failure of 191.fma3d in SPEC CPU 2K, I am
closing this one as fixed. Thanks for the commit.
--
dominiq at lps dot ens dot fr changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45598
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-09-10 13:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-08 13:41 [Bug tree-optimization/45598] New: [4.6 Regression] ICE; in build_int_cst_wide, at tree.c:1218 dominiq at lps dot ens dot fr
2010-09-08 13:53 ` [Bug tree-optimization/45598] " rguenth at gcc dot gnu dot org
2010-09-08 15:31 ` hjl dot tools at gmail dot com
2010-09-08 16:19 ` hjl dot tools at gmail dot com
2010-09-10 13:00 ` dominiq at lps dot ens dot fr
2010-09-10 13:24 ` dominiq at lps dot ens dot fr
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).