Re: Minor cleanup to cp/decl.cc

2024-11-14 Thread Jason Merrill
On 11/14/24 4:04 PM, Jan Hubicka wrote: Hi, this patch refactors slightly cp/decl.cc so code producing new and delete operators is not duplicated multiple times. I also broke out cxx_init_operator_new_delete_decls which I originally inteded to use for builtion_operator_new/delete which is solved

Minor cleanup to cp/decl.cc

2024-11-14 Thread Jan Hubicka
Hi, this patch refactors slightly cp/decl.cc so code producing new and delete operators is not duplicated multiple times. I also broke out cxx_init_operator_new_delete_decls which I originally inteded to use for builtion_operator_new/delete which is solved better by Jakub's patch, but it seems to

Re: OpenMP: Fix omp_get_device_from_uid, minor cleanup

2024-09-23 Thread Tobias Burnus
Now committed as r15-3799-gcdb9aa0f623ec7 / https://gcc.gnu.org/r15-3799-gcdb9aa0f623ec7 Tobias Am 21.09.24 um 01:33 schrieb Tobias Burnus: Hi Thomas, hello all, the attached follow-up patch does: * It fixes an issue (thinko) related to Fortran and \0 terminated,   which fails for at least s

OpenMP: Fix omp_get_device_from_uid, minor cleanup (was: Re: [Patch][v2] OpenMP: Add get_device_from_uid/omp_get_uid_from_device routines)

2024-09-20 Thread Tobias Burnus
e a fallback, if needed. I now added a "return NULL" which clashes a bit with the topic of caching in the plugin as now the OMP_DEV_%d string also needs to be cached, but on the libgomp.so side. * * * + sprintf (str, "GPU-%02x" "%02x" "%02x" "%02x

[PATCH 003/125] gccrs: minor cleanup in langhook.type_for_mode

2024-08-01 Thread Arthur Cohen
From: Marc Poulhiès gcc/rust/ChangeLog: * rust-lang.cc (grs_langhook_type_for_mode): simplify code for xImode. Add missing long_double_type_node. Signed-off-by: Marc Poulhiès --- gcc/rust/rust-lang.cc | 39 +++ 1 file changed, 15 insertions(

[to-be-committed] [RISC-V] [PATCH V2] Minor cleanup/improvement to bset/binv patterns

2024-06-19 Thread Jeff Law
Changes since V1: Whitespace fixes noted by the linter Missed using the iterator for the output template in _mask pattern! -- This patch introduces a bit_optab iterator that maps IOR/XOR to bset and binv (and one day bclr if we need it). That allows us to combine some patterns that onl

Re: [to-be-committed] [RISC-V] Minor cleanup/improvement to bset/binv patterns

2024-06-18 Thread Maciej W. Rozycki
On Tue, 18 Jun 2024, Jeff Law wrote: > This has gone through my tester. I'll wait for a verdict from pre-commit CI > before moving forward. Why do these "[to-be-committed]" annotations end up in the repository though? It does not appear to me to be useful information to be stored there forev

[to-be-committed] [RISC-V] Minor cleanup/improvement to bset/binv patterns

2024-06-18 Thread Jeff Law
This patch introduces a bit_optab iterator that maps IOR/XOR to bset and binv (and one day bclr if we need it). That allows us to combine some patterns that only differed in the RTL opcode (IOR vs XOR) and in the name/assembly (bset vs binv). Additionally this also allow us to use the iterato

[COMMITED v4] mklog: handle Signed-off-by, minor cleanup

2023-09-04 Thread Marc Poulhiès via Gcc-patches
Consider Signed-off-by lines as part of the ending of the initial commit to avoid having these in the middle of the log when the changelog part is injected after. This is particularly usefull with: $ git gcc-commit-mklog --amend -s that can be used to create the changelog and add the Signed-off

Re: [PATCH v3] mklog: handle Signed-off-by, minor cleanup

2023-09-04 Thread Marc via Gcc-patches
Richard Sandiford writes: >> +# this regex matches the first line of the "end" in the initial commit >> message >> +FIRST_LINE_OF_END_RE = re.compile('(?i)^(signed-off-by:|co-authored-by:|#) >> ') > > Personally I think it would be safer to drop the final space in the regexp. > > OK with that

Re: [PATCH v3] mklog: handle Signed-off-by, minor cleanup

2023-09-04 Thread Richard Sandiford via Gcc-patches
Marc Poulhiès via Gcc-patches writes: > Richard Sandiford via Gcc-patches writes: >>> +# this regex matches the first line of the "end" in the initial commit >>> message >>> +FIRST_LINE_OF_END_RE = re.compile('(?i)^(signed-off-by|co-authored-by|#): >>> ') >> >> The current code only requires an

[PATCH v3] mklog: handle Signed-off-by, minor cleanup

2023-09-03 Thread Marc Poulhiès via Gcc-patches
Richard Sandiford via Gcc-patches writes: >> +# this regex matches the first line of the "end" in the initial commit >> message >> +FIRST_LINE_OF_END_RE = re.compile('(?i)^(signed-off-by|co-authored-by|#): ') > > The current code only requires an initial "#", rather than an initial "#: ". > Is th

Re: [PATCH v2] mklog: handle Signed-Off-By, minor cleanup

2023-08-21 Thread Richard Sandiford via Gcc-patches
Marc Poulhiès via Gcc-patches writes: > Consider Signed-Off-By lines as part of the ending of the initial > commit to avoid having these in the middle of the log when the > changelog part is injected after. > > This is particularly usefull with: > > $ git gcc-commit-mklog --amend -s > > that can

[PATCH v3] mklog: handle Signed-off-by, minor cleanup

2023-08-02 Thread Marc Poulhiès via Gcc-patches
Consider Signed-off-by lines as part of the ending of the initial commit to avoid having these in the middle of the log when the changelog part is injected after. This is particularly usefull with: $ git gcc-commit-mklog --amend -s that can be used to create the changelog and add the Signed-off

[PATCH v2] mklog: handle Signed-Off-By, minor cleanup

2023-07-21 Thread Marc Poulhiès via Gcc-patches
Consider Signed-Off-By lines as part of the ending of the initial commit to avoid having these in the middle of the log when the changelog part is injected after. This is particularly usefull with: $ git gcc-commit-mklog --amend -s that can be used to create the changelog and add the Signed-Off

[PATCH] mklog: handle Signed-Off-By, minor cleanup

2023-07-07 Thread Marc Poulhiès via Gcc-patches
Consider Signed-off-by lines as part of the ending of the initial commit to avoid having these in the middle of the log when the changelog part is injected after. This is particularly usefull with: $ git gcc-commit-mklog --amend -s that can be used to create the changelog and add the Signed-Off

Re: [committed] Minor cleanup/prep in DOM

2022-09-30 Thread Jeff Law
On 9/30/22 18:07, H.J. Lu wrote: On Fri, Sep 30, 2022 at 4:06 PM Jeff Law wrote: It's a bit weird that free_dom_edge_info leaves a dangling pointer in e->aux. Not sure what I was thinking. There's two callers. One wipes e->aux immediately after the call, the other attaches a newly created

Re: [committed] Minor cleanup/prep in DOM

2022-09-30 Thread H.J. Lu via Gcc-patches
On Fri, Sep 30, 2022 at 4:06 PM Jeff Law wrote: > > > It's a bit weird that free_dom_edge_info leaves a dangling pointer in > e->aux. Not sure what I was thinking. > > > There's two callers. One wipes e->aux immediately after the call, the > other attaches a newly created object immediately afte

[committed] Minor cleanup/prep in DOM

2022-09-30 Thread Jeff Law
n't currently exist for a given edge. Bootstrapped and regression tested on x86_64.  Installing on the trunk. Jeff commit fbd95c027edcc169cc3b40806375fbabc08500e0 Author: Jeff Law Date: Fri Sep 30 18:59:24 2022 -0400 Minor cleanup/prep in DOM It's a bit weird tha

Re: [committed] libgomp.fortran/allocate-1.f90: Minor cleanup (was: Re: [PATCH] [gfortran] Add support for allocate clause (OpenMP 5.0).)

2022-02-04 Thread Tobias Burnus
esellschaft: München; Registergericht München, HRB 106955 commit f62156eab7b757d1ee03a11d5c96c72bd3de079c Author: Tobias Burnus Date: Fri Feb 4 17:31:21 2022 +0100 libgomp.fortran/allocate-1.f90: Fix minor cleanup libgomp/ChangeLog: * testsuite/libgomp.fortran/allocate-1.

Re: [committed] libgomp.fortran/allocate-1.f90: Minor cleanup (was: Re: [PATCH] [gfortran] Add support for allocate clause (OpenMP 5.0).)

2022-02-04 Thread Thomas Schwinge
have now _finally_ committed the patch. > > Attached is the simplified (-w) diff, where I did exclude the > indentation changes to make the diff more readable. > > For the full diff, see e.g. https://gcc.gnu.org/r12-7053 > > Tobias > commit 6d4981350168f1eb3f72149bd7e05b

[committed] libgomp.fortran/allocate-1.f90: Minor cleanup (was: Re: [PATCH] [gfortran] Add support for allocate clause (OpenMP 5.0).)

2022-02-04 Thread Tobias Burnus
; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 commit 6d4981350168f1eb3f72149bd7e05b9ba6bec1fd Author: Tobias Burnus Date: Fri Feb 4 14:51:01 2022 +0100 libgomp.fortran/allocate-1.f90: Minor cleanup

[Ada] Minor cleanup in translation of calls to subprograms

2021-11-10 Thread Pierre-Marie de Rodat via Gcc-patches
This gets rid of the DECL_STUBBED_P macro and adjusts Call_to_gnu. Tested on x86_64-pc-linux-gnu, committed on trunk gcc/ada/ * gcc-interface/ada-tree.h (DECL_STUBBED_P): Delete. * gcc-interface/decl.c (gnat_to_gnu_entity): Do not set it. * gcc-interface/trans.c (Call_to_

Re: [Patch] libgomp/target.c: Minor cleanup

2020-09-10 Thread Tobias Burnus
On 9/10/20 11:22 AM, Jakub Jelinek wrote: But it is not mapnum > 0 here but mapnum >1 Error: need more coffee (well, tea) Thanks for both the reasoning and catching this oversight of mine. Tobias - Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany

Re: [Patch] libgomp/target.c: Minor cleanup

2020-09-10 Thread Jakub Jelinek via Gcc-patches
On Thu, Sep 10, 2020 at 11:17:34AM +0200, Tobias Burnus wrote: > Hi Jakub, hello all, > > when looking at target.c, I stumbled over that code: > size_t mapnum → unsigned > if (mapnum == 0) > ... > return; > > if (mapnum > 0 || ) > ... But it is not mapnum > 0 here but mapn

[Patch] libgomp/target.c: Minor cleanup

2020-09-10 Thread Tobias Burnus
d the if-body unconditionally, removing some now pointless assignments. OK? Tobias - Mentor Graphics (Deutschland) GmbH, Arnulfstraße 201, 80634 München / Germany Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Alexander Walter libgomp/target.c: Minor cleanup libg

[Ada] Minor cleanup in Expand_Call_Helper

2020-06-18 Thread Pierre-Marie de Rodat
This makes a couple of changes in the code dealing with a call to a derived subprogram: first, it removes useless calls to Relocate_Node before calls to OK_Convert_To and Unchecked_Convert_To (these functions already call Relocate_Node on their second operand) and merge calls to Analyze and Resolve

Re: [RFA] Minor cleanup to VRP/EVRP handling of deferred edge/switch optimization

2018-09-20 Thread Jeff Law
On 9/20/18 6:51 AM, Richard Biener wrote: > On Mon, Sep 17, 2018 at 4:50 PM Jeff Law wrote: >> >> This is a relatively minor cleanup that I should have caught last cycle, >> but somehow missed. >> >> We have two structures TO_REMOVE_EDGES and TO_UPDATE_SWITCH_S

Re: [RFA] Minor cleanup to VRP/EVRP handling of deferred edge/switch optimization

2018-09-20 Thread Richard Biener
On Mon, Sep 17, 2018 at 4:50 PM Jeff Law wrote: > > This is a relatively minor cleanup that I should have caught last cycle, > but somehow missed. > > We have two structures TO_REMOVE_EDGES and TO_UPDATE_SWITCH_STMTS which > are used by the VRP/EVRP code to record edges to

[RFA] Minor cleanup to VRP/EVRP handling of deferred edge/switch optimization

2018-09-17 Thread Jeff Law
This is a relatively minor cleanup that I should have caught last cycle, but somehow missed. We have two structures TO_REMOVE_EDGES and TO_UPDATE_SWITCH_STMTS which are used by the VRP/EVRP code to record edges to remove and switch statements that need updating. They are currently implemented as

[testsuite] Minor cleanup in gnat.dg/stack_usage* tests

2018-05-31 Thread Eric Botcazou
This replaces the scanning of the -fstack-usage output with -Wstack-usage. Tested on x86-64/Linux, applied on the mainline and 8 branch. 2018-05-31 Eric Botcazou * gnat.dg/stack_usage1.adb: Replace -fstack-usage with -Wstack-usage. * gnat.dg/stack_usage1b.adb: Likewise.

[Ada] Minor cleanup in repinfo unit

2018-05-29 Thread Pierre-Marie de Rodat
This factors out the various cases where a marker for an unknown value is output by the -gnatR switches. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2018-05-29 Eric Botcazou gcc/ada/ * repinfo.adb (Write_Unknown_Val): New procedure. (List_GCC_Exp

[Ada] Minor cleanup in repinfo unit

2018-05-28 Thread Pierre-Marie de Rodat
This removes the Truth_Andif_Expr and Truth_Orif_Expr codes for expressions handled by the repinfo unit, since they are redundant with Truth_And_Expr and Truth_Or_Expr respectively in this context. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2018-05-28 Eric Botcazou

[Ada] Minor cleanup in support machinery for inter-unit inlining

2017-09-06 Thread Arnaud Charlet
The inter-unit inlining done by the compiler requires a dedicated machinery to deal with the public status of library-level entities, since it breaks the private/plublic semantic barrier of the language. This is a minor cleanup to this machinery, no functional changes. Tested on x86_64-pc-linux

[C, committed] Minor cleanup in grokfield

2017-07-25 Thread Marek Polacek
No need to use a dedicated variable if we can use RECORD_OR_UNION_TYPE_P directly and only once. Bootstrapped/regtested on x86_64-linux, applying to trunk. 2017-07-25 Marek Polacek * c-decl.c (grokfield): Remove local variable. diff --git gcc/c/c-decl.c gcc/c/c-decl.c index 50da185e3

Re: [RFA] Minor cleanup to allocate_dynamic_stack_space

2016-05-25 Thread Dominik Vogt
On Fri, May 20, 2016 at 03:23:49PM -0600, Jeff Law wrote: > On 05/19/2016 05:11 PM, Jeff Law wrote: > [ ... ] > >This is a bit of a mess and I think the code > >needs some TLC before we start hacking it up further. > > > >Let's start with clean up of dead code: > > > > /* We will need to ensure tha

Re: [RFA] Minor cleanup to allocate_dynamic_stack_space

2016-05-23 Thread Dominik Vogt
On Fri, May 20, 2016 at 03:23:49PM -0600, Jeff Law wrote: > On 05/19/2016 05:11 PM, Jeff Law wrote: > [ ... ] > >This is a bit of a mess and I think the code > >needs some TLC before we start hacking it up further. > > > >Let's start with clean up of dead code: > > > > /* We will need to ensure tha

Re: [RFA] Minor cleanup to allocate_dynamic_stack_space

2016-05-23 Thread Eric Botcazou
> I pondered that as a direction, but was scared off by the overall > fragility of this code when I looked back through the old BZs. I > figured cleanup preserving existing behavior was the first step. Setting aside the flag_split_stack stuff, the must_align logic is clear enough and quite local

Re: [RFA] Minor cleanup to allocate_dynamic_stack_space

2016-05-20 Thread Jeff Law
On 05/20/2016 03:44 PM, Eric Botcazou wrote: So here's that cleanup. The diffs are larger than one might expect because of the reindentation that needs to happen. So I've included a -b diff variant which shows how little actually changed here. I'm wondering if it isn't counter-productive. Th

Re: [RFA] Minor cleanup to allocate_dynamic_stack_space

2016-05-20 Thread Eric Botcazou
> So here's that cleanup. The diffs are larger than one might expect > because of the reindentation that needs to happen. So I've included a > -b diff variant which shows how little actually changed here. I'm wondering if it isn't counter-productive. The ??? comment is explicit about where the

[RFA] Minor cleanup to allocate_dynamic_stack_space

2016-05-20 Thread Jeff Law
On 05/19/2016 05:11 PM, Jeff Law wrote: [ ... ] This is a bit of a mess and I think the code needs some TLC before we start hacking it up further. Let's start with clean up of dead code: /* We will need to ensure that the address we return is aligned to REQUIRED_ALIGN. If STACK_DYNAMIC_O

[Ada] Minor cleanup 2/2

2016-05-02 Thread Eric Botcazou
This consistently passes NULL_TREE as operand #2 of COMPONENT_REF and #3 of ARRAY_REF/ARRAY_RANGE_REF in gigi. There is no functional change since we never build them with these operands in the first place. Tested on x86_64-suse-linux, applied on the mainline. 2016-05-02 Eric Botcazou

[Ada] Minor cleanup 1/2

2016-05-02 Thread Eric Botcazou
This is a small refactoring of the handling of ranges of values. Tested on x86_64-suse-linux, applied on the mainline. 2016-05-02 Eric Botcazou * gcc-interface/trans.c (Range_to_gnu): New static function. (Raise_Error_to_gnu) : Call it to translate the range. (gnat_to

[SPARC] Minor cleanup

2015-11-20 Thread Eric Botcazou
This just moves the VIS3 mulx patterns to a more appropriate place. Tested on SPARC/Solaris, applied on the mainline. 2015-11-20 Eric Botcazou * config/sparc/sparc.md (umulxhi_vis): Move around. (*umulxhi_sp64): Likewise. (umulxhi_v8plus): Likewise. (xmulx_vis

[Ada] Minor cleanup in finalization support of the runtime

2015-10-16 Thread Arnaud Charlet
This removes a couple of redundant/unused things. No functional changes. Tested on x86_64-pc-linux-gnu, committed on trunk 2015-10-16 Eric Botcazou * a-tags.ads (Parent_Size): Remove obsolete pragma Export. * s-finmas.ads (Header_Offset): Delete. * s-finmas.adb (Heade

[PATCH] [PR testsuite/67959]Minor cleanup for ssa-thread-13.c

2015-10-14 Thread Jeff Law
n the trunk. Jeff commit e1eb08886003fdc954c5763ec712109e158f1b0c Author: Jeff Law Date: Wed Oct 14 13:01:50 2015 -0400 [PATCH] [PR testsuite/67959]Minor cleanup for ssa-thread-13.c PR testsuite/67959 * gcc.dg/tree-ssa/ssa-thread-13.c: Avoid bitfield assump

[PATCH] Minor cleanup of const_and_copies stack

2015-09-04 Thread Jeff Law
I've been meaning to push this for a while. Primarily it removes two set but never used private fields from the class and simplifies the constructor in the obvious way. It also fixes a couple minor formatting glitches, adds some missing comments, etc. It's ultimately related to getting the

[patch, committed] minor cleanup in nios2 backend

2015-07-04 Thread Sandra Loosemore
I've checked in the attached patch to clean up a few stylistic issues in the nios2 back end, e.g. switching to the new "rtx_insn *" type instead of "rtx" for things that are explicitly insns. There's no change in functionality. -Sandra 2015-07-04 Sandra Loosemore gcc/ * config/nios2/ni

Minor cleanup in DFS::hash_scc

2015-06-25 Thread Eric Botcazou
This fixes a few typos and formatting glitches, i.e. no functional change. Tested on x86_64-suse-linux, applied on the mainline as obvious. 2015-06-25 Eric Botcazou * lto-streamer-out.c (DFS::hash_scc): Fix typos and formatting glitches. -- Eric BotcazouIndex: lto-streamer-out.c =

[Ada] Minor cleanup in gigi (4/4)

2015-05-25 Thread Eric Botcazou
Tested on x86_64-suse-linux, applied on the mainline. 2015-05-25 Eric Botcazou * get_targ.adb (C_Get_Float_Words_BE): Adjust import name. (C_Get_Words_BE): Likewise. (C_Get_Bytes_BE): Likewise. (C_Get_Bits_BE): Likewise. (Width_From_Size): Remove superf

[Ada] Minor cleanup in gigi (3/4)

2015-05-25 Thread Eric Botcazou
Tested on x86_64-suse-linux, applied on the mainline. 2015-05-25 Eric Botcazou * gcc-interface/decl.c (elaborate_expression): Take a const string suffix instead of a tree. (elaborate_expression_1): Likewise. (elaborate_expression_2): Likewise. (gnat_to_

[Ada] Minor cleanup in gigi (2/4)

2015-05-25 Thread Eric Botcazou
Tested on x86_64-suse-linux, applied on the mainline. 2015-05-25 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity) : Move around. : Merge with E_Variable case. : Remove 'object' label. -- Eric BotcazouIndex: gcc-interface/decl.c =

[Ada] Minor cleanup in gigi (1/4)

2015-05-25 Thread Eric Botcazou
Tested on x86_64-suse-linux, applied on the mainline. 2015-05-25 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity): Minor tweak. * gcc-interface/trans.c (finalize_nrv_unc_r): Use CONSTRUCTOR_ELT. * gcc-interface/utils.c (convert): Likewise and simplify.

RE: [Patch, MIPS] Minor cleanup in mips.md

2015-04-24 Thread Matthew Fortune
> 2015-04-23 Steve Ellcey > > * config/mips/mips.md: (*madd4) Remove accum_in attribute. > (*madd3): Ditto. > (*msub4): Ditto. > (*msub3): Ditto. > (*nmadd4): Ditto. > (*nmadd3): Ditto. > (*nmadd4_fastmath): Ditto. > (*nmadd3_fastmath): Ditto. >

[Patch, MIPS] Minor cleanup in mips.md

2015-04-23 Thread Steve Ellcey
This is a minor cleanup patch for MIPS. A number of floating point madd type instructions set the accum_in attribute. But this attribute is only used for integer madd instructions, so this patch removes it from the floating point madd instructions where it is not needed or used. The 'acc

Re: [C++14 PATCH] Minor cleanup, don't run tests for which compilation is enough.

2014-09-17 Thread Jason Merrill
Applied, thanks. Jason

Re: [C++14 PATCH] Minor cleanup, don't run tests for which compilation is enough.

2014-09-14 Thread Ville Voutilainen
On 14 September 2014 21:36, Paolo Carlini wrote: > Hi, > > On 09/14/2014 07:44 PM, Ville Voutilainen wrote: >> >> Tested on Linux-x64. > > Thanks. In such cases you can as well remove the main: then is also > immediately obvious the the testcase is a dg-do compile. Sure, but sometimes I use such

Re: [C++14 PATCH] Minor cleanup, don't run tests for which compilation is enough.

2014-09-14 Thread Paolo Carlini
Hi, On 09/14/2014 07:44 PM, Ville Voutilainen wrote: Tested on Linux-x64. Thanks. In such cases you can as well remove the main: then is also immediately obvious the the testcase is a dg-do compile. Paolo.

[C++14 PATCH] Minor cleanup, don't run tests for which compilation is enough.

2014-09-14 Thread Ville Voutilainen
Tested on Linux-x64. /testsuite 2014-09-14 Ville Voutilainen Minor cleanup, don't run tests for which compilation is enough. * g++.dg/g++.dg/cpp1y/var-templ1.C: Change return to static_assert, compile instead of running. * g++.dg/g++.dg/cpp1y/var-templ3.C: Likewise. * g++

Re: [PATCH, gfortran testsuite] Minor cleanup for the gfortran test suite, v2.

2014-07-07 Thread Dominique Dhumieres
Dear Paul, > OK for trunk. Thanks for the review. Committed as r212330. Dominique

Re: [PATCH, gfortran testsuite] Minor cleanup for the gfortran test suite, v2.

2014-07-07 Thread Paul Richard Thomas
Dear Dominique, OK for trunk. Thanks for the patch Paul On 5 July 2014 18:09, Dominique Dhumieres wrote: > On Mon, 05 May 2014, I have posted > https://gcc.gnu.org/ml/fortran/2014-05/msg00012.html. > On IRC Tobias Burnus remarked that the *.mod file in > gfortran.dg/vect/fast-math-real8-pr4

[PATCH, gfortran testsuite] Minor cleanup for the gfortran test suite, v2.

2014-07-05 Thread Dominique Dhumieres
On Mon, 05 May 2014, I have posted https://gcc.gnu.org/ml/fortran/2014-05/msg00012.html. On IRC Tobias Burnus remarked that the *.mod file in gfortran.dg/vect/fast-math-real8-pr40801.f90 should be cleaned automatically. This is not done because the cleaning is done in gfortran-dg-runtest and not

Minor cleanup

2014-06-12 Thread Eric Botcazou
There was apparently a last-minute name change for DECL_NONALIASED. Tested on x86_64-suse-linux, applied on mainline and 4.9 branch as obvious. 2014-06-12 Eric Botcazou * tree-core.h (DECL_NONALIASED): Use proper spelling in comment. -- Eric BotcazouIndex: tree-core.h

[Ada] Minor cleanup #2

2014-05-18 Thread Eric Botcazou
This exports End_Location from sinfo and uses it in gigi, instead of redoing the computation locally. Tested on x86_64-suse-linux, applied on the mainline. 2014-05-18 Eric Botcazou * fe.h (Set_Present_Expr): Move around. (End_Location): New macro. * gcc-interface/tra

[Ada] Minor cleanup

2014-05-18 Thread Eric Botcazou
This replaces an explicit test for private types by Underlying_Type, which does the test automatically. Tested on x86_64-suse-linux, applied on the mainline. 2014-05-18 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity): Use Underlying_Type in lieu of more verbose con

[Patch] Minor cleanup for the gfortran test suite.

2014-05-05 Thread Dominique Dhumieres
If no one objects, I'll commit the following patch in a couple of days 2014-05-05 Dominique d'Humieres * gfortran.dg/list_read_12.f90: Delete the file. * gfortran.dg/gfortran.dg/vect/fast-math-real8-pr40801.f90: Cleanup module yomphy0. --- ../_clean/gcc/testsuite/gfort

[Patch, Fortran] (port branch to trunk) this_image()/num_images() changes for TS18508 and minor cleanup

2014-04-27 Thread Tobias Burnus
This patch ports another* patch from the Fortran-caf branch to the trunk; it only affects -fcoarray=lib. An earlier patch was posted before,** remains unreviewed and is replaced by this patch (re-diffed, minutely enhanced). Besides some minor clean-up in libgfortran/caf, the patch changes the

Minor cleanup in expmed.c

2013-12-17 Thread Eric Botcazou
This fixes a few glitches introduced by the recent changes to the file. Tested on x86-64/Linux, applied on the mainline as obvious. 2013-12-17 Eric Botcazou * expmed.c (lowpart_bit_field_p): Fix comment. (store_bit_field_using_insv): Fix formatting. (store_bit_field):

[Ada] Minor cleanup

2013-08-13 Thread Eric Botcazou
Tested on x86_64-suse-linux, applied on the mainline. 2013-08-13 Eric Botcazou * gcc-interface/decl.c (gnat_to_gnu_entity): Replace True with true. (is_cplusplus_method): Likewise, and False with false. (components_need_strict_alignment): Likewise. * gcc-interf

Re: minor cleanup in forwprop: use get_prop_source_stmt more

2012-09-14 Thread Richard Guenther
On Thu, Sep 13, 2012 at 8:05 PM, Marc Glisse wrote: > Hello, > > this patch is a minor cleanup of my previous forwprop patches for vectors. I > have known about get_prop_source_stmt from the beginning, but for some > reason I always used SSA_NAME_DEF_STMT. This makes the sourc

minor cleanup in forwprop: use get_prop_source_stmt more

2012-09-13 Thread Marc Glisse
Hello, this patch is a minor cleanup of my previous forwprop patches for vectors. I have known about get_prop_source_stmt from the beginning, but for some reason I always used SSA_NAME_DEF_STMT. This makes the source code slightly shorter, and together with PR 54565 it should help get some

Re: [google] Minor cleanup and test fixes for -mpatch-functions-for-instrumentation. (issue5877043)

2012-03-26 Thread Xinliang David Li
Ok for google branches (main and 4_7). thanks, David On Wed, Mar 21, 2012 at 2:45 PM, Harshit Chopra wrote: > 2012-03-21   Harshit Chopra   > >  Minor changes: >    i386.c: made check_should_patch_current_function C90 compatible. >    i386.md: Added '\t' to bytes generated by >             ix86

[google] Minor cleanup and test fixes for -mpatch-functions-for-instrumentation. (issue5877043)

2012-03-21 Thread Harshit Chopra
2012-03-21 Harshit Chopra Minor changes: i386.c: made check_should_patch_current_function C90 compatible. i386.md: Added '\t' to bytes generated by ix86_output_function_nops_prologue_epilogue for proper formatting of assembly. patch-functions-*.c: Fixed

Patch committed: Minor cleanup to tree-eh.c

2011-10-25 Thread Ian Lance Taylor
I noticed that gimplification made some code in tree-eh.c unnecessary, but did not actually remove it. This patch cleans up tree-eh.c to remove the unnecessary code and simplify the do_return_redirection function slightly. Bootstrapped and ran testsuite on x86_64-unknown-linux-gnu. Committed to

[PATCH 1/9] [obvious] Minor cleanup

2011-07-21 Thread zhroma
This obvious patch just removes unused tree_ssa_loop_version function declaration from tree-flow.h. Will be committed in 24 hours if no objection. 2011-07-20 Roman Zhuykov * tree-flow.h (tree_ssa_loop_version): Remove unused declaration. --- gcc/tree-flow.h |2 -- 1 files