public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/52678] New: internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1842
@ 2012-03-22 21:45 utke at mcs dot anl.gov
  2012-03-23  7:38 ` [Bug tree-optimization/52678] " rguenth at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: utke at mcs dot anl.gov @ 2012-03-22 21:45 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 52678
           Summary: internal compiler error: in
                    vect_update_ivs_after_vectorizer, at
                    tree-vect-loop-manip.c:1842
    Classification: Unclassified
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: utke@mcs.anl.gov


Created attachment 26961
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26961
Fortran sources + Makefile to  recreate the ICE

I have seen this this problem in the 4.6.x realeases and now also see it in 4.7
and decided it is time to report it given in particular that a similar bug 
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45971
has been closed as fixed. 

I have: 
> gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/sandbox/Apps/gcc-4.7.0_inst/libexec/gcc/x86_64-unknown-linux-gnu/4.7.0/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.7.0/configure --prefix=/sandbox/Apps/gcc-4.7.0_inst
--with-mpfr=/sandbox/Apps/mpfr-3.0.1_inst
--with-gmp=/sandbox/Apps/gmp-5.0.1_inst --with-mpc=/sandbox/Apps/mpc-0.8.2_inst
--enable-languages=c,c++,fortran --with-ppl=/sandbox/Apps/ppl-0.11_inst
--with-cloog=/sandbox/Apps/cloog-0.16.2_inst --enable-cloog-backend=isl
--disable-multilib
Thread model: posix
gcc version 4.7.0 (GCC) 

and see the error with: 
gfortran -fconvert=big-endian -fimplicit-none -fPIC -O3 -funroll-loops -c
-ffixed-form ad_input_code_sf.w2f.pre.xb.x2w.w2f.td0043.f90
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td0043.f90: In function
‘openad_set_ref_state’:
ad_input_code_sf.w2f.pre.xb.x2w.w2f.td0043.f90:3:0: internal compiler error: in
vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1842
Please submit a full bug report,
with preprocessed source if appropriate.


The file is the product of some source transformation, has > 1700 source lines
and is one of over 300 files in the project  to be compiled. 
The reason why I didn't submit it earlier is that given the above it is hard to
whittle down the problem to small example.  The tar file in the attachment is
the minimal set of sources without further trying to reduce the file size. Note
that it consists of fixed and free form f90. Because of the module order I
included a Makefile that has the order correct and yields the ICE when invoked. 

Compiling with -O0 removes the ICE.  

Adding -Wall -Wextra  gives some warnings about string truncations and possible
value changes in integer assignments none of which I are an actual problem
right now even though they should probably be addressed eventually. 

Adding  -fno-strict-aliasing -fwrapv (as suggested on the bugs page) does not
make a difference.


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2012-04-03 12:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-22 21:45 [Bug tree-optimization/52678] New: internal compiler error: in vect_update_ivs_after_vectorizer, at tree-vect-loop-manip.c:1842 utke at mcs dot anl.gov
2012-03-23  7:38 ` [Bug tree-optimization/52678] " rguenth at gcc dot gnu.org
2012-03-23  9:30 ` rguenth at gcc dot gnu.org
2012-03-23  9:33 ` rguenth at gcc dot gnu.org
2012-03-23 10:30 ` rguenth at gcc dot gnu.org
2012-03-23 11:40 ` [Bug tree-optimization/52678] [4.7 Regression] " rguenth at gcc dot gnu.org
2012-03-23 12:33 ` rguenth at gcc dot gnu.org
2012-04-03 10:14 ` rguenth at gcc dot gnu.org
2012-04-03 11:57 ` rguenth at gcc dot gnu.org
2012-04-03 12:00 ` rguenth at gcc dot gnu.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).