[PATCH] Fix parallel build

2012-03-01 Thread Khem Raj
When building in parallel (with -j8 here) install-gcc-ar sometimes wants to install file before the destination directory is created. 2012-02-29 Khem Raj raj.k...@gmail.com * Makefile.in (install-gcc-ar): Add dependency on installdirs. --- gcc/Makefile.in |2 +- 1 files changed, 1

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Kai Tietz
2012/2/27 Joseph S. Myers jos...@codesourcery.com: On Mon, 27 Feb 2012, Kai Tietz wrote: 2012-02-28  Kai Tietz  kti...@redhat.com       * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): If not defined,       define it as empty macro.       * soft-fp/quad.h: Mark bitfield-structures by

Re: [Patch 1] invoke.texi : Document AMD bdver2

2012-03-01 Thread Richard Guenther
On Thu, 1 Mar 2012, Kumar, Venkataramanan wrote: Hi Maintainers, We want to add bdver2 description in invoke.texi for GCC 4.7. Here is the patch that does that. Index: gcc/doc/invoke.texi === --- gcc/doc/invoke.texi

Re: [PATCH] Fix PR52406

2012-03-01 Thread Richard Guenther
On Wed, 29 Feb 2012, Richard Guenther wrote: On Wed, 29 Feb 2012, Michael Matz wrote: Hi, On Wed, 29 Feb 2012, Richard Guenther wrote: the whole base object - instead I mark the base MEM_REF of such accesses with TREE_NO_WARNING (ugh) and special-case for them in

[Committed] RE: [Patch 1] invoke.texi : Document AMD bdver2

2012-03-01 Thread Kumar, Venkataramanan
Thanks Richard. I have committed the patch and taken care of new line as well. Regards, Venkat. -Original Message- From: Richard Guenther [mailto:rguent...@suse.de] Sent: Thursday, March 01, 2012 2:55 PM To: Kumar, Venkataramanan Cc: gcc-patches@gcc.gnu.org; ger...@pfeifer.com;

Re: Two files still GPLv2

2012-03-01 Thread Richard Guenther
On Wed, Feb 29, 2012 at 7:36 PM, Steven Bosscher stevenb@gmail.com wrote: Hello, This fixes two files that still have the GPLv2 copyright notice. OK for trunk? Ok. Thanks, Richard. Ciao! Steven

Re: [PATCH, PR50335] Disable graphite loop flattening

2012-03-01 Thread Richard Guenther
On Thu, Mar 1, 2012 at 6:28 AM, Maxim Kuvyrkov ma...@codesourcery.com wrote: This patch disables graphite loop flattening optimization due to it being effectively unmaintained.  To avoid users trying to use unsupported optimization and reporting bugs, Sebastian Pop suggested to disable the

Re: [PATCH] Fix parallel build

2012-03-01 Thread Richard Guenther
On Thu, Mar 1, 2012 at 9:11 AM, Khem Raj raj.k...@gmail.com wrote: When building in parallel (with -j8 here) install-gcc-ar sometimes wants to install file before the destination directory is created. Ok. Thanks, Richard. 2012-02-29  Khem Raj  raj.k...@gmail.com        * Makefile.in

[PATCH] GIMPLE verification of pointer-int conversions (PR52443)

2012-03-01 Thread Richard Guenther
This should fix PR52443 - it is not necessary to restrict integer to pointer conversions. We do restrict pointer to integer conversions because of the unknown signedness of pointers. There is no reason to do the same for integer to pointer conversions. Bootstrap and regtest on

Re: [Patch wwwdocs] gcc-4.6/changes.html : Document AMD bdver1

2012-03-01 Thread Gerald Pfeifer
On Thu, 1 Mar 2012, Kumar, Venkataramanan wrote: This patch was approved in November 2011, but got missed out for commit so reposting it. Index: changes.html === RCS file: /cvs/gcc/wwwdocs/htdocs/gcc-4.6/changes.html,v

[patch testsuite]: Adjust some tests for mingw targets

2012-03-01 Thread Kai Tietz
Hi, this test adjust some test for mingw targets. ChangeLog 2012-03-01 Kai Tietz kti...@redhat.com * gcc.dg/torture/pr47917.c: Make test using POSIX-printf routines on mingw targets. * gcc.dg/vect/pr46126.c (size_t): Add support for LLP64 target. *

[PATCH, 4.4, PR 52430] IPA-CP has to clone or leave alone externally_visible nodes

2012-03-01 Thread Martin Jambor
Hi, the following patch backports 4.5 behavior to 4.4 IPA-CP initialization when it decides which nodes need to be duplicated (we often say cloned, but cloning is an overloaded term in gcc) in order to modify them. In 4.5, this is decided by a new predicate called cgraph_only_called_directly_p

Re: [PATCH][ARM] NEON DImode not

2012-03-01 Thread Andrew Stubbs
On Wed 29 Feb 2012 18:00:19 GMT, Richard Earnshaw wrote: Why can't we have a single insn that deals with the have-neon and dont-have-neon cases? Sorry, I'm not sure I follow? There's one insn for the have-neon case, and one for the don't-have-neon. The expander is necessary to prevent

Re: [patch testsuite]: Adjust some tests for mingw targets

2012-03-01 Thread Rainer Orth
Kai Tietz ktiet...@googlemail.com writes: this test adjust some test for mingw targets. would you please fix you mailer not to break long lines? It makes reviewing harder. Index: gcc.dg/vect/pr46126.c === ---

[Patch, wwwdocs] releasing.html: Update online-doc links of changes.html

2012-03-01 Thread Tobias Burnus
Some of links to the online-documentation in the change.html files tend to break after a some months. Thus, it makes sense to change the trunk links to branch links. OK? Tobias Index: htdocs/releasing.html === RCS file:

Re: [Patch, wwwdocs] releasing.html: Update online-doc links of changes.html

2012-03-01 Thread Richard Guenther
On Thu, Mar 1, 2012 at 2:12 PM, Tobias Burnus bur...@net-b.de wrote: Some of links to the online-documentation in the change.html files tend to break after a some months. Thus, it makes sense to change the trunk links to branch links. OK? Ok. Thanks, Richard. Tobias

Re: [patch testsuite]: Adjust some tests for mingw targets

2012-03-01 Thread Kai Tietz
2012/3/1 Rainer Orth r...@cebitec.uni-bielefeld.de: Kai Tietz ktiet...@googlemail.com writes: this test adjust some test for mingw targets. would you please fix you mailer not to break long lines?  It makes reviewing harder. Index: gcc.dg/vect/pr46126.c

[patch changes]: Add new Windows IA-32/x86_64 features

2012-03-01 Thread Kai Tietz
Hi, this patch adds some of the new features of gcc 4.7 to the changes.html. Ok for apply? Regards, Kai Index: wwwdocs/htdocs/gcc-4.7/changes.html === --- wwwdocs.orig/htdocs/gcc-4.7/changes.html +++

[Patch,AVR]: Add built-in to get flash segment

2012-03-01 Thread Georg-Johann Lay
This built-in basically returns the high byte of a 24-bit address. It can be used to test at run time where a pointer points to (Flash or RAM). Ok for trunk? Johann * doc/extend.texi (AVR Built-in Functions): Document __builtin_avr_flash_segment. *

[committed] Fix up cselim regression (PR tree-optimization/52445)

2012-03-01 Thread Jakub Jelinek
Hi! Before MEM_REF merge, this code tracked just SSA_NAME dereferences, which have all the same access size and offset. MEM_REFs with the same SSA_NAME can have different sizes and/or offsets from the base SSA_NAME. This patch teaches the non-trapping discovery code to take size/offset into

Re: [4.8, C++ Patch] PR 52422

2012-03-01 Thread Paolo Carlini
Hi, On 02/29/2012 06:53 AM, Paolo Carlini wrote: Daniel noticed a couple other SFINAE issues, which I'm fixing in the usual straightforward way. Tested x86_64-linux. When fixing these things, please add checking for error_mark_node return as well. For instance, in this patch the calls to

Re: [patch changes]: Add new Windows IA-32/x86_64 features

2012-03-01 Thread Gerald Pfeifer
On Thu, 1 Mar 2012, Kai Tietz wrote: +liWindows mingw targets are using code-mms-bitfields/code option + as default./li are using the (add the) and probably by default +liWindow x86 target is using code__thiscall/code calling convention + for C++ class-member functions./li

RE: [Patch,AVR]: Add built-in to get flash segment

2012-03-01 Thread Weddington, Eric
-Original Message- From: Georg-Johann Lay [mailto:a...@gjlay.de] Sent: Thursday, March 01, 2012 6:53 AM To: gcc-patches@gcc.gnu.org Cc: Denis Chertykov; Weddington, Eric Subject: [Patch,AVR]: Add built-in to get flash segment This built-in basically returns the high byte of a

Re: [Patch ARM] Fix PR 49069.

2012-03-01 Thread Matthew Gretton-Dann
PING. On Tue, Jan 24, 2012 at 04:10:19PM +, Sameera Deshpande wrote: Hi, Please find attached the patch fixing bug 49069. This patch is tested with check-gcc on trunk and 4.6 without regression. OK for trunk? Is it fine to backport to 4.6 branch? ChangeLog: 2012-01-24 Sameera

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Joseph S. Myers
On Thu, 1 Mar 2012, Kai Tietz wrote: Thanks, I adjusted ChangeLog, comment, and added the copyright year. It would be kind, if somebody could apply this patch to glibc's repository as I don't have commit access to it. I can do the applying to gcc's tree, if patch is ok-ed. This patch

Re: [Patch ARM] Fix PR 49069.

2012-03-01 Thread Richard Earnshaw
On 01/03/12 15:28, Matthew Gretton-Dann wrote: PING. Sorry, I don't think this is right. Why is gen_cstoredi being called with two constants in a comparison? If both operands are constant then the comparison is deterministic and we don't need a cstore operation. R. On Tue, Jan 24, 2012 at

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Kai Tietz
2012/3/1 Joseph S. Myers jos...@codesourcery.com: On Thu, 1 Mar 2012, Kai Tietz wrote: Thanks, I adjusted ChangeLog, comment, and added the copyright year. It would be kind, if somebody could apply this patch to glibc's repository as I don't have commit access to it.  I can do the applying

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Joseph S. Myers
On Thu, 1 Mar 2012, Kai Tietz wrote: 2012/3/1 Joseph S. Myers jos...@codesourcery.com: On Thu, 1 Mar 2012, Kai Tietz wrote: Thanks, I adjusted ChangeLog, comment, and added the copyright year. It would be kind, if somebody could apply this patch to glibc's repository as I don't have

[PR52417] restore get_addr behavior for passes other than VT

2012-03-01 Thread Alexandre Oliva
The PR52001 alias.c patch meant to avoid infinite recursion among permanent equivalences within VTA introduced some relatively expensive behavior that showed up as (apparently?)-infinite recursion within dse on AVR for one gcc.c-torture/compile test. This patch reworks get_addr so that it behaves

Re: [PATCH][ARM] NEON DImode not

2012-03-01 Thread Richard Earnshaw
On 01/03/12 12:57, Andrew Stubbs wrote: On Wed 29 Feb 2012 18:00:19 GMT, Richard Earnshaw wrote: Why can't we have a single insn that deals with the have-neon and dont-have-neon cases? Sorry, I'm not sure I follow? There's one insn for the have-neon case, and one for the

Go patch committed: Fix varargs function that call recover

2012-03-01 Thread Ian Lance Taylor
The Go frontend mishandled varargs functions that call recover. This patch fixes that. The patch also fixes a couple of other cases where the compiler crashed on invalid input. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r 0927d16a6df2

libgo patch committed: Define MADV_ constants for madvise

2012-03-01 Thread Ian Lance Taylor
This patch to libgo's mksysinfo shell script defines the MADV_ constants use by the syscall.Madvise function. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r 2af6279334e7 libgo/mksysinfo.sh --- a/libgo/mksysinfo.sh Thu Mar 01 09:10:52 2012

Re: [patch testsuite]: Adjust some tests for mingw targets

2012-03-01 Thread Rainer Orth
Kai Tietz ktiet...@googlemail.com writes: So updated patch (sorry the gmail-mailer breaks lines up here, and I can't configure it for not doing so. So I attached patch, too). Ok. In the future, please indicate on which platforms and how you tested the patch. mingw and x86_64-linux, I

[lra] a patch to fix s390 bootstrap

2012-03-01 Thread Vladimir Makarov
The following patch finally fixes s390 bootstrap. The patch was successfully bootstrapped on s390x, x86/x86-64, power7, arm, sparc64, and ia64. Committed as rev. 184749. 2012-03-01 Vladimir Makarov vmaka...@redhat.com * lra-lives.c (pseudos_live_through_calls): New sparseset.

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Kai Tietz
Hello, Thanks and sorry for the troubles I caused. Next time I will prepare patches for it against glibc's developer repository. As I understand the README file in soft-fp, just those files affected by my patch need to be merged from glibc. As the mingw targets are using by defaul ms-struct

Re: [patch testsuite]: Adjust some tests for mingw targets

2012-03-01 Thread Kai Tietz
2012/3/1 Rainer Orth r...@cebitec.uni-bielefeld.de: Kai Tietz ktiet...@googlemail.com writes: So updated patch (sorry the gmail-mailer breaks lines up here, and I can't configure it for not doing so.  So I attached patch, too). Ok.  In the future, please indicate on which platforms and how

[v3] Update Solaris baselines for GCC 4.7, take 2

2012-03-01 Thread Rainer Orth
After PRs libstdc++/52188 and libstdc++/52189 have been resolved, I'd finally like to update the Solaris baselines for the 4.7 release. This time, everything looks good: only additions to GLIBCXX_3.4.1[67], CXXABI_1.3.6, and CXXABI_TM_1, as expected. Bootstrapped without regressions on

Go patch committed: Reliably error on misuse of multi-value call

2012-03-01 Thread Ian Lance Taylor
This patch to the Go compiler reliably gives an error on a misuse of a function call that returns multiple values. Previously this could eventually lead to a compiler crash. Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu. Committed to mainline. Ian diff -r afc75dd8b19a

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Joseph S. Myers
On Thu, 1 Mar 2012, Kai Tietz wrote: As I understand the README file in soft-fp, just those files affected by my patch need to be merged from glibc. It's better to import the lot, rather than have mixed versions. (But if there are non-comment changes to files not affected by your patch, it

Re: [patch testsuite]: Adjust some tests for mingw targets

2012-03-01 Thread Rainer Orth
Kai Tietz ktiet...@googlemail.com writes: 2012-03-01  Kai Tietz  kti...@redhat.com       * gcc.dg/torture/pr47917.c: Make test using POSIX-printf       routines on mingw targets.       * gcc.dg/vect/pr46126.c (size_t): Add support for Please update for the uintptr_t change. Would you

Re: [PATCH] [SH] Fix target/48596

2012-03-01 Thread Mike Stump
On Feb 29, 2012, at 8:11 PM, Kaz Kojima wrote: The attached patch is to avoid PR target/48596 which is a 4.7 regression on SH. It seems that now IRA aggressively tried to use fp regs as the holder for memory addresses on this port. Gosh, I hope IRA is cleaned up, as other ports do have weird

[Patch, wwwdocs, committed] index.html: Update 4.6 Status Report link to 4.6.3 announcement

2012-03-01 Thread Tobias Burnus
Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v retrieving revision 1.837 diff -u -r1.837 index.html --- index.html 1 Mar 2012 14:40:13 - 1.837 +++ index.html 1 Mar 2012 18:41:39 - @@ -130,7 +130,7 @@

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Kai Tietz
2012/3/1 Joseph S. Myers jos...@codesourcery.com: On Thu, 1 Mar 2012, Kai Tietz wrote: As I understand the README file in soft-fp, just those files affected by my patch need to be merged from glibc. It's better to import the lot, rather than have mixed versions.  (But if there are

[google/4.6]Backport r184061 from upstream 4.6 (issue5712053)

2012-03-01 Thread Jing Yu
Backport r184061 from gcc-4_6 branch to fix an invalid constant simplification (PR52060). bootstrap and crosstool tests pass. OK for google/gcc-4_6 and google/gcc-4_6_2-mobile? 2012-03-01 Jing Yu jin...@google.com Backport r184061 from gcc-4_6-branch to fix PR52060.

Fix 64-bit *intmax_t definitions on IRIX

2012-03-01 Thread Rainer Orth
The 64-bit gcc.dg/intmax_t-1.c was failing on IRIX 6.5: FAIL: gcc.dg/intmax_t-1.c (test for excess errors) Excess errors: /vol/gcc/src/hg/trunk/local/gcc/testsuite/gcc.dg/intmax_t-1.c:19:10: warning: assignment from incompatible pointer type [enabled by default]

Re: C++ PATCH to warn about ignored attributes

2012-03-01 Thread Jason Merrill
On 02/14/2012 08:50 PM, Jason Merrill wrote: While looking at PR 51930, I discovered that we were silently ignoring attributes on explicit instantiations; this patch warns about this. This isn't exactly a regression, but the submitter ran into it as a result of a behavior change in 4.7, and the

[SH] Add support for tas.b instruction

2012-03-01 Thread Oleg Endo
Hello, The attached patch adds support for the SH tas.b instruction by introducing a new target option -menable-tas. The patch was tested against rev 184589 with... make info dvi pdf make -k check RUNTESTFLAGS=--target_board=sh-sim\{ -m2/-ml,-m2/-mb, -m2a-single/-mb,

[google/4.6]Backport r184370 from integration (issue5716054)

2012-03-01 Thread Doug Kwan
Hi Diego, This is a backport of r184370 from integration branch. I have tested this by building it for different configurations of powerpc. -Doug 2012-03-01 Doug Kwan dougk...@google.com Backport r184370 from integration branch. 2012-02-17 Doug Kwan

[committed] Fix PR target/52408 -- wrong code for left shift

2012-03-01 Thread John David Anglin
This patch fixes a target problem found with the Linux ext4 driver. The zvdep_imm64 pattern truncated the 64-bit constant operand to 32-bits. The truncated value was -1. As a result, (x 4) + 1 was zero, the call to exact_log2 failed, and thus the insert length for the constant was wrong. This

[SH] Remove dead tertiary_reload_operand function

2012-03-01 Thread Oleg Endo
Hello, The function tertiary_reload_operand in sh.c seems to be dead code. The attached patch deletes it. Tested with: make all-gcc OK to apply? Cheers, Oleg 2012-03-01 Oleg Endo olege...@gcc.gnu.org * config/sh/sh-protos.h (tertiary_reload_operand): Remove dead function.

Re: [google/4.6]Backport r184370 from integration (issue5716054)

2012-03-01 Thread Diego Novillo
On 01/03/12 14:35 , Doug Kwan wrote: 2012-03-01 Doug Kwandougk...@google.com Backport r184370 from integration branch. 2012-02-17 Doug Kwandougk...@google.com * gcc/config.gcc (powerpc*-*-linux): Pull in GRTEv2 spec changes if target

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Joseph S. Myers
On Thu, 1 Mar 2012, Kai Tietz wrote: Well, there are some new files, which aren't present in gcc's copy. They are not new files. They are files that were in soft-fp all along but weren't imported into GCC because they aren't relevant to GCC. The rest of the changes are just related to the

Fix POINTER_PLUS_EXPR oversight

2012-03-01 Thread Bernd Schmidt
In pointer_diff we still expect pointer addition to use PLUS_EXPR. I discovered this while working on a new port with somewhat unusual pointer types. Interestingly, the C++ frontend also has a pointer_diff function, but doesn't seem to attempt to optimize. Is there a reason for this?

Re: Fix POINTER_PLUS_EXPR oversight

2012-03-01 Thread Joseph S. Myers
On Thu, 1 Mar 2012, Bernd Schmidt wrote: In pointer_diff we still expect pointer addition to use PLUS_EXPR. I discovered this while working on a new port with somewhat unusual pointer types. Interestingly, the C++ frontend also has a pointer_diff function, but doesn't seem to attempt to

Re: [RFC, PATCH] ARM related deprecations

2012-03-01 Thread Joseph S. Myers
On Tue, 28 Feb 2012, Richard Earnshaw wrote: Here's an updated version, plus some updates to install.texi to avoid references to the obsolete ports. OK? OK. -- Joseph S. Myers jos...@codesourcery.com

Re: [Patch 2 wwwdocs] gcc-4.7/changes.html : Document AMD bdver2

2012-03-01 Thread Gerald Pfeifer
On Thu, 1 Mar 2012, Kumar, Venkataramanan wrote: This patch adds bdver2 description in changes.html. Sure, looks good. Gerald

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Joseph S. Myers
On Thu, 1 Mar 2012, Kai Tietz wrote: 2012-03-01 Kai Tietz kti...@redhat.com * soft-fp: Imported from glibc upstream. Ok for apply ? If this is just copying the files from glibc, then it's OK for GCC. -- Joseph S. Myers jos...@codesourcery.com

Re: [so_7-2] DR 13631 patch

2012-03-01 Thread François Dumont
Here is what I have finally commited to libstdcxx_so_7-2 branch. 2012-03-01 François Dumont fdum...@gcc.gnu.org DR libstdc++/13631 * config/locale/gnu/messages_member.h, messages_member.cc: Prefer dgettext usage to gettext to allow usage of several catalogs at the

[google]Support for getting CPU type and feature information at run-time (issue5715051)

2012-03-01 Thread Sriraman Tallam
Patch to add builtins to detect CPU type: I have ported the patch from google/gcc-4_6 to google/main. I also want this patch to be considered for trunk. Please see this discussion: http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01355.html when this patch

Re: [patch libgcc]: Fix float128 soft-float for mingw targets

2012-03-01 Thread Kai Tietz
2012/3/1 Joseph S. Myers jos...@codesourcery.com: On Thu, 1 Mar 2012, Kai Tietz wrote: 2012-03-01  Kai Tietz  kti...@redhat.com       * soft-fp: Imported from glibc upstream. Ok for apply ? If this is just copying the files from glibc, then it's OK for GCC. Yes, it is. Applied at rev

Re: [google]Support for getting CPU type and feature information at run-time (issue5715051)

2012-03-01 Thread Xinliang David Li
Sri, probably need to remove the [google] prefix in the subject line to prevent this from being filtered. David On Thu, Mar 1, 2012 at 12:45 PM, Sriraman Tallam tmsri...@google.com wrote: Patch to add builtins to detect CPU type: I have ported the

Re: [SPARC] Tweak libgomp's cpu_relax

2012-03-01 Thread David Miller
From: Eric Botcazou ebotca...@adacore.com Date: Wed, 29 Feb 2012 21:48:57 +0100 As discussed with DaveM, this duplicates libitm's cpu_relax into libgomp. Tested on SPARC64/Linux, applied on the mainline. Thanks for taking care of this Eric.

Re: [gimplefe][patch] The symbol table for declarations

2012-03-01 Thread Sandeep Soni
On Wed, Feb 29, 2012 at 8:14 PM, Diego Novillo dnovi...@google.com wrote: On 24/02/12 01:03 , Sandeep Soni wrote: +  name_token = gl_consume_expected_token (parser-lexer, CPP_NAME); +  name = gl_token_as_text (name_token); + +  e = ggc_alloc_cleared_gimple_symtab_entry_def (); +  e-id =

[PATCH] gfortran testsuite: implicitly cleanup-modules

2012-03-01 Thread Bernhard Reutner-Fischer
Hi, By now we have quite some leftover modules in the testsuite, again. Given that the previous suggestion in this thread -- to have a separate script in contrib -- did not trigger any reaction, let me suggest the patch below instead. Teach the testsuite to cleanup the modules. We do this by

[patch committed SH] Fix comment typo

2012-03-01 Thread Oleg Endo
Just committed the attached patch as obvious. Cheers, Oleg 2012-03-01 Oleg Endo olege...@gcc.gnu.org * config/sh/constraints.md: Fix comment typo. Index: gcc/config/sh/constraints.md === --- gcc/config/sh/constraints.md

Re: [google/4.6]Backport r184061 from upstream 4.6 (issue5712053)

2012-03-01 Thread Jing Yu
The patch will be auto-merged into google/gcc-4_6 in near future. I will cherry-pick it into google/gcc-4_6_2-mobile. On Thu, Mar 1, 2012 at 10:50 AM, Jing Yu jin...@google.com wrote: Backport r184061 from gcc-4_6 branch to fix an invalid constant simplification (PR52060). bootstrap and

Re: [google][4.6]Bug fix to function reordering plugin to check presence of elf.h

2012-03-01 Thread Jing Yu
I ported this patch into google/gcc-4_6_2-mobile. Thanks, Jing On Sat, Feb 25, 2012 at 1:40 PM, Sriraman Tallam tmsri...@google.com wrote: Committed now, thanks. -Sri. On Fri, Feb 24, 2012 at 11:18 PM, Xinliang David Li davi...@google.com wrote: ok. David On Fri, Feb 24, 2012 at 4:19

Re: [SH] PR 49468 - DImode abs

2012-03-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: 2012-03-01 Oleg Endo olege...@gcc.gnu.org PR target/49486 * config/sh/sh.md (negdi2): Add TARGET_SH1 condition. (absdi2): New expander. (*absdi2, *negabsdi2, negdi_cond): New insns and splits. testsuite/ChangeLog:

Re: [SH] Add support for tas.b instruction

2012-03-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The attached patch adds support for the SH tas.b instruction by introducing a new target option -menable-tas. The patch was tested against rev 184589 with... [snip] Other than that, OK for 4.8? Cheers, Oleg 2012-03-01 Oleg Endo

Re: [SH] Remove dead tertiary_reload_operand function

2012-03-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: The function tertiary_reload_operand in sh.c seems to be dead code. The attached patch deletes it. Tested with: make all-gcc OK to apply? Cheers, Oleg 2012-03-01 Oleg Endo olege...@gcc.gnu.org * config/sh/sh-protos.h

Re: [patch committed SH] Fix comment typo

2012-03-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: Just committed the attached patch as obvious. Cheers, Oleg 2012-03-01 Oleg Endo olege...@gcc.gnu.org * config/sh/constraints.md: Fix comment typo. Updating copyright years is needed. Regards, kaz

Re: [PATCH] [SH] Fix target/48596

2012-03-01 Thread Oleg Endo
On Thu, 2012-03-01 at 13:11 +0900, Kaz Kojima wrote: Hi, The attached patch is to avoid PR target/48596 which is a 4.7 regression on SH. It seems that now IRA aggressively tried to use fp regs as the holder for memory addresses on this port. SH requires a special fpul register to move from

Re: [SH] Remove dead tertiary_reload_operand function

2012-03-01 Thread Oleg Endo
On Fri, 2012-03-02 at 06:45 +0900, Kaz Kojima wrote: Oleg Endo oleg.e...@t-online.de wrote: The function tertiary_reload_operand in sh.c seems to be dead code. The attached patch deletes it. Tested with: make all-gcc OK to apply? Cheers, Oleg 2012-03-01 Oleg Endo

Support for getting CPU type and feature information at run-time (issue5715051)

2012-03-01 Thread Sriraman Tallam
Removing [google] prefix from the subject line. On Thu, Mar 1, 2012 at 12:54 PM, Xinliang David Li davi...@google.com wrote: Sri, probably need to remove the [google] prefix in the subject line to prevent this from being filtered. David On Thu, Mar 1, 2012 at 12:45 PM, Sriraman Tallam

Re: [SH] Remove dead tertiary_reload_operand function

2012-03-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: I will go through the other SH source files and fix the copyright years in a separate patch, OK? OK. Regards, kaz

Re: [v3] Update Solaris baselines for GCC 4.7, take 2

2012-03-01 Thread Benjamin Kosnik
After PRs libstdc++/52188 and libstdc++/52189 have been resolved, I'd finally like to update the Solaris baselines for the 4.7 release. This time, everything looks good: only additions to GLIBCXX_3.4.1[67], CXXABI_1.3.6, and CXXABI_TM_1, as expected. Bootstrapped without regressions on

Re: [v3] Update Solaris baselines for GCC 4.7, take 2

2012-03-01 Thread Benjamin De Kosnik
I was surprised to see GLIBCXX_3.4.15 symbols added, but then realized you added the complete set so this seems fine. I meant to say: surprised to see GLIBCXX_3.4.16 symbols added, but then you the complete set so this seems fine. So the only added symbols are the complete set of

[patch committed SH] Update copyright years

2012-03-01 Thread Oleg Endo
Committed the attached patch as rev 184764 to update copyright years in several SH target source files. Cheers, Oleg 2012-03-01 Oleg Endo olege...@gcc.gnu.org * config/sh/sh-protos.h: Update copyright notice dates. * config/sh/sh.h: Likewise. * config/sh/sh.md:

Re: [PATCH] [SH] Fix target/48596

2012-03-01 Thread Kaz Kojima
Oleg Endo oleg.e...@t-online.de wrote: BTW, the patch also seems to fix PR 48806. Ah, I've confirmed it. Thanks for pointing it out. Regards, kaz

Re: Fix 64-bit *intmax_t definitions on IRIX

2012-03-01 Thread Richard Sandiford
Rainer Orth r...@cebitec.uni-bielefeld.de writes: 2012-02-22 Rainer Orth r...@cebitec.uni-bielefeld.de * config/mips/iris6.h [!USED_FOR_TARGET] (long_intmax): Declare. (INTMAX_TYPE): Use it. (UINTMAX_TYPE): Likewise. (SUBTARGET_OVERRIDE_OPTIONS): Define.

[v3] tweak cleanfiles

2012-03-01 Thread Benjamin De Kosnik
noticed these bits hanging out after a make clean in testsuite. Fixed. tested x86/linux -benjamin2012-03-01 Benjamin Kosnik b...@redhat.com * testsuite/Makefile.am (CLEANFILES): Add *.gdb. * testsuite/Makefile.in: Regenerate. diff --git a/libstdc++-v3/testsuite/Makefile.am

[google/integration] add x86_64-grtev3-linux-gnu target name (issue5718044)

2012-03-01 Thread Ollie Wild
Add an x86_64-grtev3-linux-gnu target. For GRTE v2, we use the value of $with_sysroot to conditionally include spec file changes. This is inconsistent with what we do for other architectures like ARM, and it's less flexible since (a) the feature machinery is really designed to key off $target

[google/4.6] Backport r184357 from trunk to fix validate_failures.py (issue5720047)

2012-03-01 Thread Doug Kwan
Hi Diego, This is a backport from trunk to fix a problem in validate_failures.py when testing a cross compiler. -Doug 2012-03-01 Doug Kwan dougk...@google.com Backport r184357 from trunk 2012-02-17 Doug Kwan dougk...@google.com *

Re: [google/4.6]Backport r184370 from integration (issue5716054)

2012-03-01 Thread 關振德
I can wait until the merge is done. Thanks. -Doug On Thu, Mar 1, 2012 at 12:17 PM, Diego Novillo dnovi...@google.com wrote: On 01/03/12 14:35 , Doug Kwan wrote: 2012-03-01   Doug Kwandougk...@google.com        Backport r184370 from integration branch.        2012-02-17   Doug

Re: [google/4.6] Backport r184357 from trunk to fix validate_failures.py (issue5720047)

2012-03-01 Thread 關振德
If approved, this will be applied after Diego's 4.6.3 release merge into Google's gcc-4_6 branch. -Doug On Thu, Mar 1, 2012 at 6:57 PM, Doug Kwan dougk...@google.com wrote: Hi Diego,    This is a backport from trunk to fix a problem in validate_failures.py when testing a cross compiler.

Re: [PATCH, PR50335] Disable graphite loop flattening

2012-03-01 Thread Maxim Kuvyrkov
On 1/03/2012, at 11:42 PM, Richard Guenther wrote: On Thu, Mar 1, 2012 at 6:28 AM, Maxim Kuvyrkov ma...@codesourcery.com wrote: This patch disables graphite loop flattening optimization due to it being effectively unmaintained. To avoid users trying to use unsupported optimization and

Re: [PATCH, 4.4, PR 52430] IPA-CP has to clone or leave alone externally_visible nodes

2012-03-01 Thread Maxim Kuvyrkov
On 2/03/2012, at 1:53 AM, Martin Jambor wrote: Hi, the following patch backports 4.5 behavior to 4.4 IPA-CP initialization when it decides which nodes need to be duplicated (we often say cloned, but cloning is an overloaded term in gcc) in order to modify them. In 4.5, this is decided by

[v3] tweak traits for base classes

2012-03-01 Thread Benjamin De Kosnik
After discussions in Kona, some suggestions to refine this trait were proposed, as attached. In addition, there is some documentation which will be checked in later. tested x86/linux -benjamin2012-03-01 Michael Spertus mike_sper...@symantec.com * include/tr2/type_traits (typelist): To

[v3] libstdc++/51785

2012-03-01 Thread Benjamin De Kosnik
as per the bugzilla log tested x86/linux -benjamin2012-03-01 Benjamin Kosnik b...@redhat.com Ramana Radhakrishnan ram...@gcc.gnu.org PR libstdc++/51785 * acinclude.m4 (GLIBCXX_CHECK_STDIO_PROTO): New. * configure.ac: Call it. * configure: Regenerate. * config.h.in: Same. *