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]

c/7082: ICE in copy_to_mode_reg, at explow.c:711


>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:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]