view CbC-DEVEL @ 91:0a063106bba9

modify cbc_finish_labeled_goto:c-parser.c
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Sun, 25 Dec 2011 04:17:22 +0900
parents 3aaf117db171
children
line wrap: on
line source

GCC 4.4.3 -> 4.5.0 へのアップデートの作業メモ

オリジナルのgcc-core 4.5.0と mergeして、衝突は全て解決

make時にエラー,未解決 -> (CbC-MAKELOG にログがのってます)
関数/マクロの引数構成に変更
) build_decl,c_finish_stmt_expr,, -> locationの追加
) buid_modify_expr, build_external_ref -> 色々変更

# GCCのソース中の用法を見る。コメントを読む。
# locationに関しては間違っても動く。

全てc-parser.c のcbc拡張の古い部分の変更

--

cbc-goto.hでエラー(消された関数を使用) -> targetm.calls.promote_funciton_return(funtype)

 gcc/ChangeLog より --
   (expand_call): When making sibcall decisions, use promote_function_mode.
   Below, remove an if for targetm.calls.promote_function_return and
   and use promote_function_mode.
 --