> Thanks for tracking this down, Steve. Interesting enough, I am seeing
> exactly the same on i386-unknown-freebsd6.3, cf.
>
> http://gcc.gnu.org/ml/gcc-testresults/2008-09/msg02509.html
Likewise on Solaris.
--
Eric Botcazou
hich comes
> bundled with solaris 10, and the upshot is that I'm going to have to
> somehow hack solaris headers in order to make gcc-4.3.2 be able to
> compile perl-5.10.0.
This should be fix-included if it's really a bug in the Solaris headers.
--
Eric Botcazou
> I'm not sure what you are trying to say here - that it should be fixed
> locally on my side at the level of the header file? Or something else?
That it should be fix-included, see fixincludes/README in the source tree.
--
Eric Botcazou
ons given in section 5. Testing fixes (which may or may not work
with the new toplevel bootstrap). Then do 'make install' in the dir.
--
Eric Botcazou
> Yes, I got that from the README. What I was looking for was a
> *shortcut*,
"5. Testing fixes" precisely documents a shortcut.
--
Eric Botcazou
irect telephone number because I need to be calling you once we send any
payment for the informations.
Thanks
oceanic Bank Plc
MrjOSN Eric
s the
reservation for all 'branch' insns? Is it OK?
Eric Fisher
2008-11-3
> So I think one of the possible solution would be to reverse the div.g and teq
> insn.
> And I think this is not hard to do, just modify mips_output_division()
> function.
> Also I think this is a better solution, since we can save a register.
Do you mean the modification like this?
+
+
+/* Us
Hello,
Anyone could tell how to be a gcc maintainer? Is there any
requirement? Actually, my previous work are all not based on the gcc
trunk. So no patch submitted. Anyway, it's cool to contribute :-)
Thanks.
Eric Fisher
2008-11-11
Ah, maybe I should say contributor.
Best regards,
Eric
2008/11/12 Manuel López-Ibáñez <[EMAIL PROTECTED]>:
> 2008/11/11 Eric Fisher <[EMAIL PROTECTED]>:
>> Hello,
>>
>> Anyone could tell how to be a gcc maintainer? Is there any
>> requirement? Actually, my
Interesting. At least. There should be a warning from gcc.
Eric
2008/11/14 Tim München <[EMAIL PROTECTED]>:
> On Friday 14 November 2008 10:09:22 Anna Sidera wrote:
>> Hello,
>>
>> The following code works in lcc in windows but it does not work in gcc in
>> unix.
> -Original Message-
> From: Diego Novillo [mailto:[EMAIL PROTECTED]
> Sent: Thursday, November 20, 2008 5:56 AM
> To: gcc@gcc.gnu.org
> Subject: [RFC] Remove -frtl-abstract-sequences in 4.5
>
> This option has been problematic and does not seem to be well
> maintained. In terms of us
scope of this equivalence differs between the two types of notes.
IOW the culprit is not GCSE but whoever has created this note.
--
Eric Botcazou
> The reason for posting this is to ask. Is there code in GCC that
> already does something "similar" in say one of the optimisation passes
> so i can get a look at how to get started on this?
ipa-pure-const.c
--
Eric Botcazou
> Agreed. The routine that creates the errant REG_EQUAL note is
> lookup_as_function().
Really? Doesn't it only retrieve a pre-existing REG_EQUAL note?
--
Eric Botcazou
pen to have older compilers around (say GCC 4.1.x based) that correctly
compile the testcase? If so, what happens differently with them?
--
Eric Botcazou
EG_EQUAL note. It's even a regression since this doesn't happen with 3.4.x.
--
Eric Botcazou
extern void abort(void);
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
typedef struct
{
uint16_t thread;
uint16_t phase;
} s3
x = a;
if (! test) goto label;
One of my questions is what the benefit this convertion can attain?
Also, there's a precondition, which the THEN bb must cost cheap
then BRANCH_COST. I'm not clear about the reason.
Thanks in advance.
Best wishes,
Eric
you very much for the detailed explanation. However, I have a
doubt here. IMO, the path via "x=a" should be "test->set->jump". And
it becomes "set->test->jump". The other path is "test->jump". It
becomes "set->test". So the trade-off is for the latter case. Are
these right?
Best wishes
Eric
hack the compiler. Note that this would
break exception handling.
--
Eric Botcazou
ult_expr.
I've attached the patch (against the 4.3 branch) we use locally.
* fold-const.c (extract_muldiv): Remove obsolete comment.
(fold_plusminus_mult_expr): Use only positive power-of-two factors.
* expr.c (get_inner_reference): Canonicalize offset.
--
Eric Botc
think that
it would be worth having for the 4.4 release, I can port it and conduct basic
testing with it on the mainline, but that's pretty much it.
--
Eric Botcazou
> -Original Message-
> From: Mark Mitchell [mailto:m...@codesourcery.com]
> Sent: Monday, December 29, 2008 11:51 AM
> To: Andrew Haley
> Cc: Eric Botcazou; gcc@gcc.gnu.org; Georg-Johann Lay
> Subject: Re: Odd performance regression with -Os
>
> Andrew Haley
the SVR4 definition is the one used for
the various BSD variants.
> OpenBSD and Linux are fine; they use 32-63 to number f0-f31.
Linux is fine, OpenBSD is not, at least in the FSF tree.
--
Eric Botcazou
in functions for target avr.
>
Hi Georg-Johann,
Anatoly Sokolov and I already have a patch to add builtin function capabilities
for the AVR. Could you send us your patches?
Thanks,
Eric Weddington
(The definition is in system.h).
So, we never go below 128.
Agreed. We cannot go below 128 bits on darwin. Any change that allows
that to happen is incorrect.
-eric
> Ok, so it seems the fix is to reinstate the override in sol2.h,
> right?
This wouldn't change anything except for Solaris. The fix is probably to wipe
out the SVR4 definition (and consequently all definitions in config/sparc
since the remaining ones will duplicate the default)
> My testing indicates otherwise, apart from the lack of support for some
> newer Solaris features.
I presume it's again the combination Sun as + GNU ld?
--
Eric Botcazou
the current behaviour is exactly deliberate; it was probably just
> something I overlooked when adding -msym32.
>
> How about the patch below? I'll apply it in the next couple of days
> if there are no objections.
>
Looks good to me.
-eric
le-shared --enable-multilib
> --with-included-gettext --with-libiconv-prefix=/opt/csw --with-x
> --with-system-zlib --with-gmp=/opt/csw --with-mpfr=/opt/csw
> --enable-languages=c,c++,f95,objc,ada --enable-bootstrap
> Thread model: posix
> gcc version 4.3.3 (GCC)
You could use --with-cpu=v8 instead of v7.
--
Eric Botcazou
> On an (possibly) off-topic note, it seems that gmp requires GNU ld, but GCC
> needs the native ld.
Neither is supposed to be true (and I've built GMP with Sun ld and GCC with
GNU ld many times).
--
Eric Botcazou
ails on ia64-linux, that's a regression from 4.3.x.
--
Eric Botcazou
> 1. Is it supposed to work to bootstrap gnat with a compiler using a
> different EH model from the one you're trying to build?
Yes, I think so.
> 2. Where it uses the host compiler, would it be ok to use the newly-built
> target one instead if host==target, i.e. not a cross compiler?
Yes, probably.
> 3. Should I have needed to add -fexceptions, and if not, why not?
No, see above.
--
Eric Botcazou
changing ZCX_By_Default, and the ADA_CFLAGS -> ALL_ADA_CFLAGS patching, and
> that adding the -fexceptions flag was superfluous - but harmless, no? I'd
> prefer not to respin this whole release YA time if I don't have to!
Superfluous changes are never harmless in a compil
taking any risks fiddling
with the complex Makefile machinery on all platforms.
--
Eric Botcazou
nfident enough with it and given that we know
there is no fundamental issue as far as GNAT is concerned, why not try?
--
Eric Botcazou
are due to the EH or
> if there are other causes.
Thanks for reporting this. Can you try with the attached patch instead, i.e.
without the system-mingw.ads change? This should restore the previous state
and you could then compare the ACATS results.
--
Eric Botc
> Here are the ACATS results running gnat with gccflags="-O3
> -fomit-frame-pointer -funroll-all-loops -finline-functions"
Thanks a lot. Would you mind running it again with the default flags (-O2)?
We don't have comparison points with these non-standard flags.
--
Eric Botcazou
dy provide a linker option to increase stack size to 40MB
> there is still one program failing in a stack overflow.
That could also be just a segmentation fault.
--
Eric Botcazou
t just cygwin, it's also mingw. The Ada compiler is quite broken on
Windows since 4.3 because of the merge glitch.
--
Eric Botcazou
> But I'm against doing more than fixing the merge glitch at this stage.
I think that the Windows maintainers should have the final word though.
--
Eric Botcazou
> I agree--please put in at least the date of the change being reverted,
> which should be the date of the ChangeLog entry.
There is no ChangeLog entry at all. I've replaced the rev by the date.
--
Eric Botcazou
e, will output
samples based on the labels. So this will help us to analyze the
samples for each basic block. But current generated code will have
many local labels with the same name. Perhaps it's again the
-fverbose-asm to enable this functionality. But where should I go if I
wanna implement this functionality?
Cheers,
Eric Fisher
Mar 16, 2009
INTERNAL_LABEL in the back-end. But there's also a problem
which is that the user need to consider the length of the function
name and length of the label string buff.
Best regards,
Eric Fisher
Mar 17, 2009
>> Given that the svn://gcc.gnu.org/svn/gcc/branches/plugin branch is not
>> really active, I suggest to
>>
>> svn mv svn://gcc.gnu.org/svn/gcc/branches/plugin
>> svn://gcc.gnu.org/svn/gcc/branches/old-plugin
>>
>> What do you think about that?
>
>
le.in and rebuild the
runtime (make all-target-libada).
--
Eric Botcazou
> I have these patches against 4.3.2/4.3.3 that should help with this.
> (Sorry Eric, I've been too busy with the cygwin gcc distro releases to
> start feeding these upstream yet, but they need to wait for 4.5 anyway.
> They're not all in entirely suitable shape ye
this:
>
> static tree
> attr_myattr_handler(tree *node, tree name, tree args, int flags,
> bool *no_add_attrs) {
> /* What should I do here */
> }
See the SYMBOL_REF_FLAGS stuff in rtl.h and various examples in the back-ends.
--
Eric Botcazou
fore release,
> submitting one from trunk is the right approach).
Stage 4 needs to be documented on http://gcc.gnu.org/develop.html then.
--
Eric Botcazou
> I will announce the time I am doing the last trunk -> alias-improvements
> branch merge and freeze the trunk for that.
Could you write a short blurb about what will be changed in the optimizer once
the branch is merged (for example in the message announcing it). TIA.
--
Eric Botcazou
> Sure. But see also http://gcc.gnu.org/ml/gcc/2009-01/msg00286.html
Sorry, I forgot about this message. I looked at the wiki but the page doesn't
contain this nice overview. Too many sources of info kill the info. :-)
--
Eric Botcazou
> I'm not sure if it would work and I have idea where in trans*.c
> you need to do this, but if you mark the tree as used with
> something like
>
> TREE_USED (__result_f) = 1
>
> the middle-end may be silenced.
I think that TREE_NO_WARNING would be more appropriate f
finity): Do not special-case subtypes.
(extract_range_from_unary_expr): Do not use the base types.
--
Eric Botcazou
Index: tree-vrp.c
===
--- tree-vrp.c (revision 145851)
+++ tree-vrp.c (working copy)
@@ -121,7 +121,7 @@
expressions) have maximal bounds for
their precision; "range" types should only be descriptive.
--
Eric Botcazou
e to force ranges at will when checks are not present.
--
Eric Botcazou
cation seems tricky, a machine-specific reorg pass could
be more appropriate. I'm not sure we already have something like this in the
compiler (SPARC has a double-load instruction but it's only implemented as a
peephole).
--
Eric Botcazou
eorg pass runs after register allocation. You could try to identify
consecutive loads within basic blocks, group them and rename registers or add
copy insns to be able replace them with multiple loads. Then you could rerun
a cprop_hardreg pass to clean up things.
--
Eric Botcazou
F framework in 4.3.x and later.
--
Eric Botcazou
> Ok, I'll try to look at that. Is there an area where I can see how to
> initialize the framework and get information about which registers are
> free?
The API is in df.h, see for example ifcvt.c.
--
Eric Botcazou
> Doesn't count, because that is done in the TARGET_SETUP_INCOMING_VARARGS
> hook which is called before reload. The interesting case here is
> prologue generation done after reload.
Alpha emits a loop in the prologue to check the stack as per the Tru64 ABI.
--
Eric Botcazou
d
> of the block
Yes, you need to make a copy in this case but its cost could be offsetted by
the gain from the load_multiple. Or it could be eliminated by running a new
instance of cprop_hardreg. You need to experiment and tune the pass.
--
Eric Botcazou
> Ok, I added a df_analyze at the beginning of my target reorg function
> and now it works. Is there anything I should add to cleanup afterwards
> ?
As far as DF is concerned, no, probably nothing.
--
Eric Botcazou
d be nice I think.
--
Eric Botcazou
Ideally this should be independent.
--
Eric Botcazou
e = TREE_TYPE (type);
+
+ if (TREE_CODE (type) != INTEGER_TYPE)
+ return lang_hooks.types.type_for_size (TYPE_PRECISION (type), 1);
+
if (TYPE_UNSIGNED (type))
return type;
when I was experimenting with another approach to the subtype problem.
--
Eric Botcazou
p as a developer in order to
get quite a bit of information on how to develop applications for the iPhone.
-eric
> The build went through without any error,
> but most of the tests failed in "make check".
> unexpected failures = 6472 and passed = 52.
Try with "make -k check" and no -j, parallel testing is broken on Solaris.
--
Eric Botcazou
s completely modified with the contents of
variable @code{b}. Real definition are also known as @dfn{killing
definitions}. Similarly, the use of @code{b} reads all its bits.
"
Eric Fisher
May 15, 2009
> What am I doing wrong?
You'll have to look at the logs and see whether there is a common pattern.
--
Eric Botcazou
-l ever worked.) Is there a PR number?
That's already fixed.
--
Eric Botcazou
2009/5/16 Diego Novillo :
> On Fri, May 15, 2009 at 02:12, Eric Fisher wrote:
>
>> I think it's a mistake between a and b. It should be,
>>
>> "
>> variable @code{a} is completely modified with the contents of
>> variable @code{b}. Real definition
> This is the varargs code, and I currently solved it by using
> append_to_statement_list(), and then adding the resulting tree to the pre_p
> and post_p using gimplify_and_add(). Is it OK?
Take a look at mainstream ports (x86, rs6000, etc) and use them as a model.
--
Eric Botcazou
GNU assembler instead of the Sun assembler, the latter is barely
maintained by Sun.
--
Eric Botcazou
d path
But, lto-plugin is failed in stage2 with the error
/usr/bin/ld: cannot find -lelf
I look into the Makefile and find that LDFLAGS is set as BOOT_LDFLAGS
scine stage2, so I have to set this variable also.
Is it a right way that it should go?
Best wishes,
Eric Fisher
g
> make_decl_rtl with a local variable, any why.
Yes, it usually means that the local variable hasn't been properly registered
in the binding countour or some such.
--
Eric Botcazou
Hi,
I just want to ask whether we have any special pass to reduce cache
miss? Or any idea or branch to enhance it.
Thanks
Eric Fisher
> Thanks for the explanation. I somehow thought that every insn spit out by a
> define_insn was automatically turned into a parallel.
That's true, the template of a define_insn is automatically wrapped up in a
PARALLEL. But your addsi3 is a define_expand and this works differently
he calling convention. I've tried
looking at many of the other ports to see if anyone else is doing anything
similar but so far I haven't found any other port that does that.
Could someone could point me in the right direction to do this?
Thanks,
Eric Weddington
Hello
Sorry, I hope it's not an offensive or boring topic.
Some of my friends asked me if it's true that gcc will be replaced by
other compilers on a few OS and what is the problem.
Any comment?
Best wishes
Eric Fisher
he reward from the other side should be sufficiently high.
--
Eric Botcazou
less robust as far as -g vs -g0 code is concerned
(unless it is enabled unconditionally) and we shouldn't trade this loss of
robustness for nothing.
--
Eric Botcazou
> -Original Message-
> From: Joseph S. Myers [mailto:jos...@codesourcery.com]
> Sent: Tuesday, June 09, 2009 6:51 PM
> To: Ian Lance Taylor
> Cc: Basile STARYNKEVITCH; GCC Mailing List
> Subject: Re: increasing the number of GCC reviewers
>
>
> At the human level I suspect it would he
> -Original Message-
> From: Joseph Myers [mailto:jos...@codesourcery.com]
> Sent: Wednesday, June 10, 2009 8:52 AM
> To: Weddington, Eric
> Cc: Ian Lance Taylor; Basile STARYNKEVITCH; GCC Mailing List
> Subject: RE: increasing the number of GCC reviewers
&g
ted and inferior debug info. I think we shouldn't need to do anything
at -O0 apart from sufficiently curbing the code generator to get correct
naive debug info; the sophisticated stuff should be reserved to -O and above.
--
Eric Botcazou
> Well, I see FAILs for -O0 compared to -O1 with VTA - that doesn't look
> "right". How we fix this is not relevant - but we should try to do so.
It would be better not to artificially introduce them in the first place.
--
Eric Botcazou
er has
specified the layout with a representation clause; and, in this case, it does
sort the fields by increasing offsets (see components_to_record) because the
middle-end expects the canonical order in various circumstances.
--
Eric Botcazou
as the Intel
> compiler) as is reasonable.
Yes, I don't think we should require GCC to build GCC, this would be a step
backwards in my opinion. I can experiment with the Sun Studio compiler.
--
Eric Botcazou
ake-lang.in:
>
> ada-warn = $(ADA_CFLAGS) $(WERROR)
>
> The other languages use
>
> DIR-warn = $(STRICT_WARN)
>
> which is what brings in -Wc++-compat.
I get -Wc++-compat warnings though:
/home/eric/gnat/gnat-head/src/gcc/ada/gcc-interface/decl.c: In
function 'subs
> This was the only va_arg usage, may be we should apply it on trunk too
> as the patched version is supposed to work for both C and C++.
Yes, but I'm testing a patch for trunk with more changes.
--
Eric Botcazou
had
been reported for weeks in PRs and the problematic patch clearly identified.
--
Eric Botcazou
> and read much more detailed release notes here:
> http://llvm.org/releases/2.7/docs/ReleaseNotes.html
The correct writing of GCC is "GCC", all capitalized. In particular "gcc-4.5"
should be written GCC 4.5 (like LLVM 2.7).
--
Eric Botcazou
> I agree that this really ought to be documented.
There is an old PR about this: http://gcc.gnu.org/PR16519
--
Eric Botcazou
lt in it being lost and forgotten. In order to report
an issue, please open a ticket with bugzilla. In order to submit a patch,
please use gcc-patc...@gcc.gnu.org. In both cases, follow the guidelines
written down in the aforementioned documentation. Thanks in advance.
--
Eric Botcazou
? Thanks in advance.
--
Eric Botcazou
for this would be lto_symtab_merge_cgraph_nodes () which already
> is after type merging and still has all candidates available.
Is suppressing the diagnostic sufficient? Will the two types be merged after
the symbols are unified, or does that not matter at all?
--
Eric Botcazou
14.56 11.29%
garbage_collection 0.28 0.07%
total 383.21100.00%
--
Eric Botcazou
nal5.26
symout 8.94
14.56 3.80%
garbage_collection 0.28 0.07%
total 383.21100.00%
--
Eric Botcazou
(3) the result of the load is unused when the memory
location is uninitialized. So, from an external viewpoint, the generated
code behaves as if there were no "problematic" loads and looks therefore OK.
--
Eric Botcazou
You don't need several personality routines to compile an all-Ada
program. This can presumably happen for an all-C++ program as well, but is
masked if you have recent enough binutils (2.20 and above).
--
Eric Botcazou
uld by name).
Can't we simply record the first personality routine encountered when reading
in the GIMPLE IL and assign it to all FDEs that don't have one? That would
at least solve the problem in the homogeneous case.
--
Eric Botcazou
801 - 900 of 1857 matches
Mail list logo