GCC Wikia
ページの編集
警告: ログインしていません。編集を行うと、あなたの IP アドレスが公開されます。ログインまたはアカウントを作成すれば、あなたの編集はその利用者名とともに表示されるほか、その他の利点もあります。

この編集を取り消せます。 下記の差分を確認して、本当に取り消していいか検証してください。よろしければ変更を公開して取り消しを完了してください。

最新版 編集中の文章
40行目: 40行目:
 
2414 operand_equal_p ([[tree]] arg0, [[tree]] arg1, unsigned int flags)
 
2414 operand_equal_p ([[tree]] arg0, [[tree]] arg1, unsigned int flags)
 
2415 {
 
2415 {
</code>
 
*どちらかが[[ERROR_MARK]]であれば不一致
 
<code>
 
 
2416 /* If either is ERROR_MARK, they aren't equal. */
 
2416 /* If either is ERROR_MARK, they aren't equal. */
 
2417 if ([[TREE_CODE]] (arg0) == [[ERROR_MARK]] || [[TREE_CODE]] (arg1) == [[ERROR_MARK]])
 
2417 if ([[TREE_CODE]] (arg0) == [[ERROR_MARK]] || [[TREE_CODE]] (arg1) == [[ERROR_MARK]])
 
2418 return 0;
 
2418 return 0;
 
2419
 
2419
</code>
 
*unsigned, signedが同じでなければ一致ではない
 
<code>
 
 
2420 /* If both types don't have the same signedness, then we can't consider
 
2420 /* If both types don't have the same signedness, then we can't consider
 
2421 them equal. We must check this before the STRIP_NOPS calls
 
2421 them equal. We must check this before the STRIP_NOPS calls
56行目: 50行目:
 
2424 return 0;
 
2424 return 0;
 
2425
 
2425
</code>
 
*NOPを省略
 
<code>
 
 
2426 [[STRIP_NOPS]] (arg0);
 
2426 [[STRIP_NOPS]] (arg0);
 
2427 [[STRIP_NOPS]] (arg1);
 
2427 [[STRIP_NOPS]] (arg1);
 
2428
 
2428
</code>
 
*ここでコードが違かどうかと上でのチェック(NOPの省略による変化を考慮)
 
<code>
 
 
2429 if ([[TREE_CODE]] (arg0) != [[TREE_CODE]] (arg1)
 
2429 if ([[TREE_CODE]] (arg0) != [[TREE_CODE]] (arg1)
 
2430 /* This is needed for conversions and for COMPONENT_REF.
 
2430 /* This is needed for conversions and for COMPONENT_REF.
GCC Wikiaへの投稿はすべて、「CC-BY-SA」に従って公開されるものとしてみなされます
キャンセル 編集の仕方 (新しいウィンドウで開きます)

このページで使用されているテンプレート: