<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Repeated AST node for attributes"
href="http://llvm.org/bugs/show_bug.cgi?id=19000">19000</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Repeated AST node for attributes
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>abramo.bagnara@bugseng.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>$ cat z.c
void __attribute__((noinline,noreturn))
f(void);
$ _clang -cc1 -ast-dump z.c
TranslationUnitDecl 0x6630730 <<invalid sloc>>
|-TypedefDecl 0x6630c30 <<invalid sloc>> __int128_t '__int128'
|-TypedefDecl 0x6630c90 <<invalid sloc>> __uint128_t 'unsigned __int128'
|-TypedefDecl 0x6630fe0 <<invalid sloc>> __builtin_va_list
'__va_list_tag [1]'
`-FunctionDecl 0x6631120 <z.c:1:1, line:2:7> f 'void (void)
__attribute__((noreturn))'
|-NoInlineAttr 0x66311c0 <line:1:21>
`-NoInlineAttr 0x6631200 <col:21>
$ clang -cc1 -ast-print z.c
void f() __attribute__((noinline)) __attribute__((noinline));
The NoInlineAttr node is added twice.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>