[Bug middle-end/45634] [4.6 regression] Revision 163973 faild to compile 191.fma3d in SPEC CPU 2K

2010-09-10 Thread rguenth at gcc dot gnu dot org


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.6.0


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



[Bug middle-end/45634] [4.6 regression] Revision 163973 faild to compile 191.fma3d in SPEC CPU 2K

2010-09-10 Thread hjl dot tools at gmail dot com


--- Comment #1 from hjl dot tools at gmail dot com  2010-09-10 13:39 ---
[...@gnu-16 0001]$ cat pr45634.f90
  SUBROUTINE RCRDRD (VTYP)
  CHARACTER(4), INTENT(OUT) :: VTYP 
  CHARACTER(1), SAVE :: DBL = D 
  VTYP = DBL
  END
[...@gnu-16 0001]$ /export/gnu/import/svn/gcc-test/usr/bin/gcc -S -O2
pr45634.f90
pr45634.f90: In function \u2018rcrdrd\u2019:
pr45634.f90:1: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.
[...@gnu-16 0001]$ 


-- 


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



[Bug middle-end/45634] [4.6 regression] Revision 163973 faild to compile 191.fma3d in SPEC CPU 2K

2010-09-10 Thread hjl dot tools at gmail dot com


--- Comment #2 from hjl dot tools at gmail dot com  2010-09-10 14:39 ---
A patch is posted at

http://gcc.gnu.org/ml/gcc-patches/2010-09/msg00951.html


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

URL||http://gcc.gnu.org/ml/gcc-
   ||patches/2010-
   ||09/msg00951.html


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



[Bug middle-end/45634] [4.6 regression] Revision 163973 faild to compile 191.fma3d in SPEC CPU 2K

2010-09-10 Thread hjl at gcc dot gnu dot org


--- Comment #3 from hjl at gcc dot gnu dot org  2010-09-10 14:44 ---
Subject: Bug 45634

Author: hjl
Date: Fri Sep 10 14:44:20 2010
New Revision: 164183

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164183
Log:
Check that result of string folding is of integral type.

gcc/

2010-09-10  H.J. Lu  hongjiu...@intel.com

PR middle-end/45634
* tree-ssa-ccp.c (fold_const_aggregate_ref): Check that result
of string folding is of integral type.

gcc/testsuite/

2010-09-10  H.J. Lu  hongjiu...@intel.com

PR middle-end/45634
* gfortran.fortran-torture/compile/pr45634.f90: New.

Added:
trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr45634.f90
Modified:
trunk/gcc/ChangeLog
trunk/gcc/testsuite/ChangeLog
trunk/gcc/tree-ssa-ccp.c


-- 


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



[Bug middle-end/45634] [4.6 regression] Revision 163973 faild to compile 191.fma3d in SPEC CPU 2K

2010-09-10 Thread hjl dot tools at gmail dot com


--- Comment #4 from hjl dot tools at gmail dot com  2010-09-10 18:41 ---
Fixed.


-- 

hjl dot tools at gmail dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED


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