Re: RFH: gen_rtx_MEM / gen_rtx_CONST in ada front-end code

2010-05-26 Thread Eric Botcazou
me and deduce something from its presence in the scope. This was done this way to prevent debug stuff from altering code generation and avoid wasting space. Yes, the whole design is questionable, give me a few days to investigate whether it can be modified. -- Eric Botcazou

Re: What are PLUGINCC & PLUGINCFLAGS in gcc/Makefile.in?

2010-05-27 Thread Eric Botcazou
d by the configure machinery at each stage into the appropriate values, which vary with each stage. -- Eric Botcazou

Re: Using C++ in GCC is OK

2010-05-30 Thread Eric Botcazou
ike we currently require only an ISO C90 compiler. -- Eric Botcazou

Re: Using C++ in GCC is OK

2010-05-31 Thread Eric Botcazou
> C90 does not have long long either, yet we use it as required (for HWI). No, we use it when present but we don't require it, see hwint.h. -- Eric Botcazou

Re: Using C++ in GCC is OK

2010-05-31 Thread Eric Botcazou
+, that's orthogonal. -- Eric Botcazou

Re: Using C++ in GCC is OK

2010-05-31 Thread Eric Botcazou
o fancy C++ style, but Mark was clear about that. Maintainers should be allowed to reject conversions that buy too little or nothing. -- Eric Botcazou

Re: AC_CHECK_DECLS(basename) (Was: Re: Ping: patches required for --enable-build-with-cxx)

2010-06-01 Thread Eric Blake
> (_AC_CHECK_DECLS): Filter out trailing function argument types > when henerating the HAVE_DECL_* macro. s/henerating/generating/ (ChangeLog and commit message) Other than that, please push. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libv

Re: AC_CHECK_DECLS(basename) (Was: Re: Ping: patches required for --enable-build-with-cxx)

2010-06-01 Thread Eric Blake
ng enough time to get an autoconf 2.66 release out the door. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Tree Browser

2010-06-01 Thread Eric Fisher
Hi, Try using gcc-vcg-plugin to browse tree and cfg during debug gcc. It's just an initial version for now. Any suggestions will be appreciated. :-) http://code.google.com/p/gcc-vcg-plugin/ Thanks, Eric Fisher

Re: Using C++ in GCC is OK

2010-06-02 Thread Eric Botcazou
> I'd like us to stick with C comments only. I defintely do not like > a mix of both styles and I can't see an advantage of C++ comments. It indeed seems to fall into the buy-us-nothing category. -- Eric Botcazou

Re: AC_CHECK_DECLS(basename) (Was: Re: Ping: patches required for --enable-build-with-cxx)

2010-06-02 Thread Eric Blake
; We have a mechanism for importing code from newer Autoconf versions >> (in config/override.m4). > > Any progress here? If we want to switch on --enable-build-with-cxx > by default then this has to be addressed. The code is now in autoconf.git, which means that autoconf 2.66

Re: Patch pinging

2010-06-07 Thread Eric Botcazou
was this committed" messages though, that's rather annoying. The gcc-cvs archives are http://gcc.gnu.org/ml/gcc-cvs/ -- Eric Botcazou

Re: Patch pinging

2010-06-07 Thread Eric Botcazou
s to > effectively close threads, and then you'll see very few messages from me. Please no, that's just a sheer waste of time/bandwidth/storage. -- Eric Botcazou

Re: Patch pinging

2010-06-08 Thread Eric Botcazou
e ChangeLog (and optionally the URL). -- Eric Botcazou

Re: Patch pinging

2010-06-08 Thread Eric Botcazou
> Are you volunteering to write that small script? If nothing better comes out, why not, but resurrecting the Patch Tracker seems to be a more appealing idea. -- Eric Botcazou

Re: plugin-provided pragmas & Fortran or Ada?

2010-06-22 Thread Eric Botcazou
he latter to dynamically affect the former. That's certainly doable but not immediate. -- Eric Botcazou

Re: Massive performance regression from switching to gcc 4.5

2010-06-24 Thread Eric Botcazou
gnificantly. The attached patchlet alone saves 3% in code size at -Os on a 50 MB executable and yields a 5% speedup at -O2 on another code. * ipa-inline.c (likely_eliminated_by_inlining_p): Really consider that loads from parameters passed by reference are free after inlining.

Re: Massive performance regression from switching to gcc 4.5

2010-06-24 Thread Eric Botcazou
;& (is_gimple_reg (lhs) ! || !is_gimple_reg_type (TREE_TYPE (lhs lhs_free = true; > Which you could have simplified to just say > > if (lhs_free || rhs_free) > return true; > > and drop the code you are changing. I don't think so, compare your version and mine for scalar stores/loads from/to parameters or return values. -- Eric Botcazou

Re: Massive performance regression from switching to gcc 4.5

2010-06-25 Thread Eric Botcazou
s that all scalar (thus gimple_reg_typed) > loads/stores to/from parameters or the result are free. Precisely not, they aren't free, otherwise they wouldn't exist in the first place. Scalar loads/stores are never free, aggregate loads/stores may be free if they are created only to pass the object around. -- Eric Botcazou

Re: Bootstrap failure on x86_64-unknown-linux-gnu

2010-06-27 Thread Eric Botcazou
> Any ideas what might be wrong here? Probably PR libgcj/44415. -- Eric Botcazou

Possible Bug with darwin_asm_named_section() in gcc/config/darwin.c

2010-07-01 Thread Eric Siroker
piled with gccgo, will exhibit the issue: package main func Main() {} I use the following configure arguments: --disable-bootstrap --enable-languages=go Eric

[vect, gccint] Mistake about Vector-specific attributes?

2010-07-05 Thread Eric Fisher
int. vect_int_mult Target supports vector int multiplication. I suspect that the first one should refer to vect_widen_mult_hi_to_si. Thanks Eric

Ask for copyright assignment forms for gcc

2010-07-13 Thread Eric Fisher
Hello, It will be appreciated if anyone could help send me the copyright assignment forms. I need them to submit patches to gcc. I think it should be an assignment for all future changes. Thanks Eric

Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org

2010-07-23 Thread Eric Botcazou
ended versions (GMP 4.3.2, MPFR 2.4.2, MPC 0.8.1) also work fine if compiled by the latest GCC 4.3.x compilers (or compilers of later series). -- Eric Botcazou

Re: GCC 4.5.1 Release Candidate available from gcc.gnu.org

2010-07-23 Thread Eric Botcazou
== > > # of expected passes20118 > # of unexpected failures29 > # of unexpected successes 4 > # of expected failures 158 > # of unsupported tests 136 I meant "make check" for GMP and MPFR, not for GCC. -- Eric Botcazou

Re: some integer undefined behaviors in gcc

2010-08-04 Thread Eric Botcazou
h. You should probably wait a few days to let people comment and/or fix, and then file PRs. 1 per file seems to be the right granularity. * rtlanal.c (nonzero_bits1): Use unsigned HOST_WIDE_INT in all mask computations. Fix formatting is

Re: Problems with upstream versions of gmp, mpfr, and mpc [Was: Bug in Build System of gcc-4.5.1? Cannot Find libmpc.so.2]

2010-08-28 Thread Eric Botcazou
y changes in a way that breaks the gcc build we > notice. But I don't think we have any mechanism to do that at > present. Yes, I think we should have recommended versions for the 3rd party libraries. -- Eric Botcazou

Re: Adding official support into the main tree for SPARC Leon

2010-09-01 Thread Eric Botcazou
tart to post their patches on the gcc-patches@ list. I'll sponsor them for write access at that point. -- Eric Botcazou

Re: Adding official support into the main tree for SPARC Leon

2010-09-01 Thread Eric Botcazou
erything is documented on http://gcc.gnu.org/contribute.html Ian, would you mind sending them the appropriate form? Thanks in advance. -- Eric Botcazou

Re: Where are the new GCC releases?

2010-09-22 Thread Eric Botcazou
> The performance testing didn't show performance regressions. > 4.4.5 RC1 is currently blocked by PR45234, either it needs to be fixed > soon, or reverted. I'd like to backport the fix for middle-end/44763 before the RC. May I? -- Eric Botcazou

Re: Where are the new GCC releases?

2010-09-23 Thread Eric Botcazou
> Sure. Thanks, done after bootstrap/regtesting on x86_64-suse-linux. -- Eric Botcazou

Re: [RFC] Dealing with TARGET_CPU_CPP_BUILTINS

2010-10-05 Thread Eric Botcazou
intainers to respond might take forever), and 2. make a broad > announcement on gcc-patches with a list of targets modified, and give their > maintainers a week to speak up if they have remarks. Is that enough? Is > that overkill? I think you need a global reviewer for broad changes like this. -- Eric Botcazou

Re: forcing the linker to be a particular one (i.e. gold vs bfd)

2010-10-10 Thread Eric Botcazou
f the compiler itself. The compiler driver program runs one or more of the subprograms `cpp', `cc1', `as' and `ld'. It tries PREFIX as a prefix for each program it tries to run, both with and without `MACHINE/VERSION/' (*note Target Options::). -- Eric Botcazou

Re: GCSE problem on a gcc testsuite

2010-10-13 Thread Eric Botcazou
case. This PR is a pathological case that doesn't come from real life and fixing it properly is hard, so I wouldn't bother about it. -- Eric Botcazou

Re: show size of stack needed by functions

2010-10-13 Thread Eric Botcazou
run a script to "link" all the VCG files for a program and you can (try and) compute the worst case stack usage for example. This works reasonably well for embedded stuff. I'll try and submit something before stage 1 ends if people are interested. -- Eric Botcazou

RE: show size of stack needed by functions

2010-10-14 Thread Weddington, Eric
> -Original Message- > From: Eric Botcazou [mailto:ebotca...@adacore.com] > Sent: Wednesday, October 13, 2010 4:43 PM > To: sebastianspublicaddr...@googlemail.com > Cc: gcc@gcc.gnu.org; Joe Buck > Subject: Re: show size of stack needed by functions > > We

Re: GCSE problem on a gcc testsuite

2010-10-17 Thread Eric Botcazou
it is proper if we remove this testsuite from the > GCC testsuites? Marking it as XFAIL is the usual way of dealing with such issues. -- Eric Botcazou

simple for loop on g++ 4.4.3

2010-10-28 Thread eric lin
dear linux(or g++) user/programer with c++: my name is eric, when I use most current g++ 4.3.3 on ubuntu to test 2 simple c++ programs, one have compiler error, // formore.cpp -- more looping with for #include using namespace std; const int ArSize = 16; // example of

gcc's(4.4.3) math lib :power

2010-10-29 Thread eric lin
dear gcc programers: I tried to use math lib's power by the following simple code (actually I copy from http://www.java2s.com/Code/C/Math/Howtousepow.htm that site show this code should run, but I get compiler error about not define pow, please help, Eric, in 4.4.3 --

RE: RFC: Add zlib source to src CVS resposity

2010-10-31 Thread Weddington, Eric
r sure, but I highly doubt that there is a system zlib on that platform. For gcc dependencies, it just so happens that gmp, mpfr, and mpc build just fine for mingw. Eric Weddington

not quite polymorphism

2010-11-01 Thread eric lin
void Simple_window::next()’: Simple_window.cpp:53: error: ‘hide’ was not declared in this scope # cc1plus 0.54 0.04 make[1]: *** [Simple_window.o] Error 1 rm Graph.o GUI.o make[1]: Leaving directory `/home/eric/BStrou/usingC++4/code/GUI' make: *** [../GUI/libbookgui.a] Error 2 e...@eric-laptop

Re: PATCH RFA: Do not build java by default

2010-11-02 Thread Eric Botcazou
ard-to-debug problems exposed by Ada. -- Eric Botcazou

TARGET_PROMOTE_PROTOTYPES on the SPARC

2010-11-02 Thread Eric Botcazou
true in 32-bit mode is partly used to implement the psABI; you cannot simply toggle the return value, further adjustments are needed to compensate. But this should ultimately work, as in 64-bit mode. Are there still any good reasons to keep the old setting at this point? -- Eric Botcazou

Re: not quite polymorphism

2010-11-02 Thread eric lin
ow/where it be used(I didn't find how and where), so c++ compiler may dissolve same name but multi-usage variables (polymophism) problem. But so far i still waiting. I certain have no problem to go touch source of gcc by myself, just hope to see

gcc (g++4.4.3) have no right to modify the name of my varialbe

2010-11-04 Thread eric lin
if I put std::string replace string on Window.cpp file, g++ will complaint r...@eric-laptop:/home/eric/BStrou/usingC++4/code/Chapter12# g++ -Wno-deprecated chapter.12.3.cpp Simple_window.cpp GUI.cpp Window.cpp Graph.cpp -lfltk Window.cpp:17: error: expected unqualified-id before ‘&’ to

Re: Discussion about merging Go frontend

2010-11-06 Thread Eric Botcazou
tures in the same LTO compilation, but also updating the current architecture for later write operations. This is modelled on the linker. -- Eric Botcazou

Re: reload_combine vs. exceptions

2010-11-15 Thread Eric Botcazou
use. There should be nothing special to do, as the control flow transfer should be represented in the RTL by means of a control_flow_insn_p insn. Perhaps the related change made by Bernd in rev 162301 should be extended to the JUMP_P block a few lines below? -- Eric Botcazou

Re: reload_combine vs. exceptions

2010-11-15 Thread Eric Botcazou
> JUMP_INSNs already invalidate the register use information. The problem > is that CALL_INSNs that can throw don't. Sure, that's precisely what I was suggesting to change, like in rev 162301. -- Eric Botcazou

Re: reload_combine vs. exceptions

2010-11-15 Thread Eric Botcazou
TERN (insn)) != RETURN) { /* Non-spill registers might be used at the call destination in some unknown fashion, so we have to mark the unknown use. */ -- Eric Botcazou

Re: Adding Leon processor to the SPARC list of processors

2010-11-18 Thread Eric Botcazou
ompiler to select the right variant. --with-cpu isn't appropriate for this. It turns out that we have ported GNAT (the GNU Ada compiler) to embedded LEON targets at AdaCore so we also have some material, mostly orthogonal to yours. Give me a few days to port your 4.4 patches and dig out ours, and I'll post a combined patch to serve as a basis for further discussions. -- Eric Botcazou

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Eric Botcazou
; Maybe there is a simple way to achieve both multilib and singlelib? You can pass --disable-multilib at configure time. -- Eric Botcazou

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Eric Botcazou
n is also straightforward: LEON is an implementation of the SPARC-V8 architecture so --with-cpu=v8 and --with-float=hard. > Also, it might happen that someone doesn't want one multilib dimension, but > they want to keep another one. Indeed, being able to partially disable multilibs woul

Re: Adding Leon processor to the SPARC list of processors

2010-11-19 Thread Eric Botcazou
ilib stuff is for the default target sparc-leon-elf (and maybe sparc-leon-linux if we want one). -- Eric Botcazou

Re: Adding Leon processor to the SPARC list of processors

2010-11-22 Thread Eric Botcazou
FDIV? 16 and FSQRT? 24 cycles, > non-pipelined on separate unit > GR FPU Lite: 8/8, with FDIVS/FDIVD/FSQRTS/FSQRTD 31/57/46/57 cycles, > non-pipelined on same unit Let's not make this too complex for a first try, the settings used at AdaCore

Re: Adding Leon processor to the SPARC list of processors

2010-11-22 Thread Eric Botcazou
use [-mcpu=v8 / -msoft-float ] >at compile-time to select the hardware > setting. --with-cpu shouldn't change multilibs. Multilibs are a property of a target, e.g. sparc-leon-elf or sparc-rtems, not that of a cpu setting. -- Eric Botcazou

Re: Adding Leon processor to the SPARC list of processors

2010-11-23 Thread Eric Botcazou
> Following the recent comments by Eric, the patch now sketches the > following setup: > > If multi-lib is wanted: > configure --with-cpu=leon ... : creates multilib-dir soft|v8 > combinations using [-msoft-float|-mcpu=sparcleonv8] (MULTILIB_OPTIONS = > msoft-f

Re: Adding Leon processor to the SPARC list of processors

2010-11-25 Thread Eric Botcazou
s for the ChangeLog. -- Eric Botcazou

Re: Partial hookization / PR46738 (Was: Re: RFA: partially hookize *_TYPE_SIZE)

2010-12-01 Thread Eric Botcazou
s during stage3? This will give no benefits to the users and may introduce new bugs; we already have enough of them and we should concentrate on fixing them. IMO this is stage1 material only. -- Eric Botcazou

Re: Really poor 4.5.2 results on Debian Squeeze with Intel i7

2011-01-02 Thread Eric Botcazou
> Any idea why these results would be so poor ? Because of your bootstrap settings, more precisely --enable-checking=all. -- Eric Botcazou

Re: Really poor 4.5.2 results on Debian Squeeze with Intel i7

2011-01-03 Thread Eric Botcazou
> I was wondering about that lately. Should testsuite failures with > --enable-checking=all be reported? IIRC, the 4.5 branch won't even > bootstrap with that setting. I'd think so, but only for the trunk probably. -- Eric Botcazou

help with the conception of floating point

2006-01-19 Thread Eric Fisher
I guess that the macro NGARDS is relevant to the guard digit. But I still failed to have a clear conception about what it means. Others are easy to know by IEEE 754 and "What Every Computer Scientist Should Know about Floating-Point Arithmetic". Except, define NGARDS 8L define GARDROUND 0x7f defin

Re: Mainline bootstrap failure (revision 110017)

2006-01-20 Thread Eric Botcazou
> So he updated his tree, saw changes in the middle-end and committed > his without testing. So Kenny would have had to lauch a new bootstrap, wait for a couple of hours only to discover that something again changed in-between, and so on? -- Eric Botcazou

Re: Mainline bootstrap failure (revision 110017)

2006-01-20 Thread Eric Botcazou
> I don't know whether it would take him hours, since the tree does not > even bootstrap, but most certainly Zdenek's statement was accurate and > our commit procedure wasn't observed. I'm not sure the commit procedure requires you to retest in that case. -- Eric Botcazou

Re: libgomp & solaris

2006-01-20 Thread Eric Botcazou
> Hm, then sol2.h and sol26.h build the minority where we have pthread_s_. > Don't know the history yet. That doesn't seem to be a Sun-ism. -- Eric Botcazou

Re: Cross-compiler error

2006-01-21 Thread Eric Christopher
On Jan 21, 2006, at 9:01 AM, Travis Athougies wrote: with gcc-3.3.2 i get this error when building a cross-compiler: You need an i386-elf (your cross target) assembler installed in your path. -eric

Re: Results for 4.1.0 20060117 (prerelease) testsuite on powerpc-apple-darwin8.4.0 (-m64 results)

2006-01-22 Thread Eric Christopher
work; but that isn't a problem for this list ...) I'll investigate the problems that you've got for this, it should work. -eric

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?

2006-01-23 Thread Eric Botcazou
pass either -static-libgcc or -shared-libgcc to link the EH machinery. That seems weird. Geoff, any chance to bring Darwin back on par with the other platforms? -- Eric Botcazou

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?

2006-01-23 Thread Eric Botcazou
nally can theoritically cause problems on Linux when C code using POSIX threads is linked. So we would need to do that only on Darwin. -- Eric Botcazou

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?

2006-01-23 Thread Eric Botcazou
guess we have no other solution than defaulting to -static-libgcc for Ada on Darwin. Thanks for your feedback. -- Eric Botcazou

Re: [HELP] GCC 4.1 branch Ada status on powerpc-darwin?

2006-01-23 Thread Eric Botcazou
dencies for "future binary compatibility", but I see your point. I'll let Arnaud decide. Thanks again. -- Eric Botcazou

cannot find -lm

2006-01-23 Thread Eric Fisher
with math. Is it right? How can I get it? Thanks. Eric.

Re: cannot find -lm

2006-01-23 Thread Eric Christopher
On Jan 23, 2006, at 5:26 PM, Eric Fisher wrote: Hi, When I run the test suite on my port, there are many many failures with the error like this, ld: cannot find -lm collect2: ld returned 1 exit status I'm not sure whether it is the libm(math library), or it is of glibc. But I guess it

cannot find -lm

2006-01-23 Thread Eric Fisher
Why so many tests need libm? I don't think the tests really used the functions of libm. Can I port glibc to get it? Eirc

Re: Problem with gfortran or did I messsed up GMP installation?

2006-01-24 Thread Eric Botcazou
you can reproduce it after cleaning up the Solaris 9 machine. -- Eric Botcazou

Re: bootstrap failure for Ada gcc 4.1 Revision 110108 on

2006-01-25 Thread Eric Botcazou
pected failure on all platforms (PR ada/20548). Thanks for testing the Ada compiler! -- Eric Botcazou

Re: Problem with gfortran or did I messsed up GMP installation?

2006-01-25 Thread Eric Botcazou
> Compile GMP 4.1.4: > > $ ../configure ABI=32 --prefix=/gcc-test --enable-mpfr Would you mind trying as documented in http://gcc.gnu.org/install/specific.html#sparc-sun-solaris2 i.e. with --build=sparc-sun-solaris2.9 instead of ABI=32? Thanks in advance. -- Eric Botcazou

Re: Problem with gfortran or did I messsed up GMP installation?

2006-01-27 Thread Eric Botcazou
ibraries, the processor itself, or > any combination). The bug ID is 25998 for those interested. I'm not sure we'll be able to sort it out but, in any case, thanks for narrowing down the problem and for the extensive testing. -- Eric Botcazou

Re: [HELP take two] GCC 4.1 branch Ada status on powerpc-darwin?

2006-02-01 Thread Eric Botcazou
> Could someone with powerpc-darwin access check wether Ada is now working > or not, if not populate bugzilla? The compiler bootstraps fine but all ACATS tests fail to link. You need to manually pass -static-libgcc at link time. -- Eric Botcazou

Re: Interpreter

2006-02-03 Thread Eric Christopher
developers of gcc. You should look into newsgroups like comp.compilers and some texts on compilers and interpreters. IIRC there was a decent one out there with both of those subjects in the title. -eric

precompiled headers tests failed

2006-02-06 Thread Eric Fisher
Hi, I'm wondering whether the precompiled headers tests are ok for mips-elf-gcc 3.4.4 on cygwin. When I run the testsuite for mips-elf-gcc on cygwin using such command, make check-gcc RUNTESTFLAGS="pch.exp" The errors are like these following. It seems that there is no common-1.h at all. In addat

precompiled headers tests failed

2006-02-07 Thread Eric Fisher
Hi, I think I've got the answer from GCC Bugzilla Bug 11341. It said that this was possibly a known problem with cygwin. For some reason cygwin has always had problems with PCH. Then I run the testsuite on the linux and most of them passed. Thanks for your time. Eric.

re: precompiled headers tests failed

2006-02-08 Thread Eric Fisher
But there are still some failures. I'm not sure if they are okey. The error messages are like these, Executing on host: /home/smj/build_gcc_mips/gcc/xgcc -B/home/smj/build_gcc_mips/gcc/ /home/smj/gcc-3.4.4-mips/gcc/testsuite/gcc.dg/pch/static-1.c -O0 -I. -S -o static-1.s(timeout = 300) PAS

re: precompiled headers tests failed

2006-02-08 Thread Eric Fisher
But there are still some failures. I'm not sure if they are okey. The error messages are like these, Executing on host: /home/smj/build_gcc_mips/gcc/xgcc -B/home/smj/build_gcc_mips/gcc/ /home/smj/gcc-3.4.4-mips/gcc/testsuite/gcc.dg/pch/static-1.c -O0 -I. -S -o static-1.s(timeout = 300) PASS

How to create libgcc_eh.a for mips-elf-gcc?

2006-02-09 Thread Eric Fisher
--enable-languages=c --enable-shared Actually, I ask this question, because glibc requires libgcc_eh.a during compilation. Thanks. Eric.

Re: CAN_ELIMINATE question

2006-02-13 Thread Eric Christopher
MIPS ports have invalid definitions of CAN_ELIMINATE. Can you point to where you think reload is getting this wrong? -eric

a question about pc-relative branch and function call

2006-02-13 Thread Eric Fisher
reg, func' and 'b reg'? Especially when call a shared pic object file. The problem I've got is that when I link with a shared pic object file, there is a 'relocation truncated to fit' error. Thanks :-) Eric

Re: a question about pc-relative branch and function call

2006-02-13 Thread Eric Fisher
Thanks. I'm working to port gcc to our chip. I use mips-elf as the start. Yet, we don't have pc-region branch instructions such as 'j target'. So I'm confused how to solve the function call translation. Thanks again. Eric. 2006/2/14, Mike Stump <[EMAIL PROTECTED]>

Re: a question about pc-relative branch and function call

2006-02-13 Thread Eric Christopher
On Feb 13, 2006, at 8:31 PM, Eric Fisher wrote: Thanks. I'm working to port gcc to our chip. I use mips-elf as the start. Yet, we don't have pc-region branch instructions such as 'j target'. So I'm confused how to solve the function call translation. Thanks again.

Re: a question about pc-relative branch and function call

2006-02-13 Thread Eric Fisher
r to hold the function address anyway. Whatever we do with gcc backend or as/ld. I see. Thanks Eric 2006/2/14, Mike Stump <[EMAIL PROTECTED]>: > On Feb 13, 2006, at 8:31 PM, Eric Fisher wrote: > > Thanks. I'm working to port gcc to our chip. I use mips-elf as the > > sta

Re: hang in acats testsuite test cxg2014 on hppa2.0w-hp-hpux11.00

2006-02-14 Thread Eric Botcazou
> Note that I opened PR ada/26296: "cxg2007 cxg2012 verify_flow_info > failed" I'm seeing on x86_64-linux, may be something was recently broken > on exception handling code and this could show up differently on hppa. No, that's a different problem. -- Eric Botcazou

Re: Compile time stack checking

2006-02-16 Thread Eric Botcazou
> I have read the gcc-summit 2005 publication from Eric Botcaczou, Cyrille > Comar and Oliver Hainque about static stack analysis. > > This is a quite interresting approach, especially for embedded systems. > > While reading the article i saw many talking about ada but not for C

Re: Bootstrap failure on trunk: x86_64-linux-gnu

2006-02-19 Thread Eric Botcazou
> Anyway, hopefully Eric and Jeff can work together in identifying the > proper fix. Jeff already did a thorough analysis of the problem (thanks!) and came to the following double conclusion. Quoting him: "First, the inconsistency between the type's precision in its min/max va

Re: GCC 4.1.0 RC1

2006-02-20 Thread Eric Botcazou
> http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg01095.html FAIL: cc1010b Artifact or real failure? -- Eric Botcazou

Re: GCC 4.1.0 RC1

2006-02-20 Thread Eric Botcazou
> One of the usual artifacts ... Thanks. I've personally got them on Linux only, never ever on Solaris. -- Eric Botcazou

What is the MIPS Constraints 'c' and 'j'

2006-02-20 Thread Eric Fisher
e I missed? Otherwise, how can they work? Thanks. Eric

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-21 Thread Eric Christopher
between the TEXT section and the stub section which causes this error to happen. I am starting to think the Darwin back-end needs to be changed (or even linker too, I think Eric C. might be dealing with this but I don't know). I'm not dealing with it directly outside of getting rid of

Re: [RFH] Fixing -fsection-anchors on powerpc-darwin

2006-02-21 Thread Eric Christopher
On Feb 18, 2006, at 10:09 PM, Andrew Pinski wrote: + if (name[0] == '.' && name[1] == ' ') +return 0; Urr? Comment here and then I think it's probably good to go. Need to get a darwin maintainer to ack it though. -eric

another question about branch island

2006-02-21 Thread Eric Fisher
on. Then I need modify all the stuff, gcc, as, ld, bfd. I understand aright? Best regards. Eric.

Re: another question about branch island

2006-02-21 Thread Eric Christopher
and modify binutils though. The problem with the solution in gcc is that it cannot handle assembly language files that can cross the 32M boundary. (or whatever boundary you've got in your processor) -eric

question about pic and relocation

2006-02-22 Thread Eric Fisher
Hi, Given such a source file, /*fun.c*/ int b=2; void fun(void) { int a=b; } Then compile it, $ mips-elf-gcc -shared -fpic fun.c -o fun.so -save-temps We can see this below from fun.s, lw $2,%gp_rel(b)($28) I think symble 'b' should be of GOT relocation. But it isn't. $ mips-elf-readelf

<    5   6   7   8   9   10   11   12   13   14   >