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]

[Bug target/16142] New: [3.4 Regression]: Gcc 3.4 ICE on valid code


[hjl@gnu-4 itanium]$ cat foo2.c
extern int foo (unsigned long);
 
int
bar (unsigned long flags)
{
 struct {
  unsigned long sw;
  unsigned long cr_ipsr;
  unsigned long ar_fpsr;
 } regs;
 asm volatile ("mov %0=psr" : "=r"(regs.cr_ipsr));
 regs.sw = regs.ar_fpsr = ({ unsigned long ia64_intri_res;
                           asm volatile ("mov %0=ar%1" : "=r" (ia64_intri_res) :
"i"(3112 - 3072));
                           ia64_intri_res; });
 return foo (flags | 0x00800000);
}
[hjl@gnu-4 itanium]$ /export/build/gnu/gcc-3.4/build-ia64-linux/gcc/xgcc
-B/export/build/gnu/gcc-3.4/build-ia64-linux/gcc/ -O2 -mtune=itanium
-frename-registers -c foo2.c
foo2.c: In function `bar':
foo2.c:16: internal compiler error: in bundling, at config/ia64/ia64.c:7112
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=16142


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