This is the mail archive of the gcc@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]

gcc 3.0: -m68000 -fpic generates invalid code


gcc 3.0 generates invalid code when -m68000 -fpic options given. Here is sample test:

test.c:
int foo(int a);
int foo2(int a) {
  return foo(a);
}

The output from compiler contains `bsr.l' instruction which is not available on m68000.

Alexander


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