Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#35109 - [gcc] 4.8 regression - internal compiler error: in expand_expr_real_1, using -O2 -g

Attached to Project: Arch Linux
Opened by Caleb James DeLisle (cjd) - Monday, 06 May 2013, 05:32 GMT
Last edited by Allan McRae (Allan) - Friday, 31 May 2013, 23:58 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The prerelease gcc packaged by arch crashes when compiling with -O2 -g flags together.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

[cjd@linode dhtcore]$ wget -qO - http://sprunge.us/XKBQ | cc -g -O2 -std=c99 -o /tmp/routermodule.o -x c -
<stdin>:4047:1: internal compiler error: in expand_expr_real_1, at expr.c:10478
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.archlinux.org/> for instructions.



[cjd@linode dhtcore]$ cc -v
Using built-in specs.
COLLECT_GCC=cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.8.0/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.8-20130502/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-gnu-unique-object --enable-linker-build-id --enable-cloog-backend=isl --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --with-linker-hash-style=gnu --disable-install-libiberty --disable-multilib --disable-libssp --disable-werror --enable-checking=release
Thread model: posix
gcc version 4.8.0 20130502 (prerelease) (GCC)
[cjd@linode dhtcore]$
This task depends upon

Closed by  Allan McRae (Allan)
Friday, 31 May 2013, 23:58 GMT
Reason for closing:  Fixed
Additional comments about closing:  gcc-4.8.1-1 in [testing]
Comment by Allan McRae (Allan) - Monday, 06 May 2013, 10:33 GMT
Reduced test case...
   test.i (0.2 KiB)
Comment by Allan McRae (Allan) - Monday, 06 May 2013, 10:38 GMT

Loading...