This is the mail archive of the gcc@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]

Re: rs6000 cleanup alert



On Apr 19, 2006, at 2:17 PM, David Edelsohn wrote:


Mike Stump writes:

Mike> Is there a remaining purpose for pmode? Mike> From rs6000.c:

Mike> void
Mike> rs6000_initialize_trampoline (rtx addr, rtx fnaddr, rtx cxt)
Mike> {
Mike> enum machine_mode pmode = Pmode;

The variable "pmode" is used throughout that function. Are you
questioning why the function uses a variable instead of the Pmode macro?
The posting is too terse for me to understand the concern you are trying
to raise.

Yup. That was the question. It came up internally when we were modifying that. It seemed weird to have a variable named the same as the mode macro.


-eric


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