Merge lp:~ams-codesourcery/gcc-linaro/lp675347 into lp:gcc-linaro/4.5

Proposed by Andrew Stubbs
Status: Merged
Approved by: Andrew Stubbs
Approved revision: no longer in the source branch.
Merged at revision: 99493
Proposed branch: lp:~ams-codesourcery/gcc-linaro/lp675347
Merge into: lp:gcc-linaro/4.5
Diff against target: 35 lines (+15/-2)
2 files modified
ChangeLog.linaro (+10/-0)
gcc/expr.c (+5/-2)
To merge this branch: bzr merge lp:~ams-codesourcery/gcc-linaro/lp675347
Reviewer Review Type Date Requested Status
Andrew Stubbs (community) Approve
Linaro Toolchain Builder Approve
Review via email: mp+54512@code.launchpad.net

Description of the change

This is the patch Julian Brown has committed upstream to fix bug #675347.

I've backported it to GCC 4.5.

To post a comment you must log in.
Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild has taken a snapshot of this branch at r99490 and queued it for
build.

The snapshot is available at:
 http://ex.seabright.co.nz/snapshots/

and named something like gcc-linaro-4.5+bzr99490~ams-codesourcery~lp675347.*

You can track the build queue at:
 http://ex.seabright.co.nz/helpers/scheduler

cbuild-snapshot: gcc-linaro-4.5+bzr99490~ams-codesourcery~lp675347
cbuild-state: check

Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on i686-lucid-cbuild93-scorpius-i686r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99490~ams-codesourcery~lp675347/logs/i686-lucid-cbuild93-scorpius-i686r1

cbuild-checked: i686-lucid-cbuild93-scorpius-i686r1

review: Approve
Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on x86_64-maverick-cbuild93-crucis-x86_64r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99490~ams-codesourcery~lp675347/logs/x86_64-maverick-cbuild93-crucis-x86_64r1

cbuild-checked: x86_64-maverick-cbuild93-crucis-x86_64r1

review: Approve
Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on armv7l-maverick-cbuild93-ursa2-cortexa9r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99490~ams-codesourcery~lp675347/logs/armv7l-maverick-cbuild93-ursa2-cortexa9r1

cbuild-checked: armv7l-maverick-cbuild93-ursa2-cortexa9r1

Revision history for this message
Linaro Toolchain Builder (cbuild) wrote :

cbuild successfully built this on armv7l-maverick-cbuild93-ursa1-cortexa8r1.

The build results are available at:
 http://ex.seabright.co.nz/build/gcc-linaro-4.5+bzr99490~ams-codesourcery~lp675347/logs/armv7l-maverick-cbuild93-ursa1-cortexa8r1

cbuild-checked: armv7l-maverick-cbuild93-ursa1-cortexa8r1

Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

The test results show that this patch causes a segmentation fault in some of the tests:

FAIL: gcc.dg/pch/counter-1.c -O0 -g -I. (test for excess errors)
FAIL: gcc.dg/pch/counter-1.c -O2 -I. (test for excess errors)
FAIL: gcc.dg/pch/cpp-2.c -O0 -g -I. (test for excess errors)
FAIL: gcc.dg/pch/cpp-3.c -O3 -g -I. (test for warnings, line )
FAIL: gcc.dg/pch/cpp-3.c -O3 -g -I. (test for excess errors)
[and others ....]

review: Needs Fixing
Revision history for this message
Andrew Stubbs (ams-codesourcery) wrote :

These failures turn out to be random problems with the test scripts/hardware.

review: Approve
Revision history for this message
Ira Rosen (irar) wrote :

I am out of the office until 17/04/2011.

Note: This is an automated response to your message "Re: [Merge]
lp:~ams-codesourcery/gcc-linaro/lp675347 into lp:gcc-linaro" sent on
14/4/2011 14:23:42.

This is the only notification you will receive while this person is away.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'ChangeLog.linaro'
--- ChangeLog.linaro 2011-03-11 17:36:50 +0000
+++ ChangeLog.linaro 2011-03-23 13:14:50 +0000
@@ -1,3 +1,13 @@
12011-03-23 Andrew Stubbs <ams@codesourcery.com>
2
3 Backport from FSF.
4
5 2011-03-23 Julian Brown <julian@codesourcery.com>
6
7 gcc/
8 * expr.c (expand_expr_real_1): Only use BLKmode for volatile
9 accesses which are not naturally aligned.
10
12011-03-10 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>112011-03-10 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
212
3 LP:73044013 LP:730440
414
=== modified file 'gcc/expr.c'
--- gcc/expr.c 2011-02-22 11:38:56 +0000
+++ gcc/expr.c 2011-03-23 13:14:50 +0000
@@ -9032,8 +9032,11 @@
9032 && modifier != EXPAND_CONST_ADDRESS9032 && modifier != EXPAND_CONST_ADDRESS
9033 && modifier != EXPAND_INITIALIZER)9033 && modifier != EXPAND_INITIALIZER)
9034 /* If the field is volatile, we always want an aligned9034 /* If the field is volatile, we always want an aligned
9035 access. */9035 access. Only do this if the access is not already naturally
9036 || (volatilep && flag_strict_volatile_bitfields > 0)9036 aligned, otherwise "normal" (non-bitfield) volatile fields
9037 become non-addressable. */
9038 || (volatilep && flag_strict_volatile_bitfields > 0
9039 && (bitpos % GET_MODE_ALIGNMENT (mode) != 0))
9037 /* If the field isn't aligned enough to fetch as a memref,9040 /* If the field isn't aligned enough to fetch as a memref,
9038 fetch it as a bit field. */9041 fetch it as a bit field. */
9039 || (mode1 != BLKmode9042 || (mode1 != BLKmode

Subscribers

People subscribed via source and target branches