This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/48098] New: internal compiler error: in build_vector_from_val, at tree.c:1380
- From: "schnetter at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 12 Mar 2011 22:48:15 +0000
- Subject: [Bug tree-optimization/48098] New: internal compiler error: in build_vector_from_val, at tree.c:1380
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48098
Summary: internal compiler error: in build_vector_from_val, at
tree.c:1380
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: tree-optimization
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: schnetter@gmail.com
Created attachment 23638
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=23638
Failing preprocessed source coden
I am using
$ /Users/eschnett/gcc/bin/gcc --version
gcc (GCC) 4.6.0 20110311 (experimental)
$ svn info
Path: .
URL: svn://gcc.gnu.org/svn/gcc/trunk
Repository Root: svn://gcc.gnu.org/svn/gcc
Repository UUID: 138bc75d-0d04-0410-961f-82ee72b054a4
Revision: 170879
Node Kind: directory
Schedule: normal
Last Changed Author: jsm28
Last Changed Rev: 170879
Last Changed Date: 2011-03-11 11:51:29 -0500 (Fri, 11 Mar 2011)
I issue the command
$ /Users/eschnett/gcc/bin/gcc -std=gnu99 -O3 -c rotatingsymmetry180.i
and I receive the error message
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:
In function âBndRot180VIâ:
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:495:11:
warning: passing argument 1 of âfreeâ discards ârestrictâ qualifier from
pointer target type [enabled by default]
/usr/include/stdlib.h:160:6: note: expected âvoid *â but argument is of type
âstruct slabsetup * restrict* restrictâ
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:514:12:
warning: passing argument 5 of âSlab_MultiTransfer_Applyâ from incompatible
pointer type [enabled by default]
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/Slab/src/slab.h:113:1:
note: expected âconst void * const restrict* const restrictâ but argument is of
type âvoid * restrict* restrictâ
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:521:12:
warning: passing argument 7 of âSlab_MultiTransferâ from incompatible pointer
type [enabled by default]
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/Slab/src/slab.h:128:1:
note: expected âconst void * const restrict* const restrictâ but argument is of
type âvoid * restrict* restrictâ
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:544:10:
warning: passing argument 10 of âHyperslab_GlobalMappingByIndexâ from
incompatible pointer type [enabled by default]
/Users/eschnett/EinsteinToolkit-hg/configs/sim-gcc46/bindings/include/RotatingSymmetry180_Prototypes.h:61:5:
note: expected âint *â but argument is of type âint (*)[3]â
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:716:3:
warning: passing argument 1 of âfreeâ discards ârestrictâ qualifier from
pointer target type [enabled by default]
/usr/include/stdlib.h:160:6: note: expected âvoid *â but argument is of type
âvoid * restrict* restrictâ
/Users/eschnett/EinsteinToolkit-hg/arrangements/CactusNumerical/RotatingSymmetry180/src/rotatingsymmetry180.c:19:5:
internal compiler error: in build_vector_from_val, at tree.c:1380
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
The same code compiles fine with gcc 4.5.2. It also compiles fine if I use -O2
instead of -O3.
- Follow-Ups:
- [Bug tree-optimization/48098] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: schnetter at gmail dot com
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: jakub at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: jakub at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: jakub at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: jakub at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: jakub at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: jakub at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: rguenth at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: rguenth at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: rguenth at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: rguenth at gcc dot gnu.org
- [Bug tree-optimization/48098] [4.6 Regression] internal compiler error: in build_vector_from_val, at tree.c:1380
- From: rguenth at gcc dot gnu.org