Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 78907 | Differences between
and this patch

Collapse All | Expand All

(-)nesc-1.1.3.orig/src/attributes.c (-1 / +1 lines)
Lines 105-111 Link Here
105
    }
105
    }
106
  else if (!strcmp(name, "noinline"))
106
  else if (!strcmp(name, "noinline"))
107
    {
107
    {
108
      ddecl->noinline = TRUE;
108
      ddecl->noinlinep = TRUE;
109
    }
109
    }
110
  else if (!(target->decl_attribute &&
110
  else if (!(target->decl_attribute &&
111
	     target->decl_attribute(attr, ddecl)) &&
111
	     target->decl_attribute(attr, ddecl)) &&
(-)nesc-1.1.3.orig/src/decls.h (-1 / +1 lines)
Lines 140-146 Link Here
140
         function_event, function_command }
140
         function_event, function_command }
141
    ftype;
141
    ftype;
142
  bool isinline;
142
  bool isinline;
143
  bool noinline;
143
  bool noinlinep;
144
  bool isexterninline;
144
  bool isexterninline;
145
  bool defined;			/* nesC: true if defined, false if used */
145
  bool defined;			/* nesC: true if defined, false if used */
146
  bool suppress_definition;	/* Prevent code generation */
146
  bool suppress_definition;	/* Prevent code generation */
(-)nesc-1.1.3.orig/src/nesc-inline.c (-1 / +1 lines)
Lines 311-317 Link Here
311
{
311
{
312
  gedge call_edge, called_edge, next_edge;
312
  gedge call_edge, called_edge, next_edge;
313
313
314
  if (in->uninlinable || in->fn->noinline) 
314
  if (in->uninlinable || in->fn->noinlinep) 
315
    return;
315
    return;
316
316
317
  in->fn->makeinline = TRUE;
317
  in->fn->makeinline = TRUE;
(-)nesc-1.1.3.orig/src/semantics.c (-3 / +3 lines)
Lines 129-135 Link Here
129
  dd->in_system_header = ast->location->in_system_header;
129
  dd->in_system_header = ast->location->in_system_header;
130
  dd->ftype = 0;
130
  dd->ftype = 0;
131
  dd->isinline = FALSE;
131
  dd->isinline = FALSE;
132
  dd->noinline = FALSE;
132
  dd->noinlinep = FALSE;
133
  dd->isexterninline = FALSE;
133
  dd->isexterninline = FALSE;
134
  dd->oldstyle_args = NULL;
134
  dd->oldstyle_args = NULL;
135
  dd->vtype = 0;
135
  dd->vtype = 0;
Lines 1546-1553 Link Here
1546
1546
1547
  /* If either of the decls says noinline, make sure that none of the
1547
  /* If either of the decls says noinline, make sure that none of the
1548
     declerations are made inline. */
1548
     declerations are made inline. */
1549
  if (newdecl->noinline || olddecl->noinline) 
1549
  if (newdecl->noinlinep || olddecl->noinlinep) 
1550
    newdecl->noinline = olddecl->noinline = TRUE;
1550
    newdecl->noinlinep = olddecl->noinlinep = TRUE;
1551
1551
1552
  if (different_binding_level)
1552
  if (different_binding_level)
1553
    {
1553
    {

Return to bug 78907