[PATCH] print extended assertion failures to stderr

2021-10-27 Thread Jay Feldblum via Gcc-patches
From: yfeldblum The stdout stream is reserved for output intentionally produced by the application. Assertion failures and other forms of logging must be emitted to stderr, not to stdout. It is common for testing and monitoring infrastructure to scan stderr for errors, such as for assertion

Re: Optimisation of std::binary_search of the header

2017-05-31 Thread jay pokarna
and the std::binary_search? Thanks, Jay Pokarna On Wed, May 31, 2017 at 3:50 AM, Mike Stump <mikest...@comcast.net> wrote: > On May 29, 2017, at 1:05 AM, jay pokarna <jay.pokarn...@gmail.com> wrote: >> >> Could you give me the contact of the standard committee?

Re: Optimisation of std::binary_search of the header

2017-05-29 Thread jay pokarna
Respected Sir, Could you give me the contact of the standard committee which handles changes to the c++ standard. Regards, Jay Pokarna On Mon, May 29, 2017 at 2:17 PM, Tim Shen <tims...@google.com> wrote: > On Mon, May 29, 2017 at 1:05 AM, jay pokarna &l

Re: Optimisation of std::binary_search of the header

2017-05-29 Thread jay pokarna
? Regards, Jay Pokarna On Mon, May 29, 2017 at 1:13 PM, Tim Song <t.canens@gmail.com> wrote: > I'm not sure if you forgot to CC the lists or intended to direct the > email to me alone. > > On Mon, May 29, 2017 at 2:41 AM, jay pokarna <jay.pokarn...@gmail.com> wrote:

Optimisation of std::binary_search of the header

2017-05-28 Thread jay pokarna
Hey, I am Jay. I have written code for an optimised version of the binary_search algorithm of the algorithm header file of the standard template library. I have implemented it for the integer data type, but it can be implemented for any other data type without any changes in the algorithm

Re: Fwd: libcpp/C FE source range patch committed (r230331).

2015-11-24 Thread Jay Foad
On 24 November 2015 at 11:34, Marek Polacek <pola...@redhat.com> wrote: > On Tue, Nov 24, 2015 at 11:24:38AM +, Jay Foad wrote: >> r230331 also seems to be causing this on x86_64-pc-linux-gnu: >> >> $ cat x.c >> #define P(b) b&&4 >> int a[]=0; &

Fwd: libcpp/C FE source range patch committed (r230331).

2015-11-24 Thread Jay Foad
x86_64-pc-linux-gnu: $ cat x.c #define P(b) b&&4 int a[]=0; int f() { X||P(d); } $ ~/gcc/build/gcc/cc1 -quiet -Wall x.c [...] x.c:3:1: internal compiler error: in contains_point, at diagnostic-show-locus.c:335 int f() { X||P(d); } ^~~ 0x1268fc9 contains_point /home/jay/svn/gcc/trunk/gcc/

Re: [RFC 0/6] Flags outputs for asms

2015-05-08 Thread Jay Foad
On 8 May 2015 at 16:23, Richard Henderson r...@redhat.com wrote: Yes, the i386 backend has not implemented conditional sibcalls. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60159 Jay.

Re: [PATCH] Make IPA-CP propagate alignment information of pointers

2014-12-05 Thread Jay Foad
On 3 December 2014 at 14:36, Martin Jambor mjam...@suse.cz wrote: On Wed, Dec 03, 2014 at 10:53:54AM +, Jay Foad wrote: Index: src/gcc/ipa-prop.h === --- src.orig/gcc/ipa-prop.h +++ src/gcc/ipa-prop.h @@ -144,6 +144,17

Re: [PATCH] Make IPA-CP propagate alignment information of pointers

2014-12-03 Thread Jay Foad
Index: src/gcc/ipa-cp.c === --- src.orig/gcc/ipa-cp.c +++ src/gcc/ipa-cp.c @@ -262,6 +262,9 @@ public: ipcp_latticeipa_polymorphic_call_context ctxlat; /* Lattices describing aggregate parts. */ ipcp_agg_lattice

Re: [gofrontend-dev] Re: [PATCH 00/13] Go closures, libffi, and the static chain

2014-11-07 Thread Jay
not replaceable is more important. - Jay On Nov 6, 2014, at 11:38 PM, Richard Henderson r...@redhat.com wrote: On 11/06/2014 06:45 PM, Ian Taylor wrote: On Thu, Nov 6, 2014 at 5:04 AM, Richard Henderson r...@redhat.com wrote: That said, this *may* not actually be a problem. It's not the direct

Re: [PATCH, libffi, alpha]: Use FFI_ASSERT in ffi_closure_osf_inner

2014-09-20 Thread Jay
problems, particularly on sparc64, passing them as parameters. Is that what is being used here? Maybe best to add some members to achieve equivalent size/alignment? - Jay

Re: [RFC][ARM] TARGET_ATOMIC_ASSIGN_EXPAND_FENV hook

2014-06-23 Thread Jay Foad
. Jay.

Re: [PATCH, PowerPC] Fix PR57949 (ABI alignment issue)

2013-09-11 Thread Jay
Isn't mixing and matching and mismatching somewhat inevitable? Libffi gcc don't always come along with each other? One must never change the ABI? - Jay On Sep 11, 2013, at 5:55 AM, Bill Schmidt wschm...@linux.vnet.ibm.com wrote: On Wed, 2013-09-11 at 21:08 +0930, Alan Modra wrote: On Wed

Re: [PATCH] Do not mark pseudo-copies decomposable during first lower-subreg pass

2013-08-22 Thread Jay Foad
decompose_multiword_subregs with DECOMPOSE_COPIES true. This patch seems to have caused a slight regression in ARM register allocation: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58166 Jay.

Re: VxWorks Patches Back from the Dead!

2012-08-23 Thread Jay Foad
) (int)(arg), surely. Jay.

Re: [PATCH][RFC] Move TREE_VEC length and SSA_NAME version into tree_base

2012-08-21 Thread Jay Foad
these fields. See the accessor macros, defined below, for documentation of the !fields, and the table below which connects the fileds and the !accessor macros. */ Typo fileds. Jay.

RE: long long availability in host compiler (Re: constant that doesn't fit in 32bits in alpha.c)

2012-06-15 Thread Jay K
.) Heck, one could even automate this like how there is a multi-pass bootstrap, adding earlier stages that go via e.g. gcc 3.3. The earlier compiler stages could be stripped down, e.g. no optimizer, no debug info output, no LTO.  - Jay

FW: long long availability in host compiler (Re: constant that doesn't fit in 32bits in alpha.c)

2012-06-15 Thread Jay K
/offsets. I need to go read the document.. - Jay

RE: constant that doesn't fit in 32bits in alpha.c

2012-06-11 Thread Jay K
Thank you. I like it. May I have another? book2:gcc jay$ grep -i epoch vms* vmsdbgout.c:/* Difference in seconds between the VMS Epoch and the Unix Epoch */ vmsdbgout.c:static const long long vms_epoch_offset = 3506716800ll; vmsdbgout.c:#define VMS_EPOCH_OFFSET 350671680 vmsdbgout.c

Re: Turn check macros into functions. (issue6188088)

2012-05-18 Thread Jay Foad
to the original gdb issue: it does not understand statement expressions. What's wrong with: (check_in_cxx(t), t) ? Jay.

Re: [PATCH] Support for known unknown alignment

2012-04-23 Thread Jay Foad
; // or some suitably large power of two pi-misalign = val-value; Jay.

Re: [PATCH] Support for known unknown alignment

2012-04-20 Thread Jay Foad
a valid conservative thing to return. If there is a difference, the comment should explain what it means. Thanks, Jay.

Re: [PATCH] Extend VRP BIT_IOR_EXPR to handle sign-bit

2011-08-09 Thread Jay Foad
On 9 August 2011 13:23, Richard Guenther rguent...@suse.de wrote: 2011-08-08  Richard Guenther  rguent...@suse.de        * tree-vrp.c (zero_nonzero_bits_from_vr): Also return precise        information for with only negative values. for *ranges* with ? Jay.

Re: RFA: Fix bogus mode in choose_reload_regs

2011-07-07 Thread Jay Foad
On 7 July 2011 09:09, Richard Sandiford richard.sandif...@linaro.org wrote: gcc/        * reload1.c (choose_reload_regs): Use mode sizes to check whether        an old relaod register completely defines the required value. s/relaod/reload/ Jay.

Re: [PATCH][RFC][1/2] Bitfield lowering, add BIT_FIELD_EXPR

2011-06-16 Thread Jay Foad
BIT_FIELD_EXPR a, b, C1, C2 is equivalent to computing a ~((1 C1 - 1) C2) | ((b C2) (1 C1 = 1)), a ~(((1 C1) - 1) C2) | ((b ((1 C1) - 1)) C2) ? Jay. thus inserting b of width C1 at the bitfield position C2 in a, returning the new value.  This allows translating  BIT_FIELD_REF

Re: [PATCH][1/n][C] Do not sign-extend sizetypes

2011-04-11 Thread Jay Foad
On 11 April 2011 15:25, Richard Guenther rguent...@suse.de wrote: !   set_min_and_max_values_for_integral_type (t, precision, !                                           /*is_unsinged=*/true); s/ng/gn/ Jay.