Skip to main content

Performing Code Analysis with GCC

  • Chapter
The Definitive Guide to GCC
  • 274 Accesses

Abstract

The previous chapter discussed the various types of optimizations that the GCC compilers can perform for you. Some of these optimizations are automatic, whereas others only make sense based on the characteristics of the application that you are trying to optimize. For example, you can only decide where and if to use optimizations such as unrolling or inlining loops after studying your application and identifying loops that might benefit from these optimizations. (Unrolling or inlining loops means to insert the code for each iteration of a loop in sequence so that a loop is no longer present; it is replaced by a series of sequential statements that explicitly perform the contents of the loop for each value of the variable that controls the loop.)

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Kurt Wall and William von Hagen

About this chapter

Cite this chapter

Wall, K., Von Hagen, W. (2004). Performing Code Analysis with GCC. In: The Definitive Guide to GCC. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-0704-7_6

Download citation

  • DOI: https://doi.org/10.1007/978-1-4302-0704-7_6

  • Publisher Name: Apress, Berkeley, CA

  • Print ISBN: 978-1-59059-109-3

  • Online ISBN: 978-1-4302-0704-7

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics