Ticket #1756: FIX_validate_for_PPC_Mac_OS_X_Evac_h.dpatch

File FIX_validate_for_PPC_Mac_OS_X_Evac_h.dpatch, 4.5 KB (added by thorkilnaur, 7 years ago)
Line 
1
2New patches:
3
4[FIX validate for PPC Mac OS X - Evac.h
5Thorkil Naur <naur@post11.tele.dk>**20071005144454] {
6hunk ./rts/sm/Evac.h 15
7-#if __GNUC__ >= 2
8+// Earlier, the regparm attribute was used whenever __GNUC__ >= 2, but this
9+// generated warnings on PPC. So the use is restricted further.
10+// See http://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html that says
11+//     regparm (number)
12+//         On the Intel 386, the regparm attribute causes the compiler to pass
13+//         arguments number one to number if they are of integral type in
14+//         registers EAX, EDX, and ECX instead of on the stack. Functions that
15+//         take a variable number of arguments will continue to be passed all of
16+//         their arguments on the stack.
17+#if __GNUC__ >= 2 && (defined(x86_64_TARGET_ARCH) || defined(i386_TARGET_ARCH))
18}
19
20Context:
21
22[Change DOCOPTIONS pragma to DOC_OPTIONS
23David Waern <davve@dtek.chalmers.se>**20071002143849
24 
25 MERGE TO STABLE
26]
27[FIX: parsing of doc options
28David Waern <davve@dtek.chalmers.se>**20071002143713
29 
30 Lexing of the doc options pragma was changed, but but no change was
31 made to the parser to reflect that. This patch fixes this problem.
32 
33 MERGE TO STABLE
34]
35[FIX: add missing case to OccName.isSymOcc
36David Waern <davve@dtek.chalmers.se>**20071002143459]
37[Remove warnings from WwLib
38Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20071002130736]
39[FIX: mkWWcpr takes open alg types into account
40Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20071002130407
41 - This fixed the failures of GMapAssoc and GMapTop for optmising ways
42 
43 MERGE TO STABLE
44]
45[FIX #1738: KPush rule of FC must take dataConEqTheta into account
46Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20071001154343
47 
48 MERGE TO STABLE
49]
50[FIX #1729: Don't try to expand syn families with -XLiberalTypeSynonyms
51Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20070929122624
52 
53 MERGE TO STABLE
54]
55[Some more traceTcs
56Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20070929121941]
57[FIX: Make boxy splitters aware of type families
58Manuel M T Chakravarty <chak@cse.unsw.edu.au>**20070928225541
59 
60 MERGE TO STABLE
61]
62[Finally, I managed to squash an infamous bug in :print
63Pepe Iborra <mnislaih@gmail.com>**20070927151300
64   
65   It turns out the newtype handling code in :print
66   was slipping non mutable Tyvars in the types reconstructed.
67   The error message eventually produced was rather obscure:
68   
69   [src/Tp.hs:75:28-64] *MainTp> :p x
70   *** Exception: No match in record selector Var.tcTyVarDetails
71   [src/Tp.hs:75:28-64] *MainTp>
72   
73   Due to non mutable tyvars, unifyType was failing.
74   A well placed assertion in the unifyType code would have made
75    my life much easier.
76   Which reminds me I should install a -ddump-* system in the
77   RTTI subsystem, or future hackers will run away in swearing.
78 
79 
80 MERGE TO STABLE
81 
82]
83[Be a bit more flexible in terminal identification for do_bold
84Pepe Iborra <mnislaih@gmail.com>**20070927141549
85   
86   In Os X for instance, by default we have TERM=xterm-color
87 
88 MERGE TO STABLE
89 
90]
91[html_installed_root shouldn't contain $$pkgid
92Ian Lynagh <igloo@earth.li>**20070927130427
93 This actually didn't break anything, as the shell expanded $pkgid to the
94 empty string, but it was still wrong.
95]
96[Comments and debug output only
97simonpj@microsoft.com**20070927110842]
98[further stub filename fix: I managed to break non-stubdir -fvia-C compilation
99Simon Marlow <simonmar@microsoft.com>**20070927102539]
100[FIX -stubdir bug: the .hc file was #including the wrong _stub.h filename
101Simon Marlow <simonmar@microsoft.com>**20070926134539
102 Using -stubdir together with hierarchical modules, -fvia-C, and --make
103 is essentially broken in 6.6.x.  Recently discovered by Cabal's use of
104 -stubdir.
105 
106 Test cases: driver027/driver028 (I've updated them to use -fvia-C, in
107 order to test for this bug).
108]
109[Add STANDARD_OPTS to SRC_HC_OPTS in rts/Makefile so we get -I../includes for .cmm files
110Ian Lynagh <igloo@earth.li>**20070926122637
111 Patch from Clemens Fruhwirth
112]
113[fix #1734, panic in :show modules after load failure
114Simon Marlow <simonmar@microsoft.com>**20070926100732]
115[Remove current package from preloaded package set
116Clemens Fruhwirth <clemens@endorphin.org>**20070926084802]
117[Fixing #1340, adding HPC Documentation
118andy@galois.com**20070926055331]
119[also acquire/release task->lock across fork()
120Simon Marlow <simonmar@microsoft.com>**20070927091331
121 further attempt to fix #1391 on MacOS
122]
123[TAG 2007-09-25
124Ian Lynagh <igloo@earth.li>**20070925164536]
125Patch bundle hash:
126f2def3b6fb8cf62ab6f455adb6cbfc74320cdb75