Sep 20 – 24, 2021
US/Pacific timezone

New mod/ref pass in GCC

Sep 23, 2021, 8:15 AM
GNU Tools track/Virtual-Room (LPC Virtual)

GNU Tools track/Virtual-Room

LPC Virtual

GNU Tools Track GNU Tools Track


Jan Hubicka (SUSE ČR)


We discuss implementation of new inter-procedural mod/ref pass. The pass is collecting information about memory locations modified or read by a given function as well as information useful for points-to analysis (such as information about whether given parameter can escape to global memory or to return value of the function).

First version of mod/ref pass was contributed to GCC 11 and is enabled by default. We also discuss improvements done for GCC 12 and some basic benchmarks.

This is a joint work with David Čepelík.

I agree to abide by the anti-harassment policy I agree

Primary author

Jan Hubicka (SUSE ČR)

Presentation materials

Diamond Sponsor

Platinum Sponsor

Gold Sponsors

Silver Sponsors

Speaker Gift Sponsor

T-Shirt Sponsor

Conference Services provided by