Re: gnatlink vs. -mthumb -march=armv7-a+simd -mfloat-abi=hard

2024-06-26 Thread Eric Botcazou via Gcc
I checked this with the > following spec file: But you wouldn't have a problem if it was, would you? What happens if the '+' is changed to another character in the line passed to the driver. -- Eric Botcazou

Re: gnatlink vs. -mthumb -march=armv7-a+simd -mfloat-abi=hard

2024-06-25 Thread Eric Botcazou via Gcc
racter is not matched by '*' or some such. -- Eric Botcazou

Re: When do I need -fnon-call-exceptions?

2023-06-07 Thread Eric Botcazou via Gcc
zation if -fno-delete-dead-exceptions is not specified). -- Eric Botcazou

Re: Probe emission in fstack-clash-protection

2023-05-03 Thread Eric Botcazou via Gcc
s not on x86[_64]/Linux where you *cannot* probe below the stack pointer. -- Eric Botcazou

Re: gcc with the new WIN32 threads fails to compile libstdc++

2023-04-10 Thread Eric Botcazou via Gcc
> I'm assuming the problem also extends to the other __gthr_win32 routines as > well, __gthr_win32_create just happens to be the first symbol it cannot > find. > > Is there a way to fix this issue? How did you configure the compiler and what version of MinGW64 do you use? -- Eric Botcazou

Re: POWER __builtin_add_overflow/__builtin_mul_overflow with u64

2023-02-14 Thread Eric Botcazou via Gcc
> rs6000 indeed doesn't implement {,u}{add,sub,mul}v4_optab for > any mode and thus leaves it to the generic code. https://gcc.gnu.org/pipermail/gcc-patches/2016-October/460209.html -- Eric Botcazou

Re: Possible regression in DF analysis

2022-12-13 Thread Eric Botcazou via Gcc
not cover the basic block containing insn 14 and 15? -- Eric Botcazou

Re: Possible regression in DF analysis

2022-12-08 Thread Eric Botcazou via Gcc
:DI 34) > (pc))) "bad_cc.c":12:10 15 {condjump} > (expr_list:REG_DEAD (reg:CC 66 cc) > (int_list:REG_BR_PROB 365072228 (nil))) > -> 34) > > Please observe the REG_DEAD note on the both jump instructions. Passes that consume REG_DEAD/REG_UNUSED notes need to recompute them explicitly, they are not updated on the fly. -- Eric Botcazou

Re: GCC trunk bootstrap failure on i686-w64-mingw32

2022-10-29 Thread Eric Botcazou via Gcc
> So what could be causing it? An oversight in https://gcc.gnu.org/pipermail/gcc-cvs/2022-August/370830.html has broken --disable-sjlj-exceptions. That's now fixed. -- Eric Botcazou

Re: Build of any gcc breaks on my sparc / illumos env

2022-06-21 Thread Eric Botcazou
recommended combination with recent versions of the compiler, but Solaris ld must be recent enough, otherwise building for sparc-sun-solaris2.11 probably does not work indeed. -- Eric Botcazou

Re: New "Diving into GCC internals" section in newbies guide

2022-06-10 Thread Eric Botcazou via Gcc
> Hope this is helpful; please let me know if you see any mistakes, or if > there's room for improvement Nice work! In the "inside cc1" chapter, I think that IR is usually meant for "Intermediate Representation" rather than "Internal Representation" in this context. -- Eric Botcazou

Re: DWARF question about size of a variable

2022-06-08 Thread Eric Botcazou via Gcc
ormation available. If you try to debug at an optimization level higher than -Og, your mileage may vary and depend on various factors; that's apparently an example where the debug info is slightly less damaged at -O3 on x86 than on PowerPC, but there are probably cases where this will be

Re: qual_union_type help

2022-02-23 Thread Eric Botcazou via Gcc
r it in an object (SUBSTITUTE_PLACEHOLDER_IN_EXPR). You can presumably do it through the gimplification hook. -- Eric Botcazou

Re: qual_union_type help

2022-02-23 Thread Eric Botcazou via Gcc
the discriminant since it is assigned in the CONSTRUCTOR, so the gimplifier is indeed presumably not wired to eliminate them on its own. -- Eric Botcazou

Re: [ANNOUNCEMENT] Mass rename of C++ .c files to .cc suffix is going to happen on Jan 17 evening UTC TZ

2022-01-18 Thread Eric Botcazou via Gcc
> Release managers. They certainly have authority on the timing, but not on the contents. > Working on that right now, sorry.. OK, thanks in advance. -- Eric Botcazou

Re: [ANNOUNCEMENT] Mass rename of C++ .c files to .cc suffix is going to happen on Jan 17 evening UTC TZ

2022-01-18 Thread Eric Botcazou via Gcc
wrong and should be reverted ASAP. -- Eric Botcazou

Re: reordering of trapping operations and volatile

2022-01-08 Thread Eric Botcazou
osing these hours is to debug the code at -O0. -- Eric Botcazou

Re: reordering of trapping operations and volatile

2022-01-08 Thread Eric Botcazou
> Yes, although I think potentially trapping ops > are not moved before calls (as this would be > incorrect). So do you think it would be feasable > to prevent this for volatile too? Feasible probably, but why would this be desirable in C? It's not Java! -- Eric Botcazou

Re: atomic_load

2021-11-26 Thread Eric Botcazou
entence is again a blatant overstatement but I agree that the alignment caveat ought to be documented. Please suggest a wording to that effect and post a patch onto the gcc-patches@ ML. Thanks in advance. -- Eric Botcazou

Re: Bootstrap failure of GCC 11.1.1 on x86_64-w64-mingw32

2021-07-08 Thread Eric Botcazou
> Maybe it was the EH format changes or dwarf5 stuff backported, CCing > Eric. Indeed, the latter, the HAVE_LD_BROKEN_PE_DWARF5 kludge is incomplete. -- Eric Botcazou

Re: Signedness of boolean types (and Ada)

2021-05-18 Thread Eric Botcazou
, build_int_cst (TREE_TYPE (*expr_p), 1)); -- Eric Botcazou

Re: Issue with pointer types marked with scalar_storage_order

2021-05-06 Thread Eric Botcazou
It's presumably a 1- line change in the reverse_storage_order_for_component_p predicate. -- Eric Botcazou

Re: On US corporate influence over Free Software and the GCC Steering Committee

2021-04-20 Thread Eric Botcazou
BM, like other corporations, has made significant technical contributions to GCC over the years, for example the scheduler and the vectorizer, and thus has assigned the copyright of these contributions to the FSF. -- Eric Botcazou

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

2021-04-01 Thread Eric Botcazou
> I have so far bootstrapped and tested the release candidate on > x86_64-linux. Please test it and report any issues to bugzilla. It does not build for Windows: https://gcc.gnu.org/pipermail/gcc-patches/2021-April/567582.html -- Eric Botcazou

Re: gcc does not reduce the function call to the result if called function is not static when using -O2, only with -O3, clang and msvc do the optimization also with -O2

2020-12-05 Thread Eric Botcazou
> can someone explain to me why the -O2 optimizer is not able(allowed) to > reduce this small sample the same way as clang/msvc? Change the name of the function to something else than "main". -- Eric Botcazou

Re: DWARF64 gcc/clang flag discussion

2020-11-24 Thread Eric Botcazou
tter dictates a -g switch so, once this is established, what -g switch can indeed be coordinated. -- Eric Botcazou

Re: mstackalign vs rbp order in gcc optimization level epilogue/prologue - O2/O3

2020-09-29 Thread Eric Botcazou
tion uses dynamic stack allocation, e.g. by means of alloca? -- Eric Botcazou

Re: Run a single ada test

2020-07-31 Thread Eric Botcazou
> I see check-gnat in some of the makefile input files but I do not see it > in the ones that are built. Is there something needed to specify when > configure is run to get it included? No, this works with some generic magic like for gcc; g++, gfortran and so on. -- Eric Botcazou

Re: Run a single ada test

2020-07-31 Thread Eric Botcazou
b > > but it ran a whole bunch of tests actually NOT including the one I wanted. make -C gcc -k check-gnat RUNTESTFLAGS="dg.exp=opt86a.adb" You can omit the "-C gcc" if you run it from the gcc/ build dir of course. -- Eric Botcazou

Re: [RFC] Closing of all remaining Bugzilla PRs against powerpcspe

2020-05-09 Thread Eric Botcazou
> Strangely, I failed to find any PR for e200, so maybe some unnoticed ones > are still lying around. I think that the e200 support was never contributed upstream. -- Eric Botcazou

Re: AVR CC0 transition

2020-04-25 Thread Eric Botcazou
ld be useful to schedule instructions, e.g. floating-point instructions, between the CC setters and the CC users. -- Eric Botcazou

Re: scalar_storage_order question

2020-04-23 Thread Eric Botcazou
> Yes the following is a decent workaround: > upal_u32be_t tempb; > memcpy (&tempb, &u, sizeof(uint32_t)); > asm("":"+m"(tempb)); > uint32_t bu = tempb.val; OK, let me try to do the same in the compiler then. -- Eric Botcazou

Re: scalar_storage_order question

2020-04-22 Thread Eric Botcazou
scalar order is flipped, unlike the previous example. -- Eric Botcazou

Re: AVR CC0 transition

2020-04-22 Thread Eric Botcazou
> Thanks, I will take a look at Bernd's work. IIRC, he took a > different approach from what was suggested in the wiki, right? Yes, let's say that it's a half-baked conversion, probably a consequence of the bounty. This might be good enough, depending on the architecture. -- Eric Botcazou

Re: scalar_storage_order question

2020-04-22 Thread Eric Botcazou
amp;u)->val; u is accessed through upal_u32be_t and upal_u32le_t, i.e. BE and LE. -- Eric Botcazou

Re: Git ChangeLog policy for GCC Testsuite inquiry

2020-01-24 Thread Eric Botcazou
> I strongly prefer to move towards relying on the git log. In my experience the output of git log is a total mess so cannot replace ChangeLogs. But we can well decide to drop ChangeLog for the testsuite. -- Eric Botcazou

Re: C2X Proposal, merge '.' and '->' C operators

2019-12-21 Thread Eric Botcazou
> For what it's worth, that is how Go works. The '.' operator is used > for struct fields regardless of whether the left hand operand is a > struct or a pointer to a struct. Likewise in Ada. -- Eric Botcazou

Re: Testsuite not passing and problem with xgcc executable

2019-06-08 Thread Eric Botcazou
> https://gcc.gnu.org/ml/gcc-testresults/2019-06/msg00810.html > results have been produced or there is something I am not aware of. You need to issue a third command: make mail-report.log -- Eric Botcazou

Re: Testsuite not passing and problem with xgcc executable

2019-06-08 Thread Eric Botcazou
; from the build folder without installing it? You need to pass -B where contains the compiler cc1. -- Eric Botcazou

Re: On-Demand range technology [3/5] - The Prototype

2019-05-23 Thread Eric Botcazou
of lesser importance than literal ranges in most cases. > Note that symbolic ranges are already restricted to PLUS_EXPR > and MINUS_EXPR (and NEGATE_EXPR I think). There are > also "symbolic" (non-integer constant) ranges like [&a, &a]. Yes, the current implementation is restricted to additive operations. -- Eric Botcazou

Re: [PowerPC 64]r12 is not updated to GEP when control transferred from virtual thunk function .

2019-05-17 Thread Eric Botcazou
olves the remaining relocations. None of them plays the usual dance with the local and global entry points implied by the ELFv2 ABI. -- Eric Botcazou

Re: [PowerPC 64]r12 is not updated to GEP when control transferred from virtual thunk function .

2019-05-15 Thread Eric Botcazou
d global entry points. We have had this patch in our tree for some time and it works well, so let me submit it for inclusion in the official tree. -- Eric Botcazou

Re: [PowerPC 64]r12 is not updated to GEP when control transferred from virtual thunk function .

2019-05-15 Thread Eric Botcazou
if (!TARGET_VXWORKS || TARGET_VXWORKS_RTP) return true; /* The loader neither creates the glue code sequence that loads r12 nor uses the local entry point for the sibcall's target in the ELFv2 ABI. */ return DEFAULT_ABI != ABI_ELFv2; } -- Eric Botcazou

Re: A bug in vrp_meet?

2019-05-05 Thread Eric Botcazou
> I have now applied this variant. You backported it onto the 8 branch on Friday: 2019-05-03 Richard Biener Backport from mainline [...] 2019-03-07 Richard Biener PR tree-optimization/89595 * tree-ssa-dom.c (dom_opt_dom_walker::optimize_stmt): Take

Re: is re-running bootstrap after a change safe?

2019-04-05 Thread Eric Botcazou
ers and that isn't what happens. Instead the compiler of each stage is updated in isolation. -- Eric Botcazou

Re: Function pointers to a nested function / contained procedure

2019-03-26 Thread Eric Botcazou
back-ends to support this (look for trampolines/descriptors in the manual and the source code). This should essentially work out of the box for any language front-end. -- Eric Botcazou

Re: GCC missing -flto optimizations? SPEC lbm benchmark

2019-02-15 Thread Eric Botcazou
es of GNAT is to be compatible with C by default as much as possible. But we started to do some reordering recently when the records don't have (direct) equivalents in C. -- Eric Botcazou

Re: testsuite result updates for x86_64-w64-mingw32

2019-01-22 Thread Eric Botcazou
int size = dwarf_reg_size_table[__builtin_dwarf_sp_column ()]; if (size == sizeof(_Unwind_Ptr)) tmp_sp->ptr = (_Unwind_Ptr) cfa; else { gcc_assert (size == sizeof(_Unwind_Word)); tmp_sp->word = (_Unwind_Ptr) cfa; } which is quite unexpected. -- Eric Botcazou

Re: testsuite result updates for x86_64-w64-mingw32

2019-01-22 Thread Eric Botcazou
so, can you lower it to -O1 or -O0? -- Eric Botcazou

Re: testsuite result updates for x86_64-w64-mingw32

2019-01-22 Thread Eric Botcazou
> Ah, that makes sense since the 32-bit SEH is different from the 64-bit one, > explains why the 64-bit builds work. Which EH mechanism does the base compiler use? The default one? We know that this works with the DWARF-2 mechanism (--disable-sjlj-exceptions). -- Eric Botcazou

Re: testsuite result updates for x86_64-w64-mingw32

2019-01-22 Thread Eric Botcazou
e efficient than the former mechanism." I presume that the problem occurs during stage #2, i.e. that the gnat1 at stake has been built by the base compiler, right? -- Eric Botcazou

Re: RTEMS Ada build problem on trunk

2019-01-17 Thread Eric Botcazou
ANTABILITY or FITNESS FOR A > PARTICULAR PURPOSE. This would suggest that bldtools/oscons/xoscons is miscompiled by the trunk native compiler. How did you configure this latter compiler? -- Eric Botcazou

Re: Strange executable text files in the repository

2019-01-11 Thread Eric Botcazou
upstream and > sanitizer_common_interceptors_ioctl.inc isn't executable there. No objections for the couple of Ada files. -- Eric Botcazou

Re: Enabling vectorization at -O2 for x86 generic, core and zen tuning

2019-01-07 Thread Eric Botcazou
gt; cost models. ; Alias to enable both -ftree-loop-vectorize and -ftree-slp-vectorize. ftree-vectorize Common Report Optimization Enable vectorization on trees. -- Eric Botcazou

Re: testsuite result updates for x86_64-w64-mingw32

2018-10-18 Thread Eric Botcazou
> About the Ada compiler: it doesn't build on i686-w64-mingw32. It is > the reason why MSYS2 is stuck with 7.3 for 32 bits. Why doesn't it build? Because of PR ada/81878? -- Eric Botcazou

Re: testsuite result updates for x86_64-w64-mingw32

2018-10-18 Thread Eric Botcazou
8-10/msg02312.html So we have an additional ACATS failure (ce2104c) in 8.2.1 over the previous releases? Feel free to open a PR about it if you have a couple of minutes. Thanks for testing the Ada compiler! -- Eric Botcazou

Re: movmem pattern and missed alignment

2018-10-09 Thread Eric Botcazou
t would fix the simple testcase > that was presented here. OK, I keep forgetting it and that would be a good compromise indeed. -- Eric Botcazou

Re: movmem pattern and missed alignment

2018-10-08 Thread Eric Botcazou
ween gcc-4.5 and gcc-4.6) Possibly indeed, I remembered GCC 4.5 as being the turning point. -- Eric Botcazou

Re: movmem pattern and missed alignment

2018-10-08 Thread Eric Botcazou
OK for every language on strict-alignment platforms. This was changed only because of SSE on x86. -- 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: 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
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: 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: 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: 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: 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: 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: GCC 8 Ada bootstrap failure on mingw-w64

2018-06-03 Thread Eric Botcazou
ols build (gnatdll to be precise). -- 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: 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: 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: 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: 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: 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: Selective scheduling and its usage

2018-03-29 Thread Eric Botcazou
ich doesn't really make sense IMO. -- 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: 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-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
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: 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: 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-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 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: 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: 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: 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

Re: Dropping ChangeLogs

2017-12-22 Thread Eric Botcazou
e git has specific counter-measures against them, but that's useful at least with Subversion. -- Eric Botcazou

Re: Byte swapping support

2017-09-15 Thread Eric Botcazou
> handle_pragma_scalar_storage_order does not check c_dialect_cxx, so it > will not issue a warning for C++ even though the pragma is effectively > ignored. Indeed, unlike for the attribute, will fix, thanks. -- Eric Botcazou

Re: Byte swapping support

2017-09-15 Thread Eric Botcazou
ere is some interest though. -- Eric Botcazou

Re: Byte swapping support

2017-09-14 Thread Eric Botcazou
structures..." with the same limitation as GCC about taking the address: "It is not possible to take the address of a byte-swapped member." -- Eric Botcazou

Re: Byte swapping support

2017-09-13 Thread Eric Botcazou
s any easier than > fixing the application. Note that WRS' Diab compiler has got something equivalent to what GCC has got now, i.e. a way to tag a particular component in a structure as BE or LE. -- Eric Botcazou

Re: Byte swapping support

2017-09-13 Thread Eric Botcazou
time performance. This is not what the attribute was designed for, although we added the -fsso-struct switch at some point. -- Eric Botcazou

Re: Byte swapping support

2017-09-12 Thread Eric Botcazou
ng the code simple and > maintainable. How do you discriminate scalars stored in native order and scalars stored in reverse order though? That's the main difficulty of the implementation. -- Eric Botcazou

Re: Overwhelmed by GCC frustration

2017-08-16 Thread Eric Botcazou
deprecation of cc0 is futile, > the voices that support cc0 deprecation are more and usefulness > of cc0 is not recognized. cc0 is just obsolete and inferior compared to the new representation. -- Eric Botcazou

Re: Volatile Memory accesses in Branch Delay Slots

2017-07-25 Thread Eric Botcazou
ion where allowing volatile memory accesses in branch delay slots > leads to problems. Am I missing a case? Or are negative effects limited > to other architectures? Delay slot filling is a code movement optimization and such optimizations are not valid for volatile memory accesses in the

Re: timeouts/malloc failures in ada tests?

2017-07-07 Thread Eric Botcazou
iler should really consider enabling it (and it's a very good testbed). -- Eric Botcazou

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

2017-06-29 Thread Eric Botcazou
64/Linux. -- Eric Botcazou

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

2017-06-29 Thread Eric Botcazou
er/79562 > * sanitizer_common/sanitizer_platform_limits_posix.cc: Cherry-pick > upstream r294806. > > > this was also pushed to the GCC 5 branch. Yes, it's again PR sanitizer/63958 I guess. -- Eric Botcazou

Re: Read-only *.ali files in adalib installation?

2017-06-14 Thread Eric Botcazou
; -rw-r--r-- 1 sebastian_h domain users 16076716 Jun 12 14:30 libgnat.a > > [...] > > This is unlike the lib*.a files, which are user writeable. Its this > intentional? Yes for the ALI files, but no for the libraries (it doesn't matter for them). -- Eric Botcazou

Re: try_finally_expr wrong source location info

2017-06-09 Thread Eric Botcazou
mple_set_location (x, tf_loc); + gimple_set_location (x, finally_loc); gimple_seq_add_stmt (&switch_body, x); } -- Eric Botcazou

  1   2   3   4   5   6   7   8   9   10   >