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]

powerpc64 traceback tables


	Shouldn't

+      if (! strcmp (rs6000_traceback_name, "full"))
+       rs6000_traceback = traceback_full;

be strncmp as well?


	Also, you really don't like empty return statements, do you?


        * config/rs6000/rs6000.c (rs6000_traceback_name): New var.
        (rs6000_traceback): New var.
        (rs6000_override_options): Set rs6000_traceback.
        (rs6000_output_function_epilogue): Implement traceback options.
        * config/rs6000/rs6000.h (TARGET_OPTIONS): Add "traceback=".
        (rs6000_traceback_name): Declare.

This is with the the strcmp->strncmp change.

David


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