optimization/6759: ice when compiling 32 bit sparc code

rschiele@uni-mannheim.de rschiele@uni-mannheim.de
Tue May 21 10:46:00 GMT 2002


>Number:         6759
>Category:       optimization
>Synopsis:       ice when compiling 32 bit sparc code
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          ice-on-legal-code
>Submitter-Id:   net
>Arrival-Date:   Tue May 21 10:46:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Robert Schiele
>Release:        3.1
>Organization:
>Environment:
System: Linux rishadan 2.4.14 #1 Mon Nov 12 11:25:00 GMT 2001 sparc64 unknown
Architecture: sparc64
host: sparc-suse-linux-gnu
build: sparc-suse-linux-gnu
target: sparc-suse-linux-gnu
configured with: /home/schiele/gcccvs/gcc-3.1/configure --enable-threads=posix --enable-long-long --prefix=/opt/Pkg/Linux/sparc64/gcc31 --enable-languages=c,c++,f77,objc,java --d
isable-nls --enable-shared sparc-suse-linux
>Description:
The attached file results in

ice.ii: In function `void __static_initialization_and_destruction_0(int, int)':
ice.ii:4: Internal compiler error in simplify_unary_operation, at
   simplify-rtx.c:532
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.

when compiled with -O2 or higher.

This does also happen on Solaris systems.
This does also happen with HEAD branch from CVS.
This does _not_ happen when generating 64 bit sparc code.
This does _not_ happen on i?86 processors.
>How-To-Repeat:
gcc -O2 ice.ii
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-csrc; name="ice.ii"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="ice.ii"

c3RydWN0IGIgewogICAgbG9uZyBsb25nIGE7CiAgICBiKHVuc2lnbmVkIHNob3J0IGQpIDogYShk
KSB7fQp9IGMoNjU1MzUpOwo=



More information about the Gcc-bugs mailing list