This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: mn10300 long-standing bug-fix


On Tue, 22 Jun 2004, Alexandre Oliva wrote:

> call to return.  I'm thinking we might want to mark variable_shift and
> constant_shift uninlinable in this test, or some variant thereof,
> otherwise we'll be testing compile-time, instead of run-time
> shifting.  Comments?

Marking various variables as volatile and not const should help ensure
run-time shifting is tested.  (You want ideally to test both, cf.
builtin-complex-1.c for an example of such (which also detected other bugs
once when a regression made volatile complex ICE).)

-- 
Joseph S. Myers               http://www.srcf.ucam.org/~jsm28/gcc/
    jsm@polyomino.org.uk (personal mail)
    jsm28@gcc.gnu.org (Bugzilla assignments and CCs)


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