[Bug tree-optimization/36318] SRA pessimizes struct copies without -Os

2009-06-05 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-06-05 08:30 --- Subject: Bug 36318 Author: rguenth Date: Fri Jun 5 08:30:21 2009 New Revision: 148203 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148203 Log: 2009-06-05 Alexander Strange astra...@ithinksw.com

[Bug fortran/40349] New: compiler crash with -O3

2009-06-05 Thread pierphil at xs4all dot nl
When I compile the subroutine (pasted at the end of this report) with gfortran -c -ffree-form -O3 bug.f90 The compiler crashes with the output bug.f90: In function 'subbug': bug.f90:1: internal compiler error: in compare_values_warnv, at tree-vrp.c:1031 Please submit a full bug report, with

[Bug fortran/40349] compiler crash with -O3

2009-06-05 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-06-05 09:54 --- Works on me on (powerpc|i686)-apple-darwin9 (10.5.7) on trunk, 4.4.0, 4.4.1, 4.3.3, and 4.2.3 with or without -m64. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40349

[Bug bootstrap/40350] New: [4.5 Regression] Bootstrap failure indwarf2out.c on i686-apple-darwin9

2009-06-05 Thread dominiq at lps dot ens dot fr
At revision 148201, bootstrapping failed on i686-apple-darwin9 at stage 2 with: /opt/gcc/i686-darwin/./prev-gcc/xgcc -B/opt/gcc/i686-darwin/./prev-gcc/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/bin/ -B/opt/gcc/gcc4.5w/i686-apple-darwin9/lib/ -isystem

[Bug c/40351] New: ice in generate_subtree_copies for Linux kernel build

2009-06-05 Thread dcb314 at hotmail dot com
I just tried to compile the recent Linux kernel 2.6.29.4 with the GNU gcc version 4.5 snapshot 20090604. The compiler said arch/x86/kernel/io_apic.c:4182:1: internal compiler error: in generate_subtree_copies, at tree-sra.c:1702 Please submit a full bug report, with preprocessed source if

[Bug c/40351] ice in generate_subtree_copies for Linux kernel build

2009-06-05 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2009-06-05 10:57 --- Created an attachment (id=17953) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17953action=view) gzipped C source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40351

[Bug bootstrap/40350] [4.5 Regression] Bootstrap failure indwarf2out.c on i686-apple-darwin9

2009-06-05 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-06-05 11:22 --- Bootstrap fails also on powerpc-apple-darwin9 since revision 148191: NEW GCC build failure, h...@148191 on native and on i686-pc-linux-gnu: NEW GCC build failure, h...@148193 on native -- dominiq at lps dot

[Bug c/40352] New: ICE in dwarf2out_begin_epilogue, at dwarf2out.c:2738

2009-06-05 Thread michael dot a dot richmond at nasa dot gov
When I attempt to compile gcc 4.5.0 on a Sun Ultra 10 under Debian Linux I get the following messages: In file included from /home/mrichmon/gcc-4.5-20090604/libgcc/../gcc/unwind-dw2-fde-glibc.c:59:0: /home/mrichmon/gcc-4.5-20090604/libgcc/../gcc/unwind-dw2-fde.c: In function

[Bug tree-optimization/40351] [4.5 Regression] ice in generate_subtree_copies for Linux kernel build

2009-06-05 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-06-05 11:40 --- Reduced testcase, fails with -O. struct IO_APIC_route_entry { unsigned int vector : 8; unsigned int delivery_mode : 1; unsigned int mask : 1; unsigned int __reserved_2 : 15; unsigned int

[Bug c/40339] gcc: error trying to exec 'as': execvp: No such file or directory

2009-06-05 Thread dsandler at paychex dot com
--- Comment #6 from dsandler at paychex dot com 2009-06-05 14:59 --- (In reply to comment #5) You haven't told us haw you have configured gcc, if it was a native build or cross, etc. If it is a native build, checking that /usr/bin/as exists is the first step. You can e.g. strace the

[Bug fortran/40354] bug with procedure pointers and C interoperability

2009-06-05 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2009-06-05 15:12 --- Looks like a bug in ifort and g95. 15.1.2.4 C FUNLOC (X) Description. Returns the C address of the argument. Class. Inquiry function. Argument. X shall either be a procedure that is interoperable,

[Bug c++/40355] New: ICE in prop_phis, at tree-loop-distribution.c:357

2009-06-05 Thread fierevere at ya dot ru
sources are from http://github.com/mangos/mangos/commits/master GIT git://github.com/mangos/mangos.git rev 7966 CXXFLAGS -mmmx -msse2 -march=pentium4 -mfpmath=sse -g0 -ftree-vectorize -floop-interchange -floop-block -floop-strip-mine -ftree-loop-distribution -O2 -fomit-frame-pointer

[Bug c++/40355] ICE in prop_phis, at tree-loop-distribution.c:357

2009-06-05 Thread fierevere at ya dot ru
--- Comment #1 from fierevere at ya dot ru 2009-06-05 15:34 --- Created an attachment (id=17954) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17954action=view) the failed file ../../../../dep/ACE_wrappers/ace/POSIX_Proactor.cpp:857: internal compiler error: in prop_phis, at

[Bug middle-end/40340] [4.4/4.5 Regression] Fortification warning no longer emitted in inlines

2009-06-05 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-06-05 15:35 --- Subject: Bug 40340 Author: jakub Date: Fri Jun 5 15:35:13 2009 New Revision: 148212 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=148212 Log: PR middle-end/40340 * tree-ssa-live.c

[Bug middle-end/40317] verify_flow_info ICE with nested functions

2009-06-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2009-06-05 15:43 --- Confirmed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/40351] [4.5 Regression] ice in generate_subtree_copies for Linux kernel build

2009-06-05 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2009-06-05 15:48 --- Created an attachment (id=17955) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17955action=view) Fix This patch fixes this problem. I'll post it to the mailing list once I get to bootstrap it which may take a

[Bug c/40339] gcc: error trying to exec 'as': execvp: No such file or directory

2009-06-05 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2009-06-05 15:52 --- Depends what command gives you that execvp: No such file or directory error. Do yum install strace strace -f -o /tmp/gcc.log /whatever/command/gave/the/error its arguments and look where it was looking for as before

[Bug target/30354] -Os doesn't optimize a/CONST even if it saves size.

2009-06-05 Thread aldot at gcc dot gnu dot org
--- Comment #6 from aldot at gcc dot gnu dot org 2009-06-05 16:19 --- CC'ing honza as i386 maintainer -- aldot at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/28632] VRP should understand bitwise OR and AND

2009-06-05 Thread aldot at gcc dot gnu dot org
--- Comment #16 from aldot at gcc dot gnu dot org 2009-06-05 16:27 --- (In reply to comment #15) (In reply to comment #13) Created an attachment (id=16113) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16113action=view) [edit] Updated doubleint-based patch. DOES NOT PASS

[Bug fortran/40354] bug with procedure pointers and C interoperability

2009-06-05 Thread kargl at gcc dot gnu dot org
--- Comment #3 from kargl at gcc dot gnu dot org 2009-06-05 16:48 --- To get the code to compile, one can change external sub1 to real(c_float), external, bind(c) :: sub1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40354

[Bug fortran/40354] bug with procedure pointers and C interoperability

2009-06-05 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2009-06-05 16:53 --- (In reply to comment #3) To get the code to compile, one can change external sub1 to real(c_float), external, bind(c) :: sub1 Forgot to add the necessary changes for sub1. function sub1(a,b) bind(c)

[Bug testsuite/32837] FAIL: gcc.dg/pragma-darwin.c

2009-06-05 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-06-05 16:59 --- The errors have disappeared between revisions 127060 and 127073. Closing as fixed. -- dominiq at lps dot ens dot fr changed: What|Removed |Added

[Bug c/40356] New: incompatible pointer type warnings don't mention the actual types

2009-06-05 Thread naesten at gmail dot com
For instance: ../../gdb/solib-svr4.c: In function ‘exec_pie_relocate’: ../../gdb/solib-svr4.c:900: warning: passing argument 2 of ‘build_section_table’ from incompatible pointer type ../../gdb/solib-svr4.c:900: warning: passing argument 3 of ‘build_section_table’ from incompatible pointer type

[Bug c/40356] incompatible pointer type warnings don't mention the actual types

2009-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-06-05 17:32 --- *** This bug has been marked as a duplicate of 30949 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/30949] incompatible pointer type warning does not point to declaration

2009-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-06-05 17:32 --- *** Bug 40356 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/40357] New: compiler hang for C++ code

2009-06-05 Thread dcb314 at hotmail dot com
I just tried to compile the Suse Factory package xalan-c-1.10.0-1.3 with the GNU gcc version 4.5 snapshot 20090604. The compiler hung for over 15 minutes on an idle machine. Preprocessed source code attached. No flags required. Compilation using gcc 4.3.2 takes seconds. -- Summary:

[Bug c++/40357] compiler hang for C++ code

2009-06-05 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2009-06-05 18:28 --- Created an attachment (id=17956) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17956action=view) C++source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40357

[Bug bootstrap/40347] [4.5 Regression] i386-darwin ICEs while building libgcc during stage2

2009-06-05 Thread rth at gcc dot gnu dot org
--- Comment #2 from rth at gcc dot gnu dot org 2009-06-05 19:51 --- Laurent, I don't seem to be able to reproduce your PA problem from a cross-compile. Please attach a preprocessed file that exhibits the problem. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40347

[Bug bootstrap/40347] [4.5 Regression] i386-darwin ICEs while building libgcc during stage2

2009-06-05 Thread rth at gcc dot gnu dot org
--- Comment #3 from rth at gcc dot gnu dot org 2009-06-05 20:04 --- Likewise, Andrew, I'll need a preprocessed file. Assuming something that doesn't show up w/ stage1 can even be reproduced via cross-compiler. Failing that, give me as much information as you can about how the CFA

[Bug fortran/40358] New: nternal error: Segmentation Fault (program f951) on Solaris.

2009-06-05 Thread david dot kirkby at onetel dot net
The following bit of code generates an internal compiler error on a Sun T5240. Using the *exact* same binary on a Sun Blade 2000, no internal error is generated. kir...@t2:~$ gfortran secondtst.f gfortran: Internal error: Segmentation Fault (program f951) Please submit a full bug report. See

[Bug fortran/40358] nternal error: Segmentation Fault (program f951) on Solaris.

2009-06-05 Thread dominiq at lps dot ens dot fr
--- Comment #1 from dominiq at lps dot ens dot fr 2009-06-05 21:45 --- Works for me on i686-apple-darwin9 if I remove the lines: REAL SECOND EXTERNAL SECOND since SECOND is a gfortran intrinsic. -- dominiq at lps dot ens dot fr changed:

[Bug fortran/40358] nternal error: Segmentation Fault (program f951) on Solaris.

2009-06-05 Thread david dot kirkby at onetel dot net
--- Comment #2 from david dot kirkby at onetel dot net 2009-06-05 22:10 --- Thanks. On closer inspection, it appears compilation, which was performed on one SPARC and moved to another is broken quite seriously. Ignore this bug report. dave --

[Bug bootstrap/40338] [4.5 Regression] bootstrap comparision fails on 32 bit PA when comparing libgcc objects

2009-06-05 Thread sje at cup dot hp dot com
--- Comment #11 from sje at cup dot hp dot com 2009-06-05 22:30 --- Getting back to what is actually causing the failure on HPPA, there seem to be 2 problems. One is the random seed used by get_file_function_name. If I workaround that by using -frandom-seed=make-it-work I still get a

[Bug fortran/40358] nternal error: Segmentation Fault (program f951) on Solaris.

2009-06-05 Thread jvdelisle at gcc dot gnu dot org
--- Comment #3 from jvdelisle at gcc dot gnu dot org 2009-06-05 22:58 --- Not a bug in gfortran. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/34849] Missed autoincrement opportunities due to a different basic block structure.

2009-06-05 Thread ramana at gcc dot gnu dot org
--- Comment #12 from ramana at gcc dot gnu dot org 2009-06-05 23:16 --- (In reply to comment #10) Ramana, can you please add the exact command line you are using (so that I can see what flags you use and what cpu you target) and the exact output you are expecting? I have hacked