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]

Re: patch for machine independent rtl section to hide case statements for different types of constants.


Richard Sandiford <rdsandiford@googlemail.com> writes:
>>    switch (code)
>>      {
>> -    case CONST_INT:
>> -    case CONST_DOUBLE:
>> -    case CONST_FIXED:
>> +    CASE_CONST_UNIQUE:
>>      case SYMBOL_REF:
>>      case CONST:
>>      case LABEL_REF:
>
> This was suppsoed to be CASE_CONST_ANY too.  The omission of CONST_VECTOR
> looks like an oversight.

Sorry, snipped the all-important:

> --- gccBaseline/gcc/loop-invariant.c	2012-07-22 16:55:01.239982968 -0400
> +++ gccWCase/gcc/loop-invariant.c	2012-08-20 16:02:30.013430970 -0400
> @@ -203,9 +203,7 @@ check_maybe_invariant (rtx x)

Richard


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