This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
c/7082: ICE in copy_to_mode_reg, at explow.c:711
- From: meissner at suse dot de
- To: gcc-gnats at gcc dot gnu dot org
- Cc: aj at suse dot de
- Date: 20 Jun 2002 09:58:00 -0000
- Subject: c/7082: ICE in copy_to_mode_reg, at explow.c:711
- Reply-to: meissner at suse dot de
>Number: 7082
>Category: c
>Synopsis: ICE in copy_to_mode_reg, at explow.c:711
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: ice-on-legal-code
>Submitter-Id: net
>Arrival-Date: Thu Jun 20 03:06:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Marcus Meissner <meissner@suse.de>
>Release: gcc version 3.1.1 20020610 (prerelease)
>Organization:
>Environment:
64bit arch
>Description:
On 64bit architectures (ia64, x86_64, ppc64), the following code snippet ices:
$ gcc -O2 xx.c
xx.c: In function `f':
xx.c:7: Internal compiler error in copy_to_mode_reg, at explow.c:711
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
$
(included in how-to-repeat section)
Further reduction of the testcase appears not possible.
Ciao, Marcus
>How-To-Repeat:
extern int b;
extern short int *a;
extern void g(short int*);
void f() {
g(a+((8*(b==1||b==3))+(b==2||b==3)));
}
>Fix:
no clue
>Release-Note:
>Audit-Trail:
>Unformatted: