public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
* [Bug c/49067] New: Internal Compiler Error with -O3 @ 2011-05-19 17:38 asalina at snet dot net 2011-05-20 10:21 ` [Bug c/49067] " rguenth at gcc dot gnu.org ` (4 more replies) 0 siblings, 5 replies; 6+ messages in thread From: asalina at snet dot net @ 2011-05-19 17:38 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49067 Summary: Internal Compiler Error with -O3 Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned@gcc.gnu.org ReportedBy: asalina@snet.net Created attachment 24292 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24292 Pre=processed .i file GCC aborts with internal compiler error when optimization is set to -O3. Setting optimization to -O2 prevents the problem. Pre-processed .i file attached. System type: Ubuntu 11.04 Entire command line (via Makefile) that triggers the error: cd /home/fcf/blender-svn/cmake/source/blender/editors/space_view3d && /usr/bin/gcc -D__SSE__ -D__MMX__ -D__SSE2__ -DWITH_GAMEENGINE -DGLEW_STATIC -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -fopenmp -msse2 -msse -pipe -fPIC -funsigned-char -fno-strict-aliasing -Wall -Wcast-align -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type -Wstrict-prototypes -Wno-char-subscripts -Wno-unknown-pragmas -Wpointer-arith -Wunused-parameter -Wwrite-strings -O3 -DNDEBUG -DNDEBUG -I/home/fcf/blender-svn/blender/source/blender/editors/include -I/home/fcf/blender-svn/blender/source/blender/blenfont -I/home/fcf/blender-svn/blender/source/blender/blenkernel -I/home/fcf/blender-svn/blender/source/blender/blenloader -I/home/fcf/blender-svn/blender/source/blender/blenlib -I/home/fcf/blender-svn/blender/source/blender/gpu -I/home/fcf/blender-svn/blender/source/blender/imbuf -I/home/fcf/blender-svn/blender/source/blender/makesdna -I/home/fcf/blender-svn/blender/source/blender/makesrna -I/home/fcf/blender-svn/blender/source/blender/windowmanager -I/home/fcf/blender-svn/blender/source/blender/render/extern/include -I/home/fcf/blender-svn/blender/intern/guardedalloc -I/home/fcf/blender-svn/blender/intern/smoke/extern -I/home/fcf/blender-svn/blender/extern/glew/include -I/home/fcf/blender-svn/blender/source/gameengine/BlenderRoutines -save-temps -o CMakeFiles/bf_editor_space_view3d.dir/view3d_select.c.o -c /home/fcf/blender-svn/blender/source/blender/editors/space_view3d/view3d_select.c Output of "gcc -v" Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.5.2-8ubuntu4' --with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.5 --enable-shared --enable-multiarch --with-multiarch-defaults=x86_64-linux-gnu --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib/x86_64-linux-gnu --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.5 --libdir=/usr/lib/x86_64-linux-gnu --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-gold --enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc --disable-werror --with-arch-32=i686 --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.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4) ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/49067] Internal Compiler Error with -O3 2011-05-19 17:38 [Bug c/49067] New: Internal Compiler Error with -O3 asalina at snet dot net @ 2011-05-20 10:21 ` rguenth at gcc dot gnu.org 2011-05-20 10:35 ` [Bug tree-optimization/49067] [4.5 Regression] " rguenth at gcc dot gnu.org ` (3 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-05-20 10:21 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49067 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |4.5.2 Known to fail| |4.5.3 --- Comment #1 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-20 09:56:39 UTC --- I can confirm > /space/rguenther/install/gcc-4.5.3/bin/gcc -O3 -fno-strict-aliasing -S t.i /home/fcf/blender-svn/blender/source/blender/editors/space_view3d/view3d_select.c: In function 'view3d_circle_select_exec': /home/fcf/blender-svn/blender/source/blender/editors/space_view3d/view3d_select.c:2235:12: internal compiler error: in get_constraint_for_component_ref, at tree-ssa-structalias.c:3035 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. which is a regression from 4.5.2. So I suppose Ubuntu has backported some patches. Reducing. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/49067] [4.5 Regression] Internal Compiler Error with -O3 2011-05-19 17:38 [Bug c/49067] New: Internal Compiler Error with -O3 asalina at snet dot net 2011-05-20 10:21 ` [Bug c/49067] " rguenth at gcc dot gnu.org @ 2011-05-20 10:35 ` rguenth at gcc dot gnu.org 2011-05-20 18:48 ` [Bug c/49067] " asalina at snet dot net ` (2 subsequent siblings) 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-05-20 10:35 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49067 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |ASSIGNED Last reconfirmed| |2011.05.20 10:18:43 Component|c |tree-optimization Version|4.5.2 |4.5.3 AssignedTo|unassigned at gcc dot |rguenth at gcc dot gnu.org |gnu.org | Target Milestone|--- |4.5.4 Summary|Internal Compiler Error |[4.5 Regression] Internal |with -O3 |Compiler Error with -O3 Ever Confirmed|0 |1 --- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-05-20 10:18:43 UTC --- static inline int armature_circle_doSelectJoint(void *userData) { struct { void *vc; short select; int mval[2]; float radius; } *data = userData; return (0 <= data->radius && data->select); } int armature_circle_select(void) { struct { void *vc; short select, mval[2]; float radius; } data; return armature_circle_doSelectJoint(&data); } it's caused by the mismatch of the local struct declarations (might be a bug in your app as well). ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug c/49067] [4.5 Regression] Internal Compiler Error with -O3 2011-05-19 17:38 [Bug c/49067] New: Internal Compiler Error with -O3 asalina at snet dot net 2011-05-20 10:21 ` [Bug c/49067] " rguenth at gcc dot gnu.org 2011-05-20 10:35 ` [Bug tree-optimization/49067] [4.5 Regression] " rguenth at gcc dot gnu.org @ 2011-05-20 18:48 ` asalina at snet dot net 2011-08-01 14:00 ` [Bug tree-optimization/49067] " rguenth at gcc dot gnu.org 2012-07-02 10:44 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: asalina at snet dot net @ 2011-05-20 18:48 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49067 asalina at snet dot net changed: What |Removed |Added ---------------------------------------------------------------------------- Component|tree-optimization |c Version|4.5.3 |4.5.2 --- Comment #3 from asalina at snet dot net 2011-05-20 18:28:02 UTC --- (In reply to comment #2) > it's caused by the mismatch of the local struct declarations (might be a bug > in your app as well). Thanks. I'll consult with the app maintainers on this. ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/49067] [4.5 Regression] Internal Compiler Error with -O3 2011-05-19 17:38 [Bug c/49067] New: Internal Compiler Error with -O3 asalina at snet dot net ` (2 preceding siblings ...) 2011-05-20 18:48 ` [Bug c/49067] " asalina at snet dot net @ 2011-08-01 14:00 ` rguenth at gcc dot gnu.org 2012-07-02 10:44 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2011-08-01 14:00 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49067 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P2 Component|c |tree-optimization ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug tree-optimization/49067] [4.5 Regression] Internal Compiler Error with -O3 2011-05-19 17:38 [Bug c/49067] New: Internal Compiler Error with -O3 asalina at snet dot net ` (3 preceding siblings ...) 2011-08-01 14:00 ` [Bug tree-optimization/49067] " rguenth at gcc dot gnu.org @ 2012-07-02 10:44 ` rguenth at gcc dot gnu.org 4 siblings, 0 replies; 6+ messages in thread From: rguenth at gcc dot gnu.org @ 2012-07-02 10:44 UTC (permalink / raw) To: gcc-bugs http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49067 Richard Guenther <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|4.5.4 |4.6.0 --- Comment #4 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-07-02 10:43:56 UTC --- Fixed in 4.6.0, the 4.5 branch is being closed. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-07-02 10:44 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-05-19 17:38 [Bug c/49067] New: Internal Compiler Error with -O3 asalina at snet dot net 2011-05-20 10:21 ` [Bug c/49067] " rguenth at gcc dot gnu.org 2011-05-20 10:35 ` [Bug tree-optimization/49067] [4.5 Regression] " rguenth at gcc dot gnu.org 2011-05-20 18:48 ` [Bug c/49067] " asalina at snet dot net 2011-08-01 14:00 ` [Bug tree-optimization/49067] " rguenth at gcc dot gnu.org 2012-07-02 10:44 ` rguenth at gcc dot gnu.org
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).