optimization/7293: ICE on inline functions with type conversions when producing pic code on ix86
rschiele@uni-mannheim.de
rschiele@uni-mannheim.de
Fri Jul 12 13:46:00 GMT 2002
>Number: 7293
>Category: optimization
>Synopsis: ICE on inline functions with type conversions when producing pic code on ix86
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Fri Jul 12 13:45:59 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Robert Schiele
>Release: 3.1
>Organization:
>Environment:
System: Linux fyndhorn 2.4.18-4GB #1 Wed May 29 15:47:24 UTC 2002 i686 unknown
Architecture: i686
host: i486-suse-linux-gnu
build: i486-suse-linux-gnu
target: i486-suse-linux-gnu
configured with: /home/schiele/gcccvs/gcc-3.1/configure --enable-threads=posix --enable-long-long --prefix=/opt/Pkg/Linux/i686/gcc31 --enable-languages=c,c++,f77,objc,java --disable-nls --enable-shared i486-suse-linux
>Description:
Compiling the following code with -O and -fpic results in an ICE on ix86. The error occurs on both, 3.1 and the current head revision (3.2 20020711 (experimental))
This is a regression against 2.95.3 and 3.0.4!
>How-To-Repeat:
g++ -O -fpic -c 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"
c3RydWN0IGIgewogICAgbG9uZyBsb25nIGQ7CiAgICB+YigpIHsgfQp9OwoKc3RydWN0IGUgewog
ICAgYiBhOwogICAgdm9pZCBmKGIgZykgeyBhID0gZzsgfQp9OwoKYiBuOwoKaW5saW5lIHZvaWQg
aShlICpqLCBiID0gbikgewogICAgaWYgKGotPmEuZCA+PiAxKQoJai0+ZihuKTsKfQoKdm9pZCBs
KGUgKmopIHsKICAgIGkoaik7Cn0K
More information about the Gcc-prs
mailing list