Re: Backported r185234 from trunk (r194264 from google/gcc-4_7). (issue 6904043)

2012-12-06 Thread asharif
On 2012/12/06 21:19:17, shenhan wrote: On 2012/12/06 20:18:02, asharif wrote: Please review this backport needed to enable PGO for Chrome. I think we shall only change ChangeLog.google-xxx when adding changes to google branch. Quote from Diego - 'Please remember to use ChangeLog.google

Re: Backported r185234 from trunk (r194264 from google/gcc-4_7). (issue 6904043)

2012-12-06 Thread asharif
On 2012/12/06 22:02:16, Diego Novillo wrote: On Thu, Dec 6, 2012 at 4:51 PM, mailto:asha...@chromium.org wrote: I don't think the rule is to *only* update ChangeLog.google*. The rule is to update ChangeLog, but also update ChangeLog.google*. Just ChangeLog.google*, actually. When

Backported r185231 from trunk to google/gcc-4_7. (issue 6888044)

2012-12-05 Thread asharif
Reviewers: xur, davidxl, Message: Please take a look at this patch. Description: 2012-03-12 Richard Guenther rguent...@suse.de * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification. * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.

Backported r185231 from trunk. (issue 6878045)

2012-12-03 Thread asharif
Reviewers: davidxl, xur, Message: When I backported this patch to google/gcc-4.6, I forgot to do it for main. So now I am backporting this to google/main, google/4_7 and google/4_7-mobile. This is the first of the 3 (google/main is the target). I am running crosstool_validate.py and it should

Re: Backported r185231 from trunk. (issue 6878045)

2012-12-03 Thread asharif
On 2012/12/04 00:50:45, asharif wrote: When I backported this patch to google/gcc-4.6, I forgot to do it for main. So now I am backporting this to google/main, google/4_7 and google/4_7-mobile. This is the first of the 3 (google/main is the target). I am running crosstool_validate.py

Re: Added better handling of outdated profile data. (issue 5989046)

2012-07-09 Thread asharif
On 2012/04/24 22:14:17, asharif wrote: Ping? Ping. I also filed a bug here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53547 Here is the formatted ChangeLog in case you want a summary of what I did: * gcc/ipa-inline.c (edge_badness): Make sure profile is valid before using

Re: [google/main] Copy TREE_STATIC() property from id in dwarf2asm.c (issue 6273045)

2012-06-04 Thread asharif
On 2012/06/02 01:52:28, asharif wrote: A trunk version of this patch is already under review. I'm creating this CL in order to get this patch in before the branch date. Ping. http://codereview.appspot.com/6273045/

[google/main] Copy TREE_STATIC() property from id in dwarf2asm.c (issue 6273045)

2012-06-01 Thread asharif
Reviewers: davidxl, xur, bjanakiraman_google.com, Message: A trunk version of this patch is already under review. I'm creating this CL in order to get this patch in before the branch date. Please review this at http://codereview.appspot.com/6273045/ Affected files: M

Re: [trunk] Copy TREE_STATIC() property from id in dwarf2asm.c (issue 6133061)

2012-05-31 Thread asharif
Reviewers: xur, davidxl, iant2, Diego Novillo, Message: The relevant bug is this: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53546. Please take a look and provide feedback. Thanks, Description: 2012-05-31 Ahmad Sharif asha...@google.com * gcc/dwarf2asm.c:

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread asharif
On 2012/05/16 01:02:26, shenhan wrote: Hi Amhad and Jing, could you take a look at this CL at http://codereview.appspot.com/6210060/ Thanks, -Han Shouldn't this have a corresponding ChangeLog entry and a ChangeLog.google-gcc-4_6 entry? http://codereview.appspot.com/6210060/

Re: [google/gcc-4_6_3-mobile] Port r187569 from google/gcc-4_6 branch (issue 6210060)

2012-05-16 Thread asharif
On 2012/05/16 22:11:08, shenhan wrote: On 2012/05/16 17:27:59, asharif1 wrote: On 2012/05/16 01:02:26, shenhan wrote: Hi Amhad and Jing, could you take a look at this CL at http://codereview.appspot.com/6210060/ Thanks, -Han Shouldn't this have a corresponding ChangeLog entry and a

Re: Backported r187026 from branches/google/gcc-4_6 (issue 6148044)

2012-05-02 Thread asharif
what tests you have done. Done. Thanks, Jing On 2012/05/01 22:40:12, asharif wrote: +carrot@ http://codereview.appspot.com/6148044/

Re: Backported r185231 from trunk. (issue 6139063)

2012-05-01 Thread asharif
On 2012/04/30 19:54:14, asharif wrote: I backported the following patch: 2012-03-12 Richard Guenther mailto:rguent...@suse.de * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification. * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define

Re: Backported r185231 from trunk. (issue 6139063)

2012-05-01 Thread asharif
On 2012/05/01 20:44:05, davidxl wrote: Ok for google branches (please also backport to google/gcc_47 branch. Commited as r187026. I'll backport to google/gcc-4_7 as well. David On 2012/05/01 20:37:44, asharif wrote: On 2012/04/30 19:54:14, asharif wrote: I backported the following

Backported r185231 from trunk to google/gcc-4_7. (issue 6151043)

2012-05-01 Thread asharif
Reviewers: xur, davidxl, Message: Please take a look at this. Description: This fixes an issue with profile collection when multiple threads call fork() around the same time. 2012-03-12 Richard Guenther rguent...@suse.de * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust

Backported r185231 from trunk. (issue 6139063)

2012-04-30 Thread asharif
Reviewers: xur, davidxl, iant2, Message: I backported the following patch: 2012-03-12 Richard Guenther rguent...@suse.de * gthr.h (__GTHREAD_MUTEX_INIT_FUNCTION): Adjust specification. * gthr-posix.h (__GTHREAD_MUTEX_INIT_FUNCTION): Define.

Re: Added better handling of outdated profile data. (issue 5989046)

2012-04-24 Thread asharif
Ping? Here is the formatted ChangeLog in case you want a summary of what I did: * gcc/ipa-inline.c (edge_badness): Make sure profile is valid before using it to compute badness. * gcc/predict.c (maybe_hot_frequency_p): Ditto. (cgraph_maybe_hot_edge_p): Ditto. (maybe_hot_edge_p): Ditto.

Re: Added better handling of outdated profile data. (issue 5989046)

2012-04-10 Thread asharif
On 2012/04/05 18:53:28, asharif wrote: Jan, please take a look and provide some feedback. Thanks, Ping? http://codereview.appspot.com/5989046/

Re: [branches/google/gcc-4_6] Backported r179661 and 179662 from mainline. (issue 5989043)

2012-04-05 Thread asharif
Committed as r186168. http://codereview.appspot.com/5989043/

[branches/google/gcc-4_6_2-mobile] Backported r186168 from branches/google/gcc-4_6. (issue 5991052)

2012-04-05 Thread asharif
Reviewers: jingyu, bjanakiraman_google.com, dougkwan, Message: PTAL. Description: 2012-04-04 Ahmad Sharif asha...@google.com Backport from mainline r179661, r179662. 2011-10-07 Andrew Stubbs a...@codesourcery.com gcc/ * config/arm/predicates.md

Added better handling of outdated profile data. (issue 5989046)

2012-04-05 Thread asharif
Reviewers: jh_suse.cz, davidxl, bjanakiraman_google.com, Message: Jan, please take a look and provide some feedback. Thanks, Description: Added better handling of outdated profiles. gcc dumps profile information in .gcda files that contain the function id and the corresponding counter

Re: [branches/google/gcc-4_6_2-mobile] Backported r186168 from branches/google/gcc-4_6. (issue 5991052)

2012-04-05 Thread asharif
Added shenhan to the list of reviewers. http://codereview.appspot.com/5991052/

Re: [google/gcc-4_6] Added dejagnu base line for x86_64-cros-linux-gnu. (issue 5990044)

2012-04-05 Thread asharif
On 2012/04/05 17:25:44, shenhan wrote: Hi Jing and Ahmad, This adds a new test base line for x86_64-cros-linux-gnu. Please take a look. Thanks, Han lgtm. http://codereview.appspot.com/5990044/

Re: [branches/google/gcc-4_6_2-mobile] Backported r186168 from branches/google/gcc-4_6. (issue 5991052)

2012-04-05 Thread asharif
On 2012/04/05 21:56:19, asharif wrote: Added shenhan to the list of reviewers. I'm abandoning this CL in favor of a new one which will be a bulk integrate from branches/google/gcc-4_6 to branches/google/gcc-4_6_2-mobile. Sorry about the noise. http://codereview.appspot.com/5991052/

Merged r183086 and r183143 from branches/google/gcc-4_6. (issue 5541046)

2012-01-12 Thread asharif
Reviewers: xur, shenhan, jingyu, Message: This merges in the fix for ICE when using PGO when building Chrome. Please review this at http://codereview.appspot.com/5541046/ Affected files: M. M gcc/ChangeLog.google-4_6 M gcc/profile.c Index: .

Re: Merged r183086 and r183143 from branches/google/gcc-4_6 into branches/google/gcc-4_6-mobile (issue 5541046)

2012-01-12 Thread asharif
On 2012/01/12 23:16:03, asharif1 wrote: This merges in the fix for ICE when using PGO when building Chrome. +reviewer: dnovillo. Updated the patch description. http://codereview.appspot.com/5541046/

Re: Merged r183086 and r183143 from branches/google/gcc-4_6 into branches/google/gcc-4_6-mobile (issue 5541046)

2012-01-12 Thread asharif
Please take a look. http://codereview.appspot.com/5541046/

Backport r180979 from branches/google/gcc-4_6. (issue 5501051)

2011-12-20 Thread asharif
Reviewers: xur, bjanakiraman_google.com, jingyu, Message: Please review this backport. Please review this at http://codereview.appspot.com/5501051/ Affected files: Mgcc-4_6-mobile M gcc-4_6-mobile/gcc/ChangeLog.google-4_6 M gcc-4_6-mobile/gcc/common.opt M

Re: Backport r180979 from branches/google/gcc-4_6. (issue 5501051)

2011-12-20 Thread asharif
Adding shenhan. http://codereview.appspot.com/5501051/

Merged r182417 from branches/google/gcc-4_6. (issue 5491078)

2011-12-19 Thread asharif
Reviewers: xur, jingyu, shenhan, bjanakiraman_google.com, Message: This merges xur's patch to our mobile release branch. LGTM and I will submit it. Please review this at http://codereview.appspot.com/5491078/ Affected files: Mgcc-4_6-mobile M

Added -fstack-protector-strong option to gcc. (issue 5496077)

2011-12-19 Thread asharif
Reviewers: Diego Novillo, shenhan, jingyu, bjanakiraman_google.com, Message: Please review this on behalf of shenhan@. Please review this at http://codereview.appspot.com/5496077/ Affected files: M gcc-4_6-mobile/gcc/ChangeLog.google-4_6 M gcc-4_6-mobile/gcc/cfgexpand.c M

Re: [PATCH] Add check before potentially dividing by 0

2011-03-15 Thread asharif
I have seen an ICE in 4.4.3 when a corrupted profile file causes a division by 0 in gcc. This is the equivalent code in trunk and this check should help fix it. Thoughts? 2011-03-15  Ahmad Sharif  asha...@google.com        * predict.c (probably_never_executed_bb_p): Add check to see