Skip to content

Instantly share code, notes, and snippets.

@joeydumont
Created June 1, 2017 15:32
Show Gist options
  • Save joeydumont/833d5dd1d124e63315d01cb07c0599e1 to your computer and use it in GitHub Desktop.
Save joeydumont/833d5dd1d124e63315d01cb07c0599e1 to your computer and use it in GitHub Desktop.
diff -aur scorep-3.1.pristine/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c scorep-3.1.new/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c
--- scorep-3.1.pristine/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c 2017-06-01 11:14:52.630876809 -0400
+++ scorep-3.1.new/src/adapters/compiler/gcc-plugin/scorep_plugin_inst_descriptor.inc.c 2017-06-01 11:20:59.546718442 -0400
@@ -194,7 +194,7 @@
TREE_TYPE( region_descr_value ) );
/* Align the struct generously, so that it works for 32 and 64 bit */
- DECL_ALIGN( region_descr_var ) = 64 * BITS_PER_UNIT;
+ SET_DECL_ALIGN(region_descr_var, 64 * BITS_PER_UNIT );// == 64 * BITS_PER_UNIT;
DECL_USER_ALIGN( region_descr_var ) = 1;
/* The struct is 64 bytes, because of reserved entries */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment