[Bug rtl-optimization/42269] [4.4/4.5 Regression] Extra sign extension instructions generated

2009-12-09 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2009-12-09 08:28 --- Fixed by: Author: rth Date: Tue Dec 8 23:39:20 2009 New Revision: 155095 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155095 Log: * combine.c (setup_incoming_promotions): Fix sign-extend of zero

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread dominiq at lps dot ens dot fr
--- Comment #19 from dominiq at lps dot ens dot fr 2009-12-09 09:31 --- > As far as generation of a test case is concerned - why not just use the asm > generated by 4.5? I did that and the assembly generated on darwin10 works fine on darwin9. I can fill a bug report to Apple to know if

[Bug middle-end/42339] New: [graphite] Autopar on SPEC 2006 fails

2009-12-09 Thread grosser at gcc dot gnu dot org
gcc.gnu.org/svn/gcc/tr...@154983 Linux 2.6.22.17-0.1-default #1 SMP x86_64 x86_64 x86_64 GNU/Linux ../../git_trunk/configure --disable-bootstrap --enable-languages=c,c++,fortran --with-cloog=/home/grosser/gcc/tools/bin/cloog-ppl-old --with-ppl=/home/grosser/gcc/tools/bin/ppl --with-gmp=/usr/local

[Bug c++/42338] [c++0x] ICE on decltype usage with templates

2009-12-09 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-09 09:50 --- Jason, the ICE happens in mangle.c, write_expression gets a null argument. Is this another variant of c++/38600 and the likes? -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/42336] [c++0x] ICE with pointer-to-member-function decltype argument in template function

2009-12-09 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-09 09:53 --- This one happens *only* with -O2 and -g, should be recategorized as debug and/or optimization? Thanks for any help triaging it... -- paolo dot carlini at oracle dot com changed: What|Removed

[Bug c++/42340] New: templated member func vanish from assembler code when -O2 is used

2009-12-09 Thread jaeschke at de dot ibm dot com
Using the below code snipped (bug.C), and compiling it using: gcc -Wall -O2 -save-temps -c -o bug.o bug.C causes _ZN1B1fIiEEvPT_ to disappear from the .s-file, and later on breaking the link. Using -O1 works fine. bug.C struct B { template void f(T * t); void dummyInst(); }

[Bug c++/42340] templated member func vanish from assembler code when -O2 is used

2009-12-09 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2009-12-09 11:08 --- I'm seeing this happening in 4.3.x too, isn't new in 4.4.x. Now, I'm not sure to understand which is the problem: indeed, it disappears, but it's also true that nothing calls it. I would ask you to provide a s

[Bug tree-optimization/42341] New: ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228

2009-12-09 Thread ubizjak at gmail dot com
Attached object file crashes with lto compilation on alphaev68 cross: ~/gcc-build-alpha/gcc/lto1 -O0 c_lto_20090116_0.o Performing interprocedural optimizations Assembling functions: foo In file included from :0:0: /home/uros/gcc-svn/trunk/gcc/testsuite/gcc.dg/lto/20090116_0.c: In function ‘foo

[Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228

2009-12-09 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-12-09 11:22 --- Created an attachment (id=19264) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19264&action=view) Object file that triggers the ICE. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42341

[Bug ada/42342] New: Please clarify the rules regarding relationships between project files

2009-12-09 Thread ludovic at ludovic-brenta dot org
(Forwarding and rephrasing http://bugs.debian.org/559447) The GNAT project manager has the concepts of "project files" and "library project file"; a "library project file" is one that has the two attributes Library_Name and Library_Dir; it can also have additional attributes like Library_ALI_Dir w

[Bug c++/42340] templated member func vanish from assembler code when -O2 is used

2009-12-09 Thread redi at gcc dot gnu dot org
--- Comment #2 from redi at gcc dot gnu dot org 2009-12-09 11:29 --- If another translation unit is relying on finding an instantiation in bug.o then you should use an explicit instantiation to ensure it is present, or the other translation unit should include the definition of B::f --

[Bug c++/42340] templated member func vanish from assembler code when -O2 is used

2009-12-09 Thread paolo dot carlini at oracle dot com
--- Comment #3 from paolo dot carlini at oracle dot com 2009-12-09 11:34 --- This is expected, any optimizing compiler (e.g., ICC behaves the same as GCC) will get rid of that implicit instantiation, while inlining. Really, this is not going to change. -- paolo dot carlini at oracle

[Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228

2009-12-09 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2009-12-09 11:35 --- How was the object file built? (I suppose this is simply a testsuite failure of gcc.dg/lto/20090116?) There was a dup for this for other archs I believe and the issue is basically -Ox vs. -O0 compile which breaks s

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #20 from developer at sandoe-acoustics dot co dot uk 2009-12-09 11:37 --- (In reply to comment #17) > (In reply to comment #15) > > (In reply to comment #13) > > > You can try filing a bug report at Apple, but I think a better route > > > would be > > > to see if we can avo

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread rguenth at gcc dot gnu dot org
--- Comment #21 from rguenth at gcc dot gnu dot org 2009-12-09 11:42 --- As a workaround in gcc I suggest to strip -lm in the darwin specific specs processing. Otherwise this is not a GCC bug (again), but a darwin bug - why do they always creep into gcc bugzilla ... -- http://gcc.

[Bug fortran/38913] Fortran does not set TYPE_CANONICAL properly

2009-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #18 from jv244 at cam dot ac dot uk 2009-12-09 11:49 --- still fails with current trunk -- jv244 at cam dot ac dot uk changed: What|Removed |Added Last reco

[Bug fortran/40011] Problems with -fwhole-file

2009-12-09 Thread jv244 at cam dot ac dot uk
--- Comment #51 from jv244 at cam dot ac dot uk 2009-12-09 11:50 --- still failing with current trunk, also leading to miscomples (see PR38913). As a consequence, should one disable -fwhole-file (and consequently -flto) for Fortran before release? -- jv244 at cam dot ac dot uk change

[Bug fortran/40011] Problems with -fwhole-file

2009-12-09 Thread rguenther at suse dot de
--- Comment #52 from rguenther at suse dot de 2009-12-09 11:52 --- Subject: Re: Problems with -fwhole-file On Wed, 9 Dec 2009, jv244 at cam dot ac dot uk wrote: > --- Comment #51 from jv244 at cam dot ac dot uk 2009-12-09 11:50 --- > still failing with current trunk, also lea

[Bug tree-optimization/42341] ICE in insert_value_copy_on_edge, at tree-outof-ssa.c:228

2009-12-09 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-12-09 13:03 --- (In reply to comment #2) > How was the object file built? (I suppose this is simply a testsuite failure > of gcc.dg/lto/20090116?) > > There was a dup for this for other archs I believe and the issue is > basically -Ox v

[Bug bootstrap/37079] cannot find -lgcc_s

2009-12-09 Thread 3dw4rd at verizon dot net
--- Comment #8 from 3dw4rd at verizon dot net 2009-12-09 13:22 --- Subject: Re: cannot find -lgcc_s howarth at nitro dot med dot uc dot edu wrote: > --- Comment #7 from howarth at nitro dot med dot uc dot edu 2009-12-09 > 04:21 --- > (In reply to comment #6) > >> I have th

[Bug debug/41679] [4.5 Regression] internal compiler error: in loc_cmp, at var-tracking.c:2433

2009-12-09 Thread kedars at marvell dot com
--- Comment #7 from kedars at marvell dot com 2009-12-09 13:29 --- Applied the three patches. These DO fix the issue mentioned above. Is it safe to continue using these patches in gcc until the next stable release arrives? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41679

[Bug bootstrap/42343] New: gcc 3.2.x fails to build with current gcc versions

2009-12-09 Thread bero at arklinux dot org
When trying to build gcc 3.2.3 (or gcc-3_2-branch) with a less outdated version of gcc [unfortunately, this is sometimes necessary to build a matching compiler for an embedded device...], gcc barfs on the use of trigraphs as lvalues. I'm attaching patches to fix this; chances are it's too late to

[Bug bootstrap/42343] gcc 3.2.x fails to build with current gcc versions

2009-12-09 Thread bero at arklinux dot org
--- Comment #1 from bero at arklinux dot org 2009-12-09 13:55 --- Created an attachment (id=19265) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19265&action=view) Fix for obstack.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42343

[Bug bootstrap/42343] gcc 3.2.x fails to build with current gcc versions

2009-12-09 Thread bero at arklinux dot org
--- Comment #2 from bero at arklinux dot org 2009-12-09 13:56 --- Created an attachment (id=19266) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19266&action=view) Fix for decl.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42343

[Bug tree-optimization/42284] failing tree check in graphite-sese-to-poly.c for 164.gzip

2009-12-09 Thread spop at gcc dot gnu dot org
-- spop at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |spop at gcc dot gnu dot org |dot org

[Bug tree-optimization/42285] ICE in Graphite's scan_tree_for_params for 416.gamess

2009-12-09 Thread spop at gcc dot gnu dot org
--- Comment #4 from spop at gcc dot gnu dot org 2009-12-09 15:18 --- Subject: Bug 42285 Author: spop Date: Wed Dec 9 15:18:22 2009 New Revision: 155108 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155108 Log: Fix PR42285. 2009-12-08 Sebastian Pop PR middle-end/42

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #22 from developer at sandoe-acoustics dot co dot uk 2009-12-09 15:21 --- (In reply to comment #21) > As a workaround in gcc I suggest to strip -lm in the darwin specific specs one could also suggest the following patch to unix.exp (or providing a darwin infrastructure):

[Bug bootstrap/42343] gcc 3.2.x fails to build with current gcc versions

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-12-09 15:35 --- Bugzilla is for trunk and the currently maintained release branches. gcc 3.2 is no longer actively maintained. Ramana -- ramana at gcc dot gnu dot org changed: What|Removed |A

[Bug rtl-optimization/42226] [missed optimization] inefficient byte access when -Os is specified

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-12-09 15:48 --- Only with trunk - this is a performance and size regression. The correct answer might be to define thumb1 specific size costs . At the minute thumb1_rtx_costs is used for both speed and size. -- ramana at gcc do

[Bug c/41797] Segmentation fault on compiling using pre-compiled headers

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-12-09 16:04 --- Do you still see this problem ? Can you provide a backtrace or some more information about this one ? I don't see this as of 4.4 from yesterday. mkdir test.gch gcc -x c-header -marm -fmem-report -ftime-report -c -

[Bug tree-optimization/41035] AIX cexp builtin underflow

2009-12-09 Thread mikpe at it dot uu dot se
--- Comment #3 from mikpe at it dot uu dot se 2009-12-09 16:07 --- (In reply to comment #2) > libmpfr must be a shared object because libmpc relies on hidden, global state > in libmpfr. If libmpfr is linked statically with libmpc and with GCC, each > receives different instances of the

[Bug target/16350] gcc only understands little endian ARM systems

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #25 from ramana at gcc dot gnu dot org 2009-12-09 16:10 --- *** Bug 42081 has been marked as a duplicate of this bug. *** -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/42081] big-endian arm MULTILIB_DEFAULTS hard-coded to little-endian

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #2 from ramana at gcc dot gnu dot org 2009-12-09 16:10 --- Dup of 16350. *** This bug has been marked as a duplicate of 16350 *** -- ramana at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug regression/42258] redundant register move around mul instruction

2009-12-09 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug libmudflap/42318] The newer libtool scripts break the build of libmudflap regarding the start files

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-12-09 16:25 --- (In reply to comment #1) > I add that this happens also in native builds (host=build=target) Sorry, your bug report is contradictory - you say this is a native build but your host is x86_64-linux and your target is

[Bug libmudflap/42318] The newer libtool scripts break the build of libmudflap regarding the start files

2009-12-09 Thread viriketo at gmail dot com
--- Comment #5 from viriketo at gmail dot com 2009-12-09 16:27 --- I added first the report for making a cross-compiler, and I later *added* that the same problem happens building a native compiler. I agree closing the issue because of other reasons, but not because I wrote it contradic

[Bug tree-optimization/41035] AIX cexp builtin underflow

2009-12-09 Thread dje at gcc dot gnu dot org
--- Comment #4 from dje at gcc dot gnu dot org 2009-12-09 16:36 --- I think the problem is bad design of MPFR, not a bug in MPC. GCC uses mpfr_clear_flags(), mpfr_overflow_p() and mpfr_underflow_p() for results of computations in both MPFR and MPC, which uses MPFR. These rely on the MP

[Bug libmudflap/42279] libmudflap checks with the wrong CPP for execinfo.h

2009-12-09 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug libmudflap/42279] libmudflap checks with the wrong CPP for execinfo.h

2009-12-09 Thread viriketo at gmail dot com
--- Comment #4 from viriketo at gmail dot com 2009-12-09 16:46 --- Created an attachment (id=19267) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19267&action=view) Fix for libmudflap + libstdc++v3 for gcc 4.4.2 In gcc 4.4.2, libstdc++v3 is also affected by the CPP probelm. I att

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread howarth at nitro dot med dot uc dot edu
--- Comment #23 from howarth at nitro dot med dot uc dot edu 2009-12-09 16:47 --- Wouldn't that be limited to a subset of darwin @@ -30,8 +30,8 @@ #set_board_info host_library_path "[file dirname [file dirname [file dirname [file dirname [file dirname [exec [find_gcc] --print-pro

[Bug libffi/42289] libffi fails to build with binutils-2.20 on ARM

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #3 from ramana at gcc dot gnu dot org 2009-12-09 16:49 --- Please submit the patch upstream as requested. this is a 4.3 only bug. -- ramana at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/42321] NEON/VFP registers from inline assembly clobber list are saved/restored incorrectly

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #4 from ramana at gcc dot gnu dot org 2009-12-09 16:55 --- This occurs with arm-eabi cross as well. Ramana -- ramana at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/42235] redundant memory move from parameter space to spill space

2009-12-09 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfir

[Bug tree-optimization/40436] [4.5 regression] 0.5% code size regression caused by r147852

2009-12-09 Thread ramana at gcc dot gnu dot org
--- Comment #14 from ramana at gcc dot gnu dot org 2009-12-09 17:09 --- (In reply to comment #13) > I am just re-testing it on vangelis with size > estimates ignoring it. Honza - Any updates on this ? Ramana > > Honza > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40436

[Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)

2009-12-09 Thread ramana at gcc dot gnu dot org
-- ramana at gcc dot gnu dot org changed: What|Removed |Added Status|WAITING |NEW Ever Confirmed|0 |1 Last reconfir

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread developer at sandoe-acoustics dot co dot uk
--- Comment #24 from developer at sandoe-acoustics dot co dot uk 2009-12-09 17:36 --- (In reply to comment #21) > As a workaround in gcc I suggest to strip -lm in the darwin specific specs > processing. Otherwise this is not a GCC bug (again), but a darwin bug - why > do they always cr

[Bug target/42324] Gcc doesn't follow x86-64 psABI on _Bool

2009-12-09 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2009-12-09 17:43 --- Created an attachment (id=19268) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19268&action=view) Source and object files These are sources and object files generated by gcc 4.4, icc 11.1 and Sun Studio 12 Upd

[Bug tree-optimization/42344] New: ICE in rs6000.md with ipa-sra for 252.eon

2009-12-09 Thread janis at gcc dot gnu dot org
GCC trunk gets a ICE when building SPEC CPU2000 test 252.eon with "-O2 -fPIC -fno-inline", but not with -fno-ipa-sra, on powerpc-linux with secureplt enabled, as demonstrated by this minimized testcase: class mrSurfaceList { public: int *operator[] (int i) const { } }; int * makeGrid (mrSurfaceL

[Bug fortran/42335] [OOP] ICE on CLASS IS (bad_identifier)

2009-12-09 Thread janus at gcc dot gnu dot org
--- Comment #1 from janus at gcc dot gnu dot org 2009-12-09 18:03 --- > Error: 'bad_id' at (1) is not an accessible derived type > f951: internal compiler error: Segmentation fault Confirmed. The same happens for TYPE IS (bad_id). -- janus at gcc dot gnu dot org changed:

[Bug fortran/42335] [OOP] ICE on CLASS IS (bad_identifier)

2009-12-09 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-12-09 18:06 --- Backtrace: #0 0x00549274 in gfc_find_sym_tree (name=0x7fffd840 "v", ns=0x17a28b0, parent_flag=1, result=0x7fffd750) at /home/jweil/gcc45/fortran-dev/gcc/fortran/symbol.c:2507 #1 0x0054970

[Bug tree-optimization/42337] GCC ICE in compute_antic, at tree-ssa-pre.c:2534

2009-12-09 Thread davidxl at gcc dot gnu dot org
--- Comment #2 from davidxl at gcc dot gnu dot org 2009-12-09 18:07 --- Fixed in r155111. -- davidxl at gcc dot gnu dot org changed: What|Removed |Added Statu

[Bug fortran/42335] [OOP] ICE on CLASS IS (bad_identifier)

2009-12-09 Thread janus at gcc dot gnu dot org
--- Comment #3 from janus at gcc dot gnu dot org 2009-12-09 18:17 --- Mine. I think this one-liner is all that's needed: Index: gcc/fortran/symbol.c === --- gcc/fortran/symbol.c(revision 155023) +++ gcc/fortran/sym

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread mrs at apple dot com
--- Comment #25 from mrs at apple dot com 2009-12-09 18:29 --- I've filed radr://7457013 for libSystem (aka libm on 10.6) to improve the accuracy of ___divdc3. If that were fixed, then having -lm or not wouldn't matter. -- mrs at apple dot com changed: What|Removed

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread howarth at nitro dot med dot uc dot edu
--- Comment #26 from howarth at nitro dot med dot uc dot edu 2009-12-09 18:40 --- I am still a bit confused about this bug. When we leave -lm out of the linkage of builtin-math-7.exe, where does the ___divdc3 call get resolved from? Shouldn't it be coming libSystem since that always app

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

2009-12-09 Thread bryce at gcc dot gnu dot org
--- Comment #33 from bryce at gcc dot gnu dot org 2009-12-09 18:45 --- Subject: Bug 41991 Author: bryce Date: Wed Dec 9 18:45:13 2009 New Revision: 155113 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155113 Log: 2009-12-09 Bryce McKinlay PR java/41991 *

[Bug java/41991] gcj segfaults on i686-apple-darwin* and x86_64-apple-darwin*

2009-12-09 Thread bryce at gcc dot gnu dot org
--- Comment #34 from bryce at gcc dot gnu dot org 2009-12-09 18:46 --- Subject: Bug 41991 Author: bryce Date: Wed Dec 9 18:46:11 2009 New Revision: 155114 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155114 Log: 2009-12-09 Bryce McKinlay PR java/41991 *

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread mrs at apple dot com
--- Comment #27 from mrs at apple dot com 2009-12-09 18:48 --- nm | grep ___divdc3 on all the objects and libraries on the link line, will tell you from where this symbol can be resolved. Reading the link line, will tell you the order ld will resolve in, but you have to realize that .dy

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread ghazi at gcc dot gnu dot org
--- Comment #28 from ghazi at gcc dot gnu dot org 2009-12-09 18:55 --- (In reply to comment #26) > I am still a bit confused about this bug. When we leave -lm out of the linkage > of builtin-math-7.exe, where does the ___divdc3 call get resolved from? The ___divdc3 function is defined i

[Bug bootstrap/42345] New: cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
On: 2.6.31.6-162.fc12.x86_64 I configure: $src/gcc-trunk/configure --prefix=$bld/H-i686-gcc --enable-languages=c,c++ --enable-checking=release --with-cpu=i686 --target=i686-unknown-linux-gnu --disable-multilib Thinking this will give me a 32-bit defaulting i686 compiler. Gives: checking for i6

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #1 from bkoz at gcc dot gnu dot org 2009-12-09 19:34 --- Created an attachment (id=19269) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19269&action=view) configure output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-12-09 19:36 --- Can you attach /mnt/share/bld/gcc-i686/i686-unknown-linux-gnu/libgcc/config.log ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-12-09 19:37 --- But most likely you need to set CC="gcc -m32" to force the original gcc to be 32bits. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #4 from bkoz at gcc dot gnu dot org 2009-12-09 19:58 --- Result as per "CC=gcc -m32" build in config2.log Ends with: checking for i686-unknown-linux-gnu-gcc... /mnt/share/bld/gcc-i686/./gcc/xgcc -B/mnt/share/bld/gcc-i686/./gcc/ -B/mnt/share/bld/H-i686-gcc/i686-unknown-linux

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #5 from bkoz at gcc dot gnu dot org 2009-12-09 19:58 --- Created an attachment (id=19270) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19270&action=view) configure output when CC="gcc -m32" -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-12-09 20:01 --- You are still attaching the toplevel config.log which is not useful in this case since the libgcc is failing to compile. It might be the case that as is not being passed --32. -- http://gcc.gnu.org/bugzilla/sho

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2009-12-09 20:15 --- Created an attachment (id=19271) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19271&action=view) target/libgcc config.log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2009-12-09 20:16 --- Sorry about that Andrew. Thanks for your help. I have attached the target/libgcc config.log. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-12-09 20:21 --- /mnt/share/bld/gcc-i686/./gcc/as: line 83: exec: : not found That means as was not being found ... Try using either --with-as= or setting build=host=target (that is --target=i686-unknown-linux-gnu --host=i686-unkno

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #11 from bkoz at gcc dot gnu dot org 2009-12-09 20:58 --- Created an attachment (id=19272) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19272&action=view) libgcc/config.log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #10 from bkoz at gcc dot gnu dot org 2009-12-09 20:58 --- result from --build/--target/--host == i686-unknown-linux-gnu in config4.libgcc.log. Fails with: In file included from /usr/include/features.h:376:0, from /usr/include/stdio.h:28, f

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #12 from bkoz at gcc dot gnu dot org 2009-12-09 21:01 --- on the whole though, I don't know why just --with-cpu=i686 isn't enough. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2009-12-09 21:05 --- Regarding #c10, on Fedora just yum install {glibc-devel,libmpc-devel,mpfr-devel,gmp-devel,elfutils-libelf-devel}.i686 If you want to build a 32-bit only gcc (with 32-bit HWI) on x86-64, I usually: mkdir ~/hbin32 cat

[Bug libstdc++/42273] atomic_2.h:111: = instead of == in if

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2009-12-09 21:22 --- Mine. Adjusting for 4.4. branch. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/34402] Diagnose illegal initialization of derived type containing allocatable component

2009-12-09 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2009-12-09 22:05 --- (In reply to comment #5) > See 7.1.7(3) in F2003 (and 7.1.12(3) in the F2008 draft.) Walter, thanks for reference! -- dfranke at gcc dot gnu dot org changed: What|Removed |Add

[Bug libstdc++/42273] atomic_2.h:111: = instead of == in if

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #7 from bkoz at gcc dot gnu dot org 2009-12-09 22:07 --- Subject: Bug 42273 Author: bkoz Date: Wed Dec 9 22:06:59 2009 New Revision: 155117 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155117 Log: 2009-12-09 Roman Odaisky PR libstdc++/42273 * i

[Bug libstdc++/42273] atomic_2.h:111: = instead of == in if

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2009-12-09 22:39 --- Subject: Bug 42273 Author: bkoz Date: Wed Dec 9 22:38:57 2009 New Revision: 155118 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155118 Log: 2009-12-09 Roman Odaisky PR libstdc++/42273 * i

[Bug other/42333] complex division failure on darwin10 with -lm

2009-12-09 Thread howarth at nitro dot med dot uc dot edu
--- Comment #29 from howarth at nitro dot med dot uc dot edu 2009-12-09 23:06 --- Ah, I understand now gcc-4 -O2 builtin-math-7-reduced.c ./a.out otool -L ./a.out ./a.out: /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 246.0.0) /sw/lib/gcc4.

[Bug objc/42293] Can't build ObjC runtime library with GC for W32 target

2009-12-09 Thread d dot g dot gorbachev at gmail dot com
--- Comment #5 from d dot g dot gorbachev at gmail dot com 2009-12-09 23:43 --- > In mingw-w64 platform headers we worked-a-round this by checking > for __OBJC__ to check, if we shouldn't define BOOL. The hack exists in mingw32 headers, too: 230 typedef int WINBOOL,*PWINBOOL,*LPWI

[Bug c++/42336] [c++0x] ICE with pointer-to-member-function decltype argument in template function

2009-12-09 Thread aaz at althenia dot net
--- Comment #2 from aaz at althenia dot net 2009-12-10 00:07 --- To be more specific, it happens only with -O -fipa-sra -finline-small-functions -g -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42336

[Bug libffi/40700] [4.5 Regression] All amd64 libffi execution tests fail on Solaris 10/x86

2009-12-09 Thread ro at gcc dot gnu dot org
--- Comment #2 from ro at gcc dot gnu dot org 2009-12-10 01:34 --- Mine. -- ro at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc do

[Bug libffi/40700] [4.5 Regression] All amd64 libffi execution tests fail on Solaris 10/x86

2009-12-09 Thread ro at gcc dot gnu dot org
--- Comment #3 from ro at gcc dot gnu dot org 2009-12-10 01:45 --- Patch here: http://gcc.gnu.org/ml/gcc-patches/2009-12/msg00517.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40700

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #14 from bkoz at gcc dot gnu dot org 2009-12-10 02:53 --- #c13 works for me, thanks jakub -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42345

[Bug bootstrap/42345] cannot force 32 bit toolchain only

2009-12-09 Thread bkoz at gcc dot gnu dot org
--- Comment #15 from bkoz at gcc dot gnu dot org 2009-12-10 02:54 --- You can do it, although process is a bit convoluted. So, WORKSFORME. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added