[Bug bootstrap/38981] internal compiler error

2009-02-06 Thread kamaraju at gmail dot com


--- Comment #10 from kamaraju at gmail dot com  2009-02-06 21:26 ---
Created an attachment (id=17263)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17263action=view)
reduced program which reproduces the ICE

Attaching a reduced test case which reproduces the same error.

 gcc -c ice3.c
ice3.c: In function 'd_substitution':
ice3.c:11: internal compiler error: Segmentation Fault
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.

 gcc -v
Using built-in specs.
Target: sparc-sun-solaris2.8
Configured with:
/home/kkusuman/software/unZipped/gcc-4.4-wkly_gmp-4.2.4_mpfr-2.4.0/configure
--enable-languages=c,c++,fortran
--with-as=/mlim/u/dev/tools/apps/gnu/arch/sol8.sun4/bin/as
--with-ld=/mlim/u/dev/tools/apps/gnu/arch/sol8.sun4/bin/ld
--with-build-time-tools=/mlim/u/dev/tools/apps/gnu/arch/sol8.sun4/bin
--prefix=/home/kkusuman/software/myroot/gcc-4.4-20090123
Thread model: posix
gcc version 4.4.0 20090123 (experimental) (GCC) 


-- 


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



[Bug bootstrap/38981] internal compiler error

2009-02-06 Thread kamaraju at gmail dot com


--- Comment #11 from kamaraju at gmail dot com  2009-02-06 21:28 ---
Created an attachment (id=17264)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17264action=view)
preprocessed source code of ice3.c


-- 


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



[Bug bootstrap/38981] internal compiler error

2009-01-27 Thread kamaraju at gmail dot com


--- Comment #8 from kamaraju at gmail dot com  2009-01-27 13:51 ---
I would like to confirm that, even after recompiling gcc with bison, I am still
getting the internal compiler error. There is no yacc, no /usr/ccs/bin in $PATH
when gcc was compiled.


-- 


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



[Bug bootstrap/38981] internal compiler error

2009-01-26 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2009-01-27 01:08 ---
So if I am reading this thread correctly this is really a bug in Solaris's
yacc?


-- 


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



[Bug bootstrap/38981] internal compiler error

2009-01-26 Thread kamaraju at gmail dot com


--- Comment #5 from kamaraju at gmail dot com  2009-01-27 01:14 ---
My initial guess was that it is a bug in yacc. But now I do not think so. I
have compiled bison (which supersedes yacc). I still see this bug with bison
(and no yacc).


-- 


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



[Bug bootstrap/38981] internal compiler error

2009-01-26 Thread kamaraju at gmail dot com


--- Comment #6 from kamaraju at gmail dot com  2009-01-27 01:20 ---
Is there anyway to figure out if my gcc is still using yacc and not bison?


-- 


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



[Bug bootstrap/38981] internal compiler error

2009-01-26 Thread kamaraju at gmail dot com


--- Comment #7 from kamaraju at gmail dot com  2009-01-27 02:00 ---
I can't believe I am so dense... I installed bison, removed /usr/ccs/bin from
the PATH. But I forgot to recompile gcc with the new update. I was still trying
to bootstrap from the old compiler. Let me recompile gcc (with bison) and see
if the problem goes away. It usually takes one day to finish...

raju


-- 


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