Re: Possbile patch for compilation errors re possibly uninitialized variables at -Og

2017-12-30 Thread Eric Gallager
iously... > > On Fri, 29 Dec 2017 19:40:38 -0800 Eric Gallager > wrote > > On 12/29/17, Louis Krupp wrote: > > > I tried to build the trunk using: > > > > > > BOOT_CFLAGS='-g -Og' CFLAGS_FOR_TARGET='-g -Og' CFLAGS_FOR

Re: Build Ada compiler for nios2?

2018-01-04 Thread Eric Botcazou
> This HOST_WIDE_INT is defined in gcc/hwint.h. Who is supposed to include > this file? Is this done via an #include or via a tm_file (gcc/config.gcc)? Nobody I'd say, the declaration shouldn't be compiled for the target. -- Eric Botcazou

GCC and Meltdown and Spectre vulnerabilities

2018-01-04 Thread Eric Gallager
, right? (For reference, Meltdown is CVE-2017-5754, and Spectre is CVE-2017-5753 and CVE-2017-5715) Just wondering, Eric

Re: GCC and Meltdown and Spectre vulnerabilities

2018-01-05 Thread Eric Gallager
On 1/4/18, Will Hawkins wrote: > On Thu, Jan 4, 2018 at 10:10 PM, Eric Gallager > wrote: >> Is there anything GCC could be doing at the compiler level to mitigate >> the recently-announced Meltdown and Spectre vulnerabilities? From >> reading about them, it seems like

Re: GCC and Meltdown and Spectre vulnerabilities

2018-01-05 Thread Eric Gallager
On 1/5/18, Eric Gallager wrote: > On 1/4/18, Will Hawkins wrote: >> On Thu, Jan 4, 2018 at 10:10 PM, Eric Gallager >> wrote: >>> Is there anything GCC could be doing at the compiler level to mitigate >>> the recently-announced Meltdown and Spectre vulnerabili

Re: Google Summer of Code 2018: Call for mentors and ideas

2018-01-18 Thread Eric Gallager
On 1/17/18, Martin Jambor wrote: > Hi, > > following a discussion at IRC about an upcoming deadline to register GCC > as an independent organization for Google Summer of Code 2018 (GSoC), I > have volunteered to serve as the org-admin for GCC if: > > - there is not another volunteer (so step up

Re: Status of m32c target?

2018-01-19 Thread Eric Botcazou
atency of the loads (assuming some AVR processors are pipelined), in which case CCmode will give you a performance bonus. -- Eric Botcazou

Re: Bugzilla timing out

2018-01-20 Thread Eric Gallager
On 1/18/18, Frank Ch. Eigler wrote: > > msebor wrote: > >> I'm having trouble bringing up bugs or updating them. Has anyone else >> noticed Bugzilla (and/or other services running on gcc.gnu.org) being >> very slow or timing out? > > One failed disk in the server has been replaced yesterday. Ple

Re: Status of m32c target?

2018-01-23 Thread Eric Botcazou
ew back-end. And IMO starting from scratch is a bad idea. > But writing a backend is too much for a GSoC, even a small one. Definitely, and doing a CC0 conversion is probably an upper bound. -- Eric Botcazou

Re: [gcc plugin] get member offset in struct just like offsetof

2018-02-06 Thread Eric Botcazou
tes is given by tree.c:bit_position/byte_position. -- Eric Botcazou

Re: GCC 8.0.0 status on x86_64-w64-mingw32, some issues

2018-02-06 Thread Eric Botcazou
d > 23_containers/unordered_set/requirements/exception/propagation_consistent.cc Does passing -fno-reorder-blocks-and-partition change anything? -- Eric Botcazou

Re: GCC 8.0.0 status on x86_64-w64-mingw32, some issues

2018-02-06 Thread Eric Botcazou
> Sorry for the stupid question. How do I pass this to the testsuite? For ACATS it's a little awkward: you manually need to add it to the gccflags variable in gcc/testsuite/ada/acats/run_all.sh -- Eric Botcazou

Re: GCC 8.0.0 status on x86_64-w64-mingw32, some issues

2018-02-07 Thread Eric Botcazou
2102m ce2103a ce2103b ce3102d ce3107a ce3115a cxa4005 cxa4008 > cxa4016 cxa4019 cxac003 cxb3012 cxf3a01 cxf3a02 > /opt/devel/gnu/src/gcc-mingw-w64/gcc-8.0.0/gcc/testsuite/ada/acats/run_all.s > h completed at Wed Feb 7 12:28:36 CET 2018 Please open a PR for the ACATS regressions on mainline. -- Eric Botcazou

Re: Why does IRA force all pseudos live across a setjmp call to be spilled?

2018-03-04 Thread Eric Botcazou
fixed" it? What are the requirements imposed on setjmp exactly and by whom? The psABI on SPARC (the SCD) has an explicit note saying that setjmp/sigsetjmp/vfork don't (have to) preserve the usual non-volatile registers. -- Eric Botcazou

Re: Why does IRA force all pseudos live across a setjmp call to be spilled?

2018-03-04 Thread Eric Botcazou
the (historical) requirements were vague enough to allow their interpretation, IOW that the compiler can do the work. -- Eric Botcazou

Re: Why does IRA force all pseudos live across a setjmp call to be spilled?

2018-03-04 Thread Eric Botcazou
GNU and the Solaris libc make use of the leeway given by the psABI for setjmp at least in some cases. -- Eric Botcazou

Re: Why does IRA force all pseudos live across a setjmp call to be spilled?

2018-03-05 Thread Eric Botcazou
> Maybe we should have a target hook that says setjmp/longjmp are > implemented by simple function calls (or as-if by function calls), so > as not to penalize everyone who has an, erm, more conservative ABI? Yes, that sounds a sensible compromise to me. -- Eric Botcazou

Re: Blog post about gcc 8 usability improvements

2018-03-15 Thread Eric Gallager
ch for the website's changes.html, covering the > same material. > > Dave > Thank you re: the updating the changes.html part; I was thinking it was looking rather bare compared to previous changes.html pages at this same point in previous release cycles... Eric

Re: Selective scheduling and its usage

2018-03-29 Thread Eric Botcazou
ich doesn't really make sense IMO. -- Eric Botcazou

Re: Selective scheduling and its usage

2018-03-29 Thread Eric Botcazou
ng them at P3, which is not "don't care" as far as I know but just the default priority. The criterion could be a flag that is not part of any -Ox switches and not enabled on any primary+secondary platforms. -- Eric Botcazou

Re: Gcc bugzilla is down

2018-04-01 Thread Eric Gallager
Confirming, I got the same error message at around 7:29 AM Eastern Daylight Time. Please fix! Eric On 4/1/18, Thomas König wrote: > Hi, > > it seems that gcc bugzilla is currently down, error message is: > > Software error: > > Can't connect to the database. >

Re: where should C++ options be documented?

2018-04-04 Thread Eric Gallager
On 4/2/18, Martin Sebor wrote: > Jason, > > The manual mentions some C++-only options in the language > independent section 3.8 Options to Request or Suppress > Warnings and others in 3.5 Options Controlling C++ Dialect. > > For example, -Wcatch-value, -Wconditionally-supported, > and -Wzero-as-nu

Re: Request for compiler option to disable multiple declarations in a single statement

2018-04-19 Thread Eric Gallager
On 4/19/18, Manish Jain wrote: > Hi all, > > One of the historical artefacts of the C language has been the burden of > lugging around multiple declarations in a single statement, with some > well-known pitfalls: > > int* ptr1, ptr2; > > Since ptr2 looks like a pointer but actually is not, standar

Re: Must TYPE_MODE of a UNION_TYPE be of MODE_INT class?

2018-05-24 Thread Eric Botcazou
gisters, whereas for structures it's dependent on the types of the fields. > Could anyone provide some insight on whether the TYPE_MODE of a union should > stay as a MODE_INT class or if it would be acceptable for the TYPE_MODE to > be other classes e.g. MODE_FLOAT? No, I don't think we want to change that. -- Eric Botcazou

Re: virtual-stack-vars reference not resolved in vregs

2018-05-24 Thread Eric Botcazou
> Is this something the back end is responsible for getting right, for example > via the machine description file? If so, any hints where to start? The SUBREG of MEM is invalid at this stage. -- Eric Botcazou

Re: Project Ranger

2018-05-30 Thread Eric Botcazou
term with cases that do require symbolic information to optimize things? The TODO page seems to acknowledge the loophole but only mentions a plan to deal with equivalences, which is not sufficient in the general case (as acknowledged too on the page). -- Eric Botcazou

Re: Project Ranger

2018-06-01 Thread Eric Botcazou
etting aside the handling of symbolic information might end up being a good compromise between the necessary minimal[*] handling of this information and the complexity of doing it directly in the Ranger. [*] The implicit assumption hee is that a VRP implementation with full-blown support of symbolic ranges is not worth the hassle in practice. -- Eric Botcazou

Re: GCC 8 Ada bootstrap failure on mingw-w64

2018-06-02 Thread Eric Botcazou
> Any ideas about how to resolve this? Compare with a known working version (e.g. GCC 7) and find the discrepancy. -- Eric Botcazou

Re: GCC 8 Ada bootstrap failure on mingw-w64

2018-06-03 Thread Eric Botcazou
ols build (gnatdll to be precise). -- Eric Botcazou

Re: Wabi warnings during GCC build

2018-06-27 Thread Eric Gallager
On 6/27/18, Marek Polacek wrote: > On Wed, Jun 27, 2018 at 08:53:48AM -0700, Steve Ellcey wrote: >> Are other people building GCC seeing these messages during the build: >> >> cc1plus: warning: -Wabi won't warn about anything [-Wabi] >> cc1plus: note: -Wabi warns about differences from the most up

Re: [PATCH] Add new tests for --completion option.

2018-06-29 Thread Eric Gallager
On 6/29/18, Martin Liška wrote: > Hi. > > I would like to add some DejaGNU tests for completion option. > > Ready for trunk? > Martin > So, correct me if I'm wrong, but these tests would need to be updated every time a new option starting like one of those is added, right? If so, can you think of

Re: GCC bugzilla is down

2018-07-01 Thread Eric Gallager
visit the bug reporter during the day. Also > see https://gcc.gnu.org/ml/gcc-help/2017-08/msg00092.html . > > Jeff > It was down for me last night and earlier this morning, too, but it seems to be back up now. Eric

Re: Finding virtual address of functions in code

2018-07-01 Thread Eric Botcazou
> Is there any builtin function in C which prints the virtual address of > functions including the main? I see __builtin_return_address() but that > returns the “return address”. This list is not appropriate for such a question, use gcc-help@ instead. -- Eric Botcazou

Re: RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-02 Thread Eric Botcazou
r_with_msg? No one, it's obsolete. The port is very likely not (properly) configured. -- Eric Botcazou

Re: RISC-V and Ada: undefined references to `__gnat_raise_nodefer_with_msg'

2018-07-03 Thread Eric Botcazou
_Default: constant Boolean := False; in system-rtems.ads. -- Eric Botcazou

Re: Sched1 stability issue

2018-07-04 Thread Eric Botcazou
> We noticed a difference in the code generated for aarch64 gcc 7.2 > hosted in Linux vs mingw. AFIK, we are supposed to produce the same > output. Try maybe to compare the automata generated on the hosts, are they identical? -- Eric Botcazou

Re: ChangeLog's: do we have to?

2018-07-05 Thread Eric Botcazou
> They are definitely useful in my day-to-day work when tracking down changes > given I can easily grep them. Seconded. > I think that any change here should be _after_ we've switched to git > (finally). Well, git doesn't make anything easier than subversion in thi

Re: ChangeLog's: do we have to?

2018-07-05 Thread Eric Gallager
On 7/5/18, Aldy Hernandez wrote: > After 20 years of hacking on GCC I feel like I have literally wasted > days of my life typing out ChangeLog entries that could have easily been > generated programmatically. > > Can someone refresh my memory here, what are the remaining arguments for > requiring

Re: Inefficient code

2018-07-05 Thread Eric Botcazou
n and should be combined into a single HImode move. This > happens both with -O2 and -Os. The GIMPLE pass responsible for the optimization simply punts for the "funny- endian ordering" of the PDP11. More generally, you shouldn't expect anything sparkling for such a peculiar architecture as the PDP11. -- Eric Botcazou

Re: Inefficient code

2018-07-05 Thread Eric Botcazou
o do a side-by-side debugging of a compiler built for a similar target for which only 2 stores are generated. -- Eric Botcazou

Re: Inefficient code

2018-07-05 Thread Eric Botcazou
> Xstormy does 3 mov.b also. For that matter, so does the x86 target (both > -m32 and -m64). Hm. Indeed, even at -Os, so this may be a generic issue. -- Eric Botcazou

Re: Detecting superfluous "else"

2018-07-19 Thread Eric Gallager
On 7/19/18, U.Mutlu wrote: > Hi, > it makes me 'crazy' when I see such if-else constructs: >if (x) > return 7; >else > return 4; > > (Of course in this case one better would use the shorthand "return x ? 7 : > 4;", but that's not the issue here) > > The 'else' is obviously superf

Re: [RFC] Adding Python as a possible language and it's usage

2018-07-19 Thread Eric Gallager
On 7/19/18, Jeff Law wrote: > On 07/18/2018 03:28 PM, Segher Boessenkool wrote: >> On Wed, Jul 18, 2018 at 11:51:36AM +0200, Richard Biener wrote: >>> We already conditionally require Perl for building for some targets so I >>> wonder >>> if using perl would be better ... >> >> At least perl is GP

Re: ChangeLog's: do we have to?

2018-07-23 Thread Eric Gallager
On 7/23/18, Segher Boessenkool wrote: > On Mon, Jul 23, 2018 at 04:03:31PM +0300, Alexander Monakov wrote: >> Not necessarily in the source tree: individual users can put that into >> their >> $XDG_CONFIG_HOME/git/attributes or $HOME/.config/git/attributes. > > And then that user has *all* .md fil

Re: "fall-through" errors

2018-07-28 Thread Eric Gallager
On 7/28/18, Bruce Korb wrote: > ../../autoopts/makeshell.c: In function ‘text_to_var’: > ../../autoopts/makeshell.c:324:14: error: this statement may fall > through [-Werror=implicit-fallthrough=] > (*(opts->pUsageProc))(opts, EXIT_SUCCESS); > ~^~~

Re: Proper way to build GNAT cross compiler with gnattools

2011-02-02 Thread Eric Botcazou
> Can you point me at least to the section which explains this? http://gcc.gnu.org/install/build.html -- Eric Botcazou

Re: GCC 4.6.0 Status *-rtems

2011-02-07 Thread Eric Botcazou
> + i386 Ada ICE (regression) - http://gcc.gnu.org/PR47481 I'll look into this one... > + mips Ada -G0 - http://gcc.gnu.org/PR47500 ...but a MIPS maintainer needs to take a preliminary look at this one. -- Eric Botcazou

Re: Volatile memory is not general operand

2011-02-11 Thread Eric Botcazou
so they disable their manipulation altogether to avoid generating wrong code. -- Eric Botcazou

Re: gcc 4.5.2-6 - internal compiler: Segmentation fault

2011-02-12 Thread Eric Botcazou
> I figured if I knew what was needed before opening the bug it would cut > down on the need-info requests. Thanks. The instructions are available on the http://gcc.gnu.org/bugs/ page. -- Eric Botcazou

Re: gcc-4.5/4.4: Bug in .subreg1 pass?

2011-02-24 Thread Eric Botcazou
ave the same, in particular when they are on the LHS of an assignment. -- Eric Botcazou

Re: gcc-4.5/4.4: Bug in .subreg1 pass?

2011-02-25 Thread Eric Botcazou
> What does "word" mean here? Is it a 32-bit entity or is it according to > word_mode which is QImode for avr? The latter, it is machine-dependent. > So the same should be true for QI-subregs of scalar modes if > UNITS_PER_WORT = 1. Right? Right. -- Eric Botcazou

Re: Handling strictness in {predicates,constraints}.md [was: Re: Converting CRIS to constraints.md]

2011-03-10 Thread Eric Botcazou
y_operand), but I freely admit > this is a part of the compiler that I'm not familiar with. SPARC had exactly the same pattern as the 'U' constraint of MMIX. It now uses reload_in_progress || reload_completed instead (in memory_ok_for_ldd). -- Eric Botcazou

Re: Bootstrap comparison failure! (gcc 4.6.x with -O3)

2011-03-27 Thread Eric Botcazou
long? Probably because you're also fiddling with configure checking options. Avoid doing that if you aren't familiar with them. -- Eric Botcazou

Re: To Steering Committee: RFC for patch revert policy (PR48403, bootstrap broken on many targets)

2011-04-05 Thread Eric Botcazou
his weekends/holidays allowance would be dangerous and counter-productive: people would rush to install risky changes on Friday and leave for the week-end fingers crossed. This would be worse than the current policy IMO. -- Eric Botcazou

Re: To Steering Committee: RFC for patch revert policy (PR48403, bootstrap broken on many targets)

2011-04-05 Thread Eric Botcazou
e key > "--disable-checking" configury bits that we were able to confirm a > problem and start the real process of diagnosing what went wrong. No, this isn't what happened, see the audit trail of PR48403. This was a big breakage. --disable-checking had nothing to do with the problem either. -- Eric Botcazou

RE: To Steering Committee: RFC for patch revert policy (PR48403, bootstrap broken on many targets)

2011-04-05 Thread Weddington, Eric
> -Original Message- > From: Steven Bosscher [mailto:stevenb@gmail.com] > Sent: Tuesday, April 05, 2011 6:24 AM > To: Bernd Schmidt > Cc: Ian Lance Taylor; GCC Mailing List; David Edelsohn; Benjamin Kosnik; > H.J. Lu > Subject: Re: To Steering Committee: RFC for patch revert policy (PR

Extending TYPE_DECL_IS_STUB trick in dwarf2out.c

2011-04-07 Thread Eric Botcazou
_type condition. Would that work for other languages as well, in particular C++? -- Eric Botcazou

Re: Broken LTO bootstrtap for more than a month

2011-04-18 Thread Eric Botcazou
> LTO bootstrap has been broken for more than a month: > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48148 I'm about to submit a fix for the .Ldebug_info0 failure. -- Eric Botcazou

Re: Broken LTO bootstrtap for more than a month

2011-04-19 Thread Eric Botcazou
> I was LTO bootstrapping yesterday just fine. You're talking about > bootstrap-profiled. Not clear at all, a regular LTO bootstrap had failed on cc1 for days here. -- Eric Botcazou

Re: Broken LTO bootstrtap for more than a month

2011-04-19 Thread Eric Botcazou
> Hmpf. Strange. I've bootstrapped with all languages except Ada > yesterday, with gold as plugin-ld. GNU ld (with plugins) for me, but --enable-checking=yes,rtl. Maybe H.J. had e.g. --enable-checking=release. In any case, something is brittle ATM. -- Eric Botcazou

Re: regcprop and REG_DEAD

2011-05-13 Thread Eric Botcazou
the pass doesn't consume REG_DEAD/REG_UNUSED notes, it doesn't have to keep them up-to-date. Instead, passes that consume them must df_note_add_problem() on entry. For the generic reorg (delay slot filling) pass, this is done in rest_of_pass_free_cfg. -- Eric Botcazou

Re: regcprop and REG_DEAD

2011-05-13 Thread Eric Botcazou
e the CFG has been destroyed so it very likely needs to use a trick akin to that of the generic reorg pass in rest_of_pass_free_cfg. -- Eric Botcazou

Re: regcprop and REG_DEAD

2011-05-13 Thread Eric Botcazou
> rest_of_pass_free_cfg calls df_analyze but it doesn't call > df_note_add_problem. Is that the issue? I see that some other passes > (like regrename) do a sequence of df_xyz calls. It does now, you have outdated sources. -- Eric Botcazou

compile error on simple code , plz help

2011-05-13 Thread eric lin
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 argument fixed_pt.h:21

Re: Wrong code: missing input reload

2011-05-26 Thread Eric Botcazou
middle-end expects word-mode subregs of double-word-mode hard regs to be simplifiable. -- Eric Botcazou

Re: Wrong code: missing input reload

2011-05-26 Thread Eric Botcazou
2 %f40) 4) isn't simplifiable either. H.P. wrote a tentative patch for the subreg machinery to forbid this. Other references are: http://gcc.gnu.org/ml/gcc-patches/2008-07/msg01688.html http://gcc.gnu.org/ml/gcc-patches/2008-08/msg01743.html -- Eric Botcazou

Backport new -mflat support for SPARC to 4.6 branch

2011-06-19 Thread Eric Botcazou
could be applied immediately. The patches from mainline it is made up of are listed at the end of the message. Can I proceed with the backport? 2011-06-10 Eric Botcazou Laurent Rougé * doc/invoke.texi (SPARC options): Add -mflat. * config/sparc/sparc.opt: Lik

Re: Backport new -mflat support for SPARC to 4.6 branch

2011-06-20 Thread Eric Botcazou
> Apart from > > 2011-06-02 Eric Botcazou > >* cse.c (cse_find_path): Refine change to exclude EDGE_ABNORMAL_CALL >edges only, when there is a non-local label in the function. >* postreload-gcse.c (bb_has_well_behaved_predecessors): Likewise. &

Re: Backport new -mflat support for SPARC to 4.6 branch

2011-06-20 Thread Eric Botcazou
or mainline. You get the real testing when you release and I think that the .1 release would have been appropriate. I'm not so sure for the .2 release, as this would mean waiting for 4.6.3 to fix the probable fallouts for the SPARC port. I guess we'd better drop the idea then. -- Eric Botcazou

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

2011-06-21 Thread Eric Botcazou
wasting CPU cycles. ;-) -- Eric Botcazou

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

2011-06-21 Thread Eric Botcazou
think CPU cycles > wouldn't be wasted by preparing a fix for 4.6.2). I think it is as obviously safe as a reorg.c patch can be so I'm going to test it (on the branch) and post it afterward, but it will be your call of course. -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-10 Thread Eric Botcazou
> 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? -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-11 Thread Eric Botcazou
g++ instead of gcc to link) are needed and extern "C" must be added all over the place, see: http://gcc.gnu.org/ml/gcc/2009-06/msg00635.html I can post an updated patch if you want, but saying that the Ada front-end blocks the use of C++ in gcc is unfair; it is (and has always be

Re: C++ bootstrap of GCC - still useful ?

2011-07-11 Thread Eric Botcazou
11-07/msg00845.html > I have a patch ready to go which would use C++ in stages 2 and 3. I > can't propose that patch right now because it fails when building Ada. > If we get Ada fixed, I will propose it. OK, let's fix --enable-build-with-cxx with Ada. Thanks for clarifying. -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-11 Thread Eric Botcazou
atch, thanks, will fix. -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-11 Thread Eric Botcazou
COMPILER = $(CC) > COMPILER_FLAGS = $(CFLAGS) > LINKER = $(CC) > LINKER_FLAGS = $(CFLAGS) > else > COMPILER = $(CXX) > COMPILER_FLAGS = $(CXXFLAGS) > LINKER = $(CXX) > LINKER_FLAGS = $(CXXFLAGS) > endif I'm not sure because I don't think we want to compile the C files of the Ada runtime with the C++ compiler. We want to do that only for the compiler. -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-12 Thread Eric Botcazou
ern "C" blocks, I'm going to clean it up. -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-12 Thread Eric Botcazou
preferrable. But your patch isn't necessary to do that, the C files are already compiled with the C++ compiler as of today; the only issue is at the linking stage. -- Eric Botcazou

Re: C++ bootstrap of GCC - still useful ?

2011-07-12 Thread Eric Botcazou
> The problem is that the patches links gnattools unconditionally with > g++. It should depend on --enable-build-with-cxx instead. Yes, that part was wrong, it will be dropped, we don't want to use g++ here. -- Eric Botcazou

Re: Ada boolean type

2011-07-14 Thread Eric Botcazou
I of the target. Only after Fortran does the same. :-) -- Eric Botcazou

Re: Ada boolean type

2011-07-14 Thread Eric Botcazou
that your suggestion is the way to go and I made the same when we were fiddling with boolean_type_node in free_lang_data: http://gcc.gnu.org/ml/gcc-patches/2009-10/msg00966.html So fine with me, as long as all the languages play by the same rules. -- Eric Botcazou

Re: Updating the CFG after function modifcation

2011-07-16 Thread Eric Botcazou
alling cleanup_tree_cfg() > after my transformation pass, still no luck Try invoking rebuild_cgraph_edges. -- Eric Botcazou

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-17 Thread Eric Botcazou
> I have measured it at some point and IIRC it was about 10% slower > (comparing C bootstrap with C++ in stag1 languages with C++ bootstrap, > not sure if that included bootstrapping libstdc++ for the former). IMO acceptable now that the build time of libjava has been halved. -- Eric Botcazou

Re: PATCH RFA: Build stages 2 and 3 with C++

2011-07-20 Thread Eric Botcazou
see name-lookup.c:get_anonymous_namespace_name. -- Eric Botcazou

RE: C99 Status - inttypes.h

2011-07-23 Thread Weddington, Eric
> -Original Message- > From: Joern Rennecke [mailto:amyl...@spamcop.net] > Sent: Friday, July 22, 2011 9:22 AM > To: Paulo J. Matos > Cc: gcc@gcc.gnu.org > Subject: Re: C99 Status - inttypes.h > > I agree that trying to track every library there would be a maintenance > burden, but givin

Re: C99 Status - inttypes.h

2011-07-23 Thread Eric Botcazou
> Realistically, how many unique libraries are used for all of the GCC > targets? I would think that it has to be some low, finite number. There is at least one per OS (Linux, Solaris, HP-UX, IRIX, Tru64, *BSD, VMS, Windows, etc) plus variants depending on the version of the OS. --

RE: C99 Status - inttypes.h

2011-07-23 Thread Weddington, Eric
> -Original Message- > From: Eric Botcazou [mailto:ebotca...@adacore.com] > Sent: Saturday, July 23, 2011 1:28 PM > To: Weddington, Eric > Cc: gcc@gcc.gnu.org; Joern Rennecke; Paulo J. Matos > Subject: Re: C99 Status - inttypes.h > > > Realistically, how man

Re: Build report gcc 4.6.1 on Sparc Solaris 10

2011-08-18 Thread Eric Botcazou
s platform with the right libraries and GCC as base compiler. -- Eric Botcazou

Re: Issue with delay slot scheduling?

2011-09-06 Thread Eric Botcazou
area. You'd need to upgrade to 4.5.3 at least (or use the SVN 4.5 branch). That being said, targets with multiple delay slots are indeed relatively untested. -- Eric Botcazou

Re: should sync builtins be full optimization barriers?

2011-09-13 Thread Eric Botcazou
h more in the V9 manual. Quoting it: "The order of memory operations observed at a single location is a total order that preserves the partial orderings of each processor’s transactions to this address. There may be many legal total orders for a given program’s execution" -- Eric Botcazou

Re: new triplet for x32 psABI?

2011-10-03 Thread Eric Blake
nt build is targeted on a different environment? Any comments or alternative suggestion? Yours - Michael -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org

Re: Porting 64-bit target on 32-bit host

2011-10-10 Thread Eric Botcazou
> I'm porting a 64-bit target gcc on a 32-bit i386 host. I have set > need_64bit_hwint to yes in config.gcc. But it fails when building > libgcc. You need to do the same in libcpp/configure.ac with recent versions. -- Eric Botcazou

Re: ARM EABI ZCX Ada (4.6.1) almost working

2011-10-12 Thread Eric Botcazou
get rid of them in any case I'd think. -- Eric Botcazou

Re: ARM EABI ZCX Ada (4.6.1) almost working

2011-10-12 Thread Eric Botcazou
get rid of them in any case I'd think. -- Eric Botcazou

Re: ARM EABI ZCX Ada (4.6.1) almost working

2011-10-12 Thread Eric Botcazou
m beginning to think the whole of a-exexpr-gcc needs to be extracted > into 2 distinct files, a-exexpr-gcc (normal GCC EH - as it is) and > a-exexpr-gcc-arm (ARM EABI EH). Probably some parts of it, yes. -- Eric Botcazou

Re: Combine Pass Behavior

2011-10-12 Thread Eric Botcazou
ration. > Is the scenario above intended behavior of the combine pass or an > accident? Or maybe even something else wrong in the machine description > that makes it behave like that? See how the i386 back-end copes with this for its "test" instruction. -- Eric Botcazou

Re: Question on INSN_P and "real" insns

2011-10-12 Thread Eric Botcazou
real_insn depends on -g? And that I have to write my > own next really_real_insn? Try prev_active_insn/next_active_insn. -- Eric Botcazou

Fix gcc.dg/builtins-67.c on Solaris 8/9

2011-10-13 Thread Eric Botcazou
The test fails with a link error, as 'round' and 'rint' are only C99. Fixed thusly, tested on SPARC/Solaris 8, applied on the mainline as obvious. 2011-10-13 Eric Botcazou * gcc.dg/builtins-67.c: Guard iround and irint with HAVE_C99_RUNTIME. -- Eric Bo

Re: VIS2 pattern review

2011-10-13 Thread Eric Botcazou
other classes) shouldn't depend on the mode but only on the type. -- Eric Botcazou

Re: VIS2 pattern review

2011-10-13 Thread Eric Botcazou
> Right and as Richard said I can munge the modes during expansion of > existing builtins when needed. OK, but you precisely shouldn't need to do it since the type is fixed. -- Eric Botcazou

<    2   3   4   5   6   7   8   9   10   11   >