[Bug c/56880] New: R_X86_64_COPY bug

2013-04-08 Thread fredrickprashanth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56880 Bug #: 56880 Summary: R_X86_64_COPY bug Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/56880] R_X86_64_COPY bug

2013-04-08 Thread fredrickprashanth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56880 --- Comment #1 from Fredrick 2013-04-08 16:51:06 UTC --- Another related bug would be that, we tried to disable copy relocation using -z nocopyreloc. The binary crashed with SEGV. ./test_misc.bin: Symbol `test_dynamic' causes overflow

[Bug middle-end/28865] Structures with a flexible arrray member have wrong .size

2013-04-09 Thread fredrickprashanth at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28865 --- Comment #7 from Fredrick 2013-04-09 18:10:34 UTC --- HJ, Thanks for pointing the patch. The patch works. I tested it on x86-64. Could this patch be integrated into the mainline GCC? Thanks, Fredrick