Re: m68k: Simple loop compiles into boundless recursion with -O2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Segher,

> Yup, always always always use -dr :-)

Noted!

> You probably want -ffreestanding anyway for your situation: -nostdlib
> does not mean "there is no standard library", it just means "do not link
> with it".

Ah, yes.

> For the archives, no one has said it yet: to just disable the
> optimisation transforming the loop into a memset, you can use
> -fno-tree-loop-distribute-patterns .

It's a new 32-bit libc (for Atari TOS), and maximum GCC optimisations are
welcome, although I haven't yet figured out exactly where the boundary is
between the GCC built-ins and this libc implementation. There is obviously
some overlap between the two, and I wouldn't want the libc to stand in the
way of GCC's optimisations.

Other than that things work quite well so far, compiling programs, etc.

It was surprisingly simple and straight-forward, but then of course this
vintage 1985 operating system isn't complicated either. :)

[ The name TOS/libc is provisional, it will be renamed to Fuji/libc shortly. ]

Fredrik



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux