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 middle-end/21259] New: ICE on assigning the pointer to a array with __attribute__ aligned


Compiler gets a segfault if the following code is tried on gcc 3.4.3
the same works fine on gcc4.0 and mainline

static void foo ( int arg){
  unsigned long long int __attribute__ ((aligned (4))) aligned_array[arg];
  unsigned long long int *bak = aligned_array;
}

-- 
           Summary: ICE on assigning the pointer to a array with
                    __attribute__ aligned
           Product: gcc
           Version: 3.4.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: raj dot khem at gmail dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i386-redhat-linux
  GCC host triplet: i386-redhat-linux
GCC target triplet: mips64-unknown-elf


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21259


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