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]

optimization/3548: compiling certain code with -O2 loops forever



>Number:         3548
>Category:       optimization
>Synopsis:       compiling certain code with -O2 loops forever
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 03 14:26:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     ericb@uu.net
>Release:        ???
>Organization:
>Environment:
Solaris 2.8, SUNW,Ultra-2, 64 bit
SunOS rivendell.digitaljunkyard.net 5.8 Generic_108528-01 sun4u sparc SUNW,Ultra-2
Reading specs from /usr/local/lib/gcc-lib/sparcv9-sun-solaris2.8/3.0/specs
Configured with: ../gcc-3.0/configure --enable-languages=c++ --target=sparcv9-sun-solaris2.8 --enable-threads=posix --host=sparcv9-sun-solaris2.8
Thread model: posix
gcc version 3.0

>Description:
Compiling lib/isc/sha1.c results in:

 gcc -g -O2 -I/export/raid2/local/build/bind-9.1.2 -I./unix/include -I./pthreads/include -I./include -I./include -D_REENTRANT -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -c sha1.c  -fPIC -DPIC -o .libs/sha1.lo

cc1: Cannot allocate 131072 bytes after allocating 1565507584 bytes

This is from the bind-9.1.2 tarball off isc.org

Compiling with -O has similar results, compiling without optimizations works fine
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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