Public bug reported:

Binary package hint: gcc-4.3

Hi,
  when trying to compile any of the two attached versions of preprocessed 
source code, I get an internal error, for GCC 4.1 - 4.3. This seems to work in 
current experimental branch.
See output below. Error message is the same for either version of the source 
code.

_GCC 4.3_

$ gcc-4.3 -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.3.3-5ubuntu4' 
--with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 
--program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4) 
$ gcc-4.3 -O1 error_in_get_addr_dereference_operands_version_1.i
error_in_get_addr_dereference_operands.c: In function 'asm_op':
error_in_get_addr_dereference_operands.c:33: warning: dereferencing 'void *' 
pointer
error_in_get_addr_dereference_operands.c: In function 'main':
error_in_get_addr_dereference_operands.c:40: internal compiler error: in 
get_addr_dereference_operands, at tree-ssa-operands.c:1699
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.

_GCC 4.2_

$ gcc-4.2 -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v 
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared 
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext 
--enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 
--program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-objc-gc --enable-mpfr --with-tune=generic --enable-checking=release 
--build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-5ubuntu1)
$ gcc-4.2 -O1 error_in_get_addr_dereference_operands_version_1.i
error_in_get_addr_dereference_operands.c: In function 'asm_op':
error_in_get_addr_dereference_operands.c:33: warning: dereferencing 'void *' 
pointer
error_in_get_addr_dereference_operands.c: In function 'main':
error_in_get_addr_dereference_operands.c:40: internal compiler error: in 
get_indirect_ref_operands, at tree-ssa-operands.c:1476
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.

_GCC 4.1_

$ gcc-4.1 -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++ --prefix=/usr 
--enable-shared --with-system-zlib --libexecdir=/usr/lib 
--without-included-gettext --enable-threads=posix --enable-nls 
--with-gxx-include-dir=/usr/include/c++/4.1.3 --program-suffix=-4.1 
--enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug 
--enable-checking=release x86_64-linux-gnu
Thread model: posix
gcc version 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-24ubuntu1)
$ gcc-4.1 -O1 error_in_get_addr_dereference_operands_version_1.i
error_in_get_addr_dereference_operands.c: In function 'asm_op':
error_in_get_addr_dereference_operands.c:33: warning: dereferencing 'void *' 
pointer
error_in_get_addr_dereference_operands.c: In function 'main':
error_in_get_addr_dereference_operands.c:40: internal compiler error: in 
get_indirect_ref_operands, at tree-ssa-operands.c:1515
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
Preprocessed source stored into /tmp/ccreAGVy.out file, please attach this to 
your bugreport.

_GCC unstable(gcc-4.5-20090820)_
$ gcc -v
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.5-20090820/configure
Thread model: posix
gcc version 4.5.0 20090820 (experimental) (GCC)

$ gcc -O3 error_in_get_addr_dereference_operands_version_1.i
error_in_get_addr_dereference_operands.c: In function 'asm_op':
error_in_get_addr_dereference_operands.c:33:29: warning: dereferencing 'void *' 
pointer

** Affects: gcc-4.3 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
internal compiler error: in get_addr_dereference_operands
https://bugs.launchpad.net/bugs/421937
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to