[Bug 1270789] Re: gcc 4.8: "invalid expression as operand" in aarch64 inline asm

Launchpad Bug Tracker 1270789 at bugs.launchpad.net
Mon Apr 7 09:27:20 UTC 2014


This bug was fixed in the package gcc-4.8 - 4.8.2-19ubuntu1

---------------
gcc-4.8 (4.8.2-19ubuntu1) trusty; urgency=medium

  * Merge with Debian; remaining changes:
    - Build from the upstream source.
    - Don't build the libgcc packages, now built from gcc-4.9.

gcc-4.8 (4.8.2-19) unstable; urgency=medium

  * Update to SVN 20140404 (r209122) from the gcc-4_8-branch.
    - Fix PR rtl-optimization/60700 (wrong code on x86),
      PR rtl-optimization/57637 (wrong code on ARM in SPEC2000),
      PR target/60039 (SH), PR ada/60703.

  [ Matthias Klose ]
  * Include include and include-fixed header files into the stage1
    gcc-4.8 package.
  * Explicitly configure with --disable-multilib on sparc64 when no
    multilibs are requested (Helmut Grohne). Closes: #743342.
  * Fix PR target/60034 (AArch64), taken from the trunk. LP: #1270789.
  * Update ada-ppc64.diff from the gnat-4.9 package, fixing the gnat build
    on powerpc.
  * Fix PR target/60609 (ARM), proposed patch (Charles Baylis). LP: #1295653.
  * Build libphobos for armel and armhf.
  * Include the gnu triplet prefixed gcov and gcc-{ar,nm,ranlib} binaries.
  * Stop building ppc64el from the ibm branch, now integrated in the fsf
    branch.

  [ Iain Buclaw ]
  * Update the GDC frontend (20140401).
 -- Matthias Klose <doko at ubuntu.com>   Fri, 04 Apr 2014 19:36:41 +0200

** Changed in: gcc-4.8 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gcc-4.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1270789

Title:
  gcc 4.8: "invalid expression as operand" in aarch64 inline asm

Status in Linaro GCC:
  In Progress
Status in “gcc-4.8” package in Ubuntu:
  Fix Released

Bug description:
  
  The attached pre-processed source fails with:

  # aarch64-linux-gnu-gcc -std=gnu99 -fgnu89-inline  -O -Wall -Winline -Wwrite-strings -fmerge-all-constants -frounding-math -g -Wstrict-prototypes malloc.i
  malloc.c: In function ‘__libc_mallopt’:
  malloc.c:4761:16: error: invalid 'asm': invalid expression as operand

  Splitting this inline asm out into a smaller testcase does not seem to
  reproduce the issue. It's possible this is a bug in the source file,
  but it's not clear from gcc's output what the problem is.

To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc-linaro/+bug/1270789/+subscriptions



More information about the foundations-bugs mailing list