Re: 4.3 build failure in driver-i386.c

2008-02-18 Thread Richard Guenther
On Feb 18, 2008 8:29 AM, Jakub Jelinek [EMAIL PROTECTED] wrote: On Mon, Feb 18, 2008 at 03:58:26AM +0100, Rask Ingemann Lambertsen wrote: On Sun, Feb 17, 2008 at 11:44:18PM +0100, Jakub Jelinek wrote: Or we can just duplicate the 2 inline asms for __GNUC__ 3 or what is the oldest GCC

Re: omp_get_num_procs() not working on macintosh?

2008-02-18 Thread Paolo Bonzini
If so, someone familiar with Darwin needs to provide (a tested) darwin specific proc.c implementation which can be added to libgomp/config/darwin/proc.c to replace the libgomp/config/posix/proc.c version. Here is code that does so: #include sys/types.h #include sys/sysctl.h int main()

Re: gcc hangs ! (version 4.1.2, Ubuntu 4.1.2-0ubuntu4)

2008-02-18 Thread Andrew Haley
Sunzir Deepur wrote: On Feb 17, 2008 3:55 PM, Andrew Haley [EMAIL PROTECTED] wrote: Sunzir Deepur wrote: followup: After a considerabale amount of time (e.g. 15 seconds), something is suddenly freed, and the compilation completes successfully. afterwards trying to recompile the file completes

Turning cc1plus into a shared library

2008-02-18 Thread Argiris Kirtzidis
Hi all, I'm interested in turning cc1plus into a shared library with an API on top so that it's possible to: -Programmatically parse compile a C++ file -Parse a file, traverse the internal tree representation and get any C++ information that you are looking for -Parse, make changes to the

hash_map for OpenVMS?

2008-02-18 Thread Info IT-BCSB
Hello, i have a problem and hope you could help me to transport the special funktion hash_map to the OpenVMS system for a special software. This special software was develop on a linux system with the g++ compiler. Now, i would like to move this special software to OpenVMS. But OpenVMS has not

Re: hash_map for OpenVMS?

2008-02-18 Thread Paolo Carlini
Info IT-BCSB wrote: Hello, i have a problem and hope you could help me to transport the special funktion hash_map to the OpenVMS system for a special software. This special software was develop on a linux system with the g++ compiler. Now, i would like to move this special software to

Re: [PATCH, DOC] PR 31549: move -frtl-abstract-sequences description

2008-02-18 Thread Gabor Loki
Gerald Pfeifer wrote: The last time I tried this on ARM it didn't work because there were ICEs and it might have been fixed by now. However searching on bugzilla found me these . http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33009 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33642 In the latter

[plugins] include conventions

2008-02-18 Thread Basile STARYNKEVITCH
Hello All, [I hope that the GCC mailing list is the good place for plugins related question] This is a technical newbie question regarding the plugin effort (or even branch) of GCC. I suppose that a plugin machinery for GCC offers, for the plugin to be compiled, some conventions. In

Re: Turning cc1plus into a shared library

2008-02-18 Thread Tom Tromey
Argiris == Argiris Kirtzidis [EMAIL PROTECTED] writes: Argiris I'm interested in turning cc1plus into a shared library with Argiris an API on top so that it's possible to: Argiris The API should be easy to use not only from C but from other Argiris languages that can use C libraries. Argiris

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Janis Johnson
PR target/34526 doesn't show up as a regression but it is in that on powerpc-linux -O3 -mcpu=970 now includes -ftree-vectorize and with the default, non-AltiVec ABI vector registers can be clobbered by other functions in the same call tree. An example of this is 176.gcc from SPEC CPU2000. The

Re: [plugins] include conventions

2008-02-18 Thread Emmanuel Fleury
Basile STARYNKEVITCH wrote: In other words, how can somebody compile a plugin for GCC on a system without GCC build directory? Only if you do not use any of the GCC internal data-structures... which seems to narrow a lot the interest of GCC plugins. :) Short answer would be: No. Regartds --

Re: bootstrap broken on mingw

2008-02-18 Thread Mark Mitchell
Weddington, Eric wrote: Yes, because the one provided with MSYS is from texinfo 4.3, which GCC finds too old. Apparently, MSYS-1.0.11 will come with texinfo 4.11, but it's still labeled technology preview for now. I'm in the same boat here, msys-1.0.10, texinfo 4.3. Is it the case that

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Jakub Jelinek
On Mon, Feb 18, 2008 at 09:29:22AM -0800, Janis Johnson wrote: PR target/34526 doesn't show up as a regression but it is in that on powerpc-linux -O3 -mcpu=970 now includes -ftree-vectorize and with the default, non-AltiVec ABI vector registers can be clobbered by other functions in the same

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread David Edelsohn
Jakub, PPC970 and POWER6 support Altivec and that feature is enabled for those processor by default. Now with inlining, auto-vectorization, and copying via Altivec registers, GCC needs to save and restore the registers correctly for overlapped use enabled implicitly. PPC64 Linux enables

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Janis Johnson
On Mon, 2008-02-18 at 15:25 -0500, Jakub Jelinek wrote: On Mon, Feb 18, 2008 at 09:29:22AM -0800, Janis Johnson wrote: PR target/34526 doesn't show up as a regression but it is in that on powerpc-linux -O3 -mcpu=970 now includes -ftree-vectorize and with the default, non-AltiVec ABI vector

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Jakub Jelinek
On Mon, Feb 18, 2008 at 03:57:10PM -0500, Daniel Jacobowitz wrote: On Mon, Feb 18, 2008 at 03:25:03PM -0500, Jakub Jelinek wrote: What would break if in non-altivec ABI all Altivec registers are either fixed (-mno-altivec) or call-used (-maltivec)? I still suggest that the correct choice

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Daniel Jacobowitz
On Mon, Feb 18, 2008 at 03:25:03PM -0500, Jakub Jelinek wrote: What would break if in non-altivec ABI all Altivec registers are either fixed (-mno-altivec) or call-used (-maltivec)? I still suggest that the correct choice is to use the same set of call-used and call-saved registers without the

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Janis Johnson
On Mon, 2008-02-18 at 16:12 -0500, Jakub Jelinek wrote: On Mon, Feb 18, 2008 at 03:57:10PM -0500, Daniel Jacobowitz wrote: On Mon, Feb 18, 2008 at 03:25:03PM -0500, Jakub Jelinek wrote: What would break if in non-altivec ABI all Altivec registers are either fixed (-mno-altivec) or

Re: omp_get_num_procs() not working on macintosh?

2008-02-18 Thread CSights
Perhaps Darwin doesn't define _SC_NPROCESSORS_ONLN It is defined on Darwin9: [ibook-dhum] f90/bug% grep _SC_NPROCESSORS_ONLN /usr/include/* /usr/include/unistd.h:#define   _SC_NPROCESSORS_ONLN            58 but apparently not for Darwin8. Dominique Yep, I'm having trouble with Darwin v

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Janis Johnson
On Mon, 2008-02-18 at 17:21 -0500, David Edelsohn wrote: Janis Johnson writes: Janis I have a patch, written since this thread started, that saves and Janis restores AltiVec registers based on TARGET_ALTIVEC instead of Janis TARGET_ALTIVEC_ABI. It passes gcc.target/powerpc tests and

gcc-4.1-20080218 is now available

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

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread David Edelsohn
Janis Johnson writes: Janis I have a patch, written since this thread started, that saves and Janis restores AltiVec registers based on TARGET_ALTIVEC instead of Janis TARGET_ALTIVEC_ABI. It passes gcc.target/powerpc tests and 176.gcc Janis with -O3 -maltivec -mabi=no-altivec. I'll post that

GCC 4.3 branch created, 4.4 opens for stage1

2008-02-18 Thread Jakub Jelinek
Hi! As I've mentioned last week, I've created branches/gcc-4_3-branch. The trunk is now 4.4 stage 1, the branch is open for regression bugfixes and documentation fixes only, but additionally all checkings require RM approval in addition to normal approval. Before the release candidate is cut, it

Double constructors in C++?

2008-02-18 Thread Samuel Tardieu
Hi. Why are constructors included twice in object code? This is with GCC 4.3.0 20080214: % cat t.cc #include string class T{ T(const std::string); int foo(); int x; }; T::T(const std::string) {x=2;} int T::foo() { x=7; } % g++ -c -o t.o t.cc -fomit-frame-pointer -O % nm -S -C t.o

Re: GCC 4.3 branch created, 4.4 opens for stage1

2008-02-18 Thread David Edelsohn
Jakub Jelinek writes: Jakub As I've mentioned last week, I've created branches/gcc-4_3-branch. Jakub The trunk is now 4.4 stage 1, the branch is open for regression bugfixes Jakub and documentation fixes only, but additionally all checkings require I had hoped that you would not open

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
Daniel Jacobowitz wrote: On Mon, Feb 18, 2008 at 03:25:03PM -0500, Jakub Jelinek wrote: What would break if in non-altivec ABI all Altivec registers are either fixed (-mno-altivec) or call-used (-maltivec)? I still suggest that the correct choice is to use the same set of call-used and

Re: GCC 4.3 branch created, 4.4 opens for stage1

2008-02-18 Thread Joseph S. Myers
On Mon, 18 Feb 2008, Jakub Jelinek wrote: As I've mentioned last week, I've created branches/gcc-4_3-branch. The trunk is now 4.4 stage 1, the branch is open for regression bugfixes Before we start getting 4.4-specific bugs or fixes, all open bugs with 4.3 in their summaries need it changing

Re: GCC 4.3 branch created, 4.4 opens for stage1

2008-02-18 Thread Ralf Wildenhues
* Jakub Jelinek wrote on Tue, Feb 19, 2008 at 12:18:02AM CET: PR35218 - I believe the latest patch worked for the tester, so we now have a patch and just need an approval? Yes, the patch is at http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00678.html and the

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Janis Johnson
On Mon, 2008-02-18 at 18:58 -0500, David Edelsohn wrote: I misread Janis's latest patch that I approved. The patch was suppose to enable -mabi=altivec when -maltivec is enabled, not change the default ABI. For other OSes, -mabi=altivec is the default, so -maltivec just

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread David Edelsohn
I misread Janis's latest patch that I approved. The patch was suppose to enable -mabi=altivec when -maltivec is enabled, not change the default ABI. For other OSes, -mabi=altivec is the default, so -maltivec just works and produces correct code. If a user enables

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
Janis Johnson wrote: I discussed this on IRC with David Edelsohn and others. I plan to modify the patch at http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00521.html to set the default for the AltiVec ABI based on -maltivec; that patch had set it by default. That patch will continue to re-enable

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
David Edelsohn wrote: The patch was suppose to enable -mabi=altivec when -maltivec is enabled, not change the default ABI. OK. If I understand correctly, then, this is going to be an ABI break for 32-bit Power GNU/Linux users using an AltiVec CPU (like 970). In particular, if I

Re: GCC 4.3 branch created, 4.4 opens for stage1

2008-02-18 Thread Doug Gregor
On Feb 18, 2008 6:18 PM, Jakub Jelinek [EMAIL PROTECTED] wrote: Hi! As I've mentioned last week, I've created branches/gcc-4_3-branch. The trunk is now 4.4 stage 1, the branch is open for regression bugfixes and documentation fixes only, but additionally all checkings require RM approval in

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
David Edelsohn wrote: Mark Mitchell writes: Mark However, if I understand correct, some users have probably been Mark implicitly using those options because they were using -mcpu=970, or Mark otherwise specifying an AltiVec CPU. It seems desirable in the abstract Mark that this code still

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Joseph S. Myers
On Mon, 18 Feb 2008, Janis Johnson wrote: There are lots of inconsistencies in passing generic vectors as arguments and return values, and I'll leave those alone until the PowerPC ELF ABI group decides what to do with them. Perhaps you'd care to recommend what the semantics *ought* to be,

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread David Edelsohn
Mark Mitchell writes: Mark So, if we wanted to make this interoperate better, we'd have to Mark introduce dynamic stack alignment in every externally visible function, Mark thereby penalizing the average user who isn't trying to support linking Mark with legacy code. Right? As

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Daniel Jacobowitz
On Mon, Feb 18, 2008 at 08:16:39PM -0500, David Edelsohn wrote: The Altivec ABI does change the stack alignment. This should not create an incompatibility for old code, but new code may not receive the stack properly aligned without additional dynamic alignment. I thought so, too, but

Re: GCC 4.3.0 Status Report (2008-02-14)

2008-02-18 Thread Mark Mitchell
Daniel Jacobowitz wrote: On Mon, Feb 18, 2008 at 08:16:39PM -0500, David Edelsohn wrote: The Altivec ABI does change the stack alignment. This should not create an incompatibility for old code, but new code may not receive the stack properly aligned without additional dynamic

Re: Double constructors in C++?

2008-02-18 Thread Ian Lance Taylor
Samuel Tardieu [EMAIL PROTECTED] writes: Why are constructors included twice in object code? This is required by the C++ ABI. It is, in my opinion, a real bug that gcc does not simply merge identical constructors. There are ABI issues with changing, in that it can change the behaviour of

Re: Double constructors in C++?

2008-02-18 Thread Mark Mitchell
Ian Lance Taylor wrote: Samuel Tardieu [EMAIL PROTECTED] writes: Why are constructors included twice in object code? This is required by the C++ ABI. It is, in my opinion, a real bug that gcc does not simply merge identical constructors. I agree. Up until now, I think all of the patches

Re: Double constructors in C++?

2008-02-18 Thread Mark Mitchell
Ian Lance Taylor wrote: I believe that it would be possible to construct some test cases with shared libraries built in the current regime, including only one version of the constructor, which will behave strangely in the new regime. The ABI explicitly expects you to use multiple entry

Re: Double constructors in C++?

2008-02-18 Thread Ian Lance Taylor
Mark Mitchell [EMAIL PROTECTED] writes: Ian Lance Taylor wrote: Samuel Tardieu [EMAIL PROTECTED] writes: Why are constructors included twice in object code? This is required by the C++ ABI. It is, in my opinion, a real bug that gcc does not simply merge identical constructors. I

RE: [discuss] When is RBX used for base pointer?

2008-02-18 Thread Ye, Joey
On Wed, 13 Feb 2008, H.J. Lu wrote: Recent i386 use arbitrary register as GOT pointer only for leaf function. When you call something, the GOT entry uses EBX too. We use RBX for large PIC model. But I am with Michael here that I don't see reason why choice of register needs to be set in

[Bug fortran/29975] [meta-bugs] ICEs with CP2K

2008-02-18 Thread jv244 at cam dot ac dot uk
--- Comment #148 from jv244 at cam dot ac dot uk 2008-02-18 08:10 --- (In reply to comment #147) (In reply to comment #146) (In reply to comment #145) current gfortran trunk seems to fail on CVS sources of CP2K with: PR34946 Joost - can this be closed again? Done, but I hope

[Bug c++/35247] New: Usage of openmp pragmas causes internal compiler error

2008-02-18 Thread ttsiod at softlab dot ntua dot gr
I tried compiling my open source application with GCC. My application uses OpenMP to make use of available CPU cores and run faster. I got an internal compiler error from GCC, even though the same code compiles and runs fine (using both cores) under Intel's ICC. It also compiles and runs fine with

[Bug fortran/35203] OPTIONAL, VALUE actual argument cannot be an INTEGER 0

2008-02-18 Thread toon at moene dot indiv dot nluug dot nl
--- Comment #9 from toon at moene dot indiv dot nluug dot nl 2008-02-18 08:32 --- What will happen now? Will anyone send an interpretation request, which will bring it up on the table again? No, as it isn't *impossible* to implement it (with a hidden argument), an interp won't stand

[Bug driver/35248] New: --enable-version-specific-runtime-libs broken

2008-02-18 Thread Ralf dot Wildenhues at gmx dot de
/ralf/local --with-mpfr=/home/ralf/local Thread model: posix gcc version 4.3.0 20080218 (experimental) (GCC) COLLECT_GCC_OPTIONS='-o' 'a' '-v' '-mtune=generic' /home/ralf/gcc-test/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.0/cc1 -quiet -v -iprefix /home/ralf/gcc-test/bin/../lib/gcc/x86_64

[Bug c++/35247] Usage of openmp pragmas causes internal compiler error

2008-02-18 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-02-18 09:41 --- *** This bug has been marked as a duplicate of 35185 *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/35185] ICE using openmp with g++-4.2

2008-02-18 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2008-02-18 09:41 --- *** Bug 35247 has been marked as a duplicate of this bug. *** -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33555] x86 missed opportunity for sbb

2008-02-18 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2008-02-18 09:58 --- Created an attachment (id=15183) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15183action=view) Patch to implement missed optimization. 2008-02-18 Uros Bizjak [EMAIL PROTECTED] PR target/33555 *

[Bug driver/35248] --enable-version-specific-runtime-libs broken

2008-02-18 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-02-18 10:07 --- libgcc_s goes into slibdir which is set as AC_ARG_WITH(slibdir, [ --with-slibdir=DIR shared libraries in DIR [[LIBDIR]]], slibdir=$with_slibdir, if test ${enable_version_specific_runtime_libs+set} = set; then

[Bug c++/35078] ICE with reference in parallel for loop

2008-02-18 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c/32511] GCC inlines weak function

2008-02-18 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |rguenth at gcc dot gnu dot |dot org

[Bug target/35179] execs crash in shared lib destructor = do_global_dtors_aux

2008-02-18 Thread lakshmivaraganm at hcl dot in
--- Comment #4 from lakshmivaraganm at hcl dot in 2008-02-18 12:08 --- This Crash on exit problem is there if we call exit(0) or call return 0. If _exit(0) is used, there is no crash. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35179

[Bug c++/34964] ICE with broken variable in #pragma omp threadprivate

2008-02-18 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c++/35244] Broken diagnostic: 'type_decl' not supported by dump_expr

2008-02-18 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug c++/35028] ICE with strange ctor and firstprivate

2008-02-18 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug target/35193] [4.3 Regression] can't find a register in class 'R1_REGS' while reloading 'asm'

2008-02-18 Thread danglin at gcc dot gnu dot org
--- Comment #6 from danglin at gcc dot gnu dot org 2008-02-18 15:23 --- The testcase compiles with -fno-gcse. However, the result from the gcse1 pass using the 4.2 branch is similar to that with 4.3. In the greg dump with 4.3, we have: (insn 957 956 958 132

[Bug c/35249] New: gcc miscompiles emacs' src/intervals.c when using optimisation on solaris 8

2008-02-18 Thread simon dot marshall at misys dot com
I seem to have found a problem where gcc-4.1.2 and gcc-4.2.3 miscompile Emacs' src/intervals.c when using optimisation on solaris 8. $ gcc -v Using built-in specs. Target: sparc-sun-solaris2.8 Configured with: ../configure --enable-languages=c,c++ Thread model: posix gcc version 4.2.3 I

[Bug c/35249] gcc miscompiles emacs' src/intervals.c when using optimisation on solaris 8

2008-02-18 Thread simon dot marshall at misys dot com
--- Comment #2 from simon dot marshall at misys dot com 2008-02-18 18:06 --- I appreciate that Emacs is not the smallest of test cases and I apologise in advance for this crime. Anything I can do to help determine the cause? Are you familiar with src/intervals.c? If so, you

[Bug c/35249] gcc miscompiles emacs' src/intervals.c when using optimisation on solaris 8

2008-02-18 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2008-02-18 17:51 --- I have reproduced this with gcc-4.1.2 and gcc-4.2.3. I cannot reproduce it using Sun Studio CC-5.7. I also could not reproduce it on RHEL-5 with its gcc-4.1.2, nor could a couple of other people who tried it

[Bug c/35249] gcc miscompiles emacs' src/intervals.c when using optimisation on solaris 8

2008-02-18 Thread ebotcazou at gcc dot gnu dot org
--- Comment #3 from ebotcazou at gcc dot gnu dot org 2008-02-18 18:21 --- Thanks for the quick response. Unfortunately, I'm not familiar with src/intervals.c and I doubt if it is easy to split it up... Is it possible to guess in what function things go awry? But, to answer your

[Bug middle-end/34921] Misalign stack variable referenced by nested function

2008-02-18 Thread hjl at gcc dot gnu dot org
--- Comment #8 from hjl at gcc dot gnu dot org 2008-02-18 23:44 --- Subject: Bug 34921 Author: hjl Date: Mon Feb 18 23:43:23 2008 New Revision: 132396 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132396 Log: gcc/ 2008-02-18 Joey Ye [EMAIL PROTECTED] PR

[Bug c++/32089] Winline reports bogus warning

2008-02-18 Thread mckelvey at maskull dot com
--- Comment #7 from mckelvey at maskull dot com 2008-02-19 00:58 --- How can GCC conclude that a call is going to be infrequent? Doesn't that amount to predicting the future? Also, if an object is constructed, then it will be destroyed. So there is almost a 100% chance of calling the

[Bug target/35189] -mno-sse4.2 turns off SSE4a

2008-02-18 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2008-02-19 01:21 --- Subject: Bug 35189 Author: hjl Date: Tue Feb 19 01:21:03 2008 New Revision: 132403 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132403 Log: gcc/ 2008-02-18 H.J. Lu [EMAIL PROTECTED] PR target/35189

[Bug target/35071] bad instruction `do_itt eq'

2008-02-18 Thread pbrook at gcc dot gnu dot org
--- Comment #9 from pbrook at gcc dot gnu dot org 2008-02-19 01:30 --- Fixed -- pbrook at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED

[Bug target/35071] bad instruction `do_itt eq'

2008-02-18 Thread pbrook at gcc dot gnu dot org
--- Comment #8 from pbrook at gcc dot gnu dot org 2008-02-19 01:29 --- Subject: Bug 35071 Author: pbrook Date: Tue Feb 19 01:29:09 2008 New Revision: 132404 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132404 Log: 2008-02-19 Paul Brook [EMAIL PROTECTED] PR

[Bug target/32871] [avr] Bad optimisation - gcc is pushing too many registers

2008-02-18 Thread eric dot weddington at atmel dot com
--- Comment #2 from eric dot weddington at atmel dot com 2008-02-19 02:45 --- Confirmed. 4.2.2 produces unnecessary pushes and pops. 4.3.0 causes worse code than 4.2.x and adds unnecessary moves. Adding const or pure function attributes do not seem to help in 4.3.0. -- eric dot

[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.

2008-02-18 Thread eric dot weddington at atmel dot com
--- Comment #29 from eric dot weddington at atmel dot com 2008-02-19 02:47 --- Rask's patch (gcc-4.3-bug-11180-experimental.patch) causes worse code for the test case in bug #32871, than without the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180

[Bug driver/34904] -march=native doesn't work with multiple input files

2008-02-18 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2008-02-19 02:29 --- Won't fix 4.2: http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00715.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug target/35071] bad instruction `do_itt eq'

2008-02-18 Thread manu at gcc dot gnu dot org
--- Comment #10 from manu at gcc dot gnu dot org 2008-02-19 02:20 --- Paul, notice that you fixed this *after* GCC 4.3 branched, so if your intention was to fix it also for GCC 4.3, you would need to commit the fix to the branch (and get a RM to approve it). -- manu at gcc dot gnu

[Bug other/12618] core not cleaned up by 'make distclean'

2008-02-18 Thread bje at gcc dot gnu dot org
--- Comment #4 from bje at gcc dot gnu dot org 2008-02-19 03:23 --- Subject: Bug 12618 Author: bje Date: Tue Feb 19 03:23:15 2008 New Revision: 132405 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132405 Log: PR other/12618 * testsuite/Makefile.in (mostlyclean):

[Bug other/12618] core not cleaned up by 'make distclean'

2008-02-18 Thread bje at gcc dot gnu dot org
--- Comment #5 from bje at gcc dot gnu dot org 2008-02-19 04:12 --- Fixed in trunk. -- bje at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/35193] [4.3 Regression] can't find a register in class 'R1_REGS' while reloading 'asm'

2008-02-18 Thread danglin at gcc dot gnu dot org
--- Comment #7 from danglin at gcc dot gnu dot org 2008-02-19 04:28 --- It appears this regressions was introduced in revision 130297. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35071] bad instruction `do_itt eq'

2008-02-18 Thread pbrook at gcc dot gnu dot org
--- Comment #11 from pbrook at gcc dot gnu dot org 2008-02-19 04:33 --- Subject: Bug 35071 Author: pbrook Date: Tue Feb 19 04:32:15 2008 New Revision: 132408 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132408 Log: 2008-02-19 Paul Brook [EMAIL PROTECTED] PR

[Bug target/35088] ICE: in def_cfa_1, at dwarf2out.c:804

2008-02-18 Thread mmitchel at gcc dot gnu dot org
--- Comment #4 from mmitchel at gcc dot gnu dot org 2008-02-19 04:37 --- Can this issue now be closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35088

[Bug other/35250] gmp and mpfr are erroneously configured with --target

2008-02-18 Thread nightstrike at gmail dot com
--- Comment #1 from nightstrike at gmail dot com 2008-02-19 05:32 --- Here is the email thread that started it all: http://gcc.gnu.org/ml/gcc-help/2008-02/msg00197.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35250

[Bug other/35250] New: gmp and mpfr are erroneously configured with --target

2008-02-18 Thread nightstrike at gmail dot com
When gmp and mpfr are in the build tree of gcc, they will be automatically configured and build. However, some of the options passed to configure are incorrect according to the GMP manual: [Begin quote] Note that the `--target' option is not appropriate for GMP. It's for use when building

[Bug c++/34950] [4.2/4.3 Regression] ICE in svn boost math toolkit

2008-02-18 Thread mark at codesourcery dot com
--- Comment #15 from mark at codesourcery dot com 2008-02-19 06:15 --- Subject: Re: [4.2/4.3 Regression] ICE in svn boost math toolkit rguenth at gcc dot gnu dot org wrote: --- Comment #14 from rguenth at gcc dot gnu dot org 2008-02-12 23:19 --- It looks like simply

[Bug middle-end/27986] [4.0/4.1/4.2/4.3 Regression] jump to middle of loop on entry with using old version of an variable

2008-02-18 Thread xinliangli at gmail dot com
--- Comment #10 from xinliangli at gmail dot com 2008-02-19 06:00 --- (In reply to comment #0) in the following code gcc choses the registers in such a way that it causes itself an extra copy for every loop iteration and has to jump past the copy to start the loop... it's probably

[Bug middle-end/35251] internal compiler error: verify_stmts failed

2008-02-18 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-02-19 06:42 --- gcc version 4.2.0 20060713 (experimental) That is an old version of 4.2.0, can you try a new version of gcc 4.2.x. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35251

[Bug fortran/35251] New: internal compiler error: verify_stmts failed

2008-02-18 Thread kendrick dot killian at colostate dot edu
during compile, received the following output bug.f: In function 'master.0.mnthweek': bug.f:82: error: invalid operand to binary operator __result_master.0.mnthweekD.911 bug.f:82: internal compiler error: verify_stmts failed Please submit a full bug report, with preprocessed source if

[Bug target/35088] ICE: in def_cfa_1, at dwarf2out.c:804

2008-02-18 Thread corsepiu at gcc dot gnu dot org
--- Comment #5 from corsepiu at gcc dot gnu dot org 2008-02-19 06:34 --- (In reply to comment #4) Can this issue now be closed? IMO, yes. But I prefer to leave closing this PR to an m68k-specialist. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35088

[Bug target/33555] x86 missed opportunity for sbb

2008-02-18 Thread uros at gcc dot gnu dot org
--- Comment #2 from uros at gcc dot gnu dot org 2008-02-19 07:24 --- Subject: Bug 33555 Author: uros Date: Tue Feb 19 07:23:30 2008 New Revision: 132414 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132414 Log: PR target/33555 * config/i386/i386.md

[Bug target/33555] x86 missed opportunity for sbb

2008-02-18 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2008-02-19 07:41 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/35178] Misaligned Accesses on arrays of packed stucts

2008-02-18 Thread chrbr at gcc dot gnu dot org
--- Comment #4 from chrbr at gcc dot gnu dot org 2008-02-19 07:53 --- fixed in mainline -- chrbr at gcc dot gnu dot org changed: What|Removed |Added URL|