cirrus75 writes:
> I am trying to improve combine pass (for all backends). One approach is
> changing the order of some insns before combine pass starts. The first
> problem I have is about the REGNOTES, they need to be rebuilt after changing
> insn order. Does anyone know how to do that ?
Deryck Hodge writes:
> I work at Canonical on Launchpad and am trying to setup syncing
> between our bug tracker and the GCC bug tracker. Specifically, we
> want to enable comment syncing between linked bugs on our trackers and
> back links from your Bugzilla to the Launchpad bug. Currently we
Mohammad Masood Masaeli writes:
> Hello, I'm studying the code of GCC to now how does it work and some
> other purposes...
> Can anyone tell me how does its error recovery work?
> I think it is something near to Panic method, but I'm not sure and no
> documents exist about it!
What kind of error
Michael Witten writes:
> I am intending to send them again to the proper list; is this
> considered the correct move now that the patches have been sent here?
Yes.
Ian
Deryck Hodge writes:
> I believe this will work in the way the covers everyones concerns.
> Please let me know if there are other concerns. If not, I would like
> to go ahead and set this up.
Please go ahead. Thanks.
Ian
Nenad Vukicevic writes:
> Is it possible to add an argument to the test in the
> execution phase of the testsuite? I am looking into
> some test cases where number of threads to run must
> be provided on the invocation line of the test if not
> specified during the test compilation. Something tha
Nenad Vukicevic writes:
> Thank you for your response. I am trying to write some tests
> for GUPC that have two modes of compilation: static and dynamic. In
> static environment you specify number of threads you want to run in
> compile time, while in dynamic you specify it when you run the
> pro
Jon Grant writes:
> Is it expected that more than one -o option should be allowed by GCC
> on command line? The later -o option overriding earlier.
Yes, this is expected. Most Unix utilities behave that way: when an
option with an argument is specified twice, and it only makes sense to
specify
Bernd Schmidt writes:
> On 05/05/2011 11:53 PM, Ian Lance Taylor wrote:
>> Jon Grant writes:
>>
>>> Is it expected that more than one -o option should be allowed by GCC
>>> on command line? The later -o option overriding earlier.
>>
>> Yes, this
Richard Guenther writes:
> What happens if the indirect call is optimized to a jump via tailcall
> optimization? We'd bogously skip one function then, no?
But that always happens with backtraces through tailcalls. It's nothing
new.
Ian
ankit writes:
> Problem Statement : Given a C file which has several macros defined (eg.
> #define MACRO 10) . I need to know what all macros are defined and their
> usage point(eg. line number) in the code.
>
> Need to know this information during or after gcc pre-processing phase.
>
> Pos
"Iyer, Balaji V" writes:
> I would like to add 8 integer array fields (I am also OK if they are
> tree-lists) into the tree data structure. I want to update this fields every
> time I see loops. This value will be used later by the optimizer. I tried to
> just add them into the structure
fanqifei writes:
>>> Which file or fucntion should I look into? Maybe I can work around in 4.3.2
>>
>> Look into tree-ssa-alias.c and tree-ssa-structalias.c
>>
>>> What change in 4.5 fixed it?
>>
>> A complete rewrite of the above ...
>>
>> Richard.
> So is there easy way to work around in 4.3.2
Pierre Vittet writes:
> I am working on a plugin at the GIMPLE state, I am parsing basic
> blocks and I need to check that a call to foo() is only present once
> in a function. Howerver, it can be present several times if it is in
> different basic blocks and only one is executed at execution tim
Pierre Vittet writes:
> First, thanks for your help. I have looked at several function using
> calculate_dominance_info(). From what I understand, when you have
> finish to use it, you have to clear the structure by making a
> free_dominance_info().
> In the function flow_loops_find (file gcc/cfg
fanqifei writes:
> I am using gcc4.3.2.
> In our microcontroller, move instruction(mov reg, imm) can accept
> 16bits and 32bits immediate operand.
> The data memory size is less than 64KB, however, code memory size is
> larger than 64KB.
> The immediate operand may be addresses of variables in da
"eric lin" writes:
> eric@eric-laptop:~/practicalCpp$ g++ fixed_pt.cpp fixed_test.cpp
> In file included from fixed_pt.cpp:3:
> fixed_pt.h:211: error: ‘fixed_pt::fixed_pt
> fixed_pt::fixed_pt::operator+(const fixed_pt::fixed_pt&, const
> fixed_pt::fixed_pt&)’ must take either zero or one argume
陳韋任 writes:
> I found a gcc plugin called gcc-vcg-plugin
> (http://code.google.com/p/gcc-vcg-plugin/). I am not sure
> if this can be a start point.
>
> Any comments? Thanks.
I honestly don't know whether you can use that as a starting point,
because I don't know what you actually want to do
陳韋任 writes:
> Assume I want basic block register usage information, and
> I further assume that native machine has a register set
> {R0, R1, R2, R3}. The source code might be compiled into
> two basic blocks. What I want is something like,
>
>BB1 (0x100 - 0x120)
>In 0100
>
陳韋任 writes:
>> The hard part is getting that information to be available at runtime.
>
> The easiest way is saving that information on the disk. Or I can use
> `objcopy` to insert the information to the executable. The binary
> translator can read that information at runtime.
>
> I guess what
Camo Johnson writes:
> So NOW it is a direct store operation. And the compiler crashes with the
> following error message:
>
> ../uart2sim/uart2i_3.c: In Funktion »main«:
> ../uart2sim/uart2i_3.c:307: Fehler: Befehl erfüllt nicht seine Bedingungen:
> (insn 44 41 45 4 ../uart2sim/uart2i_3.c:272 (
Sean Robert McGuffee writes:
> Regarding all the scanf functions reading long values
> (sscanf,fscanf,scanf,... etc...).
I'm sorry, this is the wrong mailing list. gcc is just the compiler.
Functions like sscanf, fscanf, scanf are part of the C library. gcc
does not provide a C library.
In an
Sean Robert McGuffee writes:
> Has anyone compiled netbeans with gcj?
> If so, can you please post your method?
The mailing list gcc@gcc.gnu.org is for discussions related to the
development of gcc itself. Questions like this should go on the mailing
list gcc-h...@gcc.gnu.org. Or, in this case
Basile Starynkevitch writes:
> On Wed, May 18, 2011 at 10:27:11AM +0400, Andrey Belevantsev wrote:
>
>> On 17.05.2011 23:42, Basile Starynkevitch wrote:
>> >On Tue, 17 May 2011 21:30:44 +0200
>> >Pierre Vittet wrote:
>>
>> >>My contributor number is 634276.
>> You don't have to write your FSF c
Piotr Wyderski writes:
> I'm implementing in C++ a semi-portable portable bit vector based on
> SIMD extensions
> available on the platform. GCC automatically vectorizes it to a large
> extent, but much
> better code could have been generated it there were a way to annotate
> the source code some
Camo Johnson writes:
> I have some trouble dealing with delay slots. The problem is that our
> architecture can't handle branch instructions using registers which have been
> changed in the previous instruction. So a delay slot is needed.
> The difficult part is, that this delay slot is only ne
Jonathan Wakely writes:
> It's an additional maintenance burden.
It's not a maintenance burden on gcc, though.
I think we should have the gcc configure script provide a way to add a
preprocessor macro. That would not be hard for somebody to implement
(perhaps Matthias), it should not pose a si
Matthias Kretz writes:
> Richard and Jonathan don't like it - or doubt its effectiveness.
>
> Ian supports the idea. Jakub and Nathan mentioned that they already do
> something like it, so can I count that as "like"? :)
>
> Should I write a patch or not? How are the chances that it gets accepted
Syed Bilal Mehdi writes:
> I am not sure where to put this message, but can anyone tell me where I can
> find source for libquadmath.
It's in the libquadmath directory in the gcc sources. If you don't know
what that means, then, for future reference, this message should have
been sent to gcc-h.
Lawrence Crowl writes:
> The PPH project has tests that compile two different ways, and
> then compare the assembly. If either of the compiles fails, the
> comparison will fail. We'd like to simply not run the comparison.
>
> We currently have:
>
> set have_errs [llength [grep $test "{\[ \t\]\+
Erik Olofsson writes:
> I have come to rely on C++0x support in GCC 4.6 and later. Until clang has
> feature parity with GCC 4.6, GCC seems to be my only choice for a darwin
> compiler.
>
> As I need to support iPhone it would seem arm-apple-darwin would be the
> correct target.
>
> Would ther
Liu writes:
> If I want make a GNU Toolchain support PIC code and Dynamic link,
> do I need do some work on gcc?
> If I do need. What should I do?
The GNU toolchain supports PIC and dynamic linking by default. Are you
talking about some new gcc target? If so, you need to give us more
details.
Liu writes:
> Yes, I am working on a new gcc target, it almost finished but PIC and
> dynamic linking.
> They want me make the toolchain support PIC and dynamic linking. I'm
> not sure what should I do, will you show me a path?
[ Sorry for my earlier reply, I see now that you did also reply to t
"Iyer, Balaji V" writes:
> I am trying to mark all for loop *top* labels with a integer value.
> This integer value is an index to another data structure that I'm trying to
> maintain.
>
>I just added the index value (as unsigned int) into the following data
> structure (in tree.h):
Mingjie Xing writes:
> I find the printable names are both "label decl" for TS_LABEL_DECL and
> TS_TYPE_DECL in treestruct.def (trunk),
>
> DEFTREESTRUCT(TS_LABEL_DECL, "label decl")
> DEFTREESTRUCT(TS_RESULT_DECL, "result decl")
> DEFTREESTRUCT(TS_CONST_DECL, "const decl")
> DEFTREESTRUCT(TS_TYP
asharif tools writes:
> function:
> call__i686.get_pc_thunk.bx
> addl$_GLOBAL_OFFSET_TABLE_, %ebx
> movl%gs:20, %eax # Stack-guard init
> movl%eax, -12(%ebp) # Stack-guard init
> Now, what I want to do is move stack guard initialization part
> (consisting
陳韋任 writes:
>> Can I dump other information such as CFG in a similar way as register
>> usage does?
>
> At the end of the link belows,
>
> http://gcc.gnu.org/onlinedocs/gccint/Maintaining-the-CFG.html#Maintaining-the-CFG
>
> It says,
>
> "Note that at present, the representation of contr
陳韋任 writes:
>> That documentation is out of date. The CFG is now retained through most
>> of the RTL passes.
>
> You said "through most of the RTLpasses". And I found the CFG
> is freed before other passes in gcc/passes.c.
>
> NEXT_PASS (pass_free_cfg);
> NEXT_PASS (pass_machine_reorg)
asharif tools writes:
> On Wed, Jun 8, 2011 at 10:32 PM, Ian Lance Taylor wrote:
>> asharif tools writes:
>>
>>> function:
>>> call __i686.get_pc_thunk.bx
>>> addl $_GLOBAL_OFFSET_TABLE_, %ebx
>>> movl %gs:20, %eax
eric writes:
> Thanks your suggestion, I follow it but it show fatal error:Array.cpp:
> no such file
> so
> I add #include "Array.cpp" in my main program, pg52.cpp
> then
> it can compile
> but
> when I run it, it response
> Segmentation fault
>
> again it's g++ 4.5.2. What may cause wrong?
>
陳韋任 writes:
>> > At the end of the link belows,
>> >
>> > http://gcc.gnu.org/onlinedocs/gccint/Maintaining-the-CFG.html#Maintaining-the-CFG
>> >
>> > It says,
>> >
>> > "Note that at present, the representation of control flow in the tree
>> > representation is discarded before expanding t
陳韋任 writes:
>> The machine reorg pass in particular can change anything, and may change
>> the CFG. The delay slots pass may also change the CFG. It depends on
>> your particular target.
>
> From the comments and source code in gcc/reorg.c, I guess both machine
> reorg pass and delay slots pa
陳韋任 writes:
>> Different targets use the machine reorg pass for all sorts of different
>> things. Most of the code in reorg.c is actually not the machine reorg
>> pass, it is the delay slots pass (pass_delay_slots). The machine reorg
>> pass (pass_machine_reorg) simply calls targetm.machine_dep
"Franck Z" writes:
> In your opinion, could it be of any use in the project if I tried to
> merge ccache into gcc, so as to assess this "intelligent agent"
> approach ?
I didn't really understand your description, but there have been a
couple of gcc projects in this general space: compiler serve
Georg-Johann Lay writes:
> Am I something missing? Adding fragments to LIB1ASMFUNCS should filter
> them out in filter-out.
I think the problem is that libgcc/config/avr/t-avr does not filter
LIB1ASMFUNCS out of the lists it generates. You will need to adjust it
one way or another.
Ian
Georg-Johann Lay writes:
> Ian Lance Taylor schrieb:
>> Georg-Johann Lay writes:
>>
>>> Am I something missing? Adding fragments to LIB1ASMFUNCS should filter
>>> them out in filter-out.
>>
>> I think the problem is that libgcc/config/avr/t-avr doe
陳韋任 writes:
> I am looking into config/arch which defines TARGET_MACHINE_DEPENDENT_REORG
> and
> trying to figure out what kind of operations might change the CFG.
When I want to look for a backend that does something crazy, I usually
start with sh. And sure enough, sh_reorg calls split_bran
"Paulo J. Matos" writes:
> I am quite confused about the difference between the above two options
> in Makefile fragments.
>
> They both seem to be doing the same thing which is to set the options
> to build libgcc2 with.
>
> The only thing that comes to mind is that LIBGCC2_CFLAGS only applies
>
Jack Howarth writes:
> What is the current state of supporting hardened operating systems
> that default to -fpie/-fPIE/-pie in gcc trunk? Do those releases still use
> their own patches for gcc or has all of those changes been committed to gcc
> trunk?
> If so, does anyone recall the specif
"Paulo J. Matos" writes:
> There are some flags that are needed by the target to build libgcc2. I
> am keeping those in TARGET_LIBGCC2_FLAGS. However, compilation is
> failed even before the building begins because configure fails. While
> trying to compile test programs configure is using
> TARG
Jack Howarth writes:
>Why aren't the BOOT_LDFLAGS settings honored outside of the gcc build
> subdirectory?
> On darwin, we are now setting...
>
> BOOT_LDFLAGS += `case ${host} in *-*-darwin[1][1-9]*) echo -Wl,-no_pie ;;
> esac;`
>
> in config/mh-darwin, and while the generated toplevel Mak
Grzegorz Jaśkiewicz writes:
> /Users/gj/Projects/gcc/gcc-4.6-20110610/host-x86_64-apple-darwin10.7.4/gcc/xgcc
> -B/Users/gj/Projects/gcc/gcc-4.6-20110610/host-x86_64-apple-darwin10.7.4/gcc/
> -B/usr/local/x86_64-apple-darwin10.7.4/bin/
> -B/usr/local/x86_64-apple-darwin10.7.4/lib/ -isystem
> /usr
Jack Howarth writes:
> On Fri, Jun 17, 2011 at 07:30:43AM -0700, Ian Lance Taylor wrote:
>>
>> For PCH what matters is not whether gcc defaults to generating PIE, but
>> whether gcc itself is compiled as a PIE. In general I believe that a
>> PIE gcc will not suppor
"C. Bergström" writes:
> 1) What's wrong with commercial software?
I don't want to get into licensing fight, and I don't know anything
about the history of the Fortran frontend, but I do want to suggest a
correction to your wording. I'm not aware of any GCC contributor who
thinks there is anyth
"Paulo J. Matos" writes:
>> Is it libgcc/configure that is failing? If so it sounds like you want
>> to set MULTILIB_EXTRA_OPTS, per your earlier question.
>>
>
> Yes, it's libgcc/configure that's failing. So, you mean I should
> MULTILIB_EXTRA_OPTS=-mas-mode in my t- makefile fragment?
Yes.
A
"Paulo J. Matos" writes:
> Which flag (like CFLAGS_FOR_BUILD) can I use that is passed in the
> command line to compile the driver?
CFLAGS.
CFLAGS_FOR_BUILD is for code compiled for the build system. CFLAGS is
for code compiled for the host system. CFLAGS_FOR_TARGET is for code
compiled for t
"Paulo J. Matos" writes:
> My thought was to fold __function_size still to a special label
> (unique for each function) that would be then generates by as and set
> to the unrelaxed size of the function. Once the linker performs the
> required relaxation it also modifies the label value according
"H.J. Lu" writes:
> Apparently, there is no GCC maintainer for Linux/x86 platform. I have
> been working on GCC, as well as binutils and C libraries, for Linux/x86
> over 20 years. I ported GCC, binutils and the C library to Linux/x86. I
> like to be appointed as maintainer for Linux/x86 platfo
"Paulo J. Matos" writes:
> On 22/06/11 17:34, Paulo J. Matos wrote:
>> I thought this was the same as using __attribute__((used)) on a function
>> declaration (which works).
>>
>
> DECL_PRESERVE_P(node) = 1;
>
> seems to be what I wanted. :)
I always wondered what that was for.
Ian
Diego Novillo writes:
> So, I think we need to re-think where to check for seen_errors().
> Bailing out too early is disabling some valid diagnostics. For
> instance,
>
> gcc/testsuite/gcc.dg/asm-7.c:
> $ cat -n
> /home/dnovillo/g1/fix-4487457/Patch-752f00bd28e325efdfa0ac7abed22feb_branches-goo
Vincent Legoll writes:
> This may be the changeset that broke pygments running on older
> pythons (< 2.4):
>
> https://bitbucket.org/birkenfeld/pygments-main/changeset/8d3fbbf1ffdb
>
> Now as what to do about it, I don't know... The host seems to have very old
> software, maybe now is the time fo
Joern Rennecke writes:
> - make INIT_CUMULATIVE_ARGS allocate using garbage-collected memory.
> That would require that each target provides appropriately
> typedefed / GTY-ed
> definitions. Multi-target operation would also require an index inside
> cumulative_args_t to decide during GC w
"Marcin J." writes:
> will be possible to add optimization that merge this two (or more) switch in
> one big one (even if inner one is from inline function?) and then use one
> jump table for both switches?
Is it possible? Sure. It's quite a special case, though, so if it's
enabled by defaul
> Ian Lance Taylor schrieb:
>
>> Thanks for identifying the patch. I applied the reverse patch manually
>> to gcc.gnu.org, and the problem appears to be fixed, at least for now.
>>
>> Ian
>
> Hi, thanks for the fix, but it appears the revert changed bit
Jon Grant writes:
> On 2 February 2010 22:47, Ian Lance Taylor wrote:
>> Jon writes:
>>
>>> Is there a way to get collect2 to save the temporary .c file it
>>> generates to have a look at it? I believe it may be the __main()
>>> function, wi
Jon Grant writes:
> Ian Lance Taylor wrote, On 03/07/11 05:27:
>> Jon Grant writes:
> [.]
>>> Another reply for this old thread. I wondered, if collect2 is
>>> possibly not needed in normal use on GNU/Linux, could GCC be
>>> configured to call ld di
David Fang writes:
> I'd like to post gcc testresults for 4.6.1 on powerpc-darwin8,
> but the length of my message (appx. 1MB due to large number of -flto
> failures) probably exceeds the mailing list's limit. What is this
> limit, and how would you recommend I prune the summary before
> r
Georg-Johann Lay writes:
> extern char *grub_scratch_mem;
> int testload_func (char *arg, int flags)
> {
> int i;
> for (i = 0; i < 0x10ac0; i++)
> if (*((unsigned char *) ((0x20 + i + (int) grub_scratch_mem)))
> != *((unsigned char *) ((0x30 + i + (int) grub_scratch_mem)))
Toon Moene writes:
> As of a couple of months, I perform a bootstrap-with-C++
> (--enable-build-with-cxx) daily on my machine between 18:10 and 20:10
> UTC.
>
> I see that the build by a C++ compiler has been the subject of the GCC
> Gathering at Google:
>
> C++ style and migration crowlwri
Eric Botcazou writes:
>> The immediate blocker to using C++ in gcc is the Ada frontend.
>> --enable-build-with-cxx and --enable-languages=ada do not work together.
>
> Could you elaborate?
When I configure with
--enable-build-with-cxx --enable-languages=c,c++,ada
I get the appended. The pro
Eric Botcazou writes:
>> When I configure with
>> --enable-build-with-cxx --enable-languages=c,c++,ada
>> I get the appended. The problem is that the Ada code is looking for C
>> symbol names but the names in the .o files are mangled for C++.
>
> OK, this is known: a couple of tweaks to the
Eric Botcazou writes:
>> If there is an up to date patch, I'm happy to review it if it would
>> help. But perhaps an Ada maintainer would prefer to do the review, I
>> don't know what the usual policy is as I've never approved an Ada patch.
>
> The patch is here: http://gcc.gnu.org/ml/gcc-patche
Igor Zamyatin writes:
> As you may see pta_flags enum in i386.c is almost full. So there is a
> risk of overflow in quite near future. Comment in source code advises
> "widen struct pta flags" which is now defined as unsigned. But it
> looks not optimal.
>
> What will be the most proper solution
Tobias Burnus writes:
> Would it? How does the compiler know that between "call
> SYNC_calling_proc()" the value of "coarray" could change? Hmm,
> seemingly, that's indeed the case, looking at the optimized dump of
> the example above:
The C99 restrict qualifier doesn't mean that some random fun
Tobias Burnus writes:
> In that sense, I do not seem to need a new flags for
> asynchronous/coarrays - which are handled by TYPE_QUAL_RESTRICT, but I
> need a new flag for normal (noncoarray, nonasychronous) variables,
> which are passed by value or are allocatable - and where a function
> call w
"Paulo J. Matos" writes:
> As part of a testsuite script I am parsing GCC's output and I noticed
> that format specifier %qs quotes the string by surrounding it with
> unicode characters. I can't find where this %qs is defined so that I
> can try and override it to quote with '%s' or `%s'. Anythi
"H.J. Lu" writes:
> I haven't used my gnu.org account for a long time, h...@gnu.org. I can't log
> in
> nor my email forward doesn't work either.
You are asking about gnu.org, not gcc.gnu.org, right? I think you have
to ask sysad...@gnu.org about that.
Normally you should be able to ssh to f
"H.J. Lu" writes:
> On Fri, Jul 15, 2011 at 11:57 AM, Andreas Schwab
> wrote:
>> Ian Lance Taylor writes:
>>
>>> "H.J. Lu" writes:
>>>
>>>> I haven't used my gnu.org account for a long time, h...@gnu.org. I can'
++ implementation.
I would suggest that we consider releasing 4.7 this way, as a small
trial for building gcc with C++.
This is a big step, so I am sending the patch to both gcc@ and
gcc-patches@ for comments.
Bootstrapped and ran testsuite on x86_64-unknown-linux-gnu.
Ian
2011-07-15 Ian Lance Taylor
Andrew Pinski writes:
> On Fri, Jul 15, 2011 at 11:52 PM, Ian Lance Taylor wrote:
>> I would like to propose this patch as a step toward building gcc using a
>> C++ compiler. This patch builds stage1 with the C compiler as usual,
>> and defaults to building stages 2 and
Diego Novillo writes:
> On Sat, Jul 16, 2011 at 02:52, Ian Lance Taylor wrote:
>
>> 2011-07-15 Ian Lance Taylor
>>
>> * configure.ac: Add --enable-build-poststage1-with-cxx. If set,
>> make C++ a boot_language. Set and substitute
>&g
Basile Starynkevitch writes:
> I think that we might also want to have some easy & documented way to build
> the stage1
> directly with g++, assuming (or when) it is already available.
We already do: configure with --enable-build-with-cxx.
Ian
"Paulo J. Matos" writes:
> Where the format specifiers b and t choose the top and bottom 16 bits
> of each operand. add is a 16bit addition operand and addc takes carry
> flag into consideration. Now, there are a lot of simple manipulations
> that can be made if I release GCC from always outputti
Georg-Johann Lay writes:
> In the internals, there is no description of a backend
> can add a new pass. And no backend uses
> passes.c:register_pass (4.5 and 4.7), so here is the question:
>
> How can a backend add a pass?
I don't think anybody has ever done this. At the moment only plugins
add
Ian Lance Taylor writes:
> I would like to propose this patch as a step toward building gcc using a
> C++ compiler. This patch builds stage1 with the C compiler as usual,
> and defaults to building stages 2 and 3 with a C++ compiler built during
> stage 1. This means that the gcc i
Diego Novillo writes:
> On Wed, Jul 20, 2011 at 08:41, Richard Guenther
> wrote:
>
>> Which is good as it increases testing coverage. We probably would have
>> missed this bug completely if you wouldn't have notice it.
>
> Agreed. The pain we feel due to this is similar to the pain one feels
>
Toon Moene writes:
> On 07/19/2011 08:33 PM, Ian Lance Taylor wrote:
>
>>> 2011-07-15 Ian Lance Taylor
>>>
>>> * configure.ac: Add --enable-build-poststage1-with-cxx. If set,
>>> make C++ a boot_language. Set and substitute
>>>
David Edelsohn writes:
> AIX needs libsupc++ for libstdc++ static linking.
>
> * Makefile.tpl (POSTSTAGE1_CONFIGURE_FLAGS): Add libsupc++ to
> link directories.
> * Makefile.in: Rebuild.
>
> Index: Makefile.tpl
> ===
santosh tatoju writes:
> for gcc there are many directories in gcc/testsuite directory
>
> like gcc.dg, gcc.c-torture,gcc-misc-tests, gcc-target, and for
>
> g++ compiler g++.dg, g++-old.dg i just want to know what are all these for.
>
> i got info. for gcc related as gcc.c-torture for stressin
David Edelsohn writes:
> I now can get through the build of the compiler, but stage2 and stage3
> libstdc++ and libsupc++ files have many comparison failures due to
> tree.c:get_file_function_name() introducing explicit randomness to
> produce different symbols for anonymous namespaces:
Interest
Mike Stump writes:
>> Presumably the fix will be to use -frandom-seed.
>
> But, the random seem was to ensure that things that should not collide,
> don't. If you use 0, then things that should not collide, eventually will
> and your world with then end. In the present code base, it is perfec
Basile Starynkevitch writes:
> I have a similar issue in the MELT branch, and I am passing to -frandom-seed
> the md5sum
> of relevant source files. With such a trick, the seed is reproducible from
> one build to
> the next one (of the exact same source tree), and does provide much more
> rand
Jakub Jelinek writes:
> On Thu, Jul 21, 2011 at 08:51:46AM -0700, Ian Lance Taylor wrote:
>> Basile Starynkevitch writes:
>>
>> > I have a similar issue in the MELT branch, and I am passing to
>> > -frandom-seed the md5sum
>> > of relevant so
Basile Starynkevitch writes:
> Using the md5sum of the file is probably not bad neither. I would understand
> that you
> find it being perhaps too complex for your need, but it is much more random
> than just the
> file name (because the md5sum changes with the file content).
Granted, but I am
Basile Starynkevitch writes:
> This brings another question. Can a GCC pass use intptr_t (the standard int
> of the same
> size as a void* pointer)? This is quite useful, for instance when one wants
> to compute an
> hash, or a unique sorted rank (to be used inside B-trees) from the address of
Basile Starynkevitch writes:
> Should we add an option to the gcc driver which would print such checksums?
I'm not quite sure what checksums you want.
Suppose you just do
md5sum `gcc --print-file-name=cc1`
?
That will give you a checksum without gcc going to the trouble of
generating it.
Ia
Hagen Meyer writes:
> Problem: no immediate-values are supported in the instructions.
> How can I tell the compiler to put all immediates into the memory, and
> use the corresponding reference instead of the value itself?
See the TARGET_LEGITIMATE_CONSTANT_P target hook.
See also ASM_OUTPUT_POO
; * Makefile.in: Rebuild.
>
> 2011-07-20 Ian Lance Taylor
>
> PR bootstrap/49787
> * configure.ac: Move --enable-bootstrap handling earlier in file.
> If --enable-bootstrap and either --enable-build-with-cxx or
> --enable-build-pos
Kirill Yukhin writes:
> I'm working on implementation of `mulx` (which is part of BMI2). One
> of improvements compared generic `mul` is that it allows to specify
> destination registers.
> For `mul` we have `A` constraint, which stands for AX:DX pair.
> So, is there a possibility to relax such c
Richard Guenther writes:
> Or go one step further and deprecate local register variables alltogether
> (they IMHO don't make much sense, and rather the targets should provide
> a way to properly constrain asm inputs and outputs).
No, local register variables are documented as working and many pr
801 - 900 of 3176 matches
Mail list logo