[Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-11 Thread jasonmbechtel at gmail dot com
Internal compiler error in tree-ssa-pre.c when compiling lib_vwk.c in Situs
version 2.2.1.

To reproduce:

tar xvzf Situs_2.2.1.tar.gz
cd Situs_2.2.1
make all

The result:

gcc -I/usr/local/include -I../fftw -O3 -g -Wall -D_SMP_ -DMAX_NUM_THREADS=16 -c
./lib_vwk.c
./lib_vwk.c: In function 'create_laplacian':
./lib_vwk.c:536: internal compiler error: in find_or_generate_expression, at
tree-ssa-pre.c:1472

Build & platform:

gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)
Kubuntu 6.10 (Edgy), with current updates as of 1/11/07

Additional information:

Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --enable-checking=release i486-linux-gnu
Thread model: posix


-- 
   Summary: internal compiler error: in find_or_generate_expression,
at tree-ssa-pre.c:1472
   Product: gcc
   Version: 4.1.2
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: tree-optimization
AssignedTo: unassigned at gcc dot gnu dot org
    ReportedBy: jasonmbechtel at gmail dot com


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-11 Thread jasonmbechtel at gmail dot com


--- Comment #1 from jasonmbechtel at gmail dot com  2007-01-11 17:33 ---
Created an attachment (id=12889)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12889&action=view)
Preprocessed source

This is the file GCC told me to attach to my bug report.


-- 


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-11 Thread jasonmbechtel at gmail dot com


--- Comment #2 from jasonmbechtel at gmail dot com  2007-01-11 17:36 ---
Created an attachment (id=12890)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12890&action=view)
complete package for executing steps to reproduce error

It's a GPL-ed program.  ;-)


-- 


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-11 Thread jasonmbechtel at gmail dot com


--- Comment #3 from jasonmbechtel at gmail dot com  2007-01-11 17:42 ---
I have since been able to successfully compile this program using the following
'build (platform)'s:

gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-52)
gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)


-- 

jasonmbechtel at gmail dot com changed:

   What|Removed |Added

 CC|    |jasonmbechtel at gmail dot
   |        |com


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-12 Thread jasonmbechtel at gmail dot com


--- Comment #6 from jasonmbechtel at gmail dot com  2007-01-12 13:34 ---
Not easily.  I'm already using the current version on Edgy Eft.  I'm not
willing to upgrade to the active development version (Feisty Fawn) on my
production system.  So, I think the way to get a newer 4.1.2 would be to
compile and install it in parallel with the current one... or to use another
system for this testing.  Is there a simple way to install another version of
gcc in parallel with my current one under Debian/Ubuntu?


-- 


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-13 Thread jasonmbechtel at gmail dot com


--- Comment #8 from jasonmbechtel at gmail dot com  2007-01-13 21:11 ---
I filed the bug with Ubuntu.  It is bug #79132:

https://launchpad.net/ubuntu/+source/gcc-defaults/+bug/79132


-- 


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-13 Thread jasonmbechtel at gmail dot com


--- Comment #9 from jasonmbechtel at gmail dot com  2007-01-13 21:12 ---
I also noticed while recreating the bug for the Ubuntu submission that I made a
mistake in my original bug report here.  It should be

  cd Situs_2.2.1/src
  make all

(Note the "/src".)


-- 


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



[Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472

2007-01-18 Thread jasonmbechtel at gmail dot com


--- Comment #11 from jasonmbechtel at gmail dot com  2007-01-18 13:48 
---
I'm trying to build a more recent 4.1.2 so I can get this program compiled. 
Unfortunately, I am running into the same problem with the SVN checkout (as of
11pm 1/17/07, EST) and with the last two weekly snapshots
(gcc-core-4.1-20070108 and gcc-core-4.1-20070115).  I installed gmp and mpfr. 
I create a subdir of the top-level 'gcc' directory named "localtarget" and cd
into it.  I run ../configure without any special arguments and it completes
without error.  I run 'make bootstrap-lean' and they all die at the following:

gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-Wmissing-format-attribute -fno-common -Wno-error  -DHAVE_CONFIG_H
-DGENERATOR_FILE -I. -Ibuild -I../../gcc -I../../gcc/build
-I../../gcc/../include -I../../gcc/../libcpp/include 
-I../../gcc/../libdecnumber -I../libdecnumber-o build/gengtype-lex.o
gengtype-lex.c
gcc: gengtype-lex.c: No such file or directory
gcc: no input files
make[3]: *** [build/gengtype-lex.o] Error 1
make[3]: *** Waiting for unfinished jobs
rm fsf-funding.pod gcov.pod gfdl.pod cpp.pod gpl.pod gcc.pod
make[3]: Leaving directory `/home/jason/gcc/gcc/localtarget/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/jason/gcc/gcc/localtarget'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/jason/gcc/gcc/localtarget'
make: *** [bootstrap-lean] Error 2

Doing a regular 'make' also results in the error:

gcc: gengtype-lex.c: No such file or directory

Any help?


-- 


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