[Bug target/50077] FAIL: gcc.target/i386/pr49866.c (test for excess errors) on x86_64-apple-darwin10
dominiq at lps dot ens.fr
gcc-bugzilla@gcc.gnu.org
Mon Jan 9 21:46:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50077
--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2012-01-09 21:45:19 UTC ---
I have tested the -mcmodel=large option on some simple C tests and I got the
same kind of failures.
So -mcmodel=large seems broken on x86_64-apple-darwin10 (gcc 4.4.6, 4.5.3, and
4.6.2).
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
gives for
[macbook] f90/bug% cat sin.c
#include <stdio.h>
#include <math.h>
unsigned int ta;
main ()
{
double result;
for (ta = 1; ta <= 8000000; ta++)
{
result = sin(ta * 3.14159);
}
printf("result = \t%.13e\n", result);
}
sin.c:1: sorry, unimplemented: code model large not supported in PIC mode
sin.c:1: error: code model 'large' not supported in the 64 bit mode
More information about the Gcc-bugs
mailing list