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/17279] New: internal compiler error with 128 bit integers


arithmetic operations  on 128 bit integers (TI mode) on Apple G5 computers with macos X 10.3.5 
produce internal compiler error.


The program (buggcc341.c) is :

void main (void)
{
typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__)));
 __uint128_t x,a,w;
 x=a*w+a-w/a; 
}

The intermediaire file (buggcc341.i) is : 

# 1 "buggcc341.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "buggcc341.c"
void main (void)
{
typedef unsigned __uint128_t __attribute__ (( __mode__ (__TI__)));
 __uint128_t x,a,w;
 x=a*w+a-w/a;
}


Description of the execution of gcc

$ /Volumes/WORK/gastin/gcc341/bin/gcc -v -save-temps buggcc341.c
Reading specs from /Volumes/WORK/gastin/gcc341/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/specs
Configured with: ./configure --prefix=/Volumes/WORK/gastin/gcc341
Thread model: posix
gcc version 3.4.1
 /Volumes/WORK/gastin/gcc341/libexec/gcc/powerpc-apple-darwin7.5.0/3.4.1/cc1 -E -quiet -v 
-D__DYNAMIC__ buggcc341.c -fPIC -o buggcc341.i
ignoring nonexistent directory "/usr/local/include"
ignoring nonexistent directory "/Volumes/WORK/gastin/gcc341/lib/gcc/powerpc-apple-darwin7.5.0/
3.4.1/../../../../powerpc-apple-darwin7.5.0/include"
#include "..." search starts here:
#include <...> search starts here:
 /Volumes/WORK/gastin/gcc341/include
 /Volumes/WORK/gastin/gcc341/lib/gcc/powerpc-apple-darwin7.5.0/3.4.1/include
 /usr/include
End of search list.
 /Volumes/WORK/gastin/gcc341/libexec/gcc/powerpc-apple-darwin7.5.0/3.4.1/cc1 -fpreprocessed 
buggcc341.i -fPIC -quiet -dumpbase buggcc341.c -auxbase buggcc341 -version -o buggcc341.s
GNU C version 3.4.1 (powerpc-apple-darwin7.5.0)
        compiled by GNU C version 3.3 20030304 (Apple Computer, Inc. build 1666).
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
buggcc341.c: In function `main':
buggcc341.c:2: warning: return type of 'main' is not `int'
buggcc341.c:5: internal compiler error: in expand_mult, at expmed.c:2654
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.

-- 
           Summary: internal compiler error with 128 bit integers
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: amgastineau at yahoo dot fr
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-apple-darwin7.5.0
  GCC host triplet: powerpc-apple-darwin7.5.0
GCC target triplet: powerpc-apple-darwin7.5.0


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


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