This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/35492] New: ICE building kernel sk_stream_wait_connect output_operand: invalid operand for 'p' modifier
- From: "hp at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 7 Mar 2008 02:20:32 -0000
- Subject: [Bug target/35492] New: ICE building kernel sk_stream_wait_connect output_operand: invalid operand for 'p' modifier
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
With trunk r132993 and gcc-4_3-branch r132992, the following testcase yields,
with "-march=v32 -O2":
(const_int -13 [0xfffffffffffffff3])
s2.c: In function 'sk_stream_wait_connect':
s2.c:26: internal compiler error: output_operand: invalid operand for 'p'
modifier
void prepare_to_wait (void *, void *, int);
void finish_wait (void *, void *);
extern signed long schedule_timeout (signed long);
struct sock
{
unsigned char skc_state;
void *sk_sleep;
int sk_err;
};
void
sk_stream_wait_connect (struct sock *sk, long *timeo_p)
{
int done;
int wait;
do
{
if ((1 << sk->skc_state) & ~12)
return;
prepare_to_wait (sk->sk_sleep, &wait, 1);
*(timeo_p) = schedule_timeout (0);
done = !sk->sk_err;
finish_wait (sk->sk_sleep, &wait);
}
while (!done);
}
--
Summary: ICE building kernel sk_stream_wait_connect
output_operand: invalid operand for 'p' modifier
Product: gcc
Version: 4.3.1
Status: UNCONFIRMED
Keywords: ice-on-valid-code
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: cris-*-* and crisv32-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35492