[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2007-07-18 06:00 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/31996] can't determine dependence between p-a[x+i] and *((int *)p + x + i + 8)

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-18 06:02 --- The testcase was fixed after: 2007-07-09 Richard Guenther [EMAIL PROTECTED] PR middle-end/32698 * fold-const.c (fold_plusminus_mult_expr): Move constant arguments second to allow

[Bug target/32803] New: -Os: shorter load immediates for x86_64

2007-07-18 Thread dean at arctic dot org
gcc currently uses mov $imm32,reg and mov $imm64,reg for loading non-zero immediates... these cost 5 and 11 bytes resp. for space optimizations there are shorter choices. for immediates -128..127 the following generates 64-bit sign-extended results in 3 bytes: push $imm8 pop %rax the

[Bug bootstrap/32785] (hpux11.11)link test not allowed GCC_NO_EXECUTABLES.

2007-07-18 Thread cnstar9988 at gmail dot com
--- Comment #18 from cnstar9988 at gmail dot com 2007-07-18 06:49 --- (In reply to comment #13) Read config.log. Look for messages about collect2. I think the GCC build configure, may add -lpthread, or pass some option across Makefile. LDFLAGS_FOR_BUILD=-lpthread

[Bug fortran/32804] New: ISO C Binding: C_LOC argument checking needs improvement

2007-07-18 Thread burnus at gcc dot gnu dot org
subroutine aaa(in) use iso_c_binding implicit none CHARACTER(KIND=C_CHAR), DIMENSION(*), TARGET :: in type(c_ptr) :: cptr cptr = c_loc(in) end subroutine Wrongly rejected with: Error: CHARACTER argument 'in' to 'c_loc' at (1) must have a length of 1

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-18 Thread bonzini at gcc dot gnu dot org
--- Comment #39 from bonzini at gnu dot org 2007-07-18 09:02 --- Subject: Bug 32004 Author: bonzini Date: Wed Jul 18 09:02:38 2007 New Revision: 126715 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126715 Log: 2007-07-18 Paolo Bonzini [EMAIL PROTECTED] Revert:

[Bug c/32805] New: strange error from winavr 20070525

2007-07-18 Thread xiewensheng at gmail dot com
avr-gcc -S -mmcu=atmega16hva -I. -gstabs -DF_CPU=400UL -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=test.lst -std=gnu99 -MD -MP -MF .dep/test.s.d test.c -o test.s test.c:7:9: error: invalid suffix +4 on integer constant make.exe:

[Bug c/32805] strange error from winavr 20070525

2007-07-18 Thread schwab at suse dot de
--- Comment #1 from schwab at suse dot de 2007-07-18 09:26 --- The preprocessing token 0x9E+4 does not have the lexical form of a constant, thus it is invalid. You need to make sure that every pp-number that is converted to a token is valid as such. -- schwab at suse dot de

[Bug tree-optimization/32806] New: Missing optimization to remove backword dependencies

2007-07-18 Thread irar at il dot ibm dot com
for (i=0; iN; i++) { D[i] = A[i] + Y; A[i+1] = B[i] + X; } Even though, this loop contains a backward-carried dependence between A[i+1] and A[i], it is vectorizable - the stmts of the loop should be interchanged to get: for (i=0; iN; i++) { A[i+1] = B[i] + X; D[i] = A[i] + Y; } which

[Bug java/32807] New: make fails, Java CLASSPATH

2007-07-18 Thread pieter dot donche at ua dot ac dot be
Sun Sparc Solaris 10. binutils 2.16, gnu make 3.81, gmp 4.2.1, mpfr 2.2.1 gcc-3.4.6 I downloaded gcc-4.2.0, unpacked it, in a separate objdir ./configure make after 4 hours of compilation, ends with /export/nscr/edp/pdon/builds/src/gnu/objdir/./gcc/gcj -B/export/nscr/edp/pdon/bu

[Bug target/32808] New: cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499

2007-07-18 Thread rask at sygehus dot dk
Trunk revision 126699 fails to build when configured like this: --target cris-axis-elf --with-newlib --enable-sim --disable-gdb --disable-nls --enable-checking=yes,rtl /home/rask/build/gcc-cris-axis-elf/./gcc/xgcc -B/home/rask/build/gcc-cris-axis-elf/./gcc/ -nostdinc

[Bug fortran/32801] USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault

2007-07-18 Thread fxcoudert at gcc dot gnu dot org
--- Comment #1 from fxcoudert at gcc dot gnu dot org 2007-07-18 11:24 --- Backtrace on x86_64-linux: Program received signal SIGSEGV, Segmentation fault. 0x00459311 in resolve_symbol (sym=0xf0bb90) at ../../../trunk3/gcc/fortran/resolve.c:7284 7284 if (sym-ts.type ==

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-07-18 Thread rask at sygehus dot dk
--- Comment #3 from rask at sygehus dot dk 2007-07-18 11:27 --- It happens on sh-unknown-elf too compiling newlib: make[8]: Entering directory `/home/rask/build/gcc-sh-unknown-elf/sh-unknown-elf/m2a/newlib/libc/stdlib' Makefile:1333: warning: overriding commands for target

[Bug other/30335] CreateFileMapping fails in Vista due to lack of admin privileges

2007-07-18 Thread dannysmith at users dot sourceforge dot net
--- Comment #15 from dannysmith at users dot sourceforge dot net 2007-07-18 11:44 --- Fixed. I have modified Christoph's original patch to avoid problems on NT4 Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug target/31897] [4.3 Regression] 30% speed regression with -m32 on Opteron with rnflow

2007-07-18 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-07-18 12:05 --- The problem is in cptrf2 function when both -mfpmath=387 and -ftree-vectorize are used. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31897

[Bug target/32808] cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499

2007-07-18 Thread patchapp at dberlin dot org
--- Comment #1 from patchapp at dberlin dot org 2007-07-18 12:10 --- Subject: Bug number PR target/32808 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01529.html --

[Bug tree-optimization/32698] [4.3 regression] inefficient pointer expression

2007-07-18 Thread zippel at gcc dot gnu dot org
--- Comment #11 from zippel at gcc dot gnu dot org 2007-07-18 12:56 --- This bug is not fixed yet. Current gcc still generates: return (*(p + (i + 2) * 4) + *(p + (i + 1) * 4)) + *(p + (i + 3) * 4); 1. it still fails to extract the common expression at tree level. 2. it generates

[Bug target/32808] cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499

2007-07-18 Thread hp at gcc dot gnu dot org
--- Comment #2 from hp at gcc dot gnu dot org 2007-07-18 13:31 --- The patch is ok, thanks. -- hp at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/32808] cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499

2007-07-18 Thread rask at gcc dot gnu dot org
--- Comment #3 from rask at gcc dot gnu dot org 2007-07-18 13:47 --- Subject: Bug 32808 Author: rask Date: Wed Jul 18 13:47:28 2007 New Revision: 126720 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126720 Log: PR target/32808 * config/cris/cris.c

[Bug target/32808] cris: ICE: RTL check: expected elt 0 type 'e' or 'u', have 'w' (rtx const_int) in cris_print_index, at config/cris/cris.c:499

2007-07-18 Thread rask at sygehus dot dk
--- Comment #4 from rask at sygehus dot dk 2007-07-18 13:48 --- Fixed as of revision 126720. -- rask at sygehus dot dk changed: What|Removed |Added

[Bug target/32338] [4.3 Regression] Error: .prologue within prologue

2007-07-18 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-07-18 14:14 --- The thing that changed is that new dataflow now allows moving around the (set (r12) (something)) frame related instructions within EBBs during scheduling more easily. These are generated for the sibcall epilogues

[Bug target/32338] [4.3 Regression] Error: .prologue within prologue

2007-07-18 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-07-18 14:15 --- Created an attachment (id=13934) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13934action=view) gcc43-pr32338-1.patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32338

[Bug target/32338] [4.3 Regression] Error: .prologue within prologue

2007-07-18 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-07-18 14:16 --- Created an attachment (id=13935) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13935action=view) gcc43-pr32338-2.patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32338

[Bug c/32796] [4.3 Regression] internal compiler error: tree check: expected integer_type or enumeral_type or boolean_type or real_type, have pointer_type in int_fits_type_p

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-07-18 14:16 --- Patch which needs testing: Index: c-typeck.c === --- c-typeck.c (revision 126719) +++ c-typeck.c (working copy) @@ -8218,8 +8239,9 @@

[Bug target/32338] [4.3 Regression] Error: .prologue within prologue

2007-07-18 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-07-18 14:16 --- Created an attachment (id=13936) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13936action=view) gcc43-pr32338-3.patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32338

[Bug middle-end/32628] [4.3 Regression] bogus integer overflow warning

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-07-18 15:22 --- So don't set overflow for conversion. When I tested this patch, it caused Ada not to bootstrap so I have to look more into it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32628

4.1.2 bug

2007-07-18 Thread Rob Lembree
gcc version 4.1.2 20070502 on Fedora Core 7, Dell D600. Build arguments were: g++ -c -O3 -g -Wall -Wextra -Wno-unused-parameter -Wundef -Woverloaded-virtual -DPLATFORM_X86 -o Configuration.o Configuration.cpp We have multiple versions of a method called writeEntry, one that takes a boolean as

[Bug middle-end/32791] missed optimization after inline functions with multiple return statements

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-18 15:37 --- Confirmed. I will file a seperate bug for a missed optimization at the tree level. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed

2007-07-18 Thread dir at lanl dot gov
Configured with: ../gcc/configure --disable-bootstrap --disable-multilib --prefix=/usr/local/gfortran --enable-languages=c,fortran Thread model: posix gcc version 4.3.0 20070718 (experimental) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32635

[Bug tree-optimization/32810] New: Not folding of const element for goto

2007-07-18 Thread pinskia at gcc dot gnu dot org
Testcase: void a(int*); void b(int*); void c(int*); void d(int*); void func2(int* val) { const void *const labels[] = { a, b, c, d }; goto *labels[2]; a: a(val); b: b(val); c: c(val); d: d(val); } Right now we get (for PPC-darwin): ;; goto labels[2] (insn 6 5 7 t5.c:10 (set

[Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-18 15:43 --- This might have gotten fixed by the patch which fixed PR 32705. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32635

[Bug bootstrap/32794] GCC (SVN) naive build fails due to use of '%I64d'

2007-07-18 Thread gdr at cs dot tamu dot edu
--- Comment #2 from gdr at cs dot tamu dot edu 2007-07-18 16:02 --- Subject: Re: GCC (SVN) naive build fails due to use of '%I64d' pinskia at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Anyways the work around is to configure with |

[Bug middle-end/32668] The type-generic builtins apply default promotions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2007-07-18 16:13 --- Subject: Bug 32668 Author: ghazi Date: Wed Jul 18 16:13:09 2007 New Revision: 126723 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126723 Log: PR middle-end/32668 * builtin-attrs.def

[Bug middle-end/32668] The type-generic builtins apply default promotions

2007-07-18 Thread ghazi at gcc dot gnu dot org
-- ghazi at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |ghazi at gcc dot gnu dot org |dot org

[Bug middle-end/32668] The type-generic builtins apply default promotions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #4 from ghazi at gcc dot gnu dot org 2007-07-18 16:40 --- Fixed on trunk, problem persists on branches. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed

2007-07-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2007-07-18 17:00 --- I'll commit the test case so there's no regression. Assigning to myself so I don't forget it. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32795] [4.3 regression] allocatable components are nullified prematurely

2007-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2007-07-18 17:12 --- In the code below, X%I is set to 0B, although the data should be still available: $ cat pr32795.f90 type :: a integer, allocatable :: i(:) end type a type(a) :: x, y x = a ((/ 1,2,3 /)) y = a

[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #6 from ghazi at gcc dot gnu dot org 2007-07-18 17:30 --- Subject: Bug 30652 Author: ghazi Date: Wed Jul 18 17:30:38 2007 New Revision: 126724 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126724 Log: PR target/30652 PR middle-end/20558 *

[Bug middle-end/20558] variadic __builtin_isinf broken

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #2 from ghazi at gcc dot gnu dot org 2007-07-18 17:30 --- Subject: Bug 20558 Author: ghazi Date: Wed Jul 18 17:30:38 2007 New Revision: 126724 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126724 Log: PR target/30652 PR middle-end/20558 *

[Bug middle-end/20558] variadic __builtin_isinf broken

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2007-07-18 17:33 --- Fixed on trunk, problem persists on branches. -- ghazi at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #7 from ghazi at gcc dot gnu dot org 2007-07-18 17:42 --- Subject: Bug 30652 Author: ghazi Date: Wed Jul 18 17:42:12 2007 New Revision: 126725 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126725 Log: PR target/30652 * builtins.c

[Bug inline-asm/32811] New: Cannot flag inline assembler code noreturn

2007-07-18 Thread us15 at os dot inf dot tu-dresden dot de
For a function declared noreturn the compiler cannot verify that inline assembler code in the function body indeed does not return and therefore produces the warning 'noreturn' function does return. I would like a mechanism to tell the compiler that an inline assembler statement makes a function

[Bug fortran/32795] allocatable components are nullified prematurely

2007-07-18 Thread dfranke at gcc dot gnu dot org
--- Comment #3 from dfranke at gcc dot gnu dot org 2007-07-18 17:47 --- Not a regression. The same happenes without the patch for PR31320, as well as with gfortran-4.2. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #8 from ghazi at gcc dot gnu dot org 2007-07-18 17:51 --- Subject: Bug 30652 Author: ghazi Date: Wed Jul 18 17:51:13 2007 New Revision: 126726 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126726 Log: PR target/30652 * builtins.c

[Bug target/30652] SSE expansion is missing for isinf() and other fpclassify functions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #9 from ghazi at gcc dot gnu dot org 2007-07-18 18:00 --- Generic implementations for isinf, isfinite and isnormal installed on trunk. Still possibly want optabs where it is profitable. Also, isnan doesn't allow for optabs at the moment. Should convert it into this

[Bug fortran/32732] [Bind C] Character scalars are passed as arrays

2007-07-18 Thread patchapp at dberlin dot org
--- Comment #1 from patchapp at dberlin dot org 2007-07-18 18:10 --- Subject: Bug number PR 32732 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01542.html --

[Bug fortran/32627] [ISO Bind C] Accept c_f_pointer for TYPE

2007-07-18 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-07-18 18:10 --- Subject: Bug number PR 32627 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01541.html --

[Bug inline-asm/32811] Cannot flag inline assembler code noreturn

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-07-18 18:31 --- I think this is expected and maybe not going to be fixed as inline-asm cannot change the control flow at all. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32811

[Bug rtl-optimization/32773] [4.3 Regression] SH: ICE in create_pre_exit, at mode-switching.c:223

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-07-18 19:45 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/32780] [4.3 Regression] ICE in extract_range_from_binary_expr, at tree-vrp.c:1793 at -O2 or higher

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-07-18 20:15 --- This patch adds extra testing (though not tested fully) to catch this earlier: Index: tree.c === --- tree.c (revision 126721) +++ tree.c

[Bug fortran/32801] USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault

2007-07-18 Thread crickett at lanl dot gov
--- Comment #2 from crickett at lanl dot gov 2007-07-18 20:18 --- (In reply to comment #1) sym-ts has type BT_DERIVED, but yet sym-ts.derived is NULL. Maybe this should be set earlier, or maybe the test on (sym-ts.type == BT_DERIVED sym-ts.derived-components == NULL) just needs

[Bug middle-end/32780] [4.3 Regression] ICE in extract_range_from_binary_expr, at tree-vrp.c:1793 at -O2 or higher

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-07-18 20:19 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32780] [4.3 Regression] ICE in extract_range_from_binary_expr, at tree-vrp.c:1793 at -O2 or higher

2007-07-18 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-07-18 20:20 --- Here is a patch which fixes this specific ICE: Index: fold-const.c === --- fold-const.c(revision 126721) +++ fold-const.c(working copy)

[Bug target/32641] C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions

2007-07-18 Thread ghazi at gcc dot gnu dot org
--- Comment #3 from ghazi at gcc dot gnu dot org 2007-07-18 20:22 --- Subject: Bug 32641 Author: ghazi Date: Wed Jul 18 20:22:32 2007 New Revision: 126730 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126730 Log: fixincludes: PR target/32641 * inclhack.def

[Bug target/32641] C99 fpclassify, isinf, isfinite, isnormal may raise FP exceptions

2007-07-18 Thread ghazi at gcc dot gnu dot org
-- ghazi at gcc dot gnu dot org changed: What|Removed |Added Known to fail|4.1.2 4.2.0 4.3.0 |4.1.2 4.2.0 Known to work||4.3.0

[Bug fortran/32801] USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault

2007-07-18 Thread patchapp at dberlin dot org
--- Comment #3 from patchapp at dberlin dot org 2007-07-18 21:15 --- Subject: Bug number PR 32801 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01559.html --

[Bug libfortran/32812] New: random_seed and date_and_time

2007-07-18 Thread tkoenig at gcc dot gnu dot org
As described in [EMAIL PROTECTED], the interaction between date_and_time and random_seed when getting a seed from date_and_time. Currently, we use the first four values of the put argument to random_seed for the most significant digits. Unfortunately, these correspond to the most slowly varying

[Bug fortran/32801] USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault

2007-07-18 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2007-07-18 22:02 --- Subject: Bug 32801 Author: burnus Date: Wed Jul 18 22:02:21 2007 New Revision: 126732 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126732 Log: 2007-07-18 Christopher D. Rickett [EMAIL PROTECTED]

[Bug fortran/32801] USE of ISO_C_BINDING, ONLY: C_LOC causes compiler seg fault

2007-07-18 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2007-07-18 22:06 --- - In the original programs (from which this example is extracted, the declaration of C_PTR prior to C_LOC causes the compiler to erroneously diagnose various other constructs The reported problem has been

[Bug fortran/32813] New: [4.3 Regression] ICE for array expression in empty if statement, compiled with -fbounds-check

2007-07-18 Thread jaydub66 at gmail dot com
I get an ICE when compiling the following code with the -fbounds-check option: program emptyif implicit none integer i,K(4) if (K(i)==0) then ! do absolutely nothing end if end program the error message is: emptyif.f90: In function ‘MAIN__’: emptyif.f90:6: internal compiler

bug and fix for gcc 4.xx on Solaris sparc

2007-07-18 Thread Rejean Lepage
Hello, I did not find how to add a bug in gcc bugzilla. Anyway do what you want whith this information. This error occurs on sparc Solaris 9 and sparc Solaris 10, when compiling GCC version 4.1.2 and 4.2.0. However replacing SHELL = /bin/sh by SHELL = /bin/bash in Makefile do work fine. You

[Bug fortran/32814] New: backslash zero no longer writes null in string

2007-07-18 Thread jhettmer at doprad dot com
Related to resolved bug 30278. The handling of backslash has fundamentally changed since 3.2.2 and earlier. Specifically it USED to allow inserting a null at the end of a string (CRITICAL for communicating with C) and I see now that there is a list of honored excapes and null (\0) seems not to

[Bug fortran/32600] [ISO Bind C] C_LOC/C_FUNLOC should not be library functions

2007-07-18 Thread patchapp at dberlin dot org
--- Comment #4 from patchapp at dberlin dot org 2007-07-18 23:30 --- Subject: Bug number PR 32600 A patch for this bug has been added to the patch tracker. The mailing list url for the patch is http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01565.html --

Re: bug and fix for gcc 4.xx on Solaris sparc

2007-07-18 Thread Andrew Pinski
On 7/18/07, Rejean Lepage [EMAIL PROTECTED] wrote: Hello, I did not find how to add a bug in gcc bugzilla. Anyway do what you want whith this information. This error occurs on sparc Solaris 9 and sparc Solaris 10, when compiling GCC version 4.1.2 and 4.2.0. This is mentioned on the install

[Bug other/30362] Problems loading Openen Office 2

2007-07-18 Thread vk3ty at bigpond dot com
--- Comment #3 from vk3ty at bigpond dot com 2007-07-19 01:49 --- Folks, I have set this to FIXED only because the problm has been eradicated. How? Simple - I reloaded the whole machine from scratch. No problems. The cause - don't know. Thanks for the support. Rgds Nick K --

[Bug fortran/32814] backslash zero no longer writes null in string

2007-07-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #1 from jvdelisle at gcc dot gnu dot org 2007-07-19 02:10 --- This bug has been fixed in 4.3. This was pr32223. There are no plans to back port this at the moment. Have you tried using binaries for 4.3 from Fortran wiki? Or build it youself? *** This bug has been

[Bug fortran/32223] Backslash handling inconsistent

2007-07-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #6 from jvdelisle at gcc dot gnu dot org 2007-07-19 02:10 --- *** Bug 32814 has been marked as a duplicate of this bug. *** -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug other/18246] struct-layout-1 generator broken on i686-pc-mingw32

2007-07-18 Thread dannysmith at users dot sourceforge dot net
--- Comment #4 from dannysmith at users dot sourceforge dot net 2007-07-19 02:17 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-07/msg01521.html Danny -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug fortran/31213] ICE on valid code with gfortran

2007-07-18 Thread jvdelisle at gcc dot gnu dot org
--- Comment #4 from jvdelisle at gcc dot gnu dot org 2007-07-19 02:19 --- Paul, in response to your recent concern on the ml, I am going to start chipping at this. -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/32815] New: crtstuff.c,warning, will always evaluate as 'true'

2007-07-18 Thread cnstar9988 at gmail dot com
../../src/gcc/crtstuff.c: In function '__do_global_dtors_aux': ../../src/gcc/crtstuff.c:298: warning: the address of '__deregister_frame_info' will always evaluate as 'true' ../../src/gcc/crtstuff.c: In function 'frame_dummy': ../../src/gcc/crtstuff.c:332: warning: the address of

[Bug bootstrap/32815] crtstuff.c,warning, will always evaluate as 'true'

2007-07-18 Thread cnstar9988 at gmail dot com
--- Comment #1 from cnstar9988 at gmail dot com 2007-07-19 03:01 --- boot gcc, 3.4.6 -- cnstar9988 at gmail dot com changed: What|Removed |Added GCC build triplet|

[Bug bootstrap/32815] crtstuff.c,warning, will always evaluate as 'true'

2007-07-18 Thread cnstar9988 at gmail dot com
-- cnstar9988 at gmail dot com changed: What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32815

[Bug tree-optimization/32720] [4.3 Regression] No coalesce ssa_names

2007-07-18 Thread rosana07a at gmail dot com
--- Comment #9 from rosana07a at gmail dot com 2007-07-19 03:02 --- Created an attachment (id=13937) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13937action=view) combined testcase; obsoletes all previous with -O2 -c will fail using gcc-4.3 and compile using gcc4.2.x --

[Bug bootstrap/32815] crtstuff.c,warning, will always evaluate as 'true'

2007-07-18 Thread cnstar9988 at gmail dot com
--- Comment #2 from cnstar9988 at gmail dot com 2007-07-19 03:12 --- I think $(GCC)/Makefile.in must remove -O2 for build. Because the boot GCC may have some bugs with -O2. It's known that -O2 contain -fstrict-aliasing which has bugs since gcc 3.X. --

[Bug middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-18 Thread mmitchel at gcc dot gnu dot org
--- Comment #40 from mmitchel at gcc dot gnu dot org 2007-07-19 03:25 --- Subject: Bug 32004 Author: mmitchel Date: Thu Jul 19 03:25:32 2007 New Revision: 126740 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126740 Log: Revert: 2007-07-09 Paolo Bonzini [EMAIL

[Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed

2007-07-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #6 from tkoenig at gcc dot gnu dot org 2007-07-19 04:47 --- Subject: Bug 32635 Author: tkoenig Date: Thu Jul 19 04:47:29 2007 New Revision: 126742 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=126742 Log: 2007-07-19 Thomas Koenig [EMAIL PROTECTED] PR

[Bug tree-optimization/32635] [4.3 Regression] gfortran - internal compiler error: verify_ssa failed

2007-07-18 Thread tkoenig at gcc dot gnu dot org
--- Comment #7 from tkoenig at gcc dot gnu dot org 2007-07-19 04:48 --- Test case committed after verifying that it passes. Closing. -- tkoenig at gcc dot gnu dot org changed: What|Removed |Added