On Sat, Jun 11, 2011 at 03:31:59PM +0100, Ian Lynagh wrote:
> On Sat, Jun 11, 2011 at 06:52:58AM -0700, Simon Peyton-Jones wrote:
> > 
> > +       ; dflags <- getDOpts
> > +       ; if not (dopt Opt_Specialise dflags) then
> > +            return []    -- Ignore SPECIALISE pragmas for imported things
> > +                    -- when -O is not on; otherwise we get bogus 
> > +                    -- complaints about lack of INLINABLE pragmas 
> > +                    -- in the imported module (also compiled without -O)
> > +                    -- Notably, when Haddocking the base library
> 
> Don't we actually want to ignore SPECIALISE pragmas if the module the
> thing was imported from was compiled without -O, rather than if the
> importing module is being compiled without -O?

Also, the build still seems to be failing with the same error.


Thanks
Ian


_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to