[Bug driver/35916] problem running GCC under Vista with relocated directory

2008-06-05 Thread dannysmith at users dot sourceforge dot net
--- Comment #13 from dannysmith at users dot sourceforge dot net 2008-06-05 06:23 --- Closing, as this is fixed on trunk. -- dannysmith at users dot sourceforge dot net changed: What|Removed |Added

[Bug rtl-optimization/36438] New: gcc ICE compiling code with mmx builtin

2008-06-05 Thread davidxl at gcc dot gnu dot org
Compiling the following code with latest compiler, got ice: f.i: In function 'void foo(int __vector__*, int)': f.i:33: internal compiler error: in trunc_int_for_mode, at explow.c:55 Please submit a full bug report, with preprocessed source if appropriate. See http://gcc.gnu.org/bugs.html for

[Bug rtl-optimization/36438] gcc ICE compiling code with mmx builtin

2008-06-05 Thread davidxl at gcc dot gnu dot org
--- Comment #1 from davidxl at gcc dot gnu dot org 2008-06-05 06:41 --- cse1 (RTL) does some expression simplification on the fly such as t = x 4 r = t 4 == r = x 8 However for mmx shift operation, the mode (V1DI) for the const folding is illegal -- resulting in ICE. --

[Bug libstdc++/36428] std::tr1 Header Location

2008-06-05 Thread christopher dot kormanyos at al-lighting dot com
--- Comment #2 from christopher dot kormanyos at al-lighting dot com 2008-06-05 08:21 --- OK now I understand your strategy. Thanks for the explaination. But there is still a problem in the community. Two very popular compilers (VC and GCC) which are often used in cross development

[Bug other/28322] GCC new warnings and compatibility

2008-06-05 Thread pmaydell at chiark dot greenend dot org dot uk
--- Comment #20 from pmaydell at chiark dot greenend dot org dot uk 2008-06-05 08:31 --- I wrote: The deferred 'unrecognised -Wno*' output should only be a warning, not an error. I suggested a patch that would correct this: http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00139.html --

[Bug c++/36439] New: [4.3 regression] infinite loop building gimp-plugin-registry

2008-06-05 Thread debian-gcc at lists dot debian dot org
[forwarded from http://bugs.debian.org/484569] seen with 4.3.1 20080523, works with 4.2.4. Replacing -O2 with -O1 lets the build succeed. Matthias g++ -Wall -g -O2 -save-temps -pthread greycstoration4gimp.ii timed out after 150min on various buildds. -- Summary: [4.3 regression]

[Bug rtl-optimization/36438] gcc ICE compiling code with mmx builtin

2008-06-05 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2008-06-05 11:21 --- Your testcase works for me on i686-pc-linux-gnu with 'GCC: (GNU) 4.4.0 20080605 (experimental) [trunk revision 136389]', with -mmmx and all optimization levels: .L5: movq%mm1, %mm0 psllq $8, %mm0

[Bug c++/36439] [4.3/4.4 Regression] infinite loop in PRE building gimp-plugin-registry

2008-06-05 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-06-05 11:24 --- In function cimg_library::CImgT cimg_library::CImgT::blur_patch(unsigned int, float, float, unsigned int, bool), which contains some number of loops from macro expansion stuff. -fno-tree-pre fixes it.

[Bug c++/36439] [4.3/4.4 Regression] infinite loop in PRE building gimp-plugin-registry

2008-06-05 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2008-06-05 11:37 --- Created an attachment (id=15722) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15722action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36439

[Bug c++/36439] [4.3/4.4 Regression] infinite loop in PRE building gimp-plugin-registry

2008-06-05 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC||rguenth at gcc dot gnu dot |

[Bug rtl-optimization/36438] gcc ICE compiling code with mmx builtin

2008-06-05 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-06-05 11:53 --- The bug triggers on x86_64-pc-linux-gnu target. I will look into it. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/36133] GCC creates suboptimal ASM : Code includes unneeded TST instructions

2008-06-05 Thread gunnar at greyhound-data dot com
--- Comment #5 from gunnar at greyhound-data dot com 2008-06-05 12:07 --- Please find below a proposed patch. The patch will making GCC aware that shift does set the CC already and the TST is not needed in this case. The same example could be used to used to make GCC aware of the CC

[Bug libstdc++/36428] std::tr1 Header Location

2008-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-06-05 12:24 --- Use -std=c++0x if you want them in the correct location. They are only part of the C++0x standard and not part of C++98/03 standards. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug rtl-optimization/36438] gcc ICE compiling code with mmx builtin

2008-06-05 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2008-06-05 12:50 --- There is a general problem with vector shifts by scalar operands. The code assumed that both operands are vector mode operands, so it tries to add both constant shift operands using V1DImode. Following patch fixes ICE:

[Bug tree-optimization/36439] [4.3/4.4 Regression] infinite loop in PRE building gimp-plugin-registry

2008-06-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug testsuite/36440] New: [4.4 Regression] FAIL: g++.dg/cdce3.C on powerpc-apple-darwin8.5.0

2008-06-05 Thread dominiq at lps dot ens dot fr
On powerpc-apple-darwin8.5.0 (see http://gcc.gnu.org/ml/gcc-testresults/2008-06/msg00340.html) one has: FAIL: g++.dg/cdce3.C (test for excess errors) WARNING: g++.dg/cdce3.C compilation failed to produce executable FAIL: g++.dg/cdce3.C scan-tree-dump cdce cdce3.C:68: note: function call is

[Bug rtl-optimization/36419] [4.1/4.3/4.4 Regression] Wrong unwind info with -Os -fasynchronous-unwind-tables

2008-06-05 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2008-06-05 14:00 --- Any ideas about this? Do you think it is ok to just apply 1) or should we e.g. try to remove unnecessary stack adjustments before _Unwind_Resume (though, _Unwind_Resume is a call, so we probably need to

[Bug fortran/36441] New: gfortran looks for .mod files in default locations before -I directories

2008-06-05 Thread David at ham dot dropbear dot id dot au
gfortran appears to pick up .mod files from default locations in preference to directories specified by -I arguments on the command line. So, for example, if foo.mod is in /usr/include and foo.mod is in /home/bar/somedir and the user types: gfortran -I/home/bar/somedir ... then gfortran will

[Bug c++/36391] Compilation never ends

2008-06-05 Thread ivan at cvut dot cz
--- Comment #2 from ivan at cvut dot cz 2008-06-05 14:35 --- This bug is related to x86_64 target. When generating 32bit .o file, compilations succeds even with 64bit version of g++. See: [EMAIL PROTECTED]:/tmp$ g++ -m32 trotl_parser.i In file included from

[Bug tree-optimization/36291] GCC is slow and memory-hungry building sipQtGuipart.cpp

2008-06-05 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2008-06-05 14:40 --- I have a working backport for 4.3.2 that get's memory usage down. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36291

[Bug fortran/36441] gfortran looks for .mod files in default locations before -I directories

2008-06-05 Thread David at ham dot dropbear dot id dot au
--- Comment #1 from David at ham dot dropbear dot id dot au 2008-06-05 14:48 --- Apologies, this appears to have been caused by idiocy on our part. We now believe gfortran does the right thing and includes -I first. -- David at ham dot dropbear dot id dot au changed:

[Bug rtl-optimization/36438] gcc ICE compiling code with mmx builtin

2008-06-05 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2008-06-05 17:05 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00268.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug rtl-optimization/36438] gcc ICE compiling code with mmx builtin

2008-06-05 Thread davidxl at gcc dot gnu dot org
--- Comment #6 from davidxl at gcc dot gnu dot org 2008-06-05 17:37 --- (In reply to comment #5) Patch at http://gcc.gnu.org/ml/gcc-patches/2008-06/msg00268.html Thanks -- same as my local workaround. David -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36438

[Bug fortran/36366] [4.3/4.4 Regression] ICE in gfc_conv_component_ref

2008-06-05 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2008-06-05 19:45 --- At the moment, I cannot see what draws these together. Nor can I see any difference in the .mod files for the cases that work Ah... go it! gcc-4.2 had a derived type list for each namespace and care was taken

[Bug libgomp/36442] New: libgomp fails when using --with-build-sysroot

2008-06-05 Thread psmith at gnu dot org
I'm using both --with-build-sysroot and --with-sysroot when I compile GCC, so that I can compile it against a different version of the local system than the one I'm compiling on. Most of the build works fine, with the exception of the libraries libgomp, libmudflap, and libssp. Each of those

[Bug testsuite/36443] New: HOST_CC doesn't work with --disable-bootstrap

2008-06-05 Thread hjl dot tools at gmail dot com
When --disable-bootstrap, HOST_CC is set to gcc. It is used in g++.dg/compat/struct-layout-1.exp:set status [remote_exec host $HOSTCC $HOSTCFLAGS $generator_cmd] gcc.dg/compat/struct-layout-1.exp:set status [remote_exec host $HOSTCC $HOSTCFLAGS $generator_cmd]

[Bug testsuite/36443] HOST_CC doesn't work with --disable-bootstrap

2008-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-05 21:32 --- --disable-bootstrap should not be used really, why are you using it anyways? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36443

[Bug middle-end/36444] New: [4.4 Regression] ICE in gen_lowpart_general with -O1 with vector registers

2008-06-05 Thread pinskia at gcc dot gnu dot org
Testcase: #define vector __attribute__((vector_size(16) )) struct struct1 { union {}vmx; struct struct2 { struct2(const struct2 r) {} } w; } __attribute__((aligned(16))); struct struct3 { vector float vmx; operator const struct1 () const{ return *reinterpret_castconst

[Bug testsuite/36443] HOST_CC doesn't work with --disable-bootstrap

2008-06-05 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2008-06-05 21:34 --- (In reply to comment #1) --disable-bootstrap should not be used really, why are you using it anyways? There is no easy way to debug gcc compiled with -O2. Why do we put set GCC_EXEC_PREFIX $(libdir)/gcc/ in

[Bug middle-end/36444] [4.4 Regression] ICE in gen_lowpart_general with -O1 with vector registers

2008-06-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36444

[Bug middle-end/36445] New: [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers

2008-06-05 Thread pinskia at gcc dot gnu dot org
Another fallout due to the using VCE more patch: #define vector __attribute__((vector_size(16) )) struct struct1 { union { float a[3]; }vmx; struct struct2 { struct2(const struct2 r) {} } w; } __attribute__((aligned(16))); struct struct3 { vector float vmx; operator const

[Bug middle-end/36445] [4.4 Regression] ICE in expand_expr_real_1 with -O1 with vector registers

2008-06-05 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36445

Re: [Bug testsuite/36443] HOST_CC doesn't work with --disable-bootstrap

2008-06-05 Thread Andrew Pinski
On Thu, Jun 5, 2008 at 2:34 PM, hjl dot tools at gmail dot com [EMAIL PROTECTED] wrote: There is no easy way to debug gcc compiled with -O2. You know if you compile cc1 manually inside the gcc directory, it will compile with -O0 -g. Also you can use stage1-gcc directory to debug and build

[Bug testsuite/36443] HOST_CC doesn't work with --disable-bootstrap

2008-06-05 Thread pinskia at gmail dot com
--- Comment #3 from pinskia at gmail dot com 2008-06-05 21:42 --- Subject: Re: HOST_CC doesn't work with --disable-bootstrap On Thu, Jun 5, 2008 at 2:34 PM, hjl dot tools at gmail dot com [EMAIL PROTECTED] wrote: There is no easy way to debug gcc compiled with -O2. You know if you

[Bug testsuite/36443] [4.3/4.4 Regression]: HOST_CC doesn't work with --disable-bootstrap

2008-06-05 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2008-06-05 21:58 --- This behavior was introduced by http://gcc.gnu.org/ml/gcc/2006-10/msg00280.html http://gcc.gnu.org/ml/gcc-patches/2006-12/msg01493.html I rarely install gcc on my build machines. I am not sure why they are needed

[Bug c/36446] New: unexplained warning in struct initialization

2008-06-05 Thread geoffrey dot levand at am dot sony dot com
/* gcc -W -c test.c test.c:18: warning: (near initialization for ‘m1.h.b’) */ struct h { int a; int b; }; struct m { struct h h; int c; }; struct m m1 = { .h.a = 1, .c = 2, }; struct m m2 = { .h = {.a = 1}, .c = 2, }; m1 has

[Bug c/36446] unexplained warning in struct initialization

2008-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-05 21:59 --- Also seen on the trunk (4.4.0). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/36446] unexplained warning in struct initialization

2008-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-06-05 22:01 --- On the trunk we get: t.c:13: warning: missing initializer t.c:13: warning: (near initialization for ‘m1.h.b’) Which seems wrong as we don't get the warning for m2 and if we add an initializer for m1.h.b we get a

[Bug middle-end/36444] [4.4 Regression] ICE in gen_lowpart_general with -O1 with vector registers

2008-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-06-05 22:56 --- Fix for at least PowerPC (we should be trying to get the correct sized vector mode): Index: expmed.c === --- expmed.c(revision 2510) +++ expmed.c

[Bug target/35658] [4.3/4.4 regression] Bad interaction on ia64 between -funroll-loops -fno-automatic -O2 and common block variable

2008-06-05 Thread sje at cup dot hp dot com
--- Comment #7 from sje at cup dot hp dot com 2008-06-05 23:02 --- I now think this is a register scheduling bug. If I use -fno-schedule-insns2 then the bug doesn't happen even with -O2 fno-automatic -frename-registers. The problem seems to be scheduling the assignment to TEMP2 and

[Bug c++/21917] Missing warning when trying to explicitly construct a virtual base

2008-06-05 Thread r_q_einstein-gccgnuorg at yahoo dot com
--- Comment #7 from r_q_einstein-gccgnuorg at yahoo dot com 2008-06-05 23:07 --- I've run across this, too. I agree with Ivan's 2005-06-04 suggestion. It would be nice if the compiler would emit a warning that the derived class's constructor's call to the virtual base class's

[Bug middle-end/36444] [4.4 Regression] ICE in gen_lowpart_general with -O1 with vector registers

2008-06-05 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-06-05 23:13 --- And the fix for the second issue: Index: expr.c === --- expr.c (revision 2510) +++ expr.c (working copy) @@ -7654,6 +7654,16 @@

[Bug ada/35576] Ada HW Interrupt Task Enhancement

2008-06-05 Thread joel at gcc dot gnu dot org
--- Comment #11 from joel at gcc dot gnu dot org 2008-06-05 23:32 --- Created an attachment (id=15723) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15723action=view) updated patch Updated to account for changes to s-osinte-vxworks.adb while this PR has lingered in the queue. --

[Bug ada/35576] Ada HW Interrupt Task Enhancement

2008-06-05 Thread joel at gcc dot gnu dot org
--- Comment #12 from joel at gcc dot gnu dot org 2008-06-05 23:34 --- s-osinte-vxworks.adb is not removed by the patch. For review purposes, you should diff s-osinte-vxworks.adb to s-osinte-hwint.adb to see what the changes were. 2008-05-28 Joel Sherrill [EMAIL PROTECTED] *

[Bug c/36447] New: simplify_subreg ICE with right shift more than length type AVR

2008-06-05 Thread hutchinsonandy at aim dot com
Works on avr-gcc (GCC) 4.2.2 (WinAVR 20071221). Does not on 4.4 HEAD. Test results posts show this test failing since AT LEAST SVN rev 132993 on AVR (March 3 2008) (before that test was not run - so dont know when it started. gcc-c/toture/unsorted/shm.c foo (int *p) { int a = *p; return

[Bug middle-end/36447] simplify_subreg ICE with right shift more than length type AVR

2008-06-05 Thread hutchinsonandy at aim dot com
--- Comment #1 from hutchinsonandy at aim dot com 2008-06-06 03:08 --- rev 132971 appears to have created this problem. Revision: 132971 Author: bonzini Date: 8:30:10 AM, Thursday, March 06, 2008 Message: 2008-03-06 Paolo Bonzini [EMAIL PROTECTED] * simplify-rtx.c