public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/30440]  New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
@ 2007-01-11 17:31 jasonmbechtel at gmail dot com
  2007-01-11 17:34 ` [Bug tree-optimization/30440] " jasonmbechtel at gmail dot com
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-11 17:31 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
@ 2007-01-11 17:34 ` jasonmbechtel at gmail dot com
  2007-01-11 17:36 ` jasonmbechtel at gmail dot com
                   ` (10 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-11 17:34 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
  2007-01-11 17:34 ` [Bug tree-optimization/30440] " jasonmbechtel at gmail dot com
@ 2007-01-11 17:36 ` jasonmbechtel at gmail dot com
  2007-01-11 17:43 ` jasonmbechtel at gmail dot com
                   ` (9 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-11 17:36 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
  2007-01-11 17:34 ` [Bug tree-optimization/30440] " jasonmbechtel at gmail dot com
  2007-01-11 17:36 ` jasonmbechtel at gmail dot com
@ 2007-01-11 17:43 ` jasonmbechtel at gmail dot com
  2007-01-11 21:48 ` rguenth at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-11 17:43 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (2 preceding siblings ...)
  2007-01-11 17:43 ` jasonmbechtel at gmail dot com
@ 2007-01-11 21:48 ` rguenth at gcc dot gnu dot org
  2007-01-11 22:20 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-01-11 21:48 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from rguenth at gcc dot gnu dot org  2007-01-11 21:47 -------
Works for me - I bet this is a dup of PR28545.


-- 


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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (3 preceding siblings ...)
  2007-01-11 21:48 ` rguenth at gcc dot gnu dot org
@ 2007-01-11 22:20 ` pinskia at gcc dot gnu dot org
  2007-01-12 13:34 ` jasonmbechtel at gmail dot com
                   ` (6 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-11 22:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2007-01-11 22:19 -------
Can you try with a newer 4.1.2?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (4 preceding siblings ...)
  2007-01-11 22:20 ` pinskia at gcc dot gnu dot org
@ 2007-01-12 13:34 ` jasonmbechtel at gmail dot com
  2007-01-12 19:10 ` rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-12 13:34 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (5 preceding siblings ...)
  2007-01-12 13:34 ` jasonmbechtel at gmail dot com
@ 2007-01-12 19:10 ` rguenth at gcc dot gnu dot org
  2007-01-13 21:11 ` jasonmbechtel at gmail dot com
                   ` (4 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2007-01-12 19:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from rguenth at gcc dot gnu dot org  2007-01-12 19:10 -------
You should file the bug in the Ubuntu bugtracking system, the Ubuntu
maintainers might have a way to check their newer compiler.


-- 


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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (6 preceding siblings ...)
  2007-01-12 19:10 ` rguenth at gcc dot gnu dot org
@ 2007-01-13 21:11 ` jasonmbechtel at gmail dot com
  2007-01-13 21:12 ` jasonmbechtel at gmail dot com
                   ` (3 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-13 21:11 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (7 preceding siblings ...)
  2007-01-13 21:11 ` jasonmbechtel at gmail dot com
@ 2007-01-13 21:12 ` jasonmbechtel at gmail dot com
  2007-01-14  6:07 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-13 21:12 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (8 preceding siblings ...)
  2007-01-13 21:12 ` jasonmbechtel at gmail dot com
@ 2007-01-14  6:07 ` pinskia at gcc dot gnu dot org
  2007-01-18 13:48 ` jasonmbechtel at gmail dot com
  2007-01-18 17:20 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-14  6:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from pinskia at gcc dot gnu dot org  2007-01-14 06:07 -------


*** This bug has been marked as a duplicate of 28545 ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |DUPLICATE


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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (9 preceding siblings ...)
  2007-01-14  6:07 ` pinskia at gcc dot gnu dot org
@ 2007-01-18 13:48 ` jasonmbechtel at gmail dot com
  2007-01-18 17:20 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: jasonmbechtel at gmail dot com @ 2007-01-18 13:48 UTC (permalink / raw)
  To: gcc-bugs



------- 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


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

* [Bug tree-optimization/30440] internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472
  2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
                   ` (10 preceding siblings ...)
  2007-01-18 13:48 ` jasonmbechtel at gmail dot com
@ 2007-01-18 17:20 ` pinskia at gcc dot gnu dot org
  11 siblings, 0 replies; 13+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-01-18 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pinskia at gcc dot gnu dot org  2007-01-18 17:20 -------
(In reply to comment #11)
> Any help?
Yes to compile the snapshot (and SVN) you need bision.


-- 


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


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

end of thread, other threads:[~2007-01-18 17:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-11 17:31 [Bug tree-optimization/30440] New: internal compiler error: in find_or_generate_expression, at tree-ssa-pre.c:1472 jasonmbechtel at gmail dot com
2007-01-11 17:34 ` [Bug tree-optimization/30440] " jasonmbechtel at gmail dot com
2007-01-11 17:36 ` jasonmbechtel at gmail dot com
2007-01-11 17:43 ` jasonmbechtel at gmail dot com
2007-01-11 21:48 ` rguenth at gcc dot gnu dot org
2007-01-11 22:20 ` pinskia at gcc dot gnu dot org
2007-01-12 13:34 ` jasonmbechtel at gmail dot com
2007-01-12 19:10 ` rguenth at gcc dot gnu dot org
2007-01-13 21:11 ` jasonmbechtel at gmail dot com
2007-01-13 21:12 ` jasonmbechtel at gmail dot com
2007-01-14  6:07 ` pinskia at gcc dot gnu dot org
2007-01-18 13:48 ` jasonmbechtel at gmail dot com
2007-01-18 17:20 ` pinskia 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).