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
d by the configure machinery at each stage into the
appropriate values, which vary with each stage.
--
Eric Botcazou
ike we currently require only an ISO C90 compiler.
--
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
+, that's orthogonal.
--
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
> (_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
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
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
> 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
; 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
was this committed" messages though, that's
rather annoying. The gcc-cvs archives are http://gcc.gnu.org/ml/gcc-cvs/
--
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
e ChangeLog (and optionally the URL).
--
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
he latter to dynamically affect the former. That's
certainly doable but not immediate.
--
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.
;& (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
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
> Any ideas what might be wrong here?
Probably PR libgcj/44415.
--
Eric Botcazou
piled with gccgo, will
exhibit the issue:
package main
func Main() {}
I use the following configure arguments: --disable-bootstrap
--enable-languages=go
Eric
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
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
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
==
>
> # 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
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
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
tart to post their patches on the gcc-patches@ list. I'll sponsor them
for write access at that point.
--
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
> 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
> Sure.
Thanks, done after bootstrap/regtesting on x86_64-suse-linux.
--
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
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
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
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
> -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
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
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
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
--
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
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
ard-to-debug problems exposed by Ada.
--
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
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
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
tures in the
same LTO compilation, but also updating the current architecture for later
write operations. This is modelled on the linker.
--
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
> 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
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
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
; Maybe there is a simple way to achieve both multilib and singlelib?
You can pass --disable-multilib at configure time.
--
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
ilib stuff is for the
default target sparc-leon-elf (and maybe sparc-leon-linux if we want one).
--
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
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
> 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
s for the ChangeLog.
--
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
> Any idea why these results would be so poor ?
Because of your bootstrap settings, more precisely --enable-checking=all.
--
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
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
> 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
> 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
> 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
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
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
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
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
guess we have no other solution than defaulting to -static-libgcc for
Ada on Darwin.
Thanks for your feedback.
--
Eric Botcazou
dencies for "future binary
compatibility", but I see your point. I'll let Arnaud decide.
Thanks again.
--
Eric Botcazou
with
math. Is it right? How can I get it?
Thanks.
Eric.
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
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
you can reproduce it after cleaning up the Solaris 9 machine.
--
Eric Botcazou
pected failure on all platforms (PR ada/20548).
Thanks for testing the Ada compiler!
--
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
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
> 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
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
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
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.
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
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
--enable-languages=c --enable-shared
Actually, I ask this question, because glibc requires libgcc_eh.a
during compilation.
Thanks.
Eric.
MIPS ports have invalid definitions of
CAN_ELIMINATE.
Can you point to where you think reload is getting this wrong?
-eric
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
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]>
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.
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
> 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
> 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
> 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
> http://gcc.gnu.org/ml/gcc-testresults/2006-02/msg01095.html
FAIL: cc1010b
Artifact or real failure?
--
Eric Botcazou
> One of the usual artifacts ...
Thanks. I've personally got them on Linux only, never ever on Solaris.
--
Eric Botcazou
e I
missed? Otherwise, how can they work?
Thanks.
Eric
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
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
on. Then I
need modify all the stuff, gcc, as, ld, bfd. I understand aright?
Best regards.
Eric.
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
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
901 - 1000 of 1857 matches
Mail list logo