Good grief Charlie Brown

2022-12-13 Thread Jim Anderson via Gcc
g for everybody for every environment possible. I guess this is a good think, but I personally think not! Jim Anderson

Re: __fp16 is ambiguous error in C++

2021-06-25 Thread Jim Wilson
ay not help you. I think it will be difficult to do anything useful here until the C and C++ standards figure out how they want half-float support to work. If we do something before then, it will probably end up incompatible with the official solution and we will end up stuck with a mess. Jim

Re: Default debug format for AVR

2021-04-05 Thread Jim Wilson
intained in the sense that when it fails it is fixed to ignore source code constructs that it doesn't support. The longer it survives in this state, the less useful it becomes. Jim

Re: Having trouble getting my school to sign the copyright disclaimer

2021-03-31 Thread Jim Wilson
more appropriate links. I don't actually read Mandarin. This is just a link I happen to know about which has good info about the PLCT Lab. Jim

Re: HELP: MIPS PC Relative Addressing

2021-02-24 Thread Jim Wilson
already a production ABI before you asked for the change. And changing a production ABI is extremely difficult. You were not the first to complain about this, and you probably won't be the last. Jim

Re: HELP: MIPS PC Relative Addressing

2021-02-24 Thread Jim Wilson
n would be adding > RISC-V style > %pcrel_{hi,lo} modifier at assembler side. We can add another pair of > modifier > like %pcrel_paired_{hi,lo} to implement the behavior. Would it be a good > idea? > I wouldn't recommend following the RISC-V approach for the relocation. Jim

RISC-V -menable-experimental-extensions option

2020-12-07 Thread Jim Wilson
something on the gdb side later, like a set riscv experimental-extensions 1 or whatever command to enable support for draft extensions. Jim

Re: Wrong insn scheduled by Sched1 pass

2020-11-04 Thread Jim Wilson
TARGET_SCHED_* macros you can use to control how the scheduler works. Jim

Re: Is there a way to tell GCC not to reorder a specific instruction?

2020-10-01 Thread Jim Wilson
On Wed, Sep 30, 2020 at 11:35 PM Richard Biener wrote: > On Wed, Sep 30, 2020 at 10:01 PM Jim Wilson wrote: > > We have a lot of examples in gcc/testsuite/gcc.target/riscv/rvv that > > we are using for testing the vector support. > > That doesn't seem to exist (but ma

Re: Is there a way to tell GCC not to reorder a specific instruction?

2020-09-30 Thread Jim Wilson
s in gcc/testsuite/gcc.target/riscv/rvv that we are using for testing the vector support. Jim

Re: Is there a way to tell GCC not to reorder a specific instruction?

2020-09-30 Thread Jim Wilson
l instructions can be optimized away. That probably happened by accident. But we don't have support for optimizing away the useless explicit vsetvl, so it remains. Jim

Re: Is there a way to tell GCC not to reorder a specific instruction?

2020-09-29 Thread Jim Wilson
com/a/groups.riscv.org/g/sw-dev/c/Krhw8--wmi4/m/-3IPvT7JCgAJ Jim

Re: New pseudos in splitters

2020-09-23 Thread Jim Wilson
a splitter creates a new pseudo. I think there was another one I fixed around the same time that failed for a different reason, but don't have time to look for it. Jim

Re: How to forbid register allocator to overlap bewteen DEST and SOURCE

2020-07-02 Thread Jim Wilson
might get better results if you eliminated as many of the unspecs as you can. You might want to check TARGET_MODES_TIEABLE_P though this is mostly about casts and moves not register allocation. Jim

Re: sign_and_send_pubkey: signing failed: agent refused operation

2020-06-02 Thread Jim Wilson
in. A web search suggested that there was some security problem with 2K bit keys and apparently they are trying to force people to upgrade, but the inconsistent approach here between different packages makes this confusing as to what is actually going on. Jim

Re: `insn does not satisfy its constraints` when compiling a simple program.

2020-04-20 Thread Jim Wilson
e what is going wrong. The function is likely called many times, so you might need to figure out which call is the failing one first and only step through that one. Jim

Re: Modifying RTL cost model to know about long-latency loads

2020-04-16 Thread Jim Wilson
On Thu, Apr 16, 2020 at 7:28 PM Sasha Krassovsky wrote: > @Jim I saw you were from SiFive - I noticed that modifying the costs for > integer multiplies in the riscv_tune_info structs didn’t affect the generated > code. Could this be why? rtx_costs is used for instruction select

Re: Modifying RTL cost model to know about long-latency loads

2020-04-13 Thread Jim Wilson
ned. I would suggest stepping through the cost calculation code in a debugger to see what is happening. Jim

Re: Not usable email content encoding

2020-03-18 Thread Jim Wilson
nd MTAs in the world. Jim

Re: Update on SVE/sizeless types for C and C++

2019-11-13 Thread Jim Wilson
look at your patch. I'm a little surprised that you can't support alignof on a vector type, I would think that depends on the base type for the vector, but maybe this is a difference between SVE and RVV, or maybe I just haven't gotten far enough to find the problem yet. Otherwise it looks like this would also work for the RVV support. Jim

Re: Update on SVE/sizeless types for C and C++

2019-11-12 Thread Jim Wilson
E where the size of types depends on the hardware you are running on, and those sizes can change at run-time, where they can be different from one loop iteration to the next. Jim

Re: gcc vs clang for non-power-2 atomic structures

2019-08-23 Thread Jim Wilson
I was pointed at https://bugs.llvm.org/show_bug.cgi?id=26462 for the LLVM discussion of this problem. Another issue here is that we should have ABI testing for atomic. For instance, gcc/testsuite/gcc.dg/compat has no atomic testcases. Likewise g++.dg/compat. Jim

gcc vs clang for non-power-2 atomic structures

2019-08-22 Thread Jim Wilson
nd we probably need to fix one of the compilers to match the other one, as we should not have ABI incompatibilities like this between gcc and clang. The original RISC-V bug report is at https://github.com/riscv/riscv-elf-psabi-doc/pull/112 There is a pointer to a gist with a larger testcase with RISC-V results. Jim

Re: gcc/config/arch/arch.opt: Option mask gen problem

2019-07-22 Thread Jim Wilson
struct in riscv.c, which will also automatically save and restore the variable. Jim

Re: [PATCH] Deprecate ia64*-*-*

2019-06-13 Thread Jim Wilson
esponse. They mentioned that there is also a gentoo group that I didn't know about, and want to know why exactly we want to deprecate it. I can discuss it with them. Jim

Re: [PATCH] Deprecate ia64*-*-*

2019-06-13 Thread Jim Wilson
was willing to do for IA-64. There are so many checks in the qsort compare functions that I don't think you can get a stable sort there. I think this is really a sel-sched problem not an IA-64 problem, but the IA-64 port is tied to sel-sched and may not work well without it. Most other ports aren't using it by default. Jim

Re: Dejagnu output size limit and flaky test ( c-c++-common/builtins.c -Wc++-compat )

2019-05-08 Thread Jim Wilson
* lib/remote.exp (standard_wait): Append any trailing characters to $output that may be still in $expect_out(buffer) when eof is matched. Remove arbitrary limitation in the ".+" matching case, similar to the change to local_exec on 2016-02-17. Jim

Re: Please help!!!

2019-05-06 Thread Jim Wilson
e to be separate patterns. But once you have the basic smin/smax patterns, combine can create the sign_extend/whatever versions for you. See for instance how the addsi3 and addsi3_extend* patterns work. Jim

Re: RISC-V sibcall optimization with save-restore

2019-03-20 Thread Jim Wilson
ltiple instructions and using that instead of the -msave-restore option. I don't know if anyone has tried this yet, but it would be an interesting experiment that might result in smaller code size. Jim

Re: riscv64 dep. computation

2019-02-15 Thread Jim Wilson
As global pointers they may still alias. Jim

Re: riscv64 dep. computation

2019-02-14 Thread Jim Wilson
nger alias each other, and the compiler will schedule all of the loads first, even for char. Jim

Re: Replacing DejaGNU

2019-01-14 Thread Jim Wilson
ing qmtest, but I don't know the current status. I do see that there is still a qmtest-g++ makefile rule for running the G++ testsuite via qmtest though. You could try that and see if it still works. There is so much stuff that depends on dejagnu that replacing it will be difficult. Jim

Re: how to build and test uClinux toolchains

2018-10-16 Thread Jim Wilson
t have obvious patches to enable them. Jim

Re: Cannot compile using cc1.

2018-10-08 Thread Jim Wilson
gcc/xgcc -B../stage1-build/gcc/ -v test.c" and looking at the cc1 line will show you the options you need to pass to cc1 to make it work. Jim

Re: section attribute of compound literals

2018-09-14 Thread Jim Wilson
[] __stuffdata key_value = ... ... .key = key_value Jim

Re: section attribute of compound literals

2018-09-13 Thread Jim Wilson
mbols, but is a potential solution to your problem. Jim

Re: Error from dwarf2cfi.c in gcc vers 7.2.0

2018-08-13 Thread Jim Wilson
elated regnotes too. If this is not an epilogue register restore instruction, then you need to figure out why it was marked as frame related, and figure out what should have been done instead. Jim

Re: gcov questions

2018-08-09 Thread Jim Wilson
ilable. There may be better references available now, as these techniques are pretty widely known nowadays Jim

Re: decrement_and_branch_until_zero pattern

2018-06-08 Thread Jim Wilson
d_branch_until_zero, since I think the same rule applies that they only get generated if the doloop_end pattern exists. Jim

Re: decrement_and_branch_until_zero pattern

2018-06-08 Thread Jim Wilson
terns instead, and the doc references should be dropped. Jim

Re: RISC-V ELF multilibs

2018-05-31 Thread Jim Wilson
work) you could put it on a branch, and mention the branch name as unfinished work in a bug report. Jim

Re: RISC-V problem with weak function references and -mcmodel=medany

2018-05-29 Thread Jim Wilson
ve a look at: > https://sourceware.org/bugzilla/show_bug.cgi?id=23244 > https://sourceware.org/ml/binutils/2018-05/msg00296.html OK. I'm still catching up on mailing lists after the US holiday weekend. Jim

Re: RISC-V problem with weak function references and -mcmodel=medany

2018-05-29 Thread Jim Wilson
doesn't seem to be triggering for this testcase. Jim

Re: RISC-V problem with weak function references and -mcmodel=medany

2018-05-29 Thread Jim Wilson
_info (foo); return 0; } and compiling with -mcmodel=medany -O -Ttext=0x8000, I get 8158: 8097auipc ra,0x8 815c: ea8080e7jalr-344(ra) # 0 <_start-0x8000> for the weak call. It isn't clear what you are doing differently. Jim

Re: RISC-V ELF multilibs

2018-05-29 Thread Jim Wilson
uld consider it. You can of course define your own set of multilibs. Jim

Re: GCC 8.1 Released

2018-05-02 Thread Jim Wilson
On 05/02/2018 10:21 AM, Damian Rouson wrote: Could someone please point me to instructions for how to submit a change to the gfortran changes list?  I’d like to add the following bullet: See also https://gcc.gnu.org/contribute.html#webchanges Jim

Re: GCC changes for Fedora + riscv64

2018-04-09 Thread Jim Wilson
former and another person doing another port choosing the latter. Those are all of the Linux specific ones I can remember at the moment. I might have missed some. Jim

Re: Copyright assignment form

2018-01-16 Thread Jim Wilson
me you contribute a patch. Jim

Re: Copyright assignment form

2018-01-16 Thread Jim Wilson
h can help you with this as the rules for gcc are the same as for glibc. Jim

Re: Fwd: gcc 7.2.0 error: no include path in which to search for stdc-predef.h

2017-12-05 Thread Jim Wilson
x target. If you want to use musl, you must include musl in the target triplet that you configure for. See the gcc/config.gcc file, and look at the places where it checks the target triplet for musl to enable musl support. Jim

Re: gcc 7.2.0 error: no include path in which to search for stdc-predef.h

2017-11-27 Thread Jim Wilson
o configure gcc is something like mkdir build cd build ../gcc/configure Jim

Re: [net-next:master 488/665] verifier.c:undefined reference to `__multi3'

2017-11-13 Thread Jim Wilson
his is now https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82981 I found a helpful thread at https://www.linux-mips.org/archives/linux-mips/2017-08/msg00041.html that had enough info for me to reproduce and file the bug report. Jim

Re: [PATCH] RISC-V: Add Jim Wilson as a maintainer

2017-11-07 Thread Jim Wilson
On Mon, Nov 6, 2017 at 6:39 PM, Palmer Dabbelt wrote: > > +riscv port Jim Wilson > > It is jimw not jim for the email address. Please fix. Jim

Re: -ffunction-sections and -fdata-sections documentation

2017-10-13 Thread Jim Wilson
ing unused functions. Do these options affect the code generation? Jeff answered this. Jim

Re: Byte swapping support

2017-09-13 Thread Jim Wilson
e time to document them all, or even remember them all. Personally, I think you are better off trying to fix the application to make it more portable. Fixing the compiler is not a magic solution to the problem that is any easier than fixing the application. Jim

Re: layout of __attribute__((packed)) vs. #pragma pack

2017-08-04 Thread Jim Wilson
e, e.g. you can add some code to verify that type sizes are what you expect at compile-time. Jim

Re: libatomic IFUNC question (arm & libat_have_strexbhd)

2017-06-07 Thread Jim Wilson
ever fully fleshed out. See for instance the libatomic/config/x86/init.c file. Finishing this means someone has to figure out how to use the arm cpuid equivalent to set the two variables appropriately. Jim

Re: Getting spurious FAILS in testsuite?

2017-06-05 Thread Jim Wilson
. See for instance the thread https://gcc.gnu.org/ml/gcc/2016-07/msg00117.html The first message in the thread from Andrew Pinski mentions that the log output is corrupted from apparent buffer overflow. Jim

Re: FW: Build failed in Jenkins: BuildThunderX_native_gcc_upstream #1267

2017-03-17 Thread Jim Wilson
On 03/17/2017 04:12 PM, Jim Wilson wrote: I have access to a fast box that isn't otherwise in use at the moment so I'm taking a look. r246225 builds OK. r246226 does not. So it is Bernd's combine patch. A little experimenting shows that the compare difference is triggere

Re: FW: Build failed in Jenkins: BuildThunderX_native_gcc_upstream #1267

2017-03-17 Thread Jim Wilson
stage3. Otherwise stage2 and stage3 generate identical code. The bug is apparently due to a problem with handling debug insns in the combine patch. Jim

Re: GNU Toolchain Fund established at the Free Software Foundation

2017-03-10 Thread Jim Wilson
, system administration, backups, and updating the websites. There was also a suggestion of funding travel for speakers at the GNU Cauldron, for people who might not be able to afford the travel otherwise. Jim

Re: Adoption of C subset standards

2017-01-10 Thread Jim MacArthur
Thank you everyone who replied to this; all of the points raised are very reasonable so I won't reply individually. I'll feed this information back to our standards group.

Adoption of C subset standards

2017-01-09 Thread Jim MacArthur
would provide patches for the tests. One of the reasons for asking is that we'd like to remove any barriers to adoption of our new standard by GCC; in particular, trying to determine if the new standard not being LGPL or similar would be a problem. Thanks for any advice you can o

Re: Do we really need a CPP manual?

2016-12-16 Thread Jim Wilson
write still in progress. I pointed out all of the obvious stuff, features dropped long ago, references to out-of-date standards, missing ISO C 2011 features, etc. Jim

Re: LSDA unwind information is off by one (in __gcc_personality_v0)

2016-10-20 Thread Jim Wilson
ly caused when libgcc was moved out of the gcc dir and into its own top level dir. I think this warrants a gcc bug report. Jim

Re: Replacement for the .stabs directive

2016-08-24 Thread Jim Wilson
or maybe unique within its scope if function local. If the name was unique, you probably wouldn't have used the ugly stabs trick in the first place, so this might not work. If the symbol names aren't unique, maybe you can change the code to make them unique? Using an equivalence gives th

Re: Supporting subreg style patterns

2016-08-17 Thread Jim Wilson
rns in the aarch64.md file, and the aarch64_get_lane* patterns in the aarch64-simd.md file. Jim

Re: Change the arrch64 abi ...(Custom /Specific change)

2016-04-05 Thread Jim Wilson
one more question ,i do have defined the TARGET_PROMOTE_FUNCTION_MODE > (arm.c) and cross compilling for aarch64 ,but still gcc calls > default_promote_function_node i.e Add it to aarch64.c instead of arm.c. arm.c is for 32-bit arm code. aarch64.c is for 64-bit arm code. Jim

Re: Change the arrch64 abi ...(Custom /Specific change)

2016-04-04 Thread Jim Wilson
compiled with other compilers (e.g. LLVM), because changing TARGET_PROMOTE_FUNCTION_MODE can cause ABI changes. You may need to check that also. Jim

Re: extendqihi2 and GCC RTL type system

2016-02-22 Thread Jim Wilson
ge code base using two compilers, one with extendqihi2 and one without, and check to see if there are any code generation differences. Jim

Re: [RFC PR43721] Optimize a/b and a%b to single divmod call

2016-01-31 Thread Jim Wilson
e in a define_expand. Though we could have expand_twoval_binop implement the libgcc udivmoddi4 API which requires a stack temp, and then add an ARM divmod expander that implements the ARM API which has a double-wide result. That sounds like it could work. Jim

Re: [RFC PR43721] Optimize a/b and a%b to single divmod call

2016-01-31 Thread Jim Wilson
On Sun, Jan 31, 2016 at 8:43 PM, Jim Wilson wrote: >> Are we certain that the libcall is a win for any target? >> I would have expected a default of >> q = x / y >> r = x - (q * y) >> to be most efficient on modern machines. Even more so on targets

Re: [RFC PR43721] Optimize a/b and a%b to single divmod call

2016-01-31 Thread Jim Wilson
On Sun, Jan 31, 2016 at 2:15 PM, Richard Henderson wrote: > On 01/29/2016 12:37 AM, Richard Biener wrote: >>> >>> To workaround this, I defined a new hook expand_divmod_libfunc, which >>> targets must override for expanding call to target-specific dimovd. >>> The "default" hook default_expand_divm

Re: [RFC PR43721] Optimize a/b and a%b to single divmod call

2016-01-28 Thread Jim Wilson
h div and mod results, then calling the divmod libfunc is faster than calling both the div and mod libfuncs. Jim

Re: vectorization ICE for aarch64/armhf on SPEC2006 h264ref

2016-01-12 Thread Jim Wilson
On Tue, Jan 12, 2016 at 2:22 PM, Jim Wilson wrote: > I see a number of places in tree-vect-generic.c that add a > VIEW_CONVERT_EXPR if useless_type_convertsion_p is false. That should > work, except when I try this, I see that the VIEW_CONVERT_EXPR gets > converted to a

vectorization ICE for aarch64/armhf on SPEC2006 h264ref

2016-01-12 Thread Jim Wilson
ONVERSION instead of STRIP_NOPS? That seems to work, but I don't know if that will have cascading effects. Or maybe verify_gimple should allow bools and ints to mix in a constructor? That doesn't seem like the right solution to me. Jim

Re: reload question about unmet constraints

2015-09-15 Thread Jim Wilson
On Tue, Sep 15, 2015 at 8:53 AM, Ulrich Weigand wrote: > Jim Wilson wrote: > In that case, you might be able to fix the bug by splitting the > offending insns into two patterns, one only handling near mems > and one handling one far mems, where the near/far-ness of the mem > is

Re: reload question about unmet constraints

2015-09-15 Thread Jim Wilson
ity testing here, besides the question of whether the address can be reloaded, there is the question of whether it is in the right address space. Though I don't think the rl78 is actually using address spaces, and it isn't clear if that would help. Jim

Re: reload question about unmet constraints

2015-09-14 Thread Jim Wilson
d at the end, that is used to generate the constraint_reloadable_to_match_p function. Otherwise, I think you are headed in the right direction. I would worry a bit about whether we are making reload even more complicated for folks. But given that we already have the concept of address spaces, there should be some way to expose this info to reload. Jim

Re: reload question about unmet constraints

2015-09-01 Thread Jim Wilson
ant offmemok set. Without offmemok set, it should get reloaded into a register, as reload will use the v constraint instead. Jim

Re: reload question about unmet constraints

2015-09-01 Thread Jim Wilson
epts mem, and we have a mem operand, then it will always assume that the problem is with the address and reload it. I don't think that there is an easy solution to this, but my reload skills are a bit rusty too. Jim

Re: fake/abnormal/eh edge question

2015-08-27 Thread Jim Wilson
at you need to do something similar in the mips.md file to prevent these instructions from being deleted by the peephole2 pass. Jim

Re: Controlling instruction alternative selection

2015-08-03 Thread Jim Wilson
ight help. You should try defining this to return true for the 'R' class if it doesn't already. Jim

Re: RETURN_ADDRESS_POINTER_REGNUM Macro

2015-07-24 Thread Jim Wilson
is no performance or correctness issue here. Jim

Re: How to express this complicated constraint in md file

2015-07-16 Thread Jim Wilson
ian instead of big word endian. You might need extra setup instructions to create the register pair first. Create a DI temp for the output, move the inputs into the high/low word of the DI temp, and then you can do the multiply on the DI tmep. Jim

Re: configure.{in -> ac} rename (commit 35eafcc71b) broke in-tree binutils building of gcc

2015-07-14 Thread Jim Wilson
ake this work. If you do still like combined trees, then I'd suggest putting binutils and gcc into the same dir, instead of placing binutils into gcc, and then add a simple Makefile that will configure, build and install binutils and then likewise for gcc. Jim

Re: configure.{in -> ac} rename (commit 35eafcc71b) broke in-tree binutils building of gcc

2015-07-14 Thread Jim Wilson
nymore. That is an anachronism from the old Cygnus days. I still find it useful to drop newlib into gcc so it can be built like the other gcc libs, but otherwise I wouldn't recommend combining anything. Jim

Re: Question about find modifiable mems

2015-06-03 Thread Jim Wilson
and this message contains a brief explanation of what it is supposed to do. The explanation looks like a useful optimization, but perhaps it is triggering in cases when it shouldn't. Jim

Re: [RFC] Kernel livepatching support in GCC

2015-05-28 Thread Jim Wilson
, then maybe the darwin/rs6000 -mfix-and-continue support can be merged with it somehow. Jim

Re: Is there a way to adjust alignment of DImode and DFmode?

2015-05-21 Thread Jim Wilson
adjust alignment > of DImode and DFmode via ADJUST_ALIGNMENT? I see that i386-modes.def already uses ADJUST_ALIGNMENT to change the alignment of XFmode to 4 for ilp32 code. ADJUST_ALIGNMENT should work the same for DImode and DFmode. Did you run into a problem when you tried it? Jim

Re: ldm/stm bus error

2015-05-18 Thread Jim Wilson
you may be able to find the patch simply by looking at what gcc-4.9 is doing differently than gcc-4.7, and mapping that back to a ChangeLog entry and a patch. Jim

Re: Question about macro _GLIBCXX_RES_LIMITS in libstdc++ testsuite

2015-05-17 Thread Jim Wilson
ux target. For a cross to a bare metal target, it should be OK to run the tests, they will just fail and disable the macros. Someone just needs write the patches to make it work and test it. You could try submitting a bug report if you haven't already done so. Jim

Re: [OR1K port] where do I change the function frame structure

2015-05-06 Thread Jim Wilson
the caller, I see that the or1k port already sets ACCUMULATE_OUTGOING_ARGS, so there should be no stack pointer inc/dec around a call. Only in the prologue/epilogue. Jim

Re: Build oddity (Mode = sf\|df messages in output)

2015-05-02 Thread Jim Wilson
. fixsfsi and adddf3. Jim

lrzip: extreme compression (but beware its slow decompression speed)

2012-03-30 Thread Jim Meyering
In case you're evaluating what compression programs to use... This started off as a comparison of xz and lzip, but then I added lzrip to the mix. Sometimes it's useful to have an idea of how far from "ideal" a compression program is. I'm not claiming to have the answer, but merely sharing my sur

Re: [PATCH 1/3] colorize: use isatty module

2012-01-03 Thread Jim Meyering
Paolo Bonzini wrote: > On 01/03/2012 09:48 AM, Jim Meyering wrote: >> Paolo Bonzini wrote: >> >>> * bootstrap.conf: Add isatty module. >>> * gnulib: Update to latest. >>> * lib/colorize.h: Remove argument from should_colorize. >>> * lib/ms/colo

Re: Possible wrong-way example in gcc4-4-2 documentation of __builtin_expect

2011-12-20 Thread Jim Avera
Ok, here is a patch which improves the example: --- gcc/doc/extend.texi.ORIG    2011-12-20 17:35:32.236578828 -0800 +++ gcc/doc/extend.texi    2011-12-20 17:37:10.460583316 -0800 @@ -7932,7 +7932,7 @@    @smallexample  if (__builtin_expect (ptr != NULL, 1)) -  error (); +  ptr->do_something();  @e

Possible wrong-way example in gcc4-4-2 documentation of __builtin_expect

2011-12-19 Thread Jim Avera
== NULL, 0)) error (); Apologies if I'm not reading this correctly. -Jim

Re: [PATCH v3] Re: avoid useless if-before-free tests

2011-04-15 Thread Jim Meyering
> I added Jim to the gcc group. Thanks, Tom.

Re: [PATCH v3] Re: avoid useless if-before-free tests

2011-04-15 Thread Jim Meyering
Janne Blomqvist wrote: > On Fri, Apr 15, 2011 at 10:54, Jim Meyering wrote: >> Janne Blomqvist wrote: >> >>> On Thu, Mar 24, 2011 at 18:51, Jim Meyering wrote: >>>> Janne Blomqvist wrote: >>>>> On Tue, Mar 8, 2011 at 19:53, Jim Meyering wro

  1   2   3   4   >