Difference: CS255Spring09Discussions (5 vs. 6)

Revision 62009-02-24 - BinBao

Line: 1 to 1
META TOPICPARENT name="CS255Spring09"

CS255/455 Spring 2009 Discussion Board

Last year's discussion page was a success for people to discuss and share the project experience, especially their experience with GCC. So this year, we are going to continue with the discussion tradition. This page is intended for anyone to post questions and everyone to answer them. Please insert questions at the beginning and separate each question with a horizontal rule separator. For other formatting instructions read the answer to this question.

Q: In the intermediate language, can we assume that in an OpExpr, the operands are always either VarAcc or Const, i.e. expressions are not arbitrarily nested?

A: Based on the form of gimplified statements, yes, you can make that assumption to simplify your implementation.

  Q: How do you convert an int back into an INTEGER_CST? I couldn't find any reference in the documentation.

A: Try build_int_cst, which is in tree.c

This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback