This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/15655] New: [3.4 Regression]: Gcc 3.4 ICE on valid code
- From: "hjl at lucon dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 May 2004 20:13:41 -0000
- Subject: [Bug target/15655] New: [3.4 Regression]: Gcc 3.4 ICE on valid code
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
[hjl@gnu-4 itanium]$ cat clock.c
struct timezone {
int tz_minuteswest;
};
extern unsigned long last_nsec_offset;
struct foo {
void (*update) (long);
};
extern struct foo *x;
extern unsigned long old;
static inline void
time_interpolator_update(long delta_nsec)
{
struct foo *ti = x;
do {
old = last_nsec_offset;
} while (old);
if (ti)
(*ti->update)(delta_nsec);
}
extern struct timezone sys_tz;
extern unsigned sequence;
void warp_clock(void)
{
sequence++;
asm volatile ("mf" ::: "memory");
time_interpolator_update(sys_tz.tz_minuteswest * 60 * 1000000000L);
}
[hjl@gnu-4 itanium]$ /usr/gcc-3.4/bin/gcc -S -O2 -mtune=itanium -S clock.c
-frename-registers
clock.c: In function `warp_clock':
clock.c:28: internal compiler error: in bundling, at config/ia64/ia64.c:7109
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
--
Summary: [3.4 Regression]: Gcc 3.4 ICE on valid code
Product: gcc
Version: 3.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hjl at lucon dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: ia64-unknown-linux-gnu
GCC host triplet: ia64-unknown-linux-gnu
GCC target triplet: ia64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15655