atomicity of x86 bt/bts/btr/btc?

2010-10-19 Thread Jay K
gcc-4.5/gcc/config/i386/i386.md: ;; %%% bts, btr, btc, bt. ;; In general these instructions are *slow* when applied to memory, ;; since they enforce atomic operation. When applied to registers, I haven't found documented confirmation that these instructions are atomic without a lock prefix,

Re: atomicity of x86 bt/bts/btr/btc?

2010-10-19 Thread Rick C. Hodgin
;; %%% bts, btr, btc, bt. ;; In general these instructions are *slow* when applied to memory, ;; since they enforce atomic operation. When applied to registers, I haven't found documented confirmation that these instructions are atomic without a lock prefix, having checked Intel and AMD

RE: atomicity of x86 bt/bts/btr/btc?

2010-10-19 Thread Jay K
Subject: Re: atomicity of x86 bt/bts/btr/btc? From: foxmuldrsterm To: jay.krell CC: gcc@gcc.gnu.org Date: Tue, 19 Oct 2010 02:52:34 -0500 ;; %%% bts, btr, btc, bt. ;; In general these instructions are *slow* when applied to memory, ;; since

RE: atomicity of x86 bt/bts/btr/btc?

2010-10-19 Thread Rick C. Hodgin
They do not automatically lock the bus. They will lock the bus with the explicit LOCK prefix, and BTS is typically used for an atomic read/write operation. Thanks Rick. I'll go back to using them. I'm optimizing mainly for size. The comment should perhaps be amended. The since they

RE: atomicity of x86 bt/bts/btr/btc?

2010-10-19 Thread Jay K
Subject: RE: atomicity of x86 bt/bts/btr/btc? From: foxmuldrster To: jay CC: gcc Date: Tue, 19 Oct 2010 03:05:26 -0500 They do not automatically lock the bus. They will lock the bus with the explicit LOCK prefix, and BTS is typically used for

Bug in expand_builtin_setjmp_receiver ?

2010-10-19 Thread Frederic Riss
Hi, in builtins.c:expand_builtin_setjmp_receiver I see the following code: 827  /* Now put in the code to restore the frame pointer, and argument 828     pointer, if needed.  */ 829 #ifdef HAVE_nonlocal_goto 830  if (! HAVE_nonlocal_goto) 831 #endif 832    { 833      emit_move_insn

Re: secondary reload via 2 intermediary registers

2010-10-19 Thread Alex Turjan
Hi Jeff, Thanks for answer. I managed to make use of an architecture trick which allows me to get the secondary reload via only one intermediary register, but still have some comments to what you wrote me. 1.Is it possible to do the secondary reload via 2 intermediary registers? As far as

Re: atomicity of x86 bt/bts/btr/btc?

2010-10-19 Thread Ian Lance Taylor
Jay K jay.kr...@cornell.edu writes: It might be nice if optimizing for size would use them with code like e.g.: I encourage you to file a missed-optimization bug at http://gcc.gnu.org/bugzilla , so that this is not forgotten. Ian

Re: Bug in expand_builtin_setjmp_receiver ?

2010-10-19 Thread Ian Lance Taylor
Frederic Riss frederic.r...@gmail.com writes: in builtins.c:expand_builtin_setjmp_receiver I see the following code: 827  /* Now put in the code to restore the frame pointer, and argument 828     pointer, if needed.  */ 829 #ifdef HAVE_nonlocal_goto 830  if (! HAVE_nonlocal_goto) 831

Re: Questions about selective scheduler and PowerPC

2010-10-19 Thread Jie Zhang
On 10/18/2010 03:41 PM, Andrey Belevantsev wrote: On 18.10.2010 11:31, Jie Zhang wrote: Hi Andrey, On 10/18/2010 03:13 PM, Andrey Belevantsev wrote: Hi Jie, On 18.10.2010 10:49, Jie Zhang wrote: When this error happens, FENCE_ISSUED_INSNS (fence) is 2 and issue_rate is 1. PowerPC 8540 is

Re: Questions about selective scheduler and PowerPC

2010-10-19 Thread Andrey Belevantsev
On 19.10.2010 17:57, Jie Zhang wrote: Removing the failing assert fixes the test case. But I wonder why not just get max_issue correct. I'm testing the attached patch. IMHO, max_issue looks confusing. * The concept of ISSUE POINT has never been used since the code landed in repository. * In

Re: Questions about selective scheduler and PowerPC

2010-10-19 Thread Maxim Kuvyrkov
On 10/19/10 6:16 PM, Andrey Belevantsev wrote: ... I agree that ISSUE_POINTS can be removed, as it was not used (maybe Maxim can comment more on this). I too agree with removing ISSUE_POINTS, it never found any use. Regards, -- Maxim Kuvyrkov CodeSourcery ma...@codesourcery.com (650)

Re: Questions about selective scheduler and PowerPC

2010-10-19 Thread Jie Zhang
On 10/19/2010 10:16 PM, Andrey Belevantsev wrote: On 19.10.2010 17:57, Jie Zhang wrote: Removing the failing assert fixes the test case. But I wonder why not just get max_issue correct. I'm testing the attached patch. IMHO, max_issue looks confusing. * The concept of ISSUE POINT has never been

GCC RTX generation question

2010-10-19 Thread Radu Hobincu
Hello, I wrote here before a few months ago, I'm trying to port GCC to a simple RISC machine and I have two problems I don't seem to be able to fix. I'm using gcc 4.4.3 for both compiling and as source code. 1. I have the following code: --- extern void doSmth();

Re: 4-15% speed-up in std::sort special case - is it worth the effort?

2010-10-19 Thread Gabriel Dos Reis
On Wed, Aug 25, 2010 at 2:44 AM, Jaroslav Hajek high...@gmail.com wrote: Hi all, I've been experimenting with sorting recently and I have noticed a possibility to slightly optimize the sorting of std::pair values using the default operator. This is, I believe, a common usage case to

Problem with equivalent memory handling

2010-10-19 Thread Jeff Law
Looking for advice here -- while I haven't seen this bug trigger in the mainline, it triggers with the range splitting code I've been working on. Reload has the ability to replace a pseudo with its equivalent memory location. This is fine and good. Imagine: 1. We have a pseudo (call

Plug-in Licensing

2010-10-19 Thread Justin Seyster
I'm getting ready to release plug-in code, and I want to have a very clear idea about licensing before I release. I'm leaning towards releasing everything as GPLv3, but I do want to know exactly what is and isn't allowed. I know this issue was debated quite intensely before plug-in support got

Re: Plug-in Licensing

2010-10-19 Thread Basile Starynkevitch
On Tue, 19 Oct 2010 16:05:51 -0400 Justin Seyster jrs...@gmail.com wrote: I'm getting ready to release plug-in code, and I want to have a very clear idea about licensing before I release. I'm leaning towards releasing everything as GPLv3, but I do want to know exactly what is and isn't

Re: GCC RTX generation question

2010-10-19 Thread Ian Lance Taylor
Radu Hobincu radu.hobi...@arh.pub.ro writes: 1. I have the following code: --- extern void doSmth(); void bugTest(){ doSmth(); } --- It compiles fine with -O0, but when I try to use -O3, I get the following compiler error:

Re: Problem with equivalent memory handling

2010-10-19 Thread Ian Lance Taylor
Jeff Law l...@redhat.com writes: Reload has the ability to replace a pseudo with its equivalent memory location. This is fine and good. Imagine: 1. We have a pseudo (call is pseudo A) with a read-only memory equivalent. Pseudo A does not get a hard reg 2. Pseudo A crosses a call

Re: Plug-in Licensing

2010-10-19 Thread Ian Lance Taylor
Justin Seyster jrs...@gmail.com writes: I'm getting ready to release plug-in code, and I want to have a very clear idea about licensing before I release. I'm leaning towards releasing everything as GPLv3, but I do want to know exactly what is and isn't allowed. GPLv3 is fine. I know this

Re: how to initialize a pointer using data page mode

2010-10-19 Thread Phung Nguyen
It seems that you want to generate two .int statements.  My question is whether you can load those in a single load instruction, or whether you also need to generate multiple load instructions. I need to generate multiple load instructions

Re: *_ALIGN_MAX_SKIP macros

2010-10-19 Thread DJ Delorie
This is OK if you add LABEL_ALIGN_MAX_SKIP, LOOP_ALIGN_MAX_SKIP, LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP, and JUMP_ALIGN_MAX_SKIP to the /* Old target macros that have moved to the target hooks structure. */ #pragma GCC poison list in system.h. Thanks, committed with that change.

Re: Plug-in Licensing

2010-10-19 Thread Justin Seyster
Thanks for this advice. The link to the GCC Exception was especially helpful. The trick here is that I'm actually releasing a library designed to be linked into plug-ins. I want the library itself to be copyleft but for plug-in authors to retain any licensing flexibility that they would have

Re: Questions about selective scheduler and PowerPC

2010-10-19 Thread Paul Brook
[quote] Target Hook: int TARGET_SCHED_ISSUE_RATE (void) [snip] Although the insn scheduler can define itself the possibility of issue an insn on the same cycle, the value can serve as an additional constraint to issue insns on the same simulated processor cycle [snip] [/quote] it should

Hooks, macros and target configuration

2010-10-19 Thread Joseph S. Myers
My ongoing work to implement the multilib selection changes described at http://gcc.gnu.org/ml/gcc/2010-01/msg00063.html will in due course require option-related hooks to be shared between the driver and the compilers proper (cc1 etc.). As we do not currently have a hooks system in the driver,

Re: how to initialize a pointer using data page mode

2010-10-19 Thread Ian Lance Taylor
Phung Nguyen nhph...@gmail.com writes: It seems that you want to generate two .int statements.  My question is whether you can load those in a single load instruction, or whether you also need to generate multiple load instructions. I need to generate multiple load instructions In that

Re: Plug-in Licensing

2010-10-19 Thread Ian Lance Taylor
Justin Seyster jrs...@gmail.com writes: Thanks for this advice. The link to the GCC Exception was especially helpful. The trick here is that I'm actually releasing a library designed to be linked into plug-ins. I want the library itself to be copyleft but for plug-in authors to retain any

gcc-4.4-20101019 is now available

2010-10-19 Thread gccadmin
Snapshot gcc-4.4-20101019 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.4-20101019/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.4 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

[Bug target/46080] New: incorrect precision of sqrtf builtin for x87 arithmetic (-mfpmath=387)

2010-10-19 Thread vincent at vinc17 dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46080 Summary: incorrect precision of sqrtf builtin for x87 arithmetic (-mfpmath=387) Product: gcc Version: 4.4.5 Status: UNCONFIRMED Severity: normal Priority: P3

log10(6.2442) returning nan0x8000 — some kind of good old fp stack alignment problem?

2010-10-19 Thread René J . V . Bertin
Hello, After being pointed to a thread about unexpected NaNs (http://gcc.gnu.org/ml/gcc-bugs/1999-10/msg00410.html), I decided to try here to see if the ghost I have in my code rings a bell with anyone... In short, I have a trigger series of events that I can set off in my code (an X11 data

[Bug tree-optimization/46081] New: [4.6 Regression] FAIL: gcc.dg/ipa/ipa-pta-10.c

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46081 Summary: [4.6 Regression] FAIL: gcc.dg/ipa/ipa-pta-10.c Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: tree-optimization

[Bug target/46080] [4.4/4.5/4.6 Regression] incorrect precision of sqrtf builtin for x87 arithmetic (-mfpmath=387)

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46080 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target||i?86-*-*

[Bug c++/46078] [4.6 regression] new valgrind warnings when compiling an optimization test case

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46078 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug tree-optimization/46077] [4.6 regression] ICE in tree vectorization when compiling towns_audio.cpp from scummvm

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46077 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug tree-optimization/46081] [4.6 Regression] FAIL: gcc.dg/ipa/ipa-pta-10.c

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46081 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2010-10-19 10:50:54 UTC --- Executing on host: /export/gnu/import/svn/gcc-test/bld/gcc/xgcc -B/export/gnu/import/svn/gcc-test/bld/gcc/

[Bug middle-end/46076] [4.6 regression] constant propagation and compile-time math no longer happening versus 4.4 and 4.5

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46076 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Target Milestone|--- |4.6.0

[Bug fortran/42169] [4.4/4.5/4.6 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42169 --- Comment #21 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-19 10:55:08 UTC --- (In reply to comment #20) Not really, there are about 300 lines of new code (mostly in a new routine). It might be that only the change in

[Bug tree-optimization/46081] [4.6 Regression] FAIL: gcc.dg/ipa/ipa-pta-10.c

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46081 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-10-19 11:06:33 UTC --- Author: rguenth Date: Tue Oct 19 11:06:29 2010 New Revision: 165697 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165697 Log: 2010-10-19 Richard

[Bug tree-optimization/46081] [4.6 Regression] FAIL: gcc.dg/ipa/ipa-pta-10.c

2010-10-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46081 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug fortran/46079] [4.6 Regression] ABI for empty stop statement broken

2010-10-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46079 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc

[Bug tree-optimization/46077] [4.6 regression] ICE in tree vectorization when compiling towns_audio.cpp from scummvm

2010-10-19 Thread irar at il dot ibm.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46077 Ira Rosen irar at il dot ibm.com changed: What|Removed |Added CC||irar at il dot ibm.com

[Bug fortran/43414] DWARF4: Use DW_AT_main_subprogram for MAIN__

2010-10-19 Thread fxcoudert at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43414 --- Comment #3 from Francois-Xavier Coudert fxcoudert at gcc dot gnu.org 2010-10-19 12:30:43 UTC --- Author: fxcoudert Date: Tue Oct 19 12:30:35 2010 New Revision: 165699 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165699 Log: PR

[Bug fortran/43414] DWARF4: Use DW_AT_main_subprogram for MAIN__

2010-10-19 Thread fxcoudert at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43414 Francois-Xavier Coudert fxcoudert at gcc dot gnu.org changed: What|Removed |Added Status|NEW

[Bug c++/46024] g++.dg/warn/miss-format-1.C FAILs on Solaris 8 and 9

2010-10-19 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46024 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug fortran/46079] [4.6 Regression] ABI for empty stop statement broken

2010-10-19 Thread jvdelisle at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46079 Jerry DeLisle jvdelisle at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |ASSIGNED

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-19 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 Jie Zhang jiez at gcc dot gnu.org changed: What|Removed |Added CC||jiez at gcc dot

[Bug libgcj/46082] New: libgcj fails to build in current 4.5 branch

2010-10-19 Thread bero at arklinux dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46082 Summary: libgcj fails to build in current 4.5 branch Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgcj AssignedTo:

[Bug middle-end/45962] [4.6 Regression]: many c/c++ failures on cris-elf, in r165236:165242

2010-10-19 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45962 Richard Henderson rth at gcc dot gnu.org changed: What|Removed |Added Status|REOPENED|NEW ---

[Bug bootstrap/44970] [4.6 regression] Revision 162270 failed to bootstrap

2010-10-19 Thread sje at cup dot hp.com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44970 --- Comment #87 from Steve Ellcey sje at cup dot hp.com 2010-10-19 16:09:57 UTC --- My testing on 32 bit and 64 bit PA boxes went fine. The patch looks good to me.

[Bug lto/46083] New: gcc.dg/initpri1.c FAILs with -flto/-fwhopr (attribute constructor/destructor doesn't work)

2010-10-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46083 Summary: gcc.dg/initpri1.c FAILs with -flto/-fwhopr (attribute constructor/destructor doesn't work) Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-19 Thread jiez at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 --- Comment #21 from Jie Zhang jiez at gcc dot gnu.org 2010-10-19 16:58:58 UTC --- Another way to fix this bug: http://gcc.gnu.org/ml/gcc/2010-10/msg00281.html David, are you still interested to try this patch on sb1?

[Bug rtl-optimization/37360] [4.4 Regression] ICE in haifa-sched.c when compiling __popcountsi2 from libgcc

2010-10-19 Thread daney at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37360 --- Comment #22 from David Daney daney at gcc dot gnu.org 2010-10-19 17:38:32 UTC --- I no longer have access to an SB1. But you should be able to run the test case on a cross compiler to see how it is affected by any patch.

[Bug c++/46056] [C++0x] range-based for loop inside lambda crashes if _GLIBCXX_DEBUG is defined

2010-10-19 Thread alserkli at inbox dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056 --- Comment #2 from Alexander Klimov alserkli at inbox dot ru 2010-10-19 18:22:11 UTC --- Created attachment 22086 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22086 simple testcase

[Bug c++/46056] [C++0x] range-based for loop does not destruct iterators

2010-10-19 Thread alserkli at inbox dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056 Alexander Klimov alserkli at inbox dot ru changed: What|Removed |Added Summary|[C++0x] range-based for |[C++0x]

[Bug target/46084] New: gcc.dg/split-4.c failed with -mavx -m32

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46084 Summary: gcc.dg/split-4.c failed with -mavx -m32 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo:

[Bug tree-optimization/46085] New: [4..6 Regression] gcc.dg/vect/fast-math-vect-reduc-[57].c failed with -mavx -ffast-math -O3

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46085 Summary: [4..6 Regression] gcc.dg/vect/fast-math-vect-reduc-[57].c failed with -mavx -ffast-math -O3 Product: gcc Version: 4.6.0 Status: UNCONFIRMED

[Bug tree-optimization/46085] [4..6 Regression] gcc.dg/vect/fast-math-vect-reduc-[57].c failed with -mavx -ffast-math -O3

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46085 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added CC||rguenth at gcc dot

[Bug tree-optimization/46085] [4..6 Regression] gcc.dg/vect/fast-math-vect-reduc-[57].c failed with -mavx -ffast-math -O3

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46085 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2010-10-19 19:48:35 UTC --- [...@gnu-18 gcc]$ cat x.c extern void abort (); float b[16] = {0,3,6,9,12,15,18,21,24,27,30,33,36,39,42,45}; float c[16] =

[Bug plugins/41757] Add PLUGIN_FINISH_DECL

2010-10-19 Thread dnovillo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41757 Diego Novillo dnovillo at gcc dot gnu.org changed: What|Removed |Added CC||dnovillo at

[Bug c++/46056] [C++0x] range-based for loop does not destruct iterators

2010-10-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056 --- Comment #4 from Paolo Carlini paolo.carlini at oracle dot com 2010-10-19 20:35:01 UTC --- Many thanks Alexander.

[Bug c++/46056] [C++0x] range-based for loop does not destruct iterators

2010-10-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46056 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added CC|

[Bug c/46086] New: fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile

2010-10-19 Thread mexas at bristol dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086 Summary: fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile Product: gcc Version: 4.5.2

[Bug c/46086] fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile

2010-10-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086 --- Comment #1 from Andrew Pinski pinskia at gcc dot gnu.org 2010-10-19 21:06:26 UTC --- cc1: internal compiler error: Segmentation fault: 11 Does this happen every time?

[Bug bootstrap/46086] fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile

2010-10-19 Thread mexas at bristol dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086 --- Comment #2 from Anton Shterenlikht mexas at bristol dot ac.uk 2010-10-19 21:10:00 UTC --- yes I've repeated it maybe 5-10 times over the last several weeks. I don't know if this is a regression. I think lapack dependency in freebsd ports

[Bug bootstrap/46086] fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile

2010-10-19 Thread ebotcazou at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086 Eric Botcazou ebotcazou at gcc dot gnu.org changed: What|Removed |Added CC||ebotcazou at

[Bug tree-optimization/43657] [4.3/4.4/4.5/4.6 Regression] -ftree-loop-linear causes FAIL: gcc.dg/vect/vect-cond-5.c execution test

2010-10-19 Thread changpeng.fang at amd dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43657 --- Comment #4 from Changpeng Fang changpeng.fang at amd dot com 2010-10-19 21:27:46 UTC --- for (k = 0; k 32; k++) { res = 0; for (j = 0; j 32; j++) for (i = 0; i 32; i++) { next = a[i][j];

[Bug tree-optimization/46085] [4..6 Regression] gcc.dg/vect/fast-math-vect-reduc-[57].c failed with -mavx -ffast-math -O3

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46085 --- Comment #2 from H.J. Lu hjl.tools at gmail dot com 2010-10-19 21:32:05 UTC --- (define_expand reduc_splus_v8sf [(match_operand:V8SF 0 register_operand ) (match_operand:V8SF 1 register_operand )] TARGET_AVX { rtx tmp = gen_reg_rtx

[Bug target/46072] AIX linker chokes on debug info for uninitialized static variables

2010-10-19 Thread skunk at iskunk dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46072 --- Comment #1 from Daniel Richard G. skunk at iskunk dot org 2010-10-19 21:51:44 UTC --- I'd like to add: We've been able to work around this issue in our C codebase simply by ensuring that every static variable is initialized with a value. The

[Bug tree-optimization/44503] control flow in the middle of basic block with -fprefetch-loop-arrays

2010-10-19 Thread changpeng.fang at amd dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44503 Changpeng Fang changpeng.fang at amd dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug bootstrap/46086] fail to build gcc 4.5.2 on sparc64-portbld-freebsd9.0 - configure: error: cannot compute suffix of object files: cannot compile

2010-10-19 Thread mexas at bristol dot ac.uk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46086 --- Comment #4 from Anton Shterenlikht mexas at bristol dot ac.uk 2010-10-19 22:07:54 UTC --- what specifically? The versions of the libraries mentioned on my box are above the minimum recommended: mpfr-3.0.0 gmp-5.0.1 binutils-2.20.1_3 or did

[Bug fortran/23280] gfortran does not emit DW_AT_entry_point (dwarf-2) debugging info

2010-10-19 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23280 Tobias Burnus burnus at gcc dot gnu.org changed: What|Removed |Added CC||burnus at gcc

[Bug tree-optimization/46085] [4..6 Regression] gcc.dg/vect/fast-math-vect-reduc-[57].c failed with -mavx -ffast-math -O3

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46085 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added URL|

[Bug middle-end/45962] [4.6 Regression]: many c/c++ failures on cris-elf, in r165236:165242

2010-10-19 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45962 --- Comment #17 from Hans-Peter Nilsson hp at gcc dot gnu.org 2010-10-19 22:21:43 UTC --- (In reply to comment #10) MAX_STACK_ALIGNMENT should be MAX_OFILE_ALIGNMENT if you support the full stack re-alignment scheme. Is there a particular

[Bug target/46084] gcc.dg/split-4.c failed with -mavx -m32

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46084 --- Comment #1 from H.J. Lu hjl.tools at gmail dot com 2010-10-19 22:42:20 UTC --- This one fails without AVX instructions: [...@gnu-18 gcc]$ ./xgcc -B./ /export/gnu/import/git/gcc-avx/gcc/testsuite/gcc.dg/split-4.c -mavx -m32 -fsplit-stack -S

[Bug c++/46046] internal compiler error with SFINAE expression in a template inside a template

2010-10-19 Thread paolo at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46046 --- Comment #3 from paolo at gcc dot gnu.org paolo at gcc dot gnu.org 2010-10-19 22:58:14 UTC --- Author: paolo Date: Tue Oct 19 22:58:11 2010 New Revision: 165708 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=165708 Log: /cp 2010-10-19

[Bug c++/46046] internal compiler error with SFINAE expression in a template inside a template

2010-10-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46046 Paolo Carlini paolo.carlini at oracle dot com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/44776] FAIL: gcc.dg/matrix/transpose-3.c execution, -fprofile-use -fipa-matrix-reorg -fdump-ipa-matrix-reorg -O3 -fwhole-program

2010-10-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44776 Zdenek Sojka zsojka at seznam dot cz changed: What|Removed |Added CC||zsojka at seznam

[Bug fortran/46087] New: Double precision values, when read in from data file, include random trailing numbers

2010-10-19 Thread kyle.s.willis at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46087 Summary: Double precision values, when read in from data file, include random trailing numbers Product: gcc Version: 4.5.1 Status: UNCONFIRMED Severity: major

[Bug fortran/46087] Double precision values, when read in from data file, include random trailing numbers

2010-10-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46087 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/45962] [4.6 Regression]: many c/c++ failures on cris-elf, in r165236:165242

2010-10-19 Thread rth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45962 --- Comment #18 from Richard Henderson rth at gcc dot gnu.org 2010-10-19 23:21:31 UTC --- (In reply to comment #17) Is there a particular reason it should be MAX_OFILE_ALIGNMENT? No. For ELF, that just means arbitrarily large. Hm, the

[Bug rtl-optimization/46088] New: [4.6 Regression] ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops

2010-10-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46088 Summary: [4.6 Regression] ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops Product: gcc Version: 4.6.0 Status:

[Bug target/46089] New: ICE: in gen_reg_rtx, at emit-rtl.c:861 with -mcmodel=large -fsplit-stack

2010-10-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46089 Summary: ICE: in gen_reg_rtx, at emit-rtl.c:861 with -mcmodel=large -fsplit-stack Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug target/46080] [4.4/4.5/4.6 Regression] incorrect precision of sqrtf builtin for x87 arithmetic (-mfpmath=387)

2010-10-19 Thread vincent at vinc17 dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46080 --- Comment #2 from Vincent Lefèvre vincent at vinc17 dot org 2010-10-20 01:51:56 UTC --- Created attachment 22089 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22089 sh script to test sqrtf Similar problems can also be found with:

[Bug fortran/42169] [4.4/4.5/4.6 Regression] gfortran.dg/pr41928.f90:47: internal compiler error: in store_can_be_removed_p, at ira-emit.c:371

2010-10-19 Thread vmakarov at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42169 Vladimir Makarov vmakarov at redhat dot com changed: What|Removed |Added CC||vmakarov at

[Bug rtl-optimization/46088] [4.6 Regression] ICE: SIGSEGV in ix86_binary_operator_ok (i386.c:15025) with -Os -fnon-call-exceptions -fpeel-loops

2010-10-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46088 H.J. Lu hjl.tools at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/46090] New: 16 bit uint16_t puts non-zero in highest bits when shifting

2010-10-19 Thread kshakhna at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46090 Summary: 16 bit uint16_t puts non-zero in highest bits when shifting Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c/46090] 16 bit uint16_t puts non-zero in highest bits when shifting

2010-10-19 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46090 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/46091] New: missed optimization: x86 bt/btc/bts instructions

2010-10-19 Thread jay.krell at cornell dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46091 Summary: missed optimization: x86 bt/btc/bts instructions Product: gcc Version: 4.3.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target AssignedTo: