This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

egcs-2.90.27 infinite loop on small fragment


uname -a: SunOS zeal 5.5 Generic sun4u sparc SUNW,Ultra-1 

***** Program source:


#include <vector>

typedef union {
  struct X {
  };

  vector<X>*	v;
} Y;

int
yyparse(void)
{
  Y y;
  
  y.v = new vector<Y::X>(1);
}


***** Compilation:


Reading specs from
/home/joseph/egcs/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.90.27/specs
gcc version egcs-gmake[1]: Leaving directory `/export/home/joseph/egbugs'
b/gcc-lib/sparc-sun-solaris2.5/egcs-2.90.27/cpp -lang-c++ -v -undef -D__GNUC__=2
-D__GNUG__=2 -D__cplusplus -D__GNUC_MINOR__=90 -Dsparc -Dsun -Dunix -D__svr4__
-D__SVR4 -D__sparc__ -D__sun__ -D__unix__ -D__svr4__ -D__SVR4 -D__sparc -D__sun
-D__unix -Asystem(unix) -Asystem(svr4) -D__EXCEPTIONS -D__GCC_NEW_VARARGS__
-Acpu(sparc) -Amachine(sparc) b23.cc /var/tmp/cca000BN.ii
GNU CPP version egcs-2.90.27 980315 (egcs-1.0.2 release) (sparc)
#include "..." search starts here:
#include <...> search starts here:
 /home/joseph/egcs/include/g++
 /usr/local/include
 /home/joseph/egcs/sparc-sun-solaris2.5/include
 /home/joseph/egcs/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.90.27/include
 /usr/include
End of search list.
 /home/joseph/egcs/lib/gcc-lib/sparc-sun-solaris2.5/egcs-2.90.27/cc1plus
/var/tmp/cca000BN.ii -quiet -dumpbase b23.cc -version -o /var/tmp/cca000BN.s
GNU C++ version egcs-2.90.27 980315 (egcs-1.0.2 release) (sparc-sun-solaris2.5)
compiled by GNU C version egcs-2.91.07 980205 (gcc-2.8.0 release).
gmake[1]: *** [b23] Interrupt


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]