[PATCH 5/6] Port IPA reference to function_summary infrastructure.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-03 Martin Liska * ipa-reference.c (ipa_ref_opt_summary_t): New class. (get_reference_optimization_summary): Use it. (set_reference_optimization_summary): Likewise. (ipa_init): Remove hook holders usage. (ipa_reference_c_finalize):

[PATCH 2/6] Introduce new edge_summary class and replace ipa_edge_args_sum.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-03 Martin Liska * cgraph.c (symbol_table::create_edge): Introduce summary_uid for cgraph_edge. * cgraph.h (struct GTY): Likewise. * ipa-inline-analysis.c (estimate_function_body_sizes): Use new data structure. * ipa-profile

[PATCH 6/6] Migrate ipa-pure-const to function_summary.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-03 Martin Liska * ipa-pure-const.c (struct funct_state_d): New. (funct_state_d::default_p): Likewise. (has_function_state): Remove. (get_function_state): Likewise. (set_function_state): Likewise. (add_new_function): Rename

[PATCH 4/6] Port ipa-cp to use cgraph_edge summary.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-03 Martin Liska * ipa-cp.c (struct edge_clone_summary): New structure. (class edge_clone_summary_t): Likewise. (edge_clone_summary_t::initialize): New method. (edge_clone_summary_t::duplicate): Likewise. (get_next_cgraph_edge_clone

Re: [PATCH] Limit alignment on error_mark_node variable

2015-07-09 Thread H.J. Lu
On Thu, Jul 9, 2015 at 2:54 AM, Richard Biener wrote: > On Thu, Jul 9, 2015 at 11:52 AM, H.J. Lu wrote: >> On Thu, Jul 09, 2015 at 10:16:38AM +0200, Richard Biener wrote: >>> On Wed, Jul 8, 2015 at 5:32 PM, H.J. Lu wrote: >>> > There is no need to try different alignment on variable of >>> > err

[PATCH 3/6] IPA inline: port inline_edge_summary to a new infrastructure.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-03 Martin Liska * ipa-inline-analysis.c (inline_edge_summaries): New data structure. (redirect_to_unreachable): Use renamed function get_inline_edge_summary. (edge_set_predicate): Likewise. (evaluate_properties_for_edge): L

Re: [PATCH] Teach genmatch.c to generate single-use restrictions from flags

2015-07-09 Thread Marek Polacek
On Thu, Jul 09, 2015 at 12:54:54PM +0200, Richard Biener wrote: > > This introduces a :s flag to match expressions which enforces > > the expression to have a single-use if(!) the simplified > > expression is larger than one statement. This is nice. > /* (x & ~m) | (y & m) -> ((x ^ y) & m) ^ x

Re: [PATCH] Teach genmatch.c to generate single-use restrictions from flags

2015-07-09 Thread Richard Biener
On Thu, 9 Jul 2015, Marek Polacek wrote: > On Thu, Jul 09, 2015 at 12:54:54PM +0200, Richard Biener wrote: > > > This introduces a :s flag to match expressions which enforces > > > the expression to have a single-use if(!) the simplified > > > expression is larger than one statement. > > This is

Re: [PATCH] PR target/66819: Allow indirect sibcall with register arguments

2015-07-09 Thread H.J. Lu
On Thu, Jul 9, 2015 at 4:04 AM, Uros Bizjak wrote: > On Thu, Jul 9, 2015 at 12:54 PM, H.J. Lu wrote: >> Indirect sibcall with register arguments is OK when there is register >> available for argument passing. >> >> OK for trunk if there is no regression? >> >> >> H.J. >> --- >> gcc/ >> >>

[patch] Remove target.h and alloc-pool.h from lto-streamer.h.

2015-07-09 Thread Andrew MacLeod
target.h and alloc-pool.h are not required by any of the streamer header files to compile, so I flattened those 2 includes from lto-streamer.h. plugin-api.h, gcov-io.h and diagnostic.h are all required to parse lto-streamer.h, so I left those in the file. I then ran the include reducer on all o

[PING][PATCH] Insert new bound in try_transform_to_exit_first_loop_alt

2015-07-09 Thread Tom de Vries
On 29/06/15 16:30, Tom de Vries wrote: Hi, this patch allows try_transform_to_exit_first_loop_alt to handle the case that the new loop bound nit + 1 is not available as ssa-name n in the assignment nit = n - 1, by inserting the new loop bound. Bootstrapped and reg-tested on x86_64. OK for trun

Re: [RFC] two-phase marking in gt_cleare_cache

2015-07-09 Thread Tom de Vries
On 09/07/15 12:44, Tom de Vries wrote: On 07/07/15 16:00, Michael Matz wrote: Hi, On Mon, 6 Jul 2015, Richard Biener wrote: By doing so, we make the behaviour of gt_cleare_cache independent of the order in which the entries are visited, turning: - hard-to-trigger bugs which trigger for one vi

[committed, PATCH] Update config/i386/iamcu.h

2015-07-09 Thread H.J. Lu
Copy ASM_OUTPUT_ALIGNED_BSS, ASM_OUTPUT_MAX_SKIP_ALIGN and ASM_MAYBE_OUTPUT_ENCODED_ADDR_RTX from config/i386/gnu-user.h. Index: ChangeLog === --- ChangeLog (revision 225608) +++ ChangeLog (working copy) @@ -1,3 +1,9 @@ +2015-07-0

Re: [PING][PATCH] Insert new bound in try_transform_to_exit_first_loop_alt

2015-07-09 Thread Richard Biener
On Thu, 9 Jul 2015, Tom de Vries wrote: > On 29/06/15 16:30, Tom de Vries wrote: > > Hi, > > > > this patch allows try_transform_to_exit_first_loop_alt to handle the > > case that the new loop bound nit + 1 is not available as ssa-name n in > > the assignment nit = n - 1, by inserting the new loo

genmatch indent generated code

2015-07-09 Thread Michael Matz
Hi, while looking at gimple-match.c I got a minor stroke, so this patch makes genmatch generated (mostly) properly indented code. Sure, it could be done post-fact by an editor or something when one looks at the file, but all other generators also try to generate good looking code. No functio

Re: [RFC] two-phase marking in gt_cleare_cache

2015-07-09 Thread Michael Matz
Hi, On Thu, 9 Jul 2015, Tom de Vries wrote: > > > Given this I think the call to gt_ggc_mx is superfluous because it > > > wouldn't work relyably for multi-step dependencies anyway. Hence a > > > situation that works with that call in place, and breaking without > > > it is actually a bug wai

[PATCH][14/n] Remove GENERIC stmt combining from SCCVN

2015-07-09 Thread Richard Biener
This moves more patterns that show up during bootstrap. Bootstrap and regtest running on x86_64-unknown-linux-gnu. Richard. 2015-07-09 Richard Biener * fold-const.c (distribute_bit_expr): Remove. (fold_plusminus_mult_expr): Likewise. (fold_binary_loc): Move factoring

Re: Tests for libgomp based on OpenMP Examples 4.0.2.

2015-07-09 Thread Maxim Blumental
> I'll have a look, that is supposed to work. I checked the case with 'simd collapse' and found out that the problem was in a typo in the directive in OpenMP Examples whose code I used. There was a redundant 'for' word in it which the parser detected and considered to be an unclassifiable OpenMP d

[PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Bernhard Reutner-Fischer
gcc/ChangeLog 2015-07-09 Bernhard Reutner-Fischer * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New static functions. (fold_builtin_1): Handle BUILT_IN_TOLOWER, BUILT_IN_TOUPPER. Signed-off-by: Bernhard Reutner-Fischer --- gcc/builtins.c | 99 +++

[PATCH] Fix PR66823

2015-07-09 Thread Richard Biener
The following fixes a stupid bug with -ftree-loop-if-convert-stores. We were treating all but the same base as candidate to determine whether a ref was accessed unconditionally ... Bootstrap & regtest running on x86_64-unknown-linux-gnu. Richard. 2015-07-09 Richard Biener PR tree-op

Re: [PATCH, libiberty]: Avoid "enum conversion when passing argument 1 of ‘getrusage’ is invalid in C++" warning

2015-07-09 Thread Ian Lance Taylor
On Wed, Jul 1, 2015 at 3:07 AM, Uros Bizjak wrote: > > This patch avoids "enum conversion when passing argument 1 of > ‘getrusage’ is invalid in C++" warning when compiling getruntime.c. > The condition is copied from sys/resource.h. Sorry, I've been on vacation. I think it would be a lot nicer

Re: [PATCH] Fix PR c++/30044

2015-07-09 Thread Patrick Palka
On Fri, Jun 26, 2015 at 7:40 AM, Patrick Palka wrote: > Here is a more modest approach to fixing this PR. Instead of updating > current_template_parms with each newly processed template parameter, > this patch just updates it with a "dummy" parameter level once per > parameter list. So now in ts

[PATCH] PR target/66813: gcc.target/i386/asm-flag-5.c failed with -march=pentium

2015-07-09 Thread H.J. Lu
gen_rtx_ZERO_EXTEND isn't suitable in ix86_md_asm_adjust since ZERO_EXTEND may be expaned. We should call gen_zero_extendqiXi2 instead. OK for trunk? H.J. --- gcc/ PR target/66813 * config/i386/i386.c (ix86_md_asm_adjust): Replace gen_rtx_ZERO_EXTEND with gen_zero_extend

Re: [PATCH] PR target/66813: gcc.target/i386/asm-flag-5.c failed with -march=pentium

2015-07-09 Thread Uros Bizjak
On Thu, Jul 9, 2015 at 3:10 PM, H.J. Lu wrote: > gen_rtx_ZERO_EXTEND isn't suitable in ix86_md_asm_adjust since ZERO_EXTEND > may be expaned. We should call gen_zero_extendqiXi2 instead. > > OK for trunk? No, your patch will clobber flags when multiple flag outputs are used. (I plan to rewrite

Re: [PATCH][13/n] Remove GENERIC stmt combining from SCCVN

2015-07-09 Thread Kyrill Tkachov
Hi Richard, On 07/07/15 15:10, Richard Biener wrote: This moves a few more patterns that show up during bootstrap. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2015-07-07 Richard Biener * fold-const.c (fold_binary_loc): Move (X & C2) << C

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Richard Biener
On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: > gcc/ChangeLog > > 2015-07-09 Bernhard Reutner-Fischer > > * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New > static functions. > (fold_builtin_1): Handle BUILT_IN_TOLOWER, BUILT_IN_TOUPPER. As I read it you

Re: [patch] Remove target.h and alloc-pool.h from lto-streamer.h.

2015-07-09 Thread Jeff Law
On 07/09/2015 05:47 AM, Andrew MacLeod wrote: target.h and alloc-pool.h are not required by any of the streamer header files to compile, so I flattened those 2 includes from lto-streamer.h. plugin-api.h, gcov-io.h and diagnostic.h are all required to parse lto-streamer.h, so I left those in the f

Re: genmatch indent generated code

2015-07-09 Thread Richard Biener
On Thu, Jul 9, 2015 at 2:20 PM, Michael Matz wrote: > Hi, > > while looking at gimple-match.c I got a minor stroke, so this patch makes > genmatch generated (mostly) properly indented code. Sure, it could be > done post-fact by an editor or something when one looks at the file, but > all other ge

[patch] testsuite enable PIE tests on DragonFly

2015-07-09 Thread John Marino
DragonFly supports PIE but the tests for it are disabled. The attached patch for the trunk will enable these checks on DragonFly. Thanks for considering this! John p.s. suggested gcc/testsuite/changelog entry: 2015-07-XX John Marino * lib/target-supports.exp (check_effective_target_p

Re: [PATCH] Limit alignment on error_mark_node variable

2015-07-09 Thread Richard Biener
On Thu, Jul 9, 2015 at 1:08 PM, H.J. Lu wrote: > On Thu, Jul 9, 2015 at 2:54 AM, Richard Biener > wrote: >> On Thu, Jul 9, 2015 at 11:52 AM, H.J. Lu wrote: >>> On Thu, Jul 09, 2015 at 10:16:38AM +0200, Richard Biener wrote: On Wed, Jul 8, 2015 at 5:32 PM, H.J. Lu wrote: > There is no

[PATCH] Mips: Inline memcpy for R6

2015-07-09 Thread Simon Dardis
Hello, This patch enables inline memcpy for R6 which was previously disabled and adds support for expansion when source and destination are at least half-word aligned. gcc/ * config/mips/mips.c (mips_expand_block_move): Enable inline memcpy expansion when !ISA_HAS_LWL_LWR.

[PATCH] Improve if-conversion of loads

2015-07-09 Thread Richard Biener
The following improves if-conversion of loads by enabling the analysis code of -ftree-loop-if-convert-stores and using its ifcvt_could_trap_p predicate which uses information about decls being accessed unconditionally to prove the conditional accessed one cannot trap. This depends on the fix for

Re: [PATCH] Limit alignment on error_mark_node variable

2015-07-09 Thread H.J. Lu
On Thu, Jul 9, 2015 at 6:57 AM, Richard Biener wrote: > On Thu, Jul 9, 2015 at 1:08 PM, H.J. Lu wrote: >> On Thu, Jul 9, 2015 at 2:54 AM, Richard Biener >> wrote: >>> On Thu, Jul 9, 2015 at 11:52 AM, H.J. Lu wrote: On Thu, Jul 09, 2015 at 10:16:38AM +0200, Richard Biener wrote: > On We

[gomp4.1 WIP] omp_target_* libgomp APIs

2015-07-09 Thread Jakub Jelinek
Hi! The latest spec adds a bunch of new functions, this patch attempts to implement them, except I gave up partly in omp_target_associate_ptr and completely in omp_target_disassociate_ptr for now. As for the plugins, I think we'll want some plugin callback to support offloading device <-> offload

[RFC, PATCH 0/3] tree-ssa-tail-merge engine replacement

2015-07-09 Thread mliska
Hello. It's going to be almost a year Richard advised me to utilize IPA ICF infrastructure in tree-ssa-tail-merge, currently using value numbering which is quite hard to maintain. Following small patch set is kick-off and I am opened for advices. Meanwhile, I'm going to send statistics about merge

[PATCH 3/3] Fix ubsan tests by disabling of an optimization.

2015-07-09 Thread mliska
--- gcc/testsuite/g++.dg/ubsan/vptr-1.C | 2 +- gcc/testsuite/g++.dg/ubsan/vptr-2.C | 2 +- gcc/testsuite/g++.dg/ubsan/vptr-3.C | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gcc/testsuite/g++.dg/ubsan/vptr-1.C b/gcc/testsuite/g++.dg/ubsan/vptr-1.C index f4260c1..2183575 1

[PATCH 2/3] Fully remove legacy tree-ssa-tail-merge value numbering infrastructure.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-09 Martin Liska * tree-ssa-tail-merge.c (gimple_operand_equal_value_p): Remove. (gimple_equal_p): Remove. (gsi_advance_bw_nondebug_nonlocal): Remove. (find_duplicate): Remove legacy value numbering. (find_clusters_1): Likewise. ---

Re: [PATCH] Limit alignment on error_mark_node variable

2015-07-09 Thread Richard Biener
On Thu, Jul 9, 2015 at 4:06 PM, H.J. Lu wrote: > On Thu, Jul 9, 2015 at 6:57 AM, Richard Biener > wrote: >> On Thu, Jul 9, 2015 at 1:08 PM, H.J. Lu wrote: >>> On Thu, Jul 9, 2015 at 2:54 AM, Richard Biener >>> wrote: On Thu, Jul 9, 2015 at 11:52 AM, H.J. Lu wrote: > On Thu, Jul 09, 20

[PATCH 1/3] tree-ssa-tail-merge: add IPA ICF infrastructure.

2015-07-09 Thread mliska
gcc/ChangeLog: 2015-07-09 Martin Liska * dbgcnt.def: Add new debug counter. * ipa-icf-gimple.c (func_checker::compare_ssa_name): Add flag for strict mode. (func_checker::compare_memory_operand): Likewise. (func_checker::compare_cst_or_decl): Handle if we

Re: [PATCH 3/3] Fix ubsan tests by disabling of an optimization.

2015-07-09 Thread Jakub Jelinek
On Thu, Jul 09, 2015 at 03:56:35PM +0200, mliska wrote: > --- > gcc/testsuite/g++.dg/ubsan/vptr-1.C | 2 +- > gcc/testsuite/g++.dg/ubsan/vptr-2.C | 2 +- > gcc/testsuite/g++.dg/ubsan/vptr-3.C | 2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) I'd actually think it would be better to give

Re: [PATCH, libiberty]: Avoid "enum conversion when passing argument 1 of ‘getrusage’ is invalid in C++" warning

2015-07-09 Thread Uros Bizjak
On Thu, Jul 9, 2015 at 3:00 PM, Ian Lance Taylor wrote: > On Wed, Jul 1, 2015 at 3:07 AM, Uros Bizjak wrote: >> >> This patch avoids "enum conversion when passing argument 1 of >> ‘getrusage’ is invalid in C++" warning when compiling getruntime.c. >> The condition is copied from sys/resource.h. >

Re: Tests for libgomp based on OpenMP Examples 4.0.2.

2015-07-09 Thread Maxim Blumental
Now the patch is corrected (according to the previous letter) and ready to be reviewed. I'm looking forward to your feedback. 2015-07-09 15:56 GMT+03:00 Maxim Blumental : > > I'll have a look, that is supposed to work. > I checked the case with 'simd collapse' and found out that the problem > wa

[Patch wwwdocs] gcc-5/changes.html : Document AMD monitorx and mwaitx

2015-07-09 Thread Kumar, Venkataramanan
Hi Gerald, This patch documents about  AMD instructions "mwaitx" and "monitorx" in GCC- 5 changes.html. Please let me know if this ok to commit? Index: htdocs/gcc-5/changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-5/changes.h

Re: [PATCH][AArch64] PR target/66731 Fix fnmul insn with -frounding-math

2015-07-09 Thread Szabolcs Nagy
On 06/07/15 16:39, Marcus Shawcroft wrote: > On 6 July 2015 at 09:20, Szabolcs Nagy wrote: > >> 2015-07-06 Szabolcs Nagy >> >> * gcc.target/aarch64/fnmul-1.c: New. >> * gcc.target/aarch64/fnmul-2.c: New. >> * gcc.target/aarch64/fnmul-3.c: New. >> * gcc.target/aa

Re: [Patch wwwdocs] gcc-5/changes.html : Document AMD monitorx and mwaitx

2015-07-09 Thread Richard Biener
On Thu, Jul 9, 2015 at 4:28 PM, Kumar, Venkataramanan wrote: > Hi Gerald, > > This patch documents about AMD instructions "mwaitx" and "monitorx" in GCC- > 5 changes.html. > Please let me know if this ok to commit? > > Index: htdocs/gcc-5/changes.html > ==

Re: [PATCH, libiberty]: Avoid "enum conversion when passing argument 1 of ‘getrusage’ is invalid in C++" warning

2015-07-09 Thread Ian Lance Taylor
On Thu, Jul 9, 2015 at 7:15 AM, Uros Bizjak wrote: > On Thu, Jul 9, 2015 at 3:00 PM, Ian Lance Taylor wrote: >> On Wed, Jul 1, 2015 at 3:07 AM, Uros Bizjak wrote: >>> >>> This patch avoids "enum conversion when passing argument 1 of >>> ‘getrusage’ is invalid in C++" warning when compiling getru

Re: genmatch indent generated code

2015-07-09 Thread Jeff Law
On 07/09/2015 06:20 AM, Michael Matz wrote: Hi, while looking at gimple-match.c I got a minor stroke, so this patch makes genmatch generated (mostly) properly indented code. Sure, it could be done post-fact by an editor or something when one looks at the file, but all other generators also try

Re: [C++ Patch, obvious?] Rename warn_args_num

2015-07-09 Thread Jason Merrill
OK. Jason

Re: [PATCH] fold builtin_tolower, builtin_toupper

2015-07-09 Thread Bernhard Reutner-Fischer
On 9 July 2015 at 15:46, Richard Biener wrote: > On Thu, 9 Jul 2015, Bernhard Reutner-Fischer wrote: > >> gcc/ChangeLog >> >> 2015-07-09 Bernhard Reutner-Fischer >> >> * builtins.c (fold_builtin_tolower, fold_builtin_toupper): New >> static functions. >> (fold_builtin_1): Hand

Re: genmatch indent generated code

2015-07-09 Thread Jakub Jelinek
On Thu, Jul 09, 2015 at 02:20:08PM +0200, Michael Matz wrote: > +/* Like fprintf, but print INDENT spaces at the beginning. */ > + > +static void > +#if GCC_VERSION >= 4001 > +__attribute__((format (printf, 3, 4))) > +#endif > +fprintf_indent (FILE *f, unsigned int indent, const char *format, ...)

[PATCH, i386]: Fix PR 66814, ICE: gcc.target/i386/avx512f-klogic-2.c

2015-07-09 Thread Uros Bizjak
Hello! This ICE was caused by a peephole2 pattern that allowed non-general regs arguments. 2015-07-08 Uros Bizjak PR target/66814 * config/i386/predicates.md (nonimmediate_gr_operand): New predicate. * config/i386/i386.md (not peephole2): Use nonimmediate_gr_operand. (varous p

Re: genmatch indent generated code

2015-07-09 Thread Michael Matz
Hi, On Thu, 9 Jul 2015, Jakub Jelinek wrote: > That violates the coding style by not using tabs ;) I knew it! Somebody would notice, pffft. Fixed in the committed version. Ciao, Michael. PS: this still isn't fully correct, as sometimes I start the strings with spaces which don't count towar

Re: [patch] testsuite enable PIE tests on DragonFly

2015-07-09 Thread Jeff Law
On 07/09/2015 07:53 AM, John Marino wrote: DragonFly supports PIE but the tests for it are disabled. The attached patch for the trunk will enable these checks on DragonFly. Thanks for considering this! John p.s. suggested gcc/testsuite/changelog entry: 2015-07-XX John Marino * lib/

Re: [RFC, PATCH 0/3] tree-ssa-tail-merge engine replacement

2015-07-09 Thread Jeff Law
On 07/09/2015 08:03 AM, mliska wrote: Hello. It's going to be almost a year Richard advised me to utilize IPA ICF infrastructure in tree-ssa-tail-merge, currently using value numbering which is quite hard to maintain. Following small patch set is kick-off and I am opened for advices. Meanwhile,

Re: [PATCH 3/3] Fix ubsan tests by disabling of an optimization.

2015-07-09 Thread Jeff Law
On 07/09/2015 08:13 AM, Jakub Jelinek wrote: On Thu, Jul 09, 2015 at 03:56:35PM +0200, mliska wrote: --- gcc/testsuite/g++.dg/ubsan/vptr-1.C | 2 +- gcc/testsuite/g++.dg/ubsan/vptr-2.C | 2 +- gcc/testsuite/g++.dg/ubsan/vptr-3.C | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) I'd

Re: [PATCH 2/3] Fully remove legacy tree-ssa-tail-merge value numbering infrastructure.

2015-07-09 Thread Jeff Law
On 07/09/2015 07:56 AM, mliska wrote: gcc/ChangeLog: 2015-07-09 Martin Liska * tree-ssa-tail-merge.c (gimple_operand_equal_value_p): Remove. (gimple_equal_p): Remove. (gsi_advance_bw_nondebug_nonlocal): Remove. (find_duplicate): Remove legacy value numbering.

[PATCH] [testsuite] Disable attr_thumb.c test when Thumb mode is not supported.

2015-07-09 Thread Christophe Lyon
Some multilibs do not support Thumb mode on ARM targets. This is the case for instance when target is arm-linux-gnueabihf and with -march=armv5-t: Thumb-1 hard-float VFP ABI is not implemented. In this configuration, gcc.target/arm/attr_thumb.c is failing because we switch thumb mode via an attrib

Re: [PATCH 3/3] Fix ubsan tests by disabling of an optimization.

2015-07-09 Thread Jakub Jelinek
On Thu, Jul 09, 2015 at 09:34:25AM -0600, Jeff Law wrote: > On 07/09/2015 08:13 AM, Jakub Jelinek wrote: > >On Thu, Jul 09, 2015 at 03:56:35PM +0200, mliska wrote: > >>--- > >> gcc/testsuite/g++.dg/ubsan/vptr-1.C | 2 +- > >> gcc/testsuite/g++.dg/ubsan/vptr-2.C | 2 +- > >> gcc/testsuite/g++.dg/ub

patch to fix PR66782

2015-07-09 Thread Vladimir Makarov
The following patch fixes https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66782 The patch was bootstrapped and tested on x86/x86-64. Committed as rev. 225618. 2015-07-09 Vladimir Makarov PR rtl-optimization/66782 * lra-int.h (struct lra_insn_recog_data): Add comment about

Merge DEF_GOACC_BUILTIN into DEF_GOMP_BUILTIN? (was: OpenACC middle end changes)

2015-07-09 Thread Thomas Schwinge
Hi! On Thu, 13 Nov 2014 19:09:49 +0100, Jakub Jelinek wrote: > On Thu, Nov 13, 2014 at 05:59:11PM +0100, Thomas Schwinge wrote: > > * should gcc/oacc-builtins.def just be merged into > > gcc/omp-builtins.def; > > Why not. The reason why they aren't in gcc/builtins.def is that > the Fortra

<    1   2