Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Eric Botcazou
However I also want a singlelib version to be able to compile. When createing a glibc crosscompiler, compiling 4 version of glibc makes it inpracticable. And crosscompiling user space apps I dont want the need to supply the extra switches explicitly all the time. Maybe there is a simple way

Re: Boostrap fails on i386-pc-solaris2.10 - libquadmath error

2010-11-19 Thread Rainer Orth
Ralf Wildenhues ralf.wildenh...@gmx.de writes: the Automake manual can be read otherwise: ch. 8.3.7 `_LIBADD', `_LDFLAGS', and `_LIBTOOLFLAGS' states: As shown in previous sections, the `LIBRARY_LIBADD' variable should be used to list extra libtool objects (`.lo' files) or libtool

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Joern Rennecke
Quoting Eric Botcazou ebotca...@adacore.com: However I also want a singlelib version to be able to compile. When createing a glibc crosscompiler, compiling 4 version of glibc makes it inpracticable. And crosscompiling user space apps I dont want the need to supply the extra switches explicitly

Re: How can I tell if BB can reach EXIT_BLOCK_PTR?

2010-11-19 Thread Ian Lance Taylor
H.J. Lu hjl.to...@gmail.com writes: Given a basic block BB, is there a way to tell if it will reach EXIT_BLOCK_PTR? Seems like you should be able to use dominated_by_p. Ian

Re: How can I tell if BB can reach EXIT_BLOCK_PTR?

2010-11-19 Thread Joern Rennecke
Quoting Ian Lance Taylor i...@google.com: H.J. Lu hjl.to...@gmail.com writes: Given a basic block BB, is there a way to tell if it will reach EXIT_BLOCK_PTR? Seems like you should be able to use dominated_by_p. Unless he wants to know if it will *actually* reach EXIT_BLOCK_PTR, in which

Re: Boostrap fails on i386-pc-solaris2.10 - libquadmath error

2010-11-19 Thread Rainer Orth
Tobias Burnus bur...@net-b.de writes: No, finding libgfortran.spec at compile time works - it is all about finding it at run time. pardon me: AFAIK the spec files are *only* used by the compiler driver, not at runtime of the resulting executables. while my issue is about finding the right

Re: Boostrap fails on i386-pc-solaris2.10 - libquadmath error

2010-11-19 Thread Tobias Burnus
On 11/19/2010 03:41 PM, Rainer Orth wrote: Tobias Burnusbur...@net-b.de writes: No, finding libgfortran.spec at compile time works - it is all about finding it at run time. pardon me: AFAIK the spec files are *only* used by the compiler driver, not at runtime of the resulting executables.

Method to test all sse2 calls?

2010-11-19 Thread David Mathog
Hi, I just finished coding a software implementation of emmintrin.h. It removes all of the builtins and uses inlined C functions instead. This is to allow SSE2 based code to run, albeit slowly, on machines without SSE2 support. I am looking for a program, script, or whatever that can be used

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Eric Botcazou
Yes, if all the people who want only one set of libraries agree on what that set shall be (or this can be selected with existing configure flags), this is the simplest way. Yes, this can be selected at configure time with --with-cpu and --with-float. The default configuration is also

Go frontend merge status

2010-11-19 Thread Ian Lance Taylor
The Go frontend is nearly ready to merge to mainline. It is pending approval of these patches to the build machinery: Set poststage1_ldflags for all builds: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01639.html Add Go support to top level configure/make:

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Joel Sherrill
Daniel, How do you see this impacting the sparc-rtems target? We have v7/v8 with HW and SW FP multilibs now and leon is important to us. :-D --joel On 11/19/2010 10:53 AM, Eric Botcazou wrote: Yes, if all the people who want only one set of libraries agree on what that set shall be (or this

Should restrictness be preserved over function linling and casting?

2010-11-19 Thread Bingfeng Mei
Hello, I have been struggling with GCC's restrict implementation. One question is: should restrictness be preserved over function inlining? For example, in the following code: static int store_int (int *a, int data) { *a = data; } void foo (int * __restrict a, int *__restrict b) { int

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Eric Botcazou
How do you see this impacting the sparc-rtems target? We have v7/v8 with HW and SW FP multilibs now and leon is important to us. :-D Note that LEON will also be available as mere default cpu, i.e. you'll be able to configure sparc-rtems --with-tune=leon. The new multilib stuff is for the

Re: RFC: semi-automatic hookization

2010-11-19 Thread Nathan Froyd
On Tue, Nov 16, 2010 at 06:23:32AM -0800, Ian Lance Taylor wrote: Joern Rennecke amyl...@spamcop.net writes: Before I go and make all these target changes test them, is there at least agreemwent that this is the right approach, i.e replacing CUMULATIVE_ARG * with void *, and splitting up

P.S.: Updated: RFA: Fix middle-end/46500 (void * encapsulated)

2010-11-19 Thread Joern Rennecke
Quoting Joern Rennecke amyl...@spamcop.net: This is an update to this patch: http://gcc.gnu.org/ml/gcc-patches/2010-11/msg01769.html At 160 KB, this patch has become somewhat largish. The breakdown is approximately 30 KB target independent code, 120 KB target port code in gcc/config, and 10

Re: Method to test all sse2 calls?

2010-11-19 Thread Ian Lance Taylor
David Mathog mat...@caltech.edu writes: I just finished coding a software implementation of emmintrin.h. It removes all of the builtins and uses inlined C functions instead. This is to allow SSE2 based code to run, albeit slowly, on machines without SSE2 support. I am looking for a

Re: Should restrictness be preserved over function linling and casting?

2010-11-19 Thread Xinliang David Li
A good optimizing compiler tries hard to preserve restrict aliasing of a callee function in its inline instance, and this is usually a hard problem because the use of restrict qualified pointers are now mixed with the caller context. In many cases, the compiler may choose not to inline the

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Geert Bosch
On Nov 19, 2010, at 11:53, Eric Botcazou wrote: Yes, if all the people who want only one set of libraries agree on what that set shall be (or this can be selected with existing configure flags), this is the simplest way. Yes, this can be selected at configure time with --with-cpu and

Re: Should restrictness be preserved over function linling and casting?

2010-11-19 Thread Ian Lance Taylor
Bingfeng Mei b...@broadcom.com writes: Currently, trunk GCC generates following code (compile with -fschedule-insns -O2). Obviously, restrict is effective here even with inlining I am not very good at reading standard text. Does this behaviour conform to standard? Yes. The restrict

gccgo branch and darwin

2010-11-19 Thread Jack Howarth
Ian, The current gccgo branch (at r166931) fails to bootstrap on x86_64-apple-darwin10 using... ../gccgo/configure --prefix=/Users/howarth/dist --with-gmp=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw --with-libiconv-prefix=/sw --with-system-zlib --x-includes=/usr/X11R6/include

RE: gccgo branch and darwin

2010-11-19 Thread Jack Howarth
Ian, It seems that go-go.c needs to be more portable. This issue apparently was addressed in gcc/boehm-gc/pthread_stop_world.c with... /* * We use signals to stop threads during GC. * * Suspended threads wait in signal handler for SIG_THR_RESTART. * That's more portable than semaphores or

Re: gccgo branch and darwin

2010-11-19 Thread Ian Lance Taylor
Jack Howarth howa...@bromo.med.uc.edu writes: The current gccgo branch (at r166931) fails to bootstrap on x86_64-apple-darwin10 using... Thanks for trying it. If you fix that problem, you're going to have other problems too. Specifically, I know that it's going to fail to create a

Re: gccgo branch and darwin

2010-11-19 Thread Jack Howarth
On Fri, Nov 19, 2010 at 12:16:43PM -0800, Ian Lance Taylor wrote: Jack Howarth howa...@bromo.med.uc.edu writes: The current gccgo branch (at r166931) fails to bootstrap on x86_64-apple-darwin10 using... Thanks for trying it. If you fix that problem, you're going to have other

Re: gccgo branch and darwin

2010-11-19 Thread Ian Lance Taylor
Jack Howarth howa...@bromo.med.uc.edu writes: Actually, darwin doesn't use the boehm-gc/pthread_stop_world.c containing the SIGRTMIN code. There is an entirely separate boehm-gc/darwin_stop_world.c for the thread handling on darwin. While boehm-gc/pthread_stop_world.c is compiled on

new mirror in Tampa, US

2010-11-19 Thread Peter Vrzak
Hello there, We have launched a new GCC mirror server offering HTTP access. http://mirrors-us.seosue.com/gcc/ The server is located in Tampa, FL, United States. The update is scheduled twice a week. Thanks in advance for listing us. --- with best regards, Peter Vrzak Epos Media Ltd.

Re: gccgo branch and darwin

2010-11-19 Thread Jack Howarth
On Fri, Nov 19, 2010 at 01:23:14PM -0800, Ian Lance Taylor wrote: Jack Howarth howa...@bromo.med.uc.edu writes: Actually, darwin doesn't use the boehm-gc/pthread_stop_world.c containing the SIGRTMIN code. There is an entirely separate boehm-gc/darwin_stop_world.c for the thread

Re: gccgo branch and darwin

2010-11-19 Thread Ian Lance Taylor
Jack Howarth howa...@bromo.med.uc.edu writes: ps Is there a list of targets that the go compiler has been built on? It's been built and tested on x86 and x86_64 GNU/Linux and RTEMS. Ian

Re: ICE on Cygwin [trunk]

2010-11-19 Thread Angelo Graziosi
Il 17/11/2010 21.06, Tobias Burnus ha scritto: Why does everyone think that I and Fortran have something to do with it if something breaks?* ;-) The issue is known and a fix, which seemingly works on Darwin, exists. See: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510 Angelo Graziosi wrote:

Re: gccgo branch and darwin

2010-11-19 Thread Richard Guenther
On Fri, Nov 19, 2010 at 10:46 PM, Ian Lance Taylor i...@google.com wrote: Jack Howarth howa...@bromo.med.uc.edu writes: ps Is there a list of targets that the go compiler has been built on? It's been built and tested on x86 and x86_64 GNU/Linux and RTEMS. Huh, I wonder why we have frontends

Re: gccgo branch and darwin

2010-11-19 Thread Ian Lance Taylor
Richard Guenther richard.guent...@gmail.com writes: Huh, I wonder why we have frontends that do not even build for all primary hosts. Because the perfect is the enemy of the good. Btw, bugzilla needs a Go and a libgo component. Yes, it's on the list for after the merge, following Joseph

Re: gccgo branch and darwin

2010-11-19 Thread Jack Howarth
On Fri, Nov 19, 2010 at 01:23:14PM -0800, Ian Lance Taylor wrote: Jack Howarth howa...@bromo.med.uc.edu writes: Actually, darwin doesn't use the boehm-gc/pthread_stop_world.c containing the SIGRTMIN code. There is an entirely separate boehm-gc/darwin_stop_world.c for the thread

Re: gccgo branch and darwin

2010-11-19 Thread Ian Lance Taylor
Jack Howarth howa...@bromo.med.uc.edu writes: where you have... void __go_scanstacks (void (*scan) (unsigned char *, int64_t)) in gccgo/libgo/runtime/go-go.c but... void__go_scanstacks(void (*scan)(byte *, int64)); in gccgo/libgo/runtime/runtime.h. Thanks. I don't know why this

Re: gccgo branch and darwin

2010-11-19 Thread Jack Howarth
On Fri, Nov 19, 2010 at 03:59:40PM -0800, Ian Lance Taylor wrote: Jack Howarth howa...@bromo.med.uc.edu writes: where you have... void __go_scanstacks (void (*scan) (unsigned char *, int64_t)) in gccgo/libgo/runtime/go-go.c but... void__go_scanstacks(void (*scan)(byte *,

Re: gccgo branch and darwin

2010-11-19 Thread Ian Lance Taylor
Jack Howarth howa...@bromo.med.uc.edu writes: Actually that wasn't the fix. The change... void -__go_scanstacks (void (*scan) (byte *, int64_t)) +__go_scanstacks (void (*scan) (unsigned char *, int64)) Thanks. Sorry for misunderstanding. I committed the change from int64_t to int64.

Re: gccgo branch and darwin

2010-11-19 Thread Arnaud Lacombe
Hi, On Fri, Nov 19, 2010 at 2:55 PM, Jack Howarth howa...@bromo.med.uc.edu wrote: Ian,   The current gccgo branch (at r166931) fails to bootstrap on x86_64-apple-darwin10 using... ../gccgo/configure --prefix=/Users/howarth/dist --with-gmp=/sw --with-ppl=/sw --with-cloog=/sw

Re: gccgo branch and darwin

2010-11-19 Thread Arnaud Lacombe
Hi, On Fri, Nov 19, 2010 at 10:17 PM, Arnaud Lacombe lacom...@gmail.com wrote: Hi, On Fri, Nov 19, 2010 at 2:55 PM, Jack Howarth howa...@bromo.med.uc.edu wrote: Ian,   The current gccgo branch (at r166931) fails to bootstrap on x86_64-apple-darwin10 using... ../gccgo/configure

Re: gccgo branch and darwin

2010-11-19 Thread Arnaud Lacombe
Hi, On Fri, Nov 19, 2010 at 10:43 PM, Arnaud Lacombe lacom...@gmail.com wrote: ok, this last one is a classic use of non-standard extension of GNU sed I should be able to fix it. It might not be clean, though. Here we go, most redefinition fixed by the attached patch. Remaining error are:

Re: gccgo branch and darwin

2010-11-19 Thread Ralf Wildenhues
* Arnaud Lacombe wrote on Sat, Nov 20, 2010 at 05:58:13AM CET: --- a/libgo/mksysinfo.sh +++ b/libgo/mksysinfo.sh @@ -79,7 +79,7 @@ grep '^const _E' gen-sysinfo.go | \ # The O_xxx flags. grep '^const _\(O\|F\|FD\)_' gen-sysinfo.go | \ - sed -e 's/^\(const \)_\(\(O\|F\|FD\)_[^=

Re: gccgo branch and darwin

2010-11-19 Thread Arnaud Lacombe
Hi, On Fri, Nov 19, 2010 at 11:58 PM, Arnaud Lacombe lacom...@gmail.com wrote: [...] continuing to dig for other errors. One nits; is there any reason to use `__xpg_strerror_r()' which is not POSIX, versus 'strerror_r()' [0] ? // FIXME: The name is only right for glibc. func

Re: gccgo branch and darwin

2010-11-19 Thread Arnaud Lacombe
Hi, On Fri, Nov 19, 2010 at 11:58 PM, Arnaud Lacombe lacom...@gmail.com wrote: sysinfo.go:2874:13: error: use of undefined type 'func___sighandler_t' gen-sysinfo.go has : // type ___sighandler_t func*(int32) It may not like the * as the following: package main import fmt type ___sighandler_t

Re: gccgo branch and darwin

2010-11-19 Thread Arnaud Lacombe
Hi, On Fri, Nov 19, 2010 at 5:55 PM, Richard Guenther richard.guent...@gmail.com wrote: On Fri, Nov 19, 2010 at 10:46 PM, Ian Lance Taylor i...@google.com wrote: Jack Howarth howa...@bromo.med.uc.edu writes: ps Is there a list of targets that the go compiler has been built on? It's been

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

2010-11-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40436 Jan Hubicka hubicka at gcc dot gnu.org changed: What|Removed |Added Status|NEW |WAITING ---

[Bug middle-end/46554] New: Less inlining leads to CSiBE regression

2010-11-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46554 Summary: Less inlining leads to CSiBE regression Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo:

[Bug middle-end/46555] New: PHI RTL expansion leads to CSiBE regression

2010-11-19 Thread hubicka at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46555 Summary: PHI RTL expansion leads to CSiBE regression Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: middle-end AssignedTo:

[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547 --- Comment #5 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-19 08:46:46 UTC --- Actually, reading that comment again it, the conversion warnings are probably emitted during convert_for_assignment and thus the earlier c_fully_fold is

[Bug c++/46526] [4.6 Regression] VTable Problem?

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46526 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug rtl-optimization/46556] New: Code size regression in struct access

2010-11-19 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46556 Summary: Code size regression in struct access Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo:

[Bug c++/46526] [4.6 Regression] VTable Problem?

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46526 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jason at gcc dot

[Bug tree-optimization/46523] [4.6 Regression] ICE: error: inlined_to pointer set for noninline callers, multiple inline callers

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46523 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 09:47:19 UTC --- Created attachment 22453 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22453 reduced testcase autoreduced testcase.

[Bug c++/46526] [4.6 Regression] VTable Problem?

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46526 --- Comment #6 from Jakub Jelinek jakub at gcc dot gnu.org 2010-11-19 09:55:10 UTC --- Created attachment 22454 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22454 gcc46-pr46526.patch Possible fix. Not sure how often C++ FE tries to modify

[Bug c++/46526] [4.6 Regression] VTable Problem?

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46526 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Priority|P3 |P1

[Bug middle-end/46297] [4.6 Regression] gfortran.dg/g77/980701-0.f FAILs with -Os -fno-asynchronous-unwind-tables

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46297 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/46535] [4.6 Regression] Endless loop during inlining

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46535 --- Comment #3 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 10:17:03 UTC --- Created attachment 22455 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22455 reduced testcase Reduced with Index: gcc/ipa-inline.c

[Bug tree-optimization/46535] [4.6 Regression] Endless loop during inlining

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46535 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 10:18:02 UTC --- It looks like we are inlining a recursive virtual call and get confused in that process.

[Bug tree-optimization/46557] New: [4.6 Regression] ICE in cgraph_will_be_removed_from_program_if_no_direct_calls, at cgraph.c:2820

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46557 Summary: [4.6 Regression] ICE in cgraph_will_be_removed_from_program_if_no_direct_calls , at cgraph.c:2820 Product: gcc Version: 4.6.0 Status: UNCONFIRMED

[Bug tree-optimization/46557] [4.6 Regression] ICE in cgraph_will_be_removed_from_program_if_no_direct_calls, at cgraph.c:2820

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

[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

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

[Bug c++/46552] [4.6 Regression] [C++0x] Internal compiler error on pointer to member variable with template

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

[Bug middle-end/46554] Less inlining leads to CSiBE regression

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

[Bug middle-end/46555] PHI RTL expansion leads to CSiBE regression

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

Re: [Bug middle-end/46554] Less inlining leads to CSiBE regression

2010-11-19 Thread Jan Hubicka
I thought partial inlining would maybe fix this? Otherwise it's really a case that needs IP analysis. Not with -Os, we really know that it will optimize away. Honza

[Bug middle-end/46554] Less inlining leads to CSiBE regression

2010-11-19 Thread hubicka at ucw dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46554 --- Comment #2 from Jan Hubicka hubicka at ucw dot cz 2010-11-19 10:57:57 UTC --- I thought partial inlining would maybe fix this? Otherwise it's really a case that needs IP analysis. Not with -Os, we really know that it will optimize away.

[Bug libstdc++/46544] std::map::at() defined even if __GXX_EXPERIMENTAL_CXX0X__ is not

2010-11-19 Thread phresnel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46544 --- Comment #2 from Sebastian Mach phresnel at gmail dot com 2010-11-19 11:13:49 UTC --- (In reply to comment #1) Thanks for clarifiying. As you can clearly see It wasn't that clear to me. As a user of g++ and C++, and as a programmer, I am

[Bug libstdc++/46544] std::map::at() defined even if __GXX_EXPERIMENTAL_CXX0X__ is not

2010-11-19 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46544 --- Comment #3 from Paolo Carlini paolo.carlini at oracle dot com 2010-11-19 11:20:17 UTC --- I understand ;) As a general rule, if you see in the code mentioned a DR XXX. YYY, with _GLIBCXX_RESOLVE_LIB_DEFECTS before, it means we are

[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45789 --- Comment #4 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 11:57:26 UTC --- Author: rguenth Date: Fri Nov 19 11:57:21 2010 New Revision: 166936 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=166936 Log: 2010-11-19 Richard

[Bug lto/45789] [4.6 Regression] ICE: tree code 'lang_type' is not supported in gimple streams with -flto when using __builtin_printf()

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

[Bug debug/46558] New: dbgcnt.c messages not marked for translation

2010-11-19 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46558 Summary: dbgcnt.c messages not marked for translation Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug AssignedTo:

[Bug middle-end/46559] New: libstdc++ link FAILs with -flto

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46559 Summary: libstdc++ link FAILs with -flto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: lto Severity: normal Priority: P3 Component: middle-end

[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

2010-11-19 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547 --- Comment #6 from joseph at codesourcery dot com joseph at codesourcery dot com 2010-11-19 13:01:35 UTC --- My inclination is that the problem is a missing check of in_late_binary_op. Specifically, that c_common_truthvalue_conversion should

[Bug tree-optimization/46560] New: libstdc++ execute FAILs with -flto

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46560 Summary: libstdc++ execute FAILs with -flto Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: lto, wrong-code Severity: normal Priority: P3 Component:

[Bug tree-optimization/46561] New: [4.6 Regression] -fcompare-debug failure (length) with -O2 -ftree-vectorize -ftree-parallelize-loops

2010-11-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46561 Summary: [4.6 Regression] -fcompare-debug failure (length) with -O2 -ftree-vectorize -ftree-parallelize-loops Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity:

[Bug libstdc++/46544] std::map::at() defined even if __GXX_EXPERIMENTAL_CXX0X__ is not

2010-11-19 Thread phresnel at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46544 --- Comment #4 from Sebastian Mach phresnel at gmail dot com 2010-11-19 13:12:10 UTC --- (In reply to comment #3) As a general rule, if you see in the code mentioned a DR XXX. YYY, with _GLIBCXX_RESOLVE_LIB_DEFECTS before, it means we are

[Bug debug/46558] dbgcnt.c messages not marked for translation

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46558 --- Comment #1 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 13:16:04 UTC --- Hm. debug counters are for debugging only thus I don't think we need to translate strings there (much as we don't translate comments in GCC code or stuff

[Bug tree-optimization/46561] [4.6 Regression] -fcompare-debug failure (length) with -O2 -ftree-vectorize -ftree-parallelize-loops

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

[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

2010-11-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547 --- Comment #7 from H.J. Lu hjl.tools at gmail dot com 2010-11-19 13:18:21 UTC --- It is caused by revision 46547: http://gcc.gnu.org/ml/gcc-cvs/2009-03/msg00761.html

[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

2010-11-19 Thread hjl.tools at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547 --- Comment #8 from H.J. Lu hjl.tools at gmail dot com 2010-11-19 13:18:55 UTC --- It is caused by revision 145254: http://gcc.gnu.org/ml/gcc-cvs/2009-03/msg00761.html

[Bug debug/46558] dbgcnt.c messages not marked for translation

2010-11-19 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46558 --- Comment #2 from joseph at codesourcery dot com joseph at codesourcery dot com 2010-11-19 13:22:23 UTC --- On Fri, 19 Nov 2010, rguenth at gcc dot gnu.org wrote: Hm. debug counters are for debugging only thus I don't think we need to

[Bug testsuite/43925] Plugin tests unresolved on IRIX 6.5: libintl.h: No such file or directory

2010-11-19 Thread ro at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43925 Rainer Orth ro at gcc dot gnu.org changed: What|Removed |Added Target|mips-sgi-irix6.5|mips-sgi-irix6.5,

[Bug middle-end/46510] [4.6 Regression] r166812 breaks bootstrap on x86_64-apple-darwin10

2010-11-19 Thread howarth at nitro dot med.uc.edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46510 --- Comment #16 from Jack Howarth howarth at nitro dot med.uc.edu 2010-11-19 13:48:45 UTC --- I can confirm that removing the gcc_assert (!DECL_EXTERNAL (decl)) as suggested in comment 8 does eliminate the bootstrap failures without regressions

[Bug tree-optimization/46561] [4.6 Regression] -fcompare-debug failure (length) with -O2 -ftree-vectorize -ftree-parallelize-loops

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

[Bug tree-optimization/46557] [4.6 Regression] ICE in cgraph_will_be_removed_from_program_if_no_direct_calls, at cgraph.c:2820

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

[Bug tree-optimization/46562] New: CCP currently needs iteration for a[i]

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46562 Summary: CCP currently needs iteration for a[i] Product: gcc Version: 4.6.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal Priority: P3

[Bug tree-optimization/46562] CCP currently needs iteration for a[i]

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

[Bug bootstrap/46549] MinGW bootstrap failure regarding texi GFPL license

2010-11-19 Thread rwild at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46549 Ralf Wildenhues rwild at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug bootstrap/45888] tm.texi generation is not portable, rule is broken

2010-11-19 Thread rwild at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45888 Ralf Wildenhues rwild at gcc dot gnu.org changed: What|Removed |Added CC||anhvofrcaus at

[Bug tree-optimization/46562] CCP currently needs iteration for a[i]

2010-11-19 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46562 --- Comment #2 from Richard Guenther rguenth at gcc dot gnu.org 2010-11-19 15:57:32 UTC --- SCCVN also fails to recognize a[i_1] as constant. I'll add a get_addr_base_and_unit_offset variant with a callback to valueize SSA names. That should

[Bug driver/46563] New: link with -lgcc when creating a shared lib

2010-11-19 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 Summary: link with -lgcc when creating a shared lib Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: driver AssignedTo:

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 --- Comment #1 from christophe.lyon at st dot com 2010-11-19 16:05:16 UTC --- Created attachment 22458 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=22458 shared lib C++ source

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread aph at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 --- Comment #2 from Andrew Haley aph at gcc dot gnu.org 2010-11-19 16:09:00 UTC --- If you try linking with -lgcc_s -lgcc, does everything then work?

[Bug c++/46564] New: [4.6 Regression] ICE: in decl_constant_var_p, at cp/decl2.c:3562 on invalid recursive initialization

2010-11-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46564 Summary: [4.6 Regression] ICE: in decl_constant_var_p, at cp/decl2.c:3562 on invalid recursive initialization Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity:

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 --- Comment #3 from christophe.lyon at st dot com 2010-11-19 16:12:11 UTC --- Yes. I did find this workaround myself, but I was very surprised I had to do it manually. (As I said, the problem arised when building QT, and I guess I'm not the first

[Bug tree-optimization/45830] [4.4/4.5/4.6 Regression] Code+rodata increase with -ftree-switch-conversion

2010-11-19 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45830 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug c++/46565] New: [4.5/4.6 Regression] ICE: SIGSEGV in pop_tinst_level (pt.c:7513) with -gstabs -g on invalid code

2010-11-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46565 Summary: [4.5/4.6 Regression] ICE: SIGSEGV in pop_tinst_level (pt.c:7513) with -gstabs -g on invalid code Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal

[Bug c++/46565] [4.5/4.6 Regression] ICE: SIGSEGV in pop_tinst_level (pt.c:7513) with -gstabs -g on invalid code

2010-11-19 Thread zsojka at seznam dot cz
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46565 Zdenek Sojka zsojka at seznam dot cz changed: What|Removed |Added Keywords||ice-on-invalid-code

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 Mikael Pettersson mikpe at it dot uu.se changed: What|Removed |Added CC||mikpe at it dot

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread christophe.lyon at st dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 --- Comment #5 from christophe.lyon at st dot com 2010-11-19 16:49:05 UTC --- I am not sure what you mean about libgcc_s.so linker script. But I think the difference is that I am cross-compiling.

[Bug c/46547] [4.5/4.6 Regression] internal compiler error when converting a complex to a bool

2010-11-19 Thread jsm28 at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46547 Joseph S. Myers jsm28 at gcc dot gnu.org changed: What|Removed |Added Status|NEW |ASSIGNED

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread aph at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 --- Comment #6 from Andrew Haley aph at gcc dot gnu.org 2010-11-19 17:30:35 UTC --- I am cross-compiling too. Try this: $ cat /home/aph/x-arm/install/arm-linux-gnueabi/lib/libgcc_s.so /* GNU ld script Use the shared library, but some

[Bug driver/46563] link with -lgcc when creating a shared lib

2010-11-19 Thread mikpe at it dot uu.se
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46563 --- Comment #7 from Mikael Pettersson mikpe at it dot uu.se 2010-11-19 17:38:35 UTC --- The example works for me also with a cross built from gcc-4.5.1 with --enable-shared --enable-languages=c,c++. armv5tel-unknown-linux-gnueabi-g++ atomic.cxx

  1   2   >