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]

optimization/9493: [hppa-linux, gcc-3.2 regression] cc1 segmentation fault at -O2


>Number:         9493
>Category:       optimization
>Synopsis:       cc1 segfaults @ -O2 when building a simple function
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 29 08:06:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Randolph Chung
>Release:        3.2.2 20030124 (Debian prerelease) (Debian testing/unstable)
>Organization:
Debian
>Environment:
System: Linux legolas 2.4.20-pa18 #110 Mon Jan 27 23:44:18 PST 2003 parisc unknown unknown GNU/Linux
Architecture: parisc

	<machine, os, target, libraries (multiple lines)>
host: hppa-unknown-linux-gnu
build: hppa-unknown-linux-gnu
target: hppa-unknown-linux-gnu
configured with: ../src/configure -v --enable-languages=c,c++,f77,proto,pascal,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-objc-gc hppa-linux
>Description:
	Self-explanatory. Compiles fine with gcc-3.0.4 and gcc-3.3 (20030118)

>How-To-Repeat:
	Compile this function with gcc -O2 -c
	(simplied from a failure in building lcdproc)

void foo(int len)
{
	while (len >= 8) len -= 8;
	if(!len) return;
}

>Fix:
	none
>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]