The attached tiny program gives the following:

$ gcc -m32 -std=c99 -c faal.c
faal.c:18:50: warning: integer constant is so large that it is unsigned
faal.c:20:13: warning: integer constant is so large that it is unsigned
faal.c: In function ‘main’:
faal.c:18: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.

I've tried all GCC versions I have access to (4.2.1, 4.4.2 and 4.4.3) and they
all give this problem, but only when compiling for i386; it compiles fine for
x86_64.


-- 
           Summary: Segmentation fault on large unsigned integer values in
                    C99 mode
           Product: gcc
           Version: 4.4.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mail at rink dot nu
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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

Reply via email to