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 c/12042] New: AltiVec array initializer: internal compiler error: Segmentation fault


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: AltiVec array initializer: internal compiler error:
                    Segmentation fault
           Product: gcc
           Version: 3.3.1
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: james at klicman dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu

#include <altivec.h>

static const vector signed short PostScale[8] = {
    (vector signed short){4095, 5681, 5351, 4816, 4095, 4816, 5351, 5681},
    (vector signed short){5681, 7880, 7422, 6680, 5681, 6680, 7422, 7880},
    (vector signed short){5351, 7422, 6992, 6292, 5351, 6292, 6992, 7422},
    (vector signed short){4816, 6680, 6292, 5663, 4816, 5663, 6292, 6680},
    (vector signed short){4095, 5681, 5351, 4816, 4095, 4816, 5351, 5681},
    (vector signed short){4816, 6680, 6292, 5663, 4816, 5663, 6292, 6680},
    (vector signed short){5351, 7422, 6992, 6292, 5351, 6292, 6992, 7422},
    (vector signed short){5681, 7880, 7422, 6680, 5681, 6680, 7422, 7880}
};


$ gcc -maltivec -mabi=altivec -c foo.c 
foo.c:12: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


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