Bug 21777 - [4.1 Regression] internal compiler error: in set_value_range, at tree-vrp.c:124
Summary: [4.1 Regression] internal compiler error: in set_value_range, at tree-vrp.c:124
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: middle-end (show other bugs)
Version: 4.1.0
: P2 normal
Target Milestone: 4.1.0
Assignee: Not yet assigned to anyone
URL:
Keywords: ice-on-valid-code
Depends on:
Blocks:
 
Reported: 2005-05-27 02:51 UTC by Dann Corbit
Modified: 2005-07-23 22:49 UTC (History)
3 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
the requested preprocessed source file (39.09 KB, text/plain)
2005-05-27 04:49 UTC, Dann Corbit
Details
preprocessed source (76.65 KB, application/octet-stream)
2005-06-02 10:45 UTC, Michael Cieslinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dann Corbit 2005-05-27 02:51:51 UTC
Download pari/gp 2.2.10.alpha
untar and configure then make.

dcorbit@DCORBIT64 /mingw/pari-2.2.10.alpha
$ make all
make[1]: Entering directory `/mingw/pari-2.2.10.alpha/doc'
rm -f libpari.std
tex libpari
/bin/sh: tex: command not found
make[1]: *** [libpari.dvi] Error 127
make[1]: Leaving directory `/mingw/pari-2.2.10.alpha/doc'
make: [all] Error 2 (ignored)
make[1]: Entering directory `/mingw/pari-2.2.10.alpha'
Making gp in O5.2-none-mingw32_nt
make[2]: Entering directory `/mingw/pari-2.2.10.alpha/O5.2-none-mingw32_nt'
/bin/sh: cksum: command not found
make[2]: [../src/funclist] Error 127 (ignored)
make[3]: Entering directory `/mingw/pari-2.2.10.alpha/src/desc'
perl merge_822 ../functions/*/* > pari.desc.new && mv pari.desc.new pari.desc
perl gen_proto basic pari.desc > ../language/init.h.new && perl gen_help basic 
p                                                                             
ari.desc >> ../language/init.h.new && 
mv ../language/init.h.new ../language/init                                      
                                       .h
perl gen_proto gp pari.desc > ../gp/gp_init.h.new && perl gen_help gp 
pari.desc                                                                       
       >> ../gp/gp_init.h.new && mv ../gp/gp_init.h.new ../gp/gp_init.h
perl gen_proto highlevel pari.desc > ../gp/highlvl.h.new && perl gen_help  
highl                                                                           
  evel pari.desc >> ../gp/highlvl.h.new && 
mv ../gp/highlvl.h.new ../gp/highlvl.h
perl gen_member pari.desc > ../language/members.h.new && 
mv ../language/members.                                                         
                    h.new ../language/members.h
make[3]: Leaving directory `/mingw/pari-2.2.10.alpha/src/desc'
cat ../src/kernel/none/level0.h ../src/kernel/none/divll.h > parilvl0.h
cat ../src/kernel/none/tune.h ../src/kernel/none/int.h ../src/kernel/none/level1
                                                                             .h 
> parilvl1.h
cat parilvl0.h parilvl1.h > pariinl.h
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
                                                                             
pointer    -I. -I../src/headers -o kernel.o ../src/kernel/none/level0.c
cat ../src/kernel/none/mp.c ../src/kernel/none/cmp.c ../src/kernel/none/gcdll.c 
                                                                             ../
src/kernel/none/ratlift.c ../src/kernel/none/gcd.c ../src/kernel/none/invmod.   
                                                                          
c ../src/kernel/none/mp_indep.c ../src/kernel/none/add.c > mp.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
                                                                             
pointer    -I. -I../src/headers -o mp.o mp.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o Flx.o ../src/basemath/Flx.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o Qfb.o ../src/basemath/Qfb.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o RgX.o ../src/basemath/RgX.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o alglin1.o ../src/basemath/alglin1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o alglin2.o ../src/basemath/alglin2.c
../src/basemath/alglin2.c: In function 'hnfspec_i':
../src/basemath/alglin2.c:1735: warning: 'n' may be used uninitialized in this 
function
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o arith1.o ../src/basemath/arith1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o arith2.o ../src/basemath/arith2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o base1.o ../src/basemath/base1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o base2.o ../src/basemath/base2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o base3.o ../src/basemath/base3.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o base4.o ../src/basemath/base4.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o base5.o ../src/basemath/base5.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o bibli1.o ../src/basemath/bibli1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o bibli2.o ../src/basemath/bibli2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o buch1.o ../src/basemath/buch1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o buch2.o ../src/basemath/buch2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o buch3.o ../src/basemath/buch3.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o buch4.o ../src/basemath/buch4.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o galconj.o ../src/basemath/galconj.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o gen1.o ../src/basemath/gen1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o gen2.o ../src/basemath/gen2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o gen3.o ../src/basemath/gen3.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o ifactor1.o ../src/basemath/ifactor1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o perm.o ../src/basemath/perm.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o polarit1.o ../src/basemath/polarit1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o polarit2.o ../src/basemath/polarit2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o polarit3.o ../src/basemath/polarit3.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o rootpol.o ../src/basemath/rootpol.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o subcyclo.o ../src/basemath/subcyclo.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o subgroup.o ../src/basemath/subgroup.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o trans1.o ../src/basemath/trans1.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o trans2.o ../src/basemath/trans2.c
/usr/local/bin/gcc  -c -O3 -DGCC_INLINE -Wall -fno-strict-aliasing -fomit-frame-
pointer   -I. -I../src/headers  -o trans3.o ../src/basemath/trans3.c
../src/basemath/trans3.c: In function 'szeta':
../src/basemath/trans3.c:1228: internal compiler error: in set_value_range, at 
tree-vrp.c:124
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
make[2]: *** [trans3.o] Error 1
make[2]: Leaving directory `/mingw/pari-2.2.10.alpha/O5.2-none-mingw32_nt'
make[1]: *** [gp] Error 2
make[1]: Leaving directory `/mingw/pari-2.2.10.alpha'
make: *** [all] Error 2
Comment 1 Andrew Pinski 2005-05-27 04:37:10 UTC
Could you attach the preprocessed source as requested by the web page:
<http://gcc.gnu.org/bugs.html>?
Comment 2 Dann Corbit 2005-05-27 04:49:01 UTC
Created attachment 8977 [details]
the requested preprocessed source file


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-05-27
04:37 -------
Could you attach the preprocessed source as requested by the web page:
<http://gcc.gnu.org/bugs.html>?

-- 
	   What    |Removed			|Added
----------------------------------------------------------------------------
		 CC|				|pinskia at gcc dot gnu dot
		   |				|org
	   Severity|critical			|normal
	     Status|UNCONFIRMED 		|WAITING
	  Component|c				|middle-end
	   Keywords|				|ice-on-valid-code
	    Summary|internal compiler error: in |[4.1 Regression] internal
		   |set_value_range, at tree-	|compiler error: in
		   |vrp.c:124			|set_value_range, at tree-
		   |				|vrp.c:124
   Target Milestone|--- 			|4.1.0


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

------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.
Comment 3 Andrew Pinski 2005-05-27 05:02:38 UTC
The attached preprocessed source does not compile as ulong is not defined and a couple of other 
things.  After fixing them, this works.  Could attach one which works?

Also what target is this for?
Comment 4 Michael Cieslinski 2005-06-02 10:45:55 UTC
Created attachment 9012 [details]
preprocessed source

I get the same error on a different source file.
I attach my preprocessed source.

Michael Cieslinski
Comment 5 Michael Cieslinski 2005-06-02 10:50:59 UTC
I forgot to say, that my compiler is the actual snapshot (20050528).

Michael Cieslinski

gcc41l -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.1-20050528/configure --prefix=/usr/local/gcc41l --
program-suffix=41l --with-arch=opteron --enable-languages=c,c++
 --enable-checking
Thread model: posix
gcc version 4.1.0 20050528 (experimental)

bin/gcc41l -O2 -march=opteron -c -o metisapi.o metisapi.ii
metisapi.ii:916: warning: '__malloc__' attribute ignored
metisapi.ii: In member function 'int MetisApi::SetReadImageFunction
(MetisApi::ReadImageFunction)':
metisapi.ii:25104: internal compiler error: in set_value_range, at tree-
vrp.c:124
Please submit a full bug report, with preprocessed source if appropriate.
Comment 6 Andrew Pinski 2005-06-06 01:32:54 UTC
Fixed.