[Bug target/47324] r157762 caused g++.dg/torture/stackalign failures with -O3 -g at -m32 on darwin
howarth at nitro dot med.uc.edu
gcc-bugzilla@gcc.gnu.org
Wed Feb 9 12:36:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47324
--- Comment #23 from Jack Howarth <howarth at nitro dot med.uc.edu> 2011-02-09 12:31:27 UTC ---
Any comments on this bit of Mike's patch...
+int
+darwin_dbx_register_number(n)
+{
+#if 1
+ /* Without -O3, eh-alloc-1.c -m32 fails. */
+ /* Works! */
+ if (write_symbols == DWARF2_DEBUG && !dwarf2out_do_frame())
+ return svr4_dbx_register_map[n];
+#else
+ /* Works! */
+ if (!(write_symbols == DWARF2_DEBUG
+ || write_symbols == NO_DEBUG))
+ return svr4_dbx_register_map[n];
+#endif
+ return dbx_register_map[n];
+}
More information about the Gcc-bugs
mailing list