All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Kamble, Nitin A" <nitin.a.kamble@intel.com>
To: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [bugfix 1/1] mesa-xlib: workaround gcc 4.6.0 ICE
Date: Fri, 27 May 2011 10:13:53 -0700	[thread overview]
Message-ID: <9DA5872FEF993D41B7173F58FCF6BE94D97FA611@orsmsx504.amr.corp.intel.com> (raw)
In-Reply-To: <1306508804.2525.460.camel@phil-desktop>

Phil,
  With your patch gcc 4.6.0 is not hitting the internal compiler error for this particular case. I could not do runtime testing as I don't have the hw. IMO This is a good patch to send to gcc upstream.

Thanks,
Nitin


> -----Original Message-----
> From: openembedded-core-bounces@lists.openembedded.org
> [mailto:openembedded-core-bounces@lists.openembedded.org] On Behalf Of
> Phil Blundell
> Sent: Friday, May 27, 2011 8:07 AM
> To: Patches and discussions about the oe-core layer
> Subject: Re: [OE-core] [bugfix 1/1] mesa-xlib: workaround gcc 4.6.0 ICE
> 
> On Fri, 2011-05-27 at 00:33 +0100, Richard Purdie wrote:
> > I talked about this on IRC but simply put, no way.
> >
> > The problem is:
> >
> > a) Arm specific
> > b) determined now to be armv7 specific
> > c) gcc version specific
> >
> > and the fix should reflect this.
> 
> From a fairly superficial look at the crash I suspect you probably want
> something like:
> 
> --- arm.md~	2011-05-27 15:18:31.916926254 +0100
> +++ arm.md	2011-05-27 15:31:57.331525688 +0100
> @@ -4213,7 +4213,9 @@
>     uxth%?\\t%0, %1
>     ldr%(h%)\\t%0, %1"
>    [(set_attr "type" "alu_shift,load_byte")
> -   (set_attr "predicable" "yes")]
> +   (set_attr "predicable" "yes")
> +   (set_attr "pool_range" "*,256")
> +   (set_attr "neg_pool_range" "*,244")]
>  )
> 
>  (define_insn "*arm_zero_extendhisi2addsi"
> 
> It also looks like this could happen on ARMv6 as well, for what that's
> worth, though I haven't tested to see whether it actually does or not.
> 
> p.
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



      reply	other threads:[~2011-05-27 17:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-26 20:41 [bugfix 0/1] workaround for gcc 4.6.0 issue on beagleboard nitin.a.kamble
2011-05-26 20:41 ` [bugfix 1/1] mesa-xlib: workaround gcc 4.6.0 ICE nitin.a.kamble
2011-05-26 21:16   ` Darren Hart
2011-05-26 21:22     ` Kamble, Nitin A
2011-05-26 23:33   ` Richard Purdie
2011-05-27  0:37     ` Khem Raj
2011-05-27  1:03       ` Kamble, Nitin A
2011-05-27  7:14     ` Koen Kooi
2011-05-27  8:54       ` Richard Purdie
2011-05-27  9:30         ` Phil Blundell
2011-05-27 17:11           ` Richard Purdie
2011-05-27 15:06     ` Phil Blundell
2011-05-27 17:13       ` Kamble, Nitin A [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9DA5872FEF993D41B7173F58FCF6BE94D97FA611@orsmsx504.amr.corp.intel.com \
    --to=nitin.a.kamble@intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.