970924/i386-linux-gnulibc1: exception handling problem

Jeffrey A Law law@cygnus.com
Sat Nov 1 20:09:00 GMT 1997


  In message <199709251843.NAA14809@eh_pc11.xraylith.wisc.edu>you write:
  > Here's the code again:
  > 
  > ========= cut here
  > #include <stack>
  > #include <vector>
  > 
  > 
  > int main()
  > {
  >   priority_queue< int > pq;
  >   return 0;
  > }
  > 
  > ========= end
  > 
  > Still there in 970924 for i386-linux-gnulibc1 (but at least egcs
  > bootstraps now).
  > 
  > Wonder why does -fno-exceptions does not work as Mark notes?
  > 
  > % c++ -O2 -c pqueue-test.cc                         << Fail
  > % c++ -O2 -c pqueue-test.cc -fno-exceptions         << Fail
  > % c++ -O2 -c pqueue-test.cc -fsjlj-exceptions       << OK
I believe this has been fixed -- though I'm not sure if it was
work that went into the 10/31 snapshot or stuff I've done since
then (I'm working on the flow control problems with EH right now).

jeff




More information about the Gcc-bugs mailing list