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/7460: gcc/g++ 3.1.1 20020714/20020718 (cygwin) segfault on __builtin_ia32_femms()


>Number:         7460
>Category:       optimization
>Synopsis:       gcc/g++ 3.1.1 20020714/20020718 (cygwin) segfault on __builtin_ia32_femms()
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 31 15:26:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     tbp
>Release:        gcc version 3.1.1 20020718 (prerelease)
>Organization:
>Environment:
w2k/cygwin on an athlon.
Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.1.1/specs
Configured with: /netrel/src/gcc-3.1.1-4/configure --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=po
six --with-system-zlib --enable-nls --without-included-gettext --enable-interpreter --disable-sjlj-exceptions --disable-
version-specific-runtime-libs --enable-shared --build=i686-pc-linux --host=i686-pc-cygwin --target=i686-pc-cygwin --enab
le-haifa --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --includedir=/nonexistent/include --libexe
cdir=/usr/sbin
Thread model: posix
gcc version 3.1.1 20020718 (prerelease)
>Description:
--> gcc -O2 -march=athlon bug.c -o bug.exe
bug.c: In function `main':
bug.c:5: internal error: Segmentation fault
Please submit a full bug report,
>How-To-Repeat:
conjunction of __builtin_ia32_femms() and -Ox (x>1) when compiling for -march=athlon triggers an internal error.

test case:
int main(int argc, char *argv[]) {
	__builtin_ia32_femms();
	exit(0);
}
>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]