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]
Other format: [Raw text]

bug in GCC 3.1.1


I tried to compile the attached file with "-O3" and it just sits and
consumes tonnes of memory.  with "-O2" it doesn't, with "-O2" it
compiles just fine and executes as expected.

My best uneducated guess is a recursive bug of some sort with the
optimizer.

my gcc ver [on Redhat 7.3 with a Athlon XP 1800+]

Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.1.1/specs
Configured with: ./configure  : (reconfigured) ./configure
Thread model: single
gcc version 3.1.1

Source code that causes the problem is attached or available at
http://iahu.ca:8080/mds2.c in case your mail daemon eats it...

Tom



__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

Attachment: mds2.c
Description: mds2.c


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