Re: [PATCH] warning about const multidimensional array as function parameter

2014-10-27 Thread Joseph S. Myers
with some option to disable them, could be considered if it's unlikely people will intentionally do this in C. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] warning about const multidimensional array as function parameter

2014-10-27 Thread Joseph S. Myers
d) > int (*b)[1] = &v1.b; > int (*c)[2][3] = &v1.c; > int (*cc)[3] = v1.c; > -const int (*ff)[3] = v1.c; /* { dg-warning "initialization from > incompatible pointer type" } */ > +const int (*ff)[3] = v1.c; No, I think you should add -pedantic to this test instead of removing tests for diagnostics from it (of course the particular text of the diagnostics being tested for may change, that's fine). -- Joseph S. Myers jos...@codesourcery.com

RE: selective linking of floating point support for *printf / *scanf

2014-10-23 Thread Joseph S. Myers
asprintf and vasprintf aren't in ISO C); (b) please don't add new target macros such as CUSTOM_STDI_WEAK_SYM_PATTERN and CUSTOM_STDO_WEAK_SYM_PATTERN (if something is defined in tm_defines and used in architecture-independent code, it's effectively a target macro), find a way to

Re: Bounded Array Type?

2014-10-23 Thread Joseph S. Myers
object, as the same principle as "An array subscript is out of range, even if an object is apparently accessible with the given subscript (as in the lvalue expression a[1][7] given the declaration int a[4][5]) (6.5.6)." (Annex J) applies). -- Joseph S. Myers jos...@codesourcery.com

Re: fast-math optimization question

2014-10-09 Thread Joseph S. Myers
match-and-simplify infrastructure - convert.c is not a particularly good place for optimization, and having similar transformations scattered around (fold-const, convert.c, front ends, SSA optimizers) isn't helpful; hopefully match-and-simplify will allow some unification of this sort of opt

Re: Towards GNU11

2014-10-09 Thread Joseph S. Myers
orward. > > Thanks. I will wait at least until the end of next week. > > I'd like to hear from Joseph ;). I approve of the change in default (I just don't think it's a change to make on my say-so alone). -- Joseph S. Myers jos...@codesourcery.com

Re: Is "optimize" attribute on fndecl handled differently?

2014-09-29 Thread Joseph S. Myers
ast-math itself doesn't respect the rule that more specific options override less specific ones, whatever the command-line ordering, you could just as well change set_fast_math_flags to take opts_set as well and mark the options in question explicitly set, unless any other code checks if they were explicitly set and so would regress from such a change.) -- Joseph S. Myers jos...@codesourcery.com

Re: Problem with accessing built-ins from Fortran front-end

2014-09-26 Thread Joseph S. Myers
t argument would also lose the conversion to double (so losing exceptions for signaling NaN arguments). In view of the many open bugs relating to floating-point exceptions, I don't think such changes would be problematic. -- Joseph S. Myers jos...@codesourcery.com

Re: Denormals and underflow control (gradual vs. aburpt) in soft-fp library

2014-09-23 Thread Joseph S. Myers
n it's correct to apply them to binary128 operations - is it appropriate for conversions between TFmode and XFmode or not? Of course applying to all operations is easiest and avoids needing the soft-fp conditionals to depend on the operation / types involved, or having different sfp-machine.h

Re: Is this a compiler bug?

2014-09-22 Thread Joseph S. Myers
This aspect of pp-numbers is mentioned in the manual (trouble.texi) because of the confusion it causes. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] gcc parallel make check

2014-09-10 Thread Joseph S. Myers
y from running them, and to run each test independently, is the QMTest model, though there are other issues with how that handles some things that come up in toolchain testing.) -- Joseph S. Myers jos...@codesourcery.com

Re: printf format warning when sizeof(float) == sizeof(double)

2014-09-10 Thread Joseph S. Myers
be fixed in 4.9. -- Joseph S. Myers jos...@codesourcery.com

Re: selective linking of floating point support for *printf / *scanf

2014-09-03 Thread Joseph S. Myers
On Wed, 3 Sep 2014, Joern Rennecke wrote: > On 2 September 2014 16:28, Joseph S. Myers wrote: > > On Tue, 2 Sep 2014, Joey Ye wrote: > > > >> Apparently newlib is not following this specification very well, as > >> there are symbols like _abc_r defined every w

Re: Bounded array type?

2014-09-03 Thread Joseph S. Myers
ll to bar is with an argument that does in fact point to at least 5 chars (if a call doesn't, there's undefined behavior when that call is executed). -- Joseph S. Myers jos...@codesourcery.com

Re: Bounded array type?

2014-09-03 Thread Joseph S. Myers
, even if the array passed by the caller is larger, and maybe also that the caller must not pass an array smaller than the size given.) -- Joseph S. Myers jos...@codesourcery.com

Re: selective linking of floating point support for *printf / *scanf

2014-09-02 Thread Joseph S. Myers
y define a variable called _standard_function at block scope, then try to call standard_function within that block. So in general it's safer to use the double underscore in the implementation, unless there is some clear reason to use the single underscore. -- Joseph S. Myers jos...@codesourcery.com

Re: C as intermediate language, signed integer overflow and -ftrapv

2014-07-25 Thread Joseph S. Myers
the one implementation of these checks to get right and to optimize as much as possible.) -- Joseph S. Myers jos...@codesourcery.com

Re: GNU Tools Cauldron 2014 - Slides for presentations

2014-07-24 Thread Joseph S. Myers
s (if that project is provided with the source material in as good a quality as provided to some other site, I hope they will ensure they provide the video in an unencumbered format and readily accessible with only free software with quality as good as on the other site). -- Joseph S.

Re: GNU Tools Cauldron 2014 - Slides for presentations

2014-07-24 Thread Joseph S. Myers
on is much smaller than the original - which might well be the case if the original format is one that only compresses individual frames, such formats also being more likely to be unencumbered.) -- Joseph S. Myers jos...@codesourcery.com

Re: GNU Tools Cauldron 2014 - Slides for presentations

2014-07-24 Thread Joseph S. Myers
On Thu, 24 Jul 2014, Diego Novillo wrote: > On Thu, Jul 24, 2014 at 11:36 AM, Joseph S. Myers > wrote: > > On Thu, 24 Jul 2014, Diego Novillo wrote: > > > >> Sessions were recorded on video. We will be publishing them from > >> the GNU Tools Google+ page whe

Re: GNU Tools Cauldron 2014 - Slides for presentations

2014-07-24 Thread Joseph S. Myers
hat the GNU recommendation is for licenses on videos about free software, so that should be determined first). -- Joseph S. Myers jos...@codesourcery.com

Re: Some __builtin_round and cast subtleties

2014-07-21 Thread Joseph S. Myers
is buggy unless -fno-math-errno is used (given the existence of cases where round + cast must not set errno, but lround may). A bug should be filed in Bugzilla for this. -- Joseph S. Myers jos...@codesourcery.com

Re: stdatomic.h and atomic_load_explicit()

2014-06-25 Thread Joseph S. Myers
__auto_type is, by design, meant to be consistent with typeof (while avoiding multiple evaluation when VLAs are involved, as well as avoiding exponential blowup of the size of the expansion with nested calls to macros). -- Joseph S. Myers jos...@codesourcery.com

Re: stdatomic.h and atomic_load_explicit()

2014-06-25 Thread Joseph S. Myers
const qualifiers from atomic types. (Possibly all qualifiers should be removed; const can be an issue for more macros using typeof than just the ones.) */ (If changing this, remember to change the __auto_type handling as well.) -- Joseph S. Myers jos...@codesourcery.com

Re: PowerPC IEEE 128-bit floating point: Internal GCC types

2014-06-03 Thread Joseph S. Myers
On Tue, 3 Jun 2014, Vincent Lefevre wrote: > On 2014-06-02 21:20:57 +0000, Joseph S. Myers wrote: > > ([...] Conversion from __float128 to __ibm128 would presumably be > > done in the usual way of converting to double, and, if the result is > > finite, subtracting the doubl

Re: PowerPC IEEE 128-bit floating point: Language standards

2014-06-02 Thread Joseph S. Myers
libraries, with some dynamic linker magic to pick the right ones and avoid duplicating any libraries that don't involve long double in their interfaces, does have some attraction.) -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC] PR61300 K&R incoming args

2014-06-02 Thread Joseph S. Myers
and short), is called. It probably makes sense by now to enable -Wimplicit-function-declaration by default, though that won't catch cases where the file with the unprototyped call has a non-prototype declaration such as "int foo();". -- Joseph S. Myers jos...@codesourcery.com

Re: PowerPC IEEE 128-bit floating point: Internal GCC types

2014-06-02 Thread Joseph S. Myers
presumably be done in the usual way of converting to double, and, if the result is finite, subtracting the double from the __float128 value, converting the remainder, and renormalizing in case the low part you get that way is exactly 0.5ulp of the high part and the high part has its low bit set.) -- Joseph S. Myers jos...@codesourcery.com

Re: PowerPC IEEE 128-bit floating point: Two 128-bit floating point types

2014-06-02 Thread Joseph S. Myers
t; and "supported with VSX / AltiVec ABI", as opposed to "supported using GPRs/FPRs" and "supported with VSX / AltiVec", then the "not supported" case could continue to be built with older GCC - but you'd still be increasing the minimum GCC version for LE builds.) -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC]Better support for big-endian targets in GCC vectorizer

2014-06-02 Thread Joseph S. Myers
endianness but "permuting load" for the other endianness, for example - see the various past discussions of issues with big-endian NEON.) But this isn't a case for the vectorizer caring about endianness - rather, it simply needs to ask the back end about the available opera

Re: ssl support for https://gcc.gnu.org/

2014-05-12 Thread Joseph S. Myers
t;//gcc.gnu.org/FOO") - that's what Wikipedia does for links that should go to http or https according to how the page with the link is being accessed - or simply all be changed to https (I don't think browsers should object to https content such as stylesheets referenced by an ht

Re: Add stdatomic.h

2014-04-28 Thread Joseph S. Myers
be possible for programs to use a common subset that works in both languages in some cases). -- Joseph S. Myers jos...@codesourcery.com

RE: [RFC, MIPS] Relax NaN rules

2014-03-25 Thread Joseph S. Myers
d) and presume they are tested for by C99 facilities such as fetestexcept - which has no way to return any sort of error status. -- Joseph S. Myers jos...@codesourcery.com

RE: [RFC, MIPS] Relax NaN rules

2014-03-25 Thread Joseph S. Myers
the support is in kernel.org and so the value can be set to the actual first kernel with the support (arch_minimum_kernel=10.0.0 may be used in future for any other cases where glibc support for a port or port variant gets in before the kernel support.) -- Joseph S. Myers jos...@codesourcery.com

RE: [RFC, MIPS] Relax NaN rules

2014-03-21 Thread Joseph S. Myers
ve, and so gets corrupted because the signaling NaN gets converted to quiet along the way.) -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC, MIPS] Relax NaN rules

2014-03-18 Thread Joseph S. Myers
anipulation of bit-patterns and no NaN constants, would be don't-care by this logic). -- Joseph S. Myers jos...@codesourcery.com

RE: [RFC][ARM] Naming for new switch to check for mixed hardfloat/softfloat compat

2014-03-18 Thread Joseph S. Myers
On Tue, 18 Mar 2014, Thomas Preud'homme wrote: > > From: gcc-ow...@gcc.gnu.org [mailto:gcc-ow...@gcc.gnu.org] On Behalf Of > > Joseph S. Myers > > > > The functions affected use floating-point in their public interfaces - for > > example, __muldc3. Note

Re: Shouldn't unsafe-math-optimizations (re-)enable fp-contract=fast?

2014-03-06 Thread Joseph S. Myers
-math-optimizations then > it should flip it back onto fast? That seems reasonable. -- Joseph S. Myers jos...@codesourcery.com

RE: [RFC][ARM] Naming for new switch to check for mixed hardfloat/softfloat compat

2014-03-05 Thread Joseph S. Myers
that pass arm_libcall_uses_aapcs_base (i.e. the floating-point operations defined in RTABI) or don't involve floating point, then you can be compatible with both calling conventions. -- Joseph S. Myers jos...@codesourcery.com

RE: [RFC][ARM] Naming for new switch to check for mixed hardfloat/softfloat compat

2014-03-04 Thread Joseph S. Myers
unctions use only the base AAPCS and so don't affect compatibility even if they have floating-point (or vector) arguments. (This is something that's different on some other architectures with similar issues.) -- Joseph S. Myers jos...@codesourcery.com

Re: Handling error conditions in libgomp

2014-02-28 Thread Joseph S. Myers
exit with an error means PASS, exit successfully means FAIL), that's what dg-shouldfail is for. -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-26 Thread Joseph S. Myers
On Wed, 26 Feb 2014, Torvald Riegel wrote: > On Fri, 2014-02-21 at 22:10 +0000, Joseph S. Myers wrote: > > On Fri, 21 Feb 2014, Paul E. McKenney wrote: > > > > > This needs to be as follows: > > > > > > [[carries_dependency]] int getzero(int i [[carr

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-21 Thread Joseph S. Myers
7;t know what dependencies might be carried. "Note: The carries_dependency attribute does not change the meaning of the program, but may result in generation of more efficient code. - end note". -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-17 Thread Joseph S. Myers
On Mon, 17 Feb 2014, Torvald Riegel wrote: > On Mon, 2014-02-17 at 18:59 +0000, Joseph S. Myers wrote: > > On Sat, 15 Feb 2014, Torvald Riegel wrote: > > > > > glibc is a counterexample that comes to mind, although it's a smaller > > > code base. (It&

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-17 Thread Joseph S. Myers
omics (GCC builtins rather than _Atomic / , but using __atomic_* with explicitly specified memory model rather than the older __sync_*) on AArch64, plus in certain cases on ARM and MIPS. -- Joseph S. Myers jos...@codesourcery.com

Re: Fwd: LLVM collaboration?

2014-02-12 Thread Joseph S. Myers
d be safe to run on untrusted input files. -- Joseph S. Myers jos...@codesourcery.com

Re: Fwd: LLVM collaboration?

2014-02-07 Thread Joseph S. Myers
ntly glibc over the past couple of years) and other responsibilities. I'd like to do more in various of these areas, to get missing standard / proposed standard features implemented in GCC and glibc, to ensure proposed standards and extensions are high quality, to get the standards to better address areas in which they are weak. But there are limits to both total time available and time I can actually justify spending on these things. -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-07 Thread Joseph S. Myers
read-modify-write to a word containing another field, for example) and I think it's pretty obvious that glibc should do so as well. (Of course, memset is not an atomic operation, and you need to allow for that if you use it on an _Atomic object - which is I think valid, unless the object is al

Re: [MIPS] Avoiding FP operations/register usage

2014-02-07 Thread Joseph S. Myers
think ld.so needs to save and restore those registers (and so there isn't much point making it avoid floating point). See <https://sourceware.org/ml/libc-alpha/2014-01/msg00673.html>. -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-06 Thread Joseph S. Myers
ven necessarily get compatibility for the alignment of _Atomic types yet (and no ABI document I've seen discusses that issue). -- Joseph S. Myers jos...@codesourcery.com

Re: [RFC][PATCH 0/5] arch: atomic rework

2014-02-06 Thread Joseph S. Myers
e the case that Y' interoperates with X, X' interoperates with Y, but X' and Y' don't interoperate with each other. I'd envisage something more like mapping not to instructions, but to concepts within the architecture's own memory model - but that requires the architecture's memory model to be as well defined, and probably formalized, as the C11 one.) -- Joseph S. Myers jos...@codesourcery.com

Re: Draft C bindings for IEEE 754-2008 part 4 now available

2014-02-04 Thread Joseph S. Myers
of the last floating-point group meeting and agenda for the next). Again, any comments are best sent direct to WG14. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2014-01-28 Thread Joseph S. Myers
On Tue, 28 Jan 2014, DJ Delorie wrote: > Ping? Or do I need to repost on the patches list? Repost on the patches list (with self-contained write-up, rationale for choices made, etc.) at the start of stage 1 for 4.10/5.0, I suggest (this clearly isn't stage 3 material). -- Joseph

Re: Don't shoot the messenger

2014-01-24 Thread Joseph S. Myers
p://gcc.gnu.org/gccmission.html>. -- Joseph S. Myers jos...@codesourcery.com

Re: clang and FSF's strategy

2014-01-23 Thread Joseph S. Myers
the resulting patches. * Andrew MacLeod's plans for improving static typing are I think largely about the middle end - there is plenty of scope for improving static typing of datastructures used in the front ends, and cleanly separating them from the language-independent compiler as fa

Re: Enable -Wreturn-type by default ?

2014-01-23 Thread Joseph S. Myers
t annotations for noreturn functions (so control can't actually reach the end of the function but GCC can't tell that). -- Joseph S. Myers jos...@codesourcery.com

Re: -Wformat-security warnings generated in gcc build

2014-01-22 Thread Joseph S. Myers
o it ? I'll leave it to Dodji as diagnostics maintainer to advise on the best way to implement error_at_no_args. -- Joseph S. Myers jos...@codesourcery.com

Re: -Wformat-security warnings generated in gcc build

2014-01-21 Thread Joseph S. Myers
rror_at_no_args (location, message) that accepts and processes only formats taking no arguments (and probably aborts if given a format that needs arguments). -- Joseph S. Myers jos...@codesourcery.com

Re: enable-werror-always relevant?

2014-01-18 Thread Joseph S. Myers
configuration. -- Joseph S. Myers jos...@codesourcery.com

Re: -Wpedantic does not warn on use of __auto_type

2014-01-18 Thread Joseph S. Myers
stic text). -- Joseph S. Myers jos...@codesourcery.com

Re: PATCH: PR ld/16428: Disallow -shared/-pie, -shared/-static, -pie/-static

2014-01-14 Thread Joseph S. Myers
On Tue, 14 Jan 2014, H.J. Lu wrote: > On Tue, Jan 14, 2014 at 11:37 AM, Joseph S. Myers > wrote: > > On Tue, 14 Jan 2014, H.J. Lu wrote: > > > >> When there is -static, -dynamic-linker won't passed to ld. -static, > >> -shared, -pie should be mutually e

Re: PATCH: PR ld/16428: Disallow -shared/-pie, -shared/-static, -pie/-static

2014-01-14 Thread Joseph S. Myers
how useful more general static PIE support would be.) (-shared and -pie do seem mutually exclusive, as the first says what's being linked operates as a library and the second says it operates as an executable - although of course the same ET_DYN can operate as both.) -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2014-01-09 Thread Joseph S. Myers
d line options? That seems reasonable. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2014-01-08 Thread Joseph S. Myers
lN (for valid N) as keywords - an infinite number of keywords - much as we handle _Imaginary as a keyword without otherwise implementing it.) -- Joseph S. Myers jos...@codesourcery.com

Re: Draft C bindings for IEEE 754-2008 part 4 now available

2014-01-08 Thread Joseph S. Myers
On Wed, 8 Jan 2014, Vincent Lefevre wrote: > On 2014-01-07 16:45:49 +0000, Joseph S. Myers wrote: > > Sure, such a correctly rounded function is useful just like correctly > > rounded versions of other functions. The proposed C bindings reserve cr* > > names *only* for t

Re: Draft C bindings for IEEE 754-2008 part 4 now available

2014-01-07 Thread Joseph S. Myers
On Tue, 7 Jan 2014, Vincent Lefevre wrote: > On 2014-01-07 14:48:01 +0000, Joseph S. Myers wrote: > > (Except that the IEEE 754 reduction operations - subclause 9.4 - return > > "an implementation-defined approximation". But 9.2 is "Recommended > > correc

Re: Draft C bindings for IEEE 754-2008 part 4 now available

2014-01-07 Thread Joseph S. Myers
asymptotic cost of the exhaustive searches? -- Joseph S. Myers jos...@codesourcery.com

Re: Draft C bindings for IEEE 754-2008 part 4 now available

2014-01-07 Thread Joseph S. Myers
On Tue, 7 Jan 2014, Joseph S. Myers wrote: > The IEEE 754 operations are corrected rounded. However, the C bindings (Except that the IEEE 754 reduction operations - subclause 9.4 - return "an implementation-defined approximation". But 9.2 is "Recommended correctly round

Re: Draft C bindings for IEEE 754-2008 part 4 now available

2014-01-07 Thread Joseph S. Myers
On Tue, 7 Jan 2014, Florian Weimer wrote: > On 01/04/2014 07:21 PM, Joseph S. Myers wrote: > > > FYI: a draft set of C bindings for additional floating-point functions > > from IEEE 754-2008 are now available (draft TS 18661-4): > > Is there an accurate summary of IEEE 7

Draft C bindings for IEEE 754-2008 part 4 now available

2014-01-04 Thread Joseph S. Myers
(part 2) http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1784.pdf (part 3) Any issues with these draft bindings would best be reported directly to WG14 (sc22w...@open-std.org). Parts 1 and 2 are in ballot, parts 3 and 4 are at earlier stages of development. -- Joseph S. Myers jos

Re: LIMITS_H_TEST and Newlib

2014-01-03 Thread Joseph S. Myers
tually be fully configured for the C library in use). So it might not be a good idea to make it do anything specific to newlib. -- Joseph S. Myers jos...@codesourcery.com

Re: Undefined behavior or gcc is doing additional good job?

2014-01-03 Thread Joseph S. Myers
On Fri, 3 Jan 2014, Jakub Jelinek wrote: > I think this has been discussed in some PR, unfortunately I can't find it. Bug 57725? -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-12-20 Thread Joseph S. Myers
still? I think a patch is more useful once believe feature-complete, which means replacing the __int128 support with the new mechanism. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-12-20 Thread Joseph S. Myers
would be > affected (x86-64 isn't, I don't think any others are). No existing target defines LONG_LONG_TYPE_SIZE to more than 64. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-12-20 Thread Joseph S. Myers
TImode, __int128) pair should be handled the same way as all the other __intN types rather than special-cased (of course you should ensure the patch does not end up changing the set of configurations for which __int128 is available). -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-12-20 Thread Joseph S. Myers
such __SIZEOF_INT__ macros for whichever such types are available - in which case no_backend is true.) -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-12-10 Thread Joseph S. Myers
as __int128 does have mangling defined in cp/mangle.c, and targets can already define their own mangling for target-specific types through a hook.) -- Joseph S. Myers jos...@codesourcery.com

RE: cpp0x test suite PASS/FAIL

2013-12-10 Thread Joseph S. Myers
u isn't behaving as intended on your system. -- Joseph S. Myers jos...@codesourcery.com

Re: cpp0x test suite PASS/FAIL

2013-12-10 Thread Joseph S. Myers
st with comment > '(test for excess errors' ? No, FAILs indicate a bug in either the compiler or the testcase (or in your test environment, etc.); don't ignore them. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-12-10 Thread Joseph S. Myers
passed to the compiler.) -- Joseph S. Myers jos...@codesourcery.com

Re: [buildrobot] First results of running contrib/config-list.mk

2013-12-02 Thread Joseph S. Myers
On Mon, 2 Dec 2013, Jan-Benedict Glaw wrote: > On Mon, 2013-12-02 12:08:25 +0100, Gerald Pfeifer wrote: > > On Tue, 26 Nov 2013, Joseph S. Myers wrote: > > > I think it's time to remove targets that have been under > > > --enable-obsolete > > > fo

Re: [buildrobot] First results of running contrib/config-list.mk

2013-11-26 Thread Joseph S. Myers
st in <http://gcc.gnu.org/ml/gcc-patches/2013-06/msg00248.html>) (the avr-rtems failures seem to be an issue with missing or broken stdint.h configuration, though I'm not sure why it would be missing there). -- Joseph S. Myers jos...@codesourcery.com

Re: [buildrobot] microblaze-elf / microblaze-linux

2013-11-26 Thread Joseph S. Myers
7;d call neglectible. For example, the list should include at least one target for every target header in GCC. So if there's a header specific to an (architecture, OS) pair, a matching configuration should be included. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-22 Thread Joseph S. Myers
ut in some new arrays supporting whatever set of intN types the target has. That's just a guess; whether you follow or don't follow it, your analysis of the code needs to justify your choice. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-22 Thread Joseph S. Myers
through a series of small cleanup patches that clearly isolate anything that might possibly change behavior at all than through one huge patch. So any small obvious things are naturally separated out. (c) Iteration over C types has other complications such as preferences between different types (e.g. int and long) with the same middle-end properties. (d) I don't think the standard C types are particularly relevant to your project. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-22 Thread Joseph S. Myers
e defined in builtin-types.def rather than tree.[ch]. For example, complex_integer_type_node and float_ptr_type_node. But I don't think cleaning up those would actually help in any way towards your goal; it would be a completely orthogonal cleanup. -- Joseph S. Myers jos...@codesourcery.com

Re: how to use -fomit-frame-pointer by default

2013-11-20 Thread Joseph S. Myers
(as it was in gcc 4.5.2 I presume) ? This is now handled through the TARGET_OPTION_OPTIMIZATION_TABLE hook (in gcc/common/config). -- Joseph S. Myers jos...@codesourcery.com

Re: PLUGIN_HEADER_FILE event for tracing of header inclusions.

2013-11-18 Thread Joseph S. Myers
On Mon, 18 Nov 2013, Basile Starynkevitch wrote: > On Mon, 2013-11-18 at 13:17 +0000, Joseph S. Myers wrote: > > On Sun, 17 Nov 2013, Basile Starynkevitch wrote: > > > > > What would be the good way to add such a plugin event to GCC 4.9? > > > > See the c

Re: PLUGIN_HEADER_FILE event for tracing of header inclusions.

2013-11-18 Thread Joseph S. Myers
articular the file_change one) wouldn't be enough. -- Joseph S. Myers jos...@codesourcery.com

Re: Enable -Wreturn-type by default ?

2013-11-17 Thread Joseph S. Myers
w being substantially on par with C99 support. (I still need to update implement-c.texi for C11 and some other bits of documentation for the state of C99 and C11 support, but that doesn't need to be done in development stage 1. And release notes are still needed for for _Generic, _Atomic and _Thread_local support.) -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-16 Thread Joseph S. Myers
ctions embed information about the integer and floating-point types involved and a better way would be needed to extract the underlying operation for a built-in function and identify the function, if any, for an arbitrary type or pair of types.) -- Joseph S. Myers jos...@codesourcery.com

Re: RFC: FLT_ROUNDS and fesetround

2013-11-15 Thread Joseph S. Myers
glibc for GCC to use in expansion of FLT_ROUNDS and atomic compound assignment. Any hooks should accommodate targets wishing in some cases just to generate their own libc call like this. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-14 Thread Joseph S. Myers
n command-line options (TImode only being supported for -m64, for example). -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-14 Thread Joseph S. Myers
such operations to use modes the target supports still takes place entirely at RTL expansion time, when it might be better to do it on GIMPLE and let GIMPLE optimizers work on the larger-type arithmetic). If you do want types without corresponding modes, that goes back to having a hook to list the relevant type sizes. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-14 Thread Joseph S. Myers
t for integer types for now.) -- Joseph S. Myers jos...@codesourcery.com

Re: Enable -Wreturn-type by default ?

2013-11-14 Thread Joseph S. Myers
value in a function returning non-void, implicit int and implicit function declarations are all things removed in C99 for which it may now make sense to enable warnings by default. -- Joseph S. Myers jos...@codesourcery.com

Re: proposal to make SIZE_TYPE more flexible

2013-11-14 Thread Joseph S. Myers
be arbitrary (so I suppose there would be a single RID_INTN for them) - that seems cleaner than the system for address space keywords with a fixed block from RID_ADDR_SPACE_0 to RID_ADDR_SPACE_15. -- Joseph S. Myers jos...@codesourcery.com

Re: Great example of why "everything is a tree" sucks

2013-11-13 Thread Joseph S. Myers
ignment on file who is interested in maintaining a front end on a branch and hopefully contributing it to trunk in future. -- Joseph S. Myers jos...@codesourcery.com

Re: Great example of why "everything is a tree" sucks

2013-11-13 Thread Joseph S. Myers
ly developed GPL Pascal compiler, Free Pascal, albeit for different versions of the Pascal language). In general, for GCC development to consider requirements of your front end or back end, getting it into the GCC repository and developing it there is strongly recommended. -- Joseph S. Myers jos...@codesourcery.com

Re: Great example of why "everything is a tree" sucks

2013-11-13 Thread Joseph S. Myers
rating GIMPLE code for the initializer and telling the middle end that it should (ped)warn if it ends up being optimized to a constant, error if it doesn't. But I rather hope that isn't needed.) -- Joseph S. Myers jos...@codesourcery.com

  1   2   3   4   5   6   7   8   9   10   >