view CbC-DEVEL @ 93:0b0b0782e795

modify c-parser.c:cbc_finish_nested_function
author Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 17 Jan 2012 02:50:46 +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.
 --