Ian Lance Taylor - Re: PATCH COMMITTED: First lower-subreg patch (original) (raw)

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

"Richard Guenther" richard.guenther@gmail.com writes:

On 01 Feb 2007 07:40:14 -0800, Ian Lance Taylor iant@google.com wrote:

Grigory Zagorodnev grigory_zagorodnev@linux.intel.com writes:

Ian Lance Taylor wrote:

I am about to commit the first lower-subreg patch. Where possible, gcc/ChangeLog: 2007-01-31 Richard Henderson rth@redhat.com Ian Lance Taylor iant@google.com

Hi, Ian! Unfortunately your patch leads to bootstrap failure at x86_64-redhat-linux. Error log is listed below.

Sorry about that. I only tested on 32-bit systems. Not that I see why this case couldn't arise on a 32-bit system.

I'm currently testing this patch. I don't have an x86_64 bootstrap going at the moment--could you give it a try? Thanks.

It get's me past the failure point, so I suggest to apply it ;)

Makes sense.

Committed without a full test, on the grounds that 1) it should fix a bootstrap problem, and 2) it will only change cases which would have previously ICEd.

Ian

2007-02-01 Ian Lance Taylor iant@google.com

* lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the
high part of a paradoxical subreg, return a constant zero.

Index: lower-subreg.c

--- lower-subreg.c (revision 121461) +++ lower-subreg.c (working copy) @@ -372,6 +372,8 @@ static rtx simplify_gen_subreg_concatn (enum machine_mode outermode, rtx op, enum machine_mode innermode, unsigned int byte) {

@@ -405,9 +407,24 @@ simplify_gen_subreg_concatn (enum machin gcc_assert (op != NULL_RTX); gcc_assert (innermode == GET_MODE (op)); } + if (GET_CODE (op) == CONCATN) return simplify_subreg_concatn (outermode, op, byte);

/* Return whether we should resolve X into the registers into which it


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