Re: [SH] PR 49880 - Fix some more -mdiv option issues

2013-03-12 Thread Kaz Kojima
Oleg Endo wrote: > The attached patch should make the -mdiv= option work as it is described > in the documentation (which I updated recently as part of PR 56529). > > Tested with 'make all' and > > make -k check-gcc RUNTESTFLAGS="sh.exp=pr49880* --target_board=sh-sim > \{-m2,-m2a,-m2a-nofpu,-m2a

[SH] PR 49880 - Fix some more -mdiv option issues

2013-03-12 Thread Oleg Endo
Hi, Initially I just wanted to simplify two lines as mentioned in the PR. However, when I started writing the test cases a small can of worms popped up. '-m4 -mdiv=call-div1' would not link on bare metal configs because of missing functions in libgcc, '-m2a -mdiv=call-fp' would ICE and/or not link

[Patch, microblaze]: Add MicroBlaze TLS configure support

2013-03-12 Thread David Holsgrove
Add test for MicroBlaze TLS support to gcc/configure.ac gcc/Changelog 2013-03-13 Edgar E. Iglesias David Holsgrove * configure.ac: Add MicroBlaze TLS support detection. * configure: Regenerate. Signed-off-by: Edgar E. Iglesias Signed-off-by: David Holsgrove 0002-Patch-mi

[Patch, microblaze]: Add support for TLS in MicroBlaze

2013-03-12 Thread David Holsgrove
Add support for thread local storage (general dynamic and local dynamic models) in MicroBlaze. gcc/Changelog 2013-03-13 Edgar E. Iglesias David Holsgrove * config/microblaze/microblaze-protos.h: (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p, symbol_mentione

Re: [trunk][google/gcc47]Add dependence of configure-target-libmudflap on configure-target-libstdc++-v3 (issue7740043)

2013-03-12 Thread Diego Novillo
On 2013-03-12 13:24 , Jing Yu wrote: I made a mistake in my previous patch. I did not notice that Makefile.in was a generated file. Update the patch. 2013-03-12 Jing Yu * Makefile.def (Target modules dependencies): Add new dependency. * Makefile.in: Re-generate. Index: Makefile.in

Re: [trunk][google/gcc47]Add dependence of configure-target-libmudflap on configure-target-libstdc++-v3 (issue7740043)

2013-03-12 Thread Jing Yu
I made a mistake in my previous patch. I did not notice that Makefile.in was a generated file. Update the patch. 2013-03-12 Jing Yu * Makefile.def (Target modules dependencies): Add new dependency. * Makefile.in: Re-generate. Index: Makefile.in =

[patch, committed, wwwdata] Add id="current" to Current releases in gcc.gnu.org/onlinedocs/

2013-03-12 Thread Tobias Burnus
Hi, I have committed the attached trivial patch in order to link directly to the documentation of the developer version: http://gcc.gnu.org/onlinedocs/#current Tobias PS: For releases, one can use "/" instead, e.g. http://gcc.gnu.org/onlinedocs/4.7.2/ Index: index.html =

Re: [PATCH][6/n] tree LIM TLC

2013-03-12 Thread Steven Bosscher
On Tue, Mar 12, 2013 at 4:33 PM, Richard Biener wrote: > On Tue, 12 Mar 2013, Steven Bosscher wrote: >> I suppose this renders my LIM patch obsolete. > > Not really - it's still > > tree loop invariant motion: 588.31 (78%) usr > > so limiting the O(n^2) dependence testing is a good thing. But I

Re: [PATCH] Fix install-plugin with vxworks-dummy.h (PR plugins/45078)

2013-03-12 Thread Matthias Klose
Am 06.03.2013 20:44, schrieb Jakub Jelinek: > Hi! > > On Wed, Mar 06, 2013 at 06:57:03PM +0800, Matthias Klose wrote: >> There is still vxworks-dummy.h, which is not installed, see PR45078. Would >> the >> same approach work? > > Like this? Untested though, and no access to most of the targets.

Re: [PATCH][6/n] tree LIM TLC

2013-03-12 Thread Richard Biener
On Tue, 12 Mar 2013, Steven Bosscher wrote: > On Tue, Mar 12, 2013 at 4:25 PM, Richard Biener wrote: > > > > (Un-?)surprisingly the most effective compile-time reduction for > > the testcase in PR39326 is to employ ao_ref caching for > > alias oracle queries and caching of expanded affine-combinat

Re: [PATCH][6/n] tree LIM TLC

2013-03-12 Thread Steven Bosscher
On Tue, Mar 12, 2013 at 4:25 PM, Richard Biener wrote: > > (Un-?)surprisingly the most effective compile-time reduction for > the testcase in PR39326 is to employ ao_ref caching for > alias oracle queries and caching of expanded affine-combinations > for affine disambiguations. > > This reduces com

[PATCH][6/n] tree LIM TLC

2013-03-12 Thread Richard Biener
(Un-?)surprisingly the most effective compile-time reduction for the testcase in PR39326 is to employ ao_ref caching for alias oracle queries and caching of expanded affine-combinations for affine disambiguations. This reduces compile-time to a manageable amount in the first place for me (so I'm

Re: [PATCH][5/n] tree LIM TLC

2013-03-12 Thread Steven Bosscher
On Tue, Mar 12, 2013 at 4:16 PM, Richard Biener wrote: > --- 127,145 > /* The locations of the accesses. Vector >indexed by the loop number. */ > > ! /* The following sets are computed on demand. We use two bits per > !

[PATCH][5/n] tree LIM TLC

2013-03-12 Thread Richard Biener
This merges the tri-state caches (not computed, dependent, independent) bitmaps to improve cache locality. Bootstrapped on x86_64-unknown-linux-gnu, testing in progress. Queued for 4.9. Richard. 2013-03-12 Richard Biener * tree-ssa-loop-im.c (struct mem_ref): Merge indep_loop and

Re: [Patch,AVR]: Fix PR56263

2013-03-12 Thread Jakub Jelinek
On Mon, Mar 11, 2013 at 07:03:14PM +0100, Georg-Johann Lay wrote: > PR target/56263 > * doc/invoke.texi (AVR Options): Document it. This change broke building of info doc everywhere: ../../gcc/doc//invoke.texi:11652: @item found outside of an insertion block. makeinfo: Removing output

Re: [patch testsuite]: Fix gcc.target/i386 cases for mingw-targets

2013-03-12 Thread Kai Tietz
What's here to ping about? I got ok by rth. Kai

Do not output references from external vtables into LTO symbol table

2013-03-12 Thread Jan Hubicka
Hi, this patch fixes GCC side of PR 56557 where we fail to link #include int main() { std::fstream x; } with -flto -rdynamic because we do not see definition of _ZTCSt13basic_fstreamIcSt11char_traitsIcEE0_Sd. This symbol mistakely appears in lto symbol table because it is used from external

[PATCH][4/n] tree LIM TLC

2013-03-12 Thread Richard Biener
This makes us only consider stores instead of all references when looking for store motion opportunities. Bootstrap pending on x86_64-unknown-linux-gnu, queued for 4.9. To be committed with omitting the gcc_checking_assert. Richard. 2013-03-12 Richard Biener * tree-ssa-loop-im.c (c

[PATCH][3/n] tree LIM TLC

2013-03-12 Thread Richard Biener
This exploits symmetry in memory reference disambiguation. That should reduce the number of queries and space needed in the cache bitmaps. Bootstrapped and tested on x86_64-unknown-linux-gnu. Richard. 2013-03-12 Richard Biener PR tree-optimization/39326 * tree-ssa-loop-im.c

[PATCH][2/n] tree LIM TLC

2013-03-12 Thread Richard Biener
This makes LIM work per outermost loop, reducing peak memory use. Not necessarily 2/n, but I've completed and tested it on x86_64-unknown-linux-gnu. Queued for 4.9. Richard. 2013-03-12 Richard Biener * tree-ssa-loop-im.c (determine_invariantness_stmt): Rename to ... (determ

Re: [patch testsuite]: Fix gcc.target/i386 cases for mingw-targets

2013-03-12 Thread NightStrike
On Fri, Mar 8, 2013 at 8:21 AM, Rainer Orth wrote: > Hi Kai, > Index: gcc.target/i386/pr20020-1.c === --- gcc.target/i386/pr20020-1.c (Revision 196507) +++ gcc.target/i386/pr20020-1.c (Arbeitskopie) >>

Re: [PATCH][4.8][4.7][4.6] Make -shared-libgcc the default on Cygwin.

2013-03-12 Thread Richard Biener
On Tue, Mar 12, 2013 at 2:44 AM, Dave Korn wrote: > > Hello list, > > The attached patch makes -shared-libgcc the default for Cygwin. This is > something that I should have done some time ago, as shared libgcc on Cygwin is > more than mature. What's more, it is vital for reliable compilati

Re: [PATCH][1/n] tree LIM TLC

2013-03-12 Thread Richard Biener
On Mon, 11 Mar 2013, Richard Biener wrote: > > This is a series of patches applying some TLC to LIM. This first > patch gets rid of the remains of create_vop_ref_mapping and > alongside cleans up how we record references. Actually I rolled in some more changes into this patch, bootstrapped and

Re: extend fwprop optimization

2013-03-12 Thread Wei Mi
Thanks for the helpful comments! I have some replies inlined. Regards, Wei. On Mon, Mar 11, 2013 at 12:52 PM, Steven Bosscher wrote: > On Mon, Mar 11, 2013 at 6:52 AM, Wei Mi wrote: >> This is the fwprop extension patch which is put in order. Regression >> test and bootstrap pass. Please help to

Re: [Patch,AVR]: Fix PR56263

2013-03-12 Thread Denis Chertykov
2013/3/11 Georg-Johann Lay : > This patch implements a new warning option -Waddr-space-convert warns about > conversions to a non-containing address space. > > Address spaces are implemented in such a way that each address space is > contained in each other space so that casting is possible, e.g. i