This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

libgo patch committed: Pass -funwind-tables when compiling C code


This patch to the go tool in libgo changes it to use -funwind-tables
when compiling C code to support the cgo tool.  Using -funwind-tables
is necessary to permit Go code to correctly throw a panic through C
code.  This hasn't been necessary in the past as -funwind-tables is
the default on x86.  However, it is not the default for PPC AIX, among
other systems.  Bootstrapped and ran Go testsuite on
x86_64-pc-linux-gnu.  Committed to mainline.

Ian

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]