Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
jdev%panix.com@localhost wrote:
> Izumi Tsutsui <tsutsui%netbsd.org@localhost> writes:
>
> > Log Message:
> > Disable asm statement which defines bpendtsleep symbol as "handy breakpoint"
> > on all m68k ports since it may cause a multiple symble definition error
> > by code duplication of gcc4 optimizer. Also note about this in comment.
>
> Why not either disable it for everyone,
Because the code duplication doesn't happen on all architecture?
(and maybe it also depends on how splx() is defined)
There is a suggestion to remove it completely, but I don't think
we have a consensus yet.
> or figure out how to forbid
> GCC from duplicating the statement?
Currently no one knows the right method to have such barrier,
since __asm("":::"memory") no longer prevent it on gcc4.
Do you have any idea?
---
Izumi Tsutsui
Home |
Main Index |
Thread Index |
Old Index