public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/49622] New: Compiler segfault
@ 2011-07-04 6:29 paul-gccbug at mineiro dot com
2011-07-04 7:05 ` [Bug c/49622] " jakub at gcc dot gnu.org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: paul-gccbug at mineiro dot com @ 2011-07-04 6:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
Summary: Compiler segfault
Product: gcc
Version: 4.4.3
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: paul-gccbug@mineiro.com
Created attachment 24665
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24665
small (minimal?) example that causes compiler segfault
g++ -Wall -O3 -ffast-math -finline-functions -msse -mfpmath=sse -v -save-temps
-I/home/pmineiro/include -I/usr/local/include -lm segfault.c -o segfault
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.3-4ubuntu5'
--with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared
--enable-multiarch --enable-linker-build-id --with-system-zlib
--libexecdir=/usr/lib --without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --enable-libstdcxx-debug --enable-plugin --enable-objc-gc
--disable-werror --with-arch-32=i486 --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.4.3 (Ubuntu 4.4.3-4ubuntu5)
COLLECT_GCC_OPTIONS='-Wall' '-O3' '-ffast-math' '-finline-functions' '-msse'
'-mfpmath=sse' '-v' '-save-temps' '-I/home/pmineiro/include'
'-I/usr/local/include' '-o' 'segfault' '-shared-libgcc' '-mtune=generic'
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/cc1plus -E -quiet -v
-I/home/pmineiro/include -I/usr/local/include -D_GNU_SOURCE segfault.c
-D_FORTIFY_SOURCE=2 -msse -mfpmath=sse -mtune=generic -Wall -ffast-math
-finline-functions -O3 -fpch-preprocess -fstack-protector -o segfault.ii
ignoring nonexistent directory "/usr/local/include/x86_64-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../x86_64-linux-gnu/include"
ignoring nonexistent directory "/usr/include/x86_64-linux-gnu"
ignoring nonexistent directory "/home/pmineiro/include"
ignoring duplicate directory "/usr/local/include"
as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
/usr/include/c++/4.4
/usr/include/c++/4.4/x86_64-linux-gnu
/usr/include/c++/4.4/backward
/usr/local/include
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/include
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/include-fixed
/usr/include
End of search list.
COLLECT_GCC_OPTIONS='-Wall' '-O3' '-ffast-math' '-finline-functions' '-msse'
'-mfpmath=sse' '-v' '-save-temps' '-I/home/pmineiro/include'
'-I/usr/local/include' '-o' 'segfault' '-shared-libgcc' '-mtune=generic'
/usr/lib/gcc/x86_64-linux-gnu/4.4.3/cc1plus -fpreprocessed segfault.ii -quiet
-dumpbase segfault.c -msse -mfpmath=sse -mtune=generic -auxbase segfault -O3
-Wall -version -ffast-math -finline-functions -fstack-protector -o segfault.s
GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (x86_64-linux-gnu)
compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
GNU C++ (Ubuntu 4.4.3-4ubuntu5) version 4.4.3 (x86_64-linux-gnu)
compiled by GNU C version 4.4.3, GMP version 4.3.2, MPFR version 2.4.2-p1.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 88858f45841827736473e527a4e9ab10
segfault.c: In function 'int main()':
segfault.c:11: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make: *** [segfault] Error 1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/49622] Compiler segfault
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
@ 2011-07-04 7:05 ` jakub at gcc dot gnu.org
2011-07-04 9:32 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 7:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 07:05:18 UTC ---
Can't reproduce, please report it to Ubuntu instead.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug c/49622] Compiler segfault
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
2011-07-04 7:05 ` [Bug c/49622] " jakub at gcc dot gnu.org
@ 2011-07-04 9:32 ` rguenth at gcc dot gnu.org
2011-07-04 9:37 ` [Bug tree-optimization/49622] [4.4 Regression] " rguenth at gcc dot gnu.org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-04 9:32 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-04 09:31:59 UTC ---
Created attachment 24668
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=24668
preprocessed source
Confirmed. Preprocessed source attached - segfaults with any of 4.4.x with
plain -O1.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/49622] [4.4 Regression] Compiler segfault
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
2011-07-04 7:05 ` [Bug c/49622] " jakub at gcc dot gnu.org
2011-07-04 9:32 ` rguenth at gcc dot gnu.org
@ 2011-07-04 9:37 ` rguenth at gcc dot gnu.org
2011-07-04 9:45 ` jakub at gcc dot gnu.org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-04 9:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
Richard Guenther <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target| |x86_64-*-*
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.07.04 09:37:11
Component|c |tree-optimization
Known to work| |4.3.6, 4.5.0
Target Milestone|--- |4.4.7
Summary|Compiler segfault |[4.4 Regression] Compiler
| |segfault
Ever Confirmed|0 |1
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-04 09:37:11 UTC ---
Checking enabled it ICEs at
#2 0x00000000009ffede in execute_todo (flags=7)
at /space/rguenther/src/svn/gcc-4_4-branch/gcc/passes.c:1017
1017 gcc_assert (flags & TODO_update_ssa_any);
after FRE:
Inserted pretmp.47_13 = VIEW_CONVERT_EXPR<v4si>(D.6253);
in predecessor 2
Replaced p.i with pretmp.47_13 in D.6236_2 = p.i;
Replaced p.i with pretmp.47_13 in D.6236_5 = p.i;
D.6253 should be an SSA name. I suppose a DECL_GIMPLE_REG_P setting is
missing somewhere.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/49622] [4.4 Regression] Compiler segfault
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
` (2 preceding siblings ...)
2011-07-04 9:37 ` [Bug tree-optimization/49622] [4.4 Regression] " rguenth at gcc dot gnu.org
@ 2011-07-04 9:45 ` jakub at gcc dot gnu.org
2011-07-07 13:23 ` mikpe at it dot uu.se
2012-03-13 16:23 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2011-07-04 9:45 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-07-04 09:44:18 UTC ---
Ah sorry, I've been trying to reproduce it with cc1 instead of cc1plus.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/49622] [4.4 Regression] Compiler segfault
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
` (3 preceding siblings ...)
2011-07-04 9:45 ` jakub at gcc dot gnu.org
@ 2011-07-07 13:23 ` mikpe at it dot uu.se
2012-03-13 16:23 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: mikpe at it dot uu.se @ 2011-07-07 13:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
--- Comment #5 from Mikael Pettersson <mikpe at it dot uu.se> 2011-07-07 13:22:27 UTC ---
This was fixed for 4.5 by r145494, Richard's merge from the alias-improvements
branch.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug tree-optimization/49622] [4.4 Regression] Compiler segfault
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
` (4 preceding siblings ...)
2011-07-07 13:23 ` mikpe at it dot uu.se
@ 2012-03-13 16:23 ` jakub at gcc dot gnu.org
5 siblings, 0 replies; 7+ messages in thread
From: jakub at gcc dot gnu.org @ 2012-03-13 16:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49622
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|4.4.7 |4.5.0
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-03-13 13:04:27 UTC ---
Fixed in 4.5+, 4.4 is no longer supported.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2012-03-13 16:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-04 6:29 [Bug c/49622] New: Compiler segfault paul-gccbug at mineiro dot com
2011-07-04 7:05 ` [Bug c/49622] " jakub at gcc dot gnu.org
2011-07-04 9:32 ` rguenth at gcc dot gnu.org
2011-07-04 9:37 ` [Bug tree-optimization/49622] [4.4 Regression] " rguenth at gcc dot gnu.org
2011-07-04 9:45 ` jakub at gcc dot gnu.org
2011-07-07 13:23 ` mikpe at it dot uu.se
2012-03-13 16:23 ` jakub 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).