[msp430] special case sym->SI moves

2015-06-04 Thread DJ Delorie
Symbols are normally PSImode, and the MSP430 has PSImode registers and PSImode moves to reg/mem. But sometimes gcc uses an SImode move instead, if the result will later be used in SImode (as in getP() in gcc/testsuite/gcc.dg/torture/pr65077.c). Committed. * config/msp430/msp430.md (movs

Re: [PATCH : RL78] Disable interrupts during hardware multiplication routines

2015-06-04 Thread DJ Delorie
Have you compared the latency of the multiply instructions to the overhead of saving those registers in the interrupt handler? What about the case where performance is priority, and the developer knows that the interrupt handlers don't use the multiply registers? Also, your code doesn't properly

[s390] Revert TPF C++ library changes

2015-06-05 Thread DJ Delorie
IBM made changes to no longer require 2 versions of libstdc++, so this patch changes things back to the previous (compatible) way. Also, TPF debuggers don't support discriminators, despite what GAS supports, so disable them. Ok? * config/s390/tpf.h (LIBSTDCXX): Change to CPP1. (

pr64252.c: fix sizeof(int) assumption

2015-06-05 Thread DJ Delorie
On targets with 2 byte "int" the vectors are 16 values long, which breaks the index count in __builtin_shuffle() using more than one input vector. Ok? * gcc.dg/pr64252.c: Fix assumption about sizeof(int). 2015-06-05 Thomas Koenig Index: gcc.dg/pr64252.c =

[msp430] support sym+int and sym-sym

2015-06-05 Thread DJ Delorie
Because sizeof(void*) is 4 but POINTER_SIZE is 3, we have to handle some things manually. This is yet another one. Committed. * config/msp430/msp430.c (msp430_asm_integer): Support addition and subtraction too. Index: config/msp430/msp430.c =

Re: pr64252.c: fix sizeof(int) assumption

2015-06-05 Thread DJ Delorie
Sorry, I meant unsigned int.

Re: RFA: RL78: Save the frame pointer if it is used.

2015-05-05 Thread DJ Delorie
> OK to apply ? Ok, but... > - if (regno == FRAME_POINTER_REGNUM && frame_pointer_needed) > + if (regno == FRAME_POINTER_REGNUM > + && (frame_pointer_needed || df_regs_ever_live_p (regno))) Do we want regs_ever_live or regs_ever_written_to ? I seem to recall changing a port... mep per

Re: Remove mode argument from gen_rtx_SET

2015-05-08 Thread DJ Delorie
> ; This pattern is identical to the truncsipsi2 pattern except > ; that it uses a SUBREG instead of a TRUNC. It is needed in > ; order to prevent reload from converting (set:SI (SUBREG:PSI (SI))) > ; into (SET:PSI (PSI)). > > I'm not sure what that's supposed to mean (what's an SI set of a PSI

Re: [RFA] libiberty/mkstemps.c: Include if not available.

2015-05-08 Thread DJ Delorie
> * mkstemps.c: #include if HAVE_TIME_H is defined > but not HAVE_SYS_TIME_H. Ok.

Re: Remove mode argument from gen_rtx_SET

2015-05-11 Thread DJ Delorie
> What I was confused about is that the first set isn't valid rtl. > The SET_SRC and SET_DEST always have to have the same mode > (or VOIDmode in the case of a CONST_INT, etc., where the mode > is implicitly the same as the SET_DEST). So wouldn't it have > to be: > > (set (reg:SI 1) >(

Re: attribute handler oddness in MEP and STORMY16 ports

2014-12-02 Thread DJ Delorie
My memories of why I did MeP the way I did are... vague. I recall it had to do with getting the attributes to apply to C++ objects correctly, since C++ objects tend to be "complicated" and gcc didn't always pass me what I expected. > think they are suppose to. They build, but I cant test them.

[rl78] fix SFmode moves

2015-02-24 Thread DJ Delorie
SFmode moves were using 8-bit transfers instead of 16-bit. This patch copies the SImode move pattern, which expands into 16-bit moves. Since this only affects rl78, and the SImode code is well tested, I'm applying this now so it will be in gcc 5. * config/rl78/rl78-protos.h (rl78_split_

Re: RFA: RL78: Fix register constraints in rl78-real.md

2015-03-03 Thread DJ Delorie
> OK to apply ? Ok.

Re: RFA: RL78: Add muladdhi3 pattern

2015-03-03 Thread DJ Delorie
> The problem appears to be that GCC will create a multiply-plus-add > instruction to access the table regardless of whether the backend > supports such an instruction. I could not work out where in the > middle end this was occurring, so instead I created the patch below > which contai

[rl78] more far addr edge cases

2015-03-03 Thread DJ Delorie
More edge cases regarding far addresses. Committed. * config/rl78/rl78-real.md (*addqi_real): Allow SADDR types for inc/dec. (*addhi3_real): Likewise. * config/rl78/rl78-virt.md (*inc3_virt): Additional pattern to match incrementing memory. * confi

[rl78] fix ICE with far operands to and/ior

2015-03-18 Thread DJ Delorie
Committed. * config/rl78/rl78-virt.md (andqi3_virt): Allow far operands. (iorqi3_virt): Likewise. Index: config/rl78/rl78-virt.md === --- config/rl78/rl78-virt.md(revision 221505) +++ config/rl78/rl78-virt.md

[rl78] fix 'p' test

2015-03-24 Thread DJ Delorie
Mis-applied patch, committed. * config/rl78/rl78.c (rl78_print_operand_1): Move 'p' test to correct clause. Index: config/rl78/rl78.c === --- config/rl78/rl78.c (revision 221648) +++ config/rl78/rl78.c (working cop

Re: [PATCH] Fix libbacktrace and libiberty tests fail on sanitized GCC due to wrong link options.

2015-04-14 Thread DJ Delorie
> Is this ok for trunk now? Yes.

Re: RFA: RL78:

2015-04-14 Thread DJ Delorie
> OK to apply ? Ok! > 2015-04-14 Nick Clifton > > * config/rl78/rl78.c (rl78_expand_prologue): Mark large stack > decrement instruction as being frame related. > (rl78_print_operand_1): Handle 'p' modifier to add +0 to HL > based addresses. > If zero extendi

Re: RFA: RL78: Add support for G13 and G14 multiply and divide

2015-04-15 Thread DJ Delorie
> OK to apply ? Ok. > gcc/ChangeLog > 2015-04-15 Nick Clifton > > * config/rl78/rl78-opts.h (enum rl78_mul_types): Add MUL_G14 and > MUL_UNINIT. > (enum rl78_cpu_type): New. > * config/rl78/rl78-virt.md (attr valloc): Add divhi and divsi. > (umulhi3_shift_virt

Re: RFA: RL78: With -mes0 put read only data in the .frodata section

2015-06-08 Thread DJ Delorie
Ok. Thanks!

pr66345.c size_t assumption bug

2015-06-08 Thread DJ Delorie
The testcase for pr 66345 assumes size_t is "unsigned long" instead of using the real type, which causes failures on some 16-bit targets. Ok? Also, I note that some tests check for __SIZE_TYPE__ as I do below, and others use it unconditionally as a replacement for size_t. Is there a convention?

[lto] intN follow-up patch

2015-06-11 Thread DJ Delorie
This was missed in the big intN patch set I did last year; it only shows up if you have a target with an N-bit type that isn't also used for a pointer type but is used for unwinding (which is a change I also have pending, hence I noticed ;). Tested on x86-64 and msp430 (with the pending patch) wi

Re: [lto] intN follow-up patch

2015-06-11 Thread DJ Delorie
Thanks! Committed.

Re: [PATCH] toplevel: fixes for in-tree libiconv

2015-06-15 Thread DJ Delorie
> This is the first in a series of patches to make a build with an in-tree > GNU libiconv work as designed. > > This patch fixes dependencies for parallel make, and avoids failures > with make targets not supported by GNU libiconv. This is OK. Thanks!

Re: [PATCH] toplevel: fixes for in-tree libiconv

2015-06-18 Thread DJ Delorie
> Thanks. I don't have write access, could a toplevel maintainer please > commit? Which repos do you not have access to? Also, did you address Jeff's comment? > How was this patch tested? I don't see anything glaringly wrong, but > stranger things have happened. > > I think just a bootstrap

Re: pr66345.c size_t assumption bug

2015-06-24 Thread DJ Delorie
> OK. Thanks, committed.

Re: [s390] Revert TPF C++ library changes

2015-06-29 Thread DJ Delorie
> But don't we need to support the older system (with 2 libstdc++s) and > the newer system (just one libstdc++)? Which implies these changes need > to be conditional, right? The CPP2 configuration was never shipped to TPF customers, so there's no need to retain both ways.

Re: [s390] Revert TPF C++ library changes

2015-07-01 Thread DJ Delorie
> Ah, then approved. Thanks, committed.

Re: update gthr-tpf.h

2015-07-01 Thread DJ Delorie
Ping? https://gcc.gnu.org/ml/gcc-patches/2015-06/msg00149.html > This patch updates gthr-tpf.h to the current gthr.h API and TPF API. Ok? > > * gthr-tpf.h (__GTHREADS_CXX0X): Define. > (__gthread_t): Define. > (__gthread_cond_t): Define. > (__gthread_time_t): Define. >

Re: [PATCH] S390: Support -mtune=native and -march=native.

2015-07-08 Thread DJ Delorie
> Version 2 of the patch to enable the configure options > --with-arch=native and --with-tune=native. This patch broke cross-compiling with --target=s390-* s390_host_detect_local_cpu is only defined if the --host is s390-* but EXTRA_SPEC_FUNCTIONS refers to it when --target is s390-*

Re: [PATCH] S390: Support -mtune=native and -march=native.

2015-07-09 Thread DJ Delorie
> Sorry about that. Does the attached Patch fix the problem? Yup. Thanks!

Re: Fix a MinGW warning in libiberty/strerror.c

2015-01-16 Thread DJ Delorie
> Thanks. Do I need to hear from someone else approving this, or can I > go ahead and commit? Go ahead and commit.

[rl78] Various fixes and tweaks

2015-01-16 Thread DJ Delorie
Various RL78-specific fixes and tweaks wrt volatiles and addressing modes. Committed. * config/rl78/rl78-real.md (addqi3_real): Allow volatiles. (addhi3_real): Likewise. Fix [HL+0] syntax. (subqi3_real): Likewise. (subhi3_real): Likewise. (cbranchqi4_real

Re: RFA: RL78: Scan inside PARALLELs when looking for dead code

2015-01-20 Thread DJ Delorie
> Here is a small patch to fix a code-gen problem for the RL78. The bug > was that the register death pass was not looking inside PARALLELs, and > thus missing some USE and SET cases. I considered adding code to scan > all of the elements in the PARALLEL, but the only ones that can be >

Re: [PATCH] Fix generation of m32c target (PR 50928)

2015-01-22 Thread DJ Delorie
OK for trunk. OK for 4.9 branch if it's OK with the release manager. Do you need someone to apply it for you?

Re: [PATCH] Fix generation of m32c target (PR 50928)

2015-01-22 Thread DJ Delorie
> I just did not post this patch earlier, because I do not have an > environment to test the generated code on a m32c device. You wouldn't want to wait for the results on a real device. Use the simulator that's included with gdb for testing.

Re: RFA: RL78: Add assembler versions of some libgcc functions.

2015-01-26 Thread DJ Delorie
> OK to apply ? Ok.

Re: RFA: RL78: Minor prologue and epilogue enhancements

2015-01-26 Thread DJ Delorie
> OK to apply ? Ok.

[rl78] avoid move-elim on volatile mems

2015-01-26 Thread DJ Delorie
See $subj. Committed. * config/rl78/rl78.c (move_elim_pass): Don't optimize away volatile memory references. Index: config/rl78/rl78.c === --- config/rl78/rl78.c (revision 220150) +++ config/rl78/rl78.c (working c

Re: [PATCH] Workaround -Wmaybe-uninitialized false positives during profiledbootstrap

2015-01-26 Thread DJ Delorie
#pragma diagnostic push/pop wasn't added until a later release (4.6 I think). Attempts to build with 4.4 (i.e. on RHEL 6) causes warnings on most files. 2010-06-21 DJ Delorie * diagnostic.h (diagnostic_classification_change_t): New. (diagnostic_

Re: [PATCH] Fix libbacktrace and libiberty tests fail on sanitized GCC due to wrong link options.

2015-01-28 Thread DJ Delorie
> Does the patch look sane? I don't think anything in the toplevel configury looks "sane" any more, but I think this patch is OK.

Re: [PATCH] libiberty/argv.c: Use freeargv() instead of free() to avoid memory leak.

2015-01-28 Thread DJ Delorie
> memcpy (*argvp + i, file_argv, file_argc * sizeof (char *)); This code copies all the pointers in file_argv[] into argv[], so if you freeargv them via file_argv, argv[] will point to free'd memory. Hence the comment: > /* Free up memory allocated to process the response file. We do

Re: [PATCH] Fix libbacktrace and libiberty tests fail on sanitized GCC due to wrong link options.

2015-01-29 Thread DJ Delorie
I can't say if this fixes a bug important enough for stage4, but if someone wants to claim that, you won't have to wait for stage 1 :-)

Re: RFA: RL78: Fix gcc testsuite failures

2015-02-04 Thread DJ Delorie
Ok.

Re: emit-rtl tidy

2015-02-05 Thread DJ Delorie
The m32c parts are OK.

[v850] fix branch limits

2015-02-19 Thread DJ Delorie
The branch limits are a bit too far, resulting in reloc errors in rare cases. Ok? * config/v850/v850.md (branch_normal): Adjust branch limits. (branch_invert): Likewise. (branch_z_normal): Likewise. (branch_z_invert): Likewise. (branch_nz_normal): Likewise

Re: fix math wrt volatile-bitfields vs C++ model

2014-10-28 Thread DJ Delorie
on rx-elf, x86 32/64, and arm32. 2014-10-29 DJ Delorie * expmed.c (strict_volatile_bitfield_p): Fix off-by-one error. 2014-10-29 DJ Delorie * gcc.dg/20141029-1.c: New. Index: expmed.c === --- expmed.c

Re: fix math wrt volatile-bitfields vs C++ model

2014-10-29 Thread DJ Delorie
> Ok. For the branch please wait until after 4.9.2 is out. Thanks! Committed to trunk.

Re: fix math wrt volatile-bitfields vs C++ model

2014-10-31 Thread DJ Delorie
> Ok. For the branch please wait until after 4.9.2 is out. 4.9.2 being out, I applied this to the branch.

[m32c] tweaks to EH, cond, etc

2014-11-06 Thread DJ Delorie
Fixes newlib/libgcc build problems, many test cases. No regressions. Applied. * config/m32c/cond.md (movqicc__): Remove mode of conditional. (movhicc__): Likewise. * config/m32c/m32c.c (encode_pattern_1): Specialise PSImode subregs. (m32c_eh_return

Re: Ping^2: [PATCH build/doc] Replacing libiberty with gnulib

2016-08-09 Thread DJ Delorie
ayush goel writes: > This patch https://gcc.gnu.org/ml/gcc-patches/2016-07/msg01302.html > is still pending review. The build portions are OK, assuming a global maintainer has approved of adding gnulib in general.

Re: [PATCH][msp430] Don't output __interrupt_vector sections for weak functions

2016-08-29 Thread DJ Delorie
Which results in a more user-obvious case, ignoring the interrupt attribute or ignoring the weak attribute? I would think that we never want to compile and link successfully if we can't do what the user wants, and omitting an interrupt handler is... bad. I think this should either be a hard erro

Re: libiberty: Don't needlessly clear xmemdup allocated memory

2016-05-28 Thread DJ Delorie
Alan Modra writes: > * xmemdup.c (xmemdup): Use xmalloc rather than xcalloc. In glibc at least, calloc can be faster than memset if the kernel is pre-zero-ing pages. Thus, in those cases, your change makes the code slower by adding an unneeded memset. Have you considered these cases?

Re: libiberty: Don't needlessly clear xmemdup allocated memory

2016-05-29 Thread DJ Delorie
Ok then. Thanks!

Re: [PATCH] rl78.c: fix warning

2016-06-01 Thread DJ Delorie
David Malcolm writes: > gcc/ChangeLog: > * config/rl78/rl78.c (rl78_expand_prologue): Convert local > from int to unsigned. Ok. I'm going to note that the corresponding loop in the epilogue also uses signed, but in that case, it must.

[target/71338]: enable mulu for RL78/G10

2016-06-17 Thread DJ Delorie
Reverts https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01538.html - G10 supports MULU but not other multiplication methods. Committed. PR target/71338 * config/rl78/rl78-expand.c (umulqihi3): Enable for G10. * config/rl78/rl78-virtual.c (umulhi3_shift_virt): Likewise.

Re: [PATCH] rl78 adddi3 improvement

2017-10-13 Thread DJ Delorie
Sebastian Perta writes: > Please let me know if this is OK, Thank you! Sorry for the delay, it's OK and I committed it for you with a few minor changes to make it work with today's tree. Thanks!

Re: [PATCH] PR target/82624 msp430-elf target must allow for NULL pointer dereferences

2017-10-19 Thread DJ Delorie
Thanks for your patch; I applied it with some minor changes. Please note that you don't need to submit patches to generated files (*.1 and *.info), that patches are customarily made against the development tree not a released tarball (which is probably why you thought you had to patch the generat

Re: [PATCH] rl78 subdi3 improvement

2017-10-23 Thread DJ Delorie
Committed. Thanks! Note: your diff program isn't producing valid diffs... * it's dropping leading tabs * it's not putting a space after file names in the headers I have to manually fix these to apply the patch; if you could fix it on your end that would be appreciated :-)

Re: [PATCH] [MSP430] Read mcu data from file instead of hardcoded data

2017-08-24 Thread DJ Delorie
Back when we first designed this, I asked about including devices.csv in the gcc sources, and... no. It's not GPL. So please make sure to thoroughly test the "no devices.csv found" case. It's fine to use it to override the internal data, but not fine to rely on it. > * gcc/config/msp430/

Re: [PATCH] [MSP430] [PR80993] Prevent lto removing interrupt handlers

2017-08-29 Thread DJ Delorie
Richard Biener writes: > Humm... don't you have to register interrupt handlers somehow? MSP430 uses an "if they're present, they're registered" approach, so it's driven by the user tagging functions as interrupts - the linker notices that they're present and links them into the interrupt table f

Re: MinGW compilation warnings in libiberty's xstrndup.c

2017-05-19 Thread DJ Delorie
Eli Zaretskii writes: > It should use HAVE_STRNLEN instead, because that's the only > strnlen-related macro defined in config.g when strnlen is probed by > the configure script. Ah, but gcc's configure defines HAVE_DECL_STRNLEN. Header guards need to be coordinated across all the users, not jus

Re: MinGW compilation warnings in libiberty's xstrndup.c

2017-05-19 Thread DJ Delorie
Right, I meant, libiberty's configure, gcc's configure, binutils' configure, and gdb's configure, all need to agree on whether strnlen is a HAVE or a HAVE_DECL type symbol. If they don't, the header can't provide "one" working solution.

Re: MinGW compilation warnings in libiberty's xstrndup.c

2017-05-19 Thread DJ Delorie
Pedro Alves writes: > Ah, yeah. AFAICS, all the declaration checks in libiberty.h are > HAVE_DECL checks. This suggests to me that this declaration guard > should be HAVE_DECL too [1]. Except the ones in the $funcs list, which includes strnlen. I think in the old days, we didn't put in decl

Re: MinGW compilation warnings in libiberty's include/environ.h

2017-05-19 Thread DJ Delorie
Fix committed. As Pedro noted, the correct way to request a change is to make the change in your local checked out repo, and run "svn diff" (or "git diff"). That makes sure that the fix is what you intended, and that you don't have other unexpected changes (especially in regenerated files, like

Re: MinGW compilation warnings in libiberty's include/environ.h

2017-05-19 Thread DJ Delorie
Pedro Alves writes: > That sounds to me like the root issue that should be fixed, > so that these fallback definitions don't come into into play at all. > I.e., why isn't HAVE_ENVIRON_DECL defined on mingw when > setenv.o is built? Sounds like a decl check is missing > in configure.ac. environ

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-19 Thread DJ Delorie
Please try this patch, since my mingw environment is old: Index: libiberty/ChangeLog === --- libiberty/ChangeLog (revision 248307) +++ libiberty/ChangeLog (working copy) @@ -1,3 +1,7 @@ +2017-05-19 Eli Zaretskii + + * configu

Re: MinGW compilation warnings in libiberty's include/environ.h

2017-05-19 Thread DJ Delorie
Eli Zaretskii writes: > My problem is, I don't have a GCC repository, so doing the above means In this case, a gdb repo would have sufficed. > IOW, not everyone who reports a problem can necessarily provide a > patch. The fact that you know too much about my abilities in other > projects doesn

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-22 Thread DJ Delorie
Eli Zaretskii writes: > Hmm... no, this doesn't solve the problem. The expansion of AC_LIBOBJ > for waitpid is gone from the configure script, but the value of > LIBOBJS in libiberty/Makefile still includes waitpid.o. What else is > related to this? After re-reading the sources a bit, I come t

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-23 Thread DJ Delorie
Eli Zaretskii writes: > Instead of making waitpid an always-failing stub on MinGW, wouldn't it > be better to make it work on MinGW? Like this: That's up to you, if it's target-specific. What about mingw64? > --- libiberty/waitpid.c~0 2016-08-01 18:50:21.0 +0300 > +++ libiberty/wa

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-23 Thread DJ Delorie
Eli Zaretskii writes: >> What about mingw64? > > It will be covered as well, because it defines __MINGW32__, Ah, OK. > Is there anything else I need to do about this part to get it solved > in the upstream repository? A ChangeLog entry would be nice, so I don't have to write one ;-)

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-24 Thread DJ Delorie
Thanks. Committed!

Re: MinGW compilation warnings in libiberty's waitpid.c

2017-05-26 Thread DJ Delorie
Joel Brobecker writes: > Normally, I'd expect someone pushing to GCC's libibert to also > update our repo accordingly. Note that I used to auto-sync libiberty from gcc to binutils/gdb, but when binutils/gdb switched to git, that script broke, and as I don't like using git, I announced that I wou

Re: MinGW compilation warnings in libiberty's xstrndup.c

2017-05-26 Thread DJ Delorie
Please try this patch: Index: config.in === --- config.in (revision 248482) +++ config.in (working copy) @@ -76,12 +76,16 @@ #undef HAVE_DECL_SBRK /* Define to 1 if you have the declaration of `snprintf', and to 0 if you

Re: MinGW compilation warnings in libiberty's xstrndup.c

2017-05-30 Thread DJ Delorie
Eli Zaretskii writes: > Seems to work fine, thanks. Checked into gcc trunk then :-)

Re: [PATCH] [msp430] Sync msp430_mcu_data with devices.csv

2017-01-10 Thread DJ Delorie
Committed for you, thanks!

Re: [PATCH 1/2] [msp430] Remove source files from libmul archives

2017-01-13 Thread DJ Delorie
Committed. Thanks!

Re: [PATCH 2/2] [msp430] Remove mpy.o from libgcc

2017-01-17 Thread DJ Delorie
Committed. Thanks!

Re: transaction_safe exceptions prevent libstdc++ building for some targets

2017-01-18 Thread DJ Delorie
Joe Seymour writes: >> the msp430 -mlarge multilib failing to build with... >>> configure: error: Unknown underlying type for size_t >>> make[1]: *** [configure-target-libstdc++-v3] Error 1 > > This is still reproducible. FYI the underlying type is uint20_t I think I've complained that libstdc++

Re: [PATCH] Fix compiling large files

2016-03-15 Thread DJ Delorie
> At this point we usually have a PR to go with all stage4 > changes. But a meaningful PR is difficult to create, since > the attachment would be too large. Perhaps a generator could > be created, but since it wouldn't go in the testsuite it seems > like a waste of time. > > Thoughts? CPP macr

Re: [PATCH: RL78] Optimize libgcc routines using clrw and clrb

2016-04-06 Thread DJ Delorie
Kaushik Phatak writes: > 2016-04-06 Kaushik Phatak > > * config/rl78/bit-count.S: Use clrw/clrb where possible. > * config/rl78/cmpsi2.S: Likewise. > * config/rl78/divmodhi.S Likewise. > * config/rl78/divmodsi.S Likewise. > * config/rl78/fpbit-sf.S Likewise. >

Re: [Bug target/77570] New: [msp430-elf] Wrong assembly in delay_cycles_32x insn declaration

2016-09-12 Thread DJ Delorie
Patch applied as per bug report... 2016-09-12 Orlando Arias PR target/77570 * config/msp430/msp430.md (delay_cycles_32x): Fix pushm/popm. Index: config/msp430/msp430.md === --- config/msp430/msp430.md (revisi

Re: [PATCH][msp430] Don't output __interrupt_vector sections for weak functions

2016-09-13 Thread DJ Delorie
Approved and committed. Thanks! Sorry for the delay, I was away for the holiday weekend and it slipped through the cracks when I returned.

Re: [PATCH][Libiberty] Support empty arguments in pex-win32

2016-09-16 Thread DJ Delorie
This is OK. Thanks!

Re: Change license of filenames.h to LGPL

2016-09-27 Thread DJ Delorie
Most of the files in include/ are GPL, not LGPL. Why is this one different?

Re: Change license of filenames.h to LGPL

2016-09-27 Thread DJ Delorie
Eli Zaretskii writes: > Because Ozkan wants to use it in an otherwise LGPL package. Ok, but that doesn't say why it's different. That reason could apply to any header in there. Do we need to convert all headers there to LGPL? Is this "otherwise LGPL package" in one of our repos, or elsewhere?

Re: Change license of filenames.h to LGPL

2016-09-27 Thread DJ Delorie
Eli Zaretskii writes: >> But then the implementation would need relicensing as well, wouldn't >> it? > > Which implementation? of Ozkan's library? libiberty's filename_cmp.c is GPL and implements two of the functions in filenames.h; if those are why he's using it, then it's still GPL unless filen

Re: Change license of filenames.h to LGPL

2016-09-27 Thread DJ Delorie
Ozkan Sezer writes: > I am not using filename_cmp.c, nor do I include hashtab.h. The version > I took was an old one with macros only and I added some more macros and > inlines to it. (I replied to these, but I forgot including the CC list, > here: http://gcc.gnu.org/ml/gcc-patches/2016-09/msg02

Re: Change license of filenames.h to LGPL

2016-09-28 Thread DJ Delorie
Florian Weimer writes: > Sorry, I don't understand. Surely anything released under the LGPL by > the FSF can be upgraded to the current GPLv3? First upgrade to the > latest LGPL, then switch over to the GPLv3? > > (I assume that the FSF releases their works under the “any later > version” regime

Re: [PATCH] Implement new hook for max_align_t_align

2016-10-11 Thread DJ Delorie
Jason Merrill writes: > If PA malloc doesn't actually provide 16-byte alignment, this change > seems problematic; it will mean any type that wants 16-byte alignment > will silently get 8-byte alignment instead. Should such cases be calling memalign (or posix_memalign) instead of malloc?

Re: [PATCH 1/4][Ada,DJGPP] Ada support for DJGPP

2016-07-30 Thread DJ Delorie
> Frankly at this stage, I do not think it makes sense to maintain an > Ada port for DJGPP and in particular maintain all these extra > special cases and #ifdefs. I don't think this is a reasonable attitude to take with people who are willing to do the work to do it. Frankly, I'd like to take Ad

[patch] libiberty/78584

2016-12-05 Thread DJ Delorie
While the root solution for the bug is "don't do that", we should at least try to detect the obviously wrong case more gracefully. Committed. * argv.c (expandargv): Check for directories passed as @-files. Index: argv.c ===

Re: [PATCH] toplevel: fixes for in-tree libiconv

2015-08-06 Thread DJ Delorie
I have applied and committed these patches, both in gcc and binutils-gdb.

Re: rx: remove some asserts

2015-08-07 Thread DJ Delorie
> Hi DJ, > > There is no need to assert these just to say "not supported" and gcc > may rarely generate addresses from valid code which trigger these > asserts. Ok? > > OK - please apply. Thanks, committed.

Re: [PATCH : RL78] Disable interrupts during hardware multiplication routines

2015-08-27 Thread DJ Delorie
> I have worked out an updated patch, which would save the MDUC specific > registers > in the interrupt routine when the option '-msave-mduc-in-interrupts' is > passed. > This gets active only for the G13 targets. Perhaps we should have both a -msave... and -mno-save... (gcc provides these by d

Re: [PATCH: RL78] libgcc fixes for divmodsi, divmodhi and divmodqi

2015-09-10 Thread DJ Delorie
> 2015-08-21 Kaushik Phatak > > * config/rl78/divmodqi.S: Return 0x00 by default for div by 0. > * config/rl78/divmodsi.S: Update return register to r8. > * config/rl78/divmodhi.S: Update return register to r8,r9. > Branch to main_loop_done_himode to pop registers before return. This is OK.

Re: [PATCH 6/6] [DJGPP] configure.ac: enable LTO

2015-12-13 Thread DJ Delorie
> You can list me as your sponsor. I've been wanting him to be a djgpp target/host maintainer for years anyway, so +1 from me :-)

Re: [doc, committed] document RL78 saddr attribute

2016-01-05 Thread DJ Delorie
> I've checked in this patch to add some minimal documentation for the > RL78 "saddr" variable attribute. That's pretty much all there is to say about the saddr attribute, too.

Re: [PING][PATCH 5/6] [DJGPP] gcc/config/i386: update DJGPP configuration related files

2016-01-11 Thread DJ Delorie
> I posted last version of patch where I took review comments into account > month ago: > > https://gcc.gnu.org/ml/gcc-patches/2015-12/msg01328.html I'm OK with this version.

<    1   2   3   4   5   6   >