[Bug target/36992] Very stange code for _mm_move_epi64

2008-08-03 Thread uros at gcc dot gnu dot org
--- Comment #16 from uros at gcc dot gnu dot org 2008-08-03 06:14 --- Subject: Bug 36992 Author: uros Date: Sun Aug 3 06:13:04 2008 New Revision: 138564 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138564 Log: PR target/36992 * config/i386/sse.md

[Bug bootstrap/37013] gcc-4.2.1 build breaks in fortran when using --with-mpfr=

2008-08-03 Thread rob1weld at aol dot com
--- Comment #3 from rob1weld at aol dot com 2008-08-03 06:29 --- Reopened - Broken in 4.2.2 and 4.2.3 also. -- rob1weld at aol dot com changed: What|Removed |Added

[Bug target/36992] Very stange code for _mm_move_epi64

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #17 from ubizjak at gmail dot com 2008-08-03 06:49 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug c++/37008] [4.2 Regression] OOM on a big c++ file

2008-08-03 Thread livubuntu at lalescu dot ro
--- Comment #5 from livubuntu at lalescu dot ro 2008-08-03 07:23 --- (In reply to comment #4) (In reply to comment #2) g++: Internal error: Killed (program cc1plus) this means your system ran out of memory and the operating system decided to kill the compiler. Note that

[Bug libfortran/36886] misaligment for cshift of character

2008-08-03 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2008-08-03 07:23 --- Created an attachment (id=16001) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16001action=view) [edit] better patch I think some of the run-time checks (with -fbounds-checks) for PR 36874 can be best done in

[Bug fortran/36947] Attributes not fully checked comparing actual vs dummy procedure

2008-08-03 Thread alex at ozo dot com
--- Comment #4 from alex at ozo dot com 2008-08-03 08:33 --- trying to compile ath9k for mips or mipsel under openwrt toolchain with gcc-4.2.4 produces the following error: make[3]: Entering directory `/extra3/openwrt/ar71xx/trunk/package/ath9k' make -C

[Bug libfortran/36886] misaligment for cshift of character

2008-08-03 Thread tkoenig at gcc dot gnu dot org
--- Comment #5 from tkoenig at gcc dot gnu dot org 2008-08-03 09:22 --- (In reply to comment #4) Created an attachment (id=16001) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16001action=view) [edit] better patch I think some of the run-time checks (with -fbounds-checks)

[Bug target/36923] Crashes with FPU inline-assembly

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2008-08-03 09:16 --- Stack asm constraints have some annoying properties. Please note, that in your testcase, value in %st1 isn't popped from the stack. Also, reverse subtract can be used to avoid fxch. I propose to rewrite your function as:

[Bug c/37014] New: internal compiler error: in expand_expr_real_1, at expr.c:8760

2008-08-03 Thread alex at ozo dot com
trying to compile ath9k for mips or mipsel under openwrt toolchain with gcc-4.2.4 produces the following error: make[3]: Entering directory `/extra3/openwrt/ar71xx/trunk/package/ath9k' make -C /extra3/openwrt/ar71xx/trunk/build_dir/linux-ar71xx/linux-2.6.26 ARCH=mips

[Bug fortran/36947] Attributes not fully checked comparing actual vs dummy procedure

2008-08-03 Thread alex at ozo dot com
--- Comment #5 from alex at ozo dot com 2008-08-03 08:43 --- please discard the above entry and accept my apologies as this is my first attempt to report a bug issue using bugzilla. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36947

[Bug ada/36930] GNAT BUG DETECTED while creating object on storage pool

2008-08-03 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2008-08-03 12:04 --- It appears to be fixed already in GCC 4.3.1. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/36785] Segmentation fault in Gnat.Regexp

2008-08-03 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2008-08-03 12:07 --- Confirmed on 4.4.0 20080803 (i686-pc-linux-gnu). -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/36764] ICE with -gnatn inlining and stream attributes

2008-08-03 Thread sam at gcc dot gnu dot org
--- Comment #1 from sam at gcc dot gnu dot org 2008-08-03 12:08 --- Confirmed on SVN trunk: +===GNAT BUG DETECTED==+ | 4.4.0 20080803 (experimental) (i686-pc-linux-gnu) Assert_Failure einfo.adb:2446| | Error detected at b.ads:1:6

[Bug bootstrap/36948] cc1.exe: internal compiler error: Segmentation fault

2008-08-03 Thread andry at inbox dot ru
--- Comment #15 from andry at inbox dot ru 2008-08-03 12:18 --- I found where the bug is: /mingw/lib/libmsvcrt.a and /mingw/lib/libmsvcrtd.a should be Microsoft Visual Studio v6.0 libraries. I just run gccmrt.bat attached to TDM builds of GCC (http://www.tdragon.net/recentgcc/) and

[Bug ada/36777] Protected type cannot have access taken from its body.

2008-08-03 Thread sam at gcc dot gnu dot org
-- sam at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org

[Bug target/18766] Inefficient code with -mfpmath=387,sse

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-08-03 16:59 --- GNU C (GCC) version 4.4.0 20080803 (experimental) is now much smarter, several rewrites of math ops now result in: foobar: pushl %ebp movl%esp, %ebp fldsa fmuls b flds

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-08-03 17:01 --- Please narrow down where the problem is since we don't have MacOS: 1. Turn eh-alloca-1.ii into eh-alloca-1.C by removing those # x 2. Remove abort from eh-alloca-1.C one by one to track down to single abort.

[Bug target/15827] global register %esi versus memcpy builtin

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2008-08-03 17:23 --- The testcase works OK with gcc-4.3. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/16332] feature request: x86_64 windows calling convention

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-08-03 17:30 --- This enhancement was implemented at least for gcc-4.3. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/19566] x86_64 - inconsistent choice of parameter passing method for 16 byte struct

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2008-08-03 17:38 --- Can we have a final word from ABI people here please? -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/20020] x86_64 - 128 bit structs not targeted to TImode

2008-08-03 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2008-08-03 17:44 --- CCing HJ for ABI issue. -- ubizjak at gmail dot com changed: What|Removed |Added CC|

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #5 from howarth at nitro dot med dot uc dot edu 2008-08-03 17:52 --- The eh-alloca-1.exe always segfaults even after commenting all of the abort() calls. I'll see if I can find one of the gcc c testsuite executions that are failing as that may be easier to debug. --

[Bug target/37010] -Os passes __m128 on stack with wrong alignment

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-08-03 18:18 --- (In reply to comment #1) A patch is posted at http://gcc.gnu.org/ml/gcc-patches/2008-08/msg00123.html This patch is incorrect. The problem is between ACCUMULATE_OUTGOING_ARGS, ix86_compute_frame_layout and

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #6 from howarth at nitro dot med dot uc dot edu 2008-08-03 18:19 --- Another of the testsuite execution tests that are failing is regparm-1.exe. When compiled as in the testsuite run as... gcc-4 ./regparm-1.c -Os -mstackrealign -mpreferred-stack-boundary=5 -g -fpic

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #7 from howarth at nitro dot med dot uc dot edu 2008-08-03 18:22 --- Created an attachment (id=16004) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16004action=view) preprocessed source file for gcc.dg/torture/stackalign/regparm-1.c --

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #8 from howarth at nitro dot med dot uc dot edu 2008-08-03 18:22 --- Created an attachment (id=16005) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16005action=view) assembly file for gcc.dg/torture/stackalign/regparm-1.c --

[Bug target/37010] -Os passes __m128 on stack with wrong alignment

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2008-08-03 18:40 --- Joey, when we compute frame layout, we don't count the duplicated return address pushed onto stack when DRAP is used. Also when we push return address, shouldn't we use -UNITS_PER_WORD, instead of -(STACK_BOUNDARY /

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2008-08-03 18:48 --- Joey, I think the problem is the usage of STACK_BOUNDARY / BITS_PER_UNIT for stack alignment. On MacOS, STACK_BOUNDARY 128 on ia32. Shouldn't we use UNITS_PER_WORD in some cases? Please double check all usages of

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2008-08-03 18:54 --- The regparm-* failures are really PR 26553. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37012

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #11 from hjl dot tools at gmail dot com 2008-08-03 19:26 --- Created an attachment (id=16006) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16006action=view) A patch Jack, can you try this patch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37012

[Bug target/37010] -Os passes __m128 on stack with wrong alignment

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-08-03 20:11 --- A run-time testcase: bash-3.2$ cat y.c /* PR middle-end/37010 */ /* { dg-do run { target { { i?86-*-* x86_64-*-* } ilp32 } } } */ /* { dg-options -msse2 } */ typedef __PTRDIFF_TYPE__ ptrdiff_t; extern void abort

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #12 from howarth at nitro dot med dot uc dot edu 2008-08-03 20:24 --- HJ, Your proposed patch eliminated all the stackalign failures in 'make -k check-gcc' reducing the total gcc failures down to 14 unexpected. I will do a 'make -k check-g++' next but this fix looks good

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #13 from hjl dot tools at gmail dot com 2008-08-03 20:26 --- (In reply to comment #12) HJ, Your proposed patch eliminated all the stackalign failures in 'make -k check-gcc' reducing the total gcc failures down to 14 unexpected. I will do a 'make -k check-g++' next

[Bug c/37015] New: modulo operations which use negative numbers return unexpected results

2008-08-03 Thread cl3m3ns at gmail dot com
using negative numbers, like for example (-1)%4 results in -1 instead of the right result, which is 3 -- Summary: modulo operations which use negative numbers return unexpected results Product: gcc Version: 4.3.1 Status:

[Bug c/37015] modulo operations which use negative numbers return unexpected results

2008-08-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-03 20:32 --- That is correct. % is not really the modulo operator but instead the remainder operator :). So (-a) %b is the same as -(a%b). -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug c++/37016] New: member function pointer failure with optimization

2008-08-03 Thread rjharrison at gmail dot com
#include iostream /* Basic design concept is that WorldObject implements remote method call functionality using the curiously recurring template pattern to enable forwarding calls from the generic

[Bug c++/37016] [4.3/4.4 Regression] member function pointer failure with optimization

2008-08-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-03 21:47 --- Confirmed. SRA messing up again when there is different FIELD decls. itemfunptrD.21695.__pfnD.21700 ={v} itemfunD.21696; memfunD.24341 ={v} itemfunptrD.21695; memfun$__pfnD.24346_4 =

[Bug boehm-gc/37017] New: [4.2 regression] Using --enable-threads=solaris breaks near end of build in boehm-gc configury

2008-08-03 Thread rob1weld at aol dot com
When configuring with --enable-threads=solaris the build runs for hours and then breaks after the libgfortran finished when configuring boehm-gc . It would be nice if the main configure script caught this instead of the build failing just as it was about to finish. I am building gcc-4.2.3

[Bug boehm-gc/37017] Using --enable-threads=solaris breaks near end of build in boehm-gc configury

2008-08-03 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-08-03 23:08 --- I really don't think using solaris threads is that well supported anymore. Is there a reason why you are not using just --enable-threads=pthreads? -- pinskia at gcc dot gnu dot org changed: What

[Bug target/35397] Problem handling denormalized numbers under AIX

2008-08-03 Thread dje at gcc dot gnu dot org
--- Comment #1 from dje at gcc dot gnu dot org 2008-08-03 23:59 --- This is fixed in G++ 4.3, probably due to a libstdc++ fix. -- dje at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #14 from howarth at nitro dot med dot uc dot edu 2008-08-04 00:53 --- The complete make check from the boot strap is still running but the g++ stackalign failures have been reduced down to just... FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -g execution test FAIL:

[Bug boehm-gc/37017] Using --enable-threads=solaris breaks near end of build in boehm-gc configury

2008-08-03 Thread rob1weld at aol dot com
--- Comment #2 from rob1weld at aol dot com 2008-08-04 01:28 --- Is there a reason why you are not using just --enable-threads=pthreads? A few reasons. 1. I test _all_ of gcc's configure options, submit bug reports and email test results - --enable-threads=solaris is a valid choice.

[Bug inline-asm/37018] New: compiling inline assembly for ia32 produces ia64 registers

2008-08-03 Thread gcc at karrels dot org
In this sample, which includes inline assembly code, GCC produces assembly that uses 64-bit registers when the target is 32-bit code. The assembler complains: foo.c: Assembler messages: foo.c:17: Error: bad register name `%dil' -- Summary: compiling inline assembly for ia32

[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers

2008-08-03 Thread gcc at karrels dot org
--- Comment #1 from gcc at karrels dot org 2008-08-04 01:35 --- Created an attachment (id=16007) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16007action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018

[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers

2008-08-03 Thread gcc at karrels dot org
--- Comment #2 from gcc at karrels dot org 2008-08-04 01:37 --- Created an attachment (id=16008) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16008action=view) Output from gcc -v -save-temps -O -c foo.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37018

[Bug inline-asm/37018] compiling inline assembly for ia32 produces ia64 registers

2008-08-03 Thread gcc at karrels dot org
--- Comment #3 from gcc at karrels dot org 2008-08-04 01:39 --- (In reply to comment #0) Bug only occurs with optimization turned on. -- gcc at karrels dot org changed: What|Removed |Added

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread howarth at nitro dot med dot uc dot edu
--- Comment #15 from howarth at nitro dot med dot uc dot edu 2008-08-04 02:32 --- Testresults from the proposed patch are at... http://gcc.gnu.org/ml/gcc-testresults/2008-08/msg00333.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37012

[Bug c++/37012] numerous stackalign related testsuite failures on i686-apple-darwin9

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #16 from hjl dot tools at gmail dot com 2008-08-04 03:26 --- (In reply to comment #14) The complete make check from the boot strap is still running but the g++ stackalign failures have been reduced down to just... FAIL: g++.dg/torture/stackalign/eh-alloca-1.C -O3 -g

[Bug libgcj/37019] New: [4.2 Regression] Inconsistent gcc-4.2.3/libjava/configure uses grep and egrep and grep -E and $EGGREP but not ggrep -- sed also is trouble

2008-08-03 Thread rob1weld at aol dot com
The gcc-4.2.3/libjava/configure uses grep and egrep and grep -E and $EGGREP (but not ggrep) in a non-portable and inconsistent manner. Examples: 1. Lines 5224, 5254, 5295, 5298, etc... use egrep but EGREP is not tested for (to decide if we will use grep -E or egrep) until line 7315 and not set

[Bug target/37010] -mno-accumulate-outgoing-args doesn't work with stack alignment

2008-08-03 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2008-08-04 05:52 --- It is the problem with -mno-accumulate-outgoing-args: bash-3.2$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc -B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -m32 -msse2 -DDEBUG