mirror of git://gcc.gnu.org/git/gcc.git
re PR tree-optimization/45109 (ICE: in get_constraint_for_component_ref, at tree-ssa-structalias.c:2932)
2010-08-08 Richard Guenther <rguenther@suse.de> PR tree-optimization/45109 * gcc.c-torture/compile/pr45109.c: New testcase. From-SVN: r163007
This commit is contained in:
parent
cf00499e19
commit
b4a4e6ae0e
|
@ -1,3 +1,8 @@
|
|||
2010-08-08 Richard Guenther <rguenther@suse.de>
|
||||
|
||||
PR tree-optimization/45109
|
||||
* gcc.c-torture/compile/pr45109.c: New testcase.
|
||||
|
||||
2010-08-08 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
* gcc.dg/march.c: Skip if -march defined.
|
||||
|
|
|
@ -0,0 +1,38 @@
|
|||
struct o_fsm_t;
|
||||
struct o_fsm_event_t;
|
||||
|
||||
typedef void (*fn_t) (struct o_fsm_t *,
|
||||
struct o_fsm_event_t const *);
|
||||
|
||||
struct o_fsm_state_t {
|
||||
fn_t dispatch;
|
||||
};
|
||||
|
||||
struct o_fsm_t {
|
||||
fn_t dispatch;
|
||||
};
|
||||
|
||||
extern struct o_fsm_state_t o_fsm_tran(struct o_fsm_t *fsm,
|
||||
struct o_fsm_state_t next_state);
|
||||
static void plist_parser_state_start(struct o_fsm_t *fsm,
|
||||
struct o_fsm_event_t const *fsm_event);
|
||||
|
||||
struct o_fsm_state_t o_fsm_state(fn_t dispatch_fcn)
|
||||
{
|
||||
return *(struct o_fsm_state_t *)&dispatch_fcn;
|
||||
}
|
||||
|
||||
typedef struct _o_plist_parser_t {
|
||||
struct o_fsm_t fsm;
|
||||
} o_plist_parser_t;
|
||||
|
||||
static void plist_parser_state_start(struct o_fsm_t *fsm,
|
||||
struct o_fsm_event_t const *fsm_event)
|
||||
{
|
||||
}
|
||||
|
||||
void o_plist_deserialize_xml(int fin)
|
||||
{
|
||||
o_plist_parser_t parser;
|
||||
o_fsm_tran(&parser.fsm, o_fsm_state(plist_parser_state_start));
|
||||
}
|
Loading…
Reference in New Issue