Re: Help with creating a simple switch stmt in Gimple

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Awesome! Will try that. thanks


> A CASE_LABEL_EXPR contains a reference to an existing
> LABEL_DECL.  A
> CASE_LABEL is part of a GENERIC SWITCH_EXPR or a GIMPLE
> GIMPLE_SWITCH.
> Either construct has a list of CASE_LABEL_EXPRs.  Each
> CASE_LABEL_EXPR
> refers to a LABEL_DECL.  The LABEL_DECL should be
> defined elsewhere in
> the function in front of whatever code should be executed
> for that case.
> In other words, a GIMPLE_SWITCH is a multi-way goto.
> 
> To build a CASE_LABEL_EXPR, use build3.
> 
> gimple_build_label takes a GENERIC LABEL_DECL and
> constructs a
> GIMPLE_LABEL.
> 
> Ian
>




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux