The gcc (at least versions 3.3.2 till 4.2.1) on Solaris 5.9 issues an internal error message while compiling a trivial programme (attached): [EMAIL PROTECTED]>/usr/local/gcc-4.2.1/bin/gcc -v -mptr64 -W -Wall -Wextra -pedantic -std=c99 -I. -o sizeof3 sizeof3.c Using built-in specs. Target: sparc-sun-solaris2.9 Configured with: ../gcc-4.2.1/configure --prefix=/usr/local/gcc-4.2.1 --disable-shared --enable-languages=c,c++ Thread model: posix gcc version 4.2.1 /usr/local/gcc-4.2.1/libexec/gcc/sparc-sun-solaris2.9/4.2.1/cc1 -quiet -v -I. -D__sparcv8 sizeof3.c -quiet -dumpbase sizeof3.c -mptr64 -mcpu=v9 -auxbase sizeof3 -W -Wall -Wextra -pedantic -std=c99 -version -o /var/tmp//ccdldVVn.s ignoring nonexistent directory "/usr/local/gcc-4.2.1/lib/gcc/sparc-sun-solaris2.9/4.2.1/../../../../sparc-sun-solaris2.9/include" #include "..." search starts here: #include <...> search starts here: . /usr/local/include /usr/local/gcc-4.2.1/include /usr/local/gcc-4.2.1/lib/gcc/sparc-sun-solaris2.9/4.2.1/include /usr/include End of search list. GNU C version 4.2.1 (sparc-sun-solaris2.9) compiled by GNU C version 4.2.1. GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 9e0484c08da0f561a4f4189fd65650a4 sizeof3.c:7: warning: return type defaults to 'int' sizeof3.c: In function 'main': sizeof3.c:23: warning: large integer implicitly truncated to unsigned type sizeof3.c:13: internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://gcc.gnu.org/bugs.html> for instructions.
-- Summary: Using gcc with -mptr64 option produces the following message: the internal compiler error: in sparc_emit_set_const64, at config/sparc/sparc.c:1669 Product: gcc Version: 4.2.1 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: pmendez at orga-systems dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34191