GCSE bug

Jeffrey A Law law@cygnus.com
Thu Dec 31 11:36:00 GMT 1998


  In message < Pine.LNX.3.96.981231205708.12763A-301000@fishy.pp.sci.fi >you writ
e:
  >   This message is in MIME format.  The first part should be readable text,
  >   while the remaining parts are likely unreadable without MIME-aware tools.
  >   Send mail to mime@docserver.cac.washington.edu for more info.
  > 
  > --1254328325-865860236-915131326=:12763
  > Content-Type: TEXT/PLAIN; charset=US-ASCII
  > 
  > toplev.c:
  >   /* Perform global cse.  */
  > 
  >   if (optimize > 0 && flag_gcse)
  > 
  > So gcse is not performed without an '-O' switch? Then this problem is
  > probably caused by gcse. If I compile the program only with "-O", I don't
  > get any problems. If I use "-O -fgcse" or "-O6", it crashes on execution.
  > If I use "-O6 -fno-gcse", it works fine.
  > 
  > Command line: g++ -v --save-temps -O -fgcse ohjelma.cc.
You haven't mentioned the compiler version or your target.  Both are important.

jeff



More information about the Gcc-bugs mailing list