~ubuntu-branches/ubuntu/maverick/uim/maverick

« back to all changes in this revision

Viewing changes to sigscheme/libgcroots/mark.c

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2008-06-25 19:56:33 UTC
  • mfrom: (3.1.18 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080625195633-8jljph4rfq00l8o7
Tags: 1:1.5.1-2
* uim-tcode: provide tutcode-custom.scm, tutcode-bushudic.scm
  and tutcode-rule.scm (Closes: #482659)
* Fix FTBFS: segv during compile (Closes: #483078).
  I personally think this bug is not specific for uim but is a optimization
  problem on gcc-4.3.1. (https://bugs.freedesktop.org/show_bug.cgi?id=16477)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
/*
 
3
 * Copyright 1988, 1989 Hans-J. Boehm, Alan J. Demers
 
4
 * Copyright (c) 1991-1995 by Xerox Corporation.  All rights reserved.
 
5
 * Copyright (c) 2000 by Hewlett-Packard Company.  All rights reserved.
 
6
 *
 
7
 * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
 
8
 * OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.
 
9
 *
 
10
 * Permission is hereby granted to use or copy this program
 
11
 * for any purpose,  provided the above notices are retained on all copies.
 
12
 * Permission to modify the code and to distribute modified code is granted,
 
13
 * provided the above notices are retained, and a notice that the code was
 
14
 * modified is included with the above copyright notice.
 
15
 *
 
16
 */
 
17
 
 
18
/*
 
19
 * ChangeLog
 
20
 *
 
21
 * 2006-12-23 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
 
22
 *            - Imported from mark.c of gc7.0alpha7
 
23
 *            - Remove all functions but GC_noop1()
 
24
 * 2007-07-18 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
 
25
 *            - Update to gc-7.0
 
26
 *            - Keep all functions but GC_noop1() removed
 
27
 */
 
28
 
 
29
# include "private/gcroots_priv.h"
 
30
# include "private/gc_priv.h"
 
31
 
 
32
/* Single argument version, robust against whole program analysis. */
 
33
void GC_noop1(word x)
 
34
{
 
35
    static volatile word sink;
 
36
 
 
37
    sink = x;
 
38
}