[wwwdocs] Most slightly adjust link colors

2011-09-10 Thread Gerald Pfeifer
This is quite minor a change per se, in preparation of another one. It (a) makes visited links a bit less aggressive in their blue-ness and a tad brighter, (b) makes unvisited links a bit less bright, and (c) brings the two colors closer together to make the overall page impression less chequered

[arm-embedded] Make GCC more easier for user to build extra libraries for ARM.

2011-09-10 Thread Terry Guo
Hello, This patch adds a little bit extension to current GCC configure system to make it more convenient for user to select and build extra libraries for ARM embedded targets. Typically a comma-separated target list is supported. Extra libraries will be built for targets in that list. Committed in

[arm-embedded] Simply enable GCC to support -march=armv6s-m as GAS does.

2011-09-10 Thread Terry Guo
Hello, This patch adds simple support of -march=armv6s-m which is already supported by GAS. With this patch, inline assembly code containing "SVC" instruction can be handled by option -march=armv6s-m. Otherwise one has to use option -mcpu=cortex-m0. Committed into ARM/embedded-4_6-branch. BR, Ter

[Patch, gcc, testsuite] Use long enums for case foldconst-3.c for target ARM EABI.

2011-09-10 Thread Terry Guo
Hello, This patch aims to disable short enums for arm eabi otherwise the case will fail to be compiled due to "width of 'code' exceeds its type". Is it OK to trunk? BR, Terry 2011-09-09 Terry Guo * gcc.dg/tree-ssa/foldconst-3.c: Use -fno-short-enums for ARM EABI target. d

Re: [RFC] Cleanup DW_CFA_GNU_args_size handling

2011-09-10 Thread Gerald Pfeifer
On Sat, 10 Sep 2011, H.J. Lu wrote: > Our assembler supports CFI, but objdump may be too old to dump > DW_CFA_advance_loc and this feature is mis-detected. Should this be autoconf-ed, then? As a test for objdump? (FWIW my bootstrap comparison failure, cf. http://gcc.gnu.org/PR50010 , also seems

[wwwdocs] ProPolice actually was merged

2011-09-10 Thread Gerald Pfeifer
Good stuff, which got upstream with GCC 4.1, so we can remove it here. Installed. (Too bad we apparently did not do a news announcement back then.) Gerald Index: extensions.html === RCS file: /cvs/gcc/wwwdocs/htdocs/extensions.html

[wwwdocs] Rotate news

2011-09-10 Thread Gerald Pfeifer
Applied. Gerald Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v retrieving revision 1.811 diff -u -r1.811 index.html --- index.html 10 Sep 2011 20:13:01 - 1.811 +++ index.html 10 Sep 2011 21:08:38 -000

[wwwdocs] Remove libg++ from the extensions page

2011-09-10 Thread Gerald Pfeifer
Installed. I think libg++ has been obsolete for sufficiently long that keeping it here might cause more confusion than it's beneficial. Gerald Index: extensions.html === RCS file: /cvs/gcc/wwwdocs/htdocs/extensions.html,v retrieving

PATCH for Re: GCC 4.7.0 Status Report (2011-09-09)

2011-09-10 Thread Gerald Pfeifer
Web page updated thusly. Gerald Index: index.html === RCS file: /cvs/gcc/wwwdocs/htdocs/index.html,v retrieving revision 1.810 diff -u -r1.810 index.html --- index.html 18 Aug 2011 08:55:52 - 1.810 +++ index.html 10 Sep 20

Re: PATCH: Check ia32 instead of ilp32

2011-09-10 Thread Uros Bizjak
On Sat, Sep 10, 2011 at 9:02 PM, H.J. Lu wrote: > On x86, x32 PIC is the same as 64bit PIC.  This patch checks ia32 instead > of ilp32.  Tested on Linux/x86-64 with -m32, -m64 and -mx32.  OK for > trunk? > > Thanks. > > > H.J. > --- > 2011-09-10  H.J. Lu   > >        * gcc.dg/sibcall-6.c: Check i

PATCH: Check ia32 instead of ilp32

2011-09-10 Thread H.J. Lu
Hi, On x86, x32 PIC is the same as 64bit PIC. This patch checks ia32 instead of ilp32. Tested on Linux/x86-64 with -m32, -m64 and -mx32. OK for trunk? Thanks. H.J. --- 2011-09-10 H.J. Lu * gcc.dg/sibcall-6.c: Check ia32 instead of ilp32. diff --git a/gcc/testsuite/gcc.dg/sibcall

RFC: PR middle-end/50074: [4.7 Regression] gcc.dg/sibcall-6.c execution test on x86_64 with -fPIC

2011-09-10 Thread H.J. Lu
Hi, The fix for http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49519 is too conservative. It disables some sibcall optimizations. This patch changes to check register address only when called from store_one_arg. Any comments? Thanks. H.J. --- gcc/ 2011-09-10 H.J. Lu PR middle-end

Re: [pph] Fix method lookups (part 1) (issue4997042)

2011-09-10 Thread Gabriel Charette
On Fri, Sep 9, 2011 at 4:37 PM, Diego Novillo wrote: > > The main problem fixed here is that name lookups for class methods > uses a binary search that assumes that the methods in > CLASSTYPE_METHOD_VEC are sorted by pointer value. > > Since the reader typically allocates trees in a different patt

Re: [RFC] Cleanup DW_CFA_GNU_args_size handling

2011-09-10 Thread H.J. Lu
On Sat, Sep 10, 2011 at 4:01 AM, Eric Botcazou wrote: >> I have no problems with binutils in CVS today.  That >> may be another --with-as/--with-ld issue similar to >> >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 > > No, this was a pilot error on my side.  Now I have HAVE_GAS_CFI_DIRECTIVE

Re: PATCH: PR bootstrap/50237: [4.7 regression] bootstrap comparison failure for libcpp/lex.o

2011-09-10 Thread H.J. Lu
On Sat, Sep 03, 2011 at 10:15:20AM -0700, H.J. Lu wrote: > Hi, > > .init_array is enabled only if linker can take input .ctors sections with > input .init_array sections to generate the single output .init_array > section in the right order so that GCC is compatible with existing .o > files. Not

Re: [patch, fortran] Further fixes for PR 49479

2011-09-10 Thread Thomas Koenig
Hi Tobias, OK. Though, I find the ChangeLog entry a bit misleading: There is a (zero-sized) return array. I have changed the entry to * generated/m4/ifunction.m4: Always call internal_malloc_size even when there is a zero-sized return array on commit. Thanks for the review!

Re: [patch, fortran] Further fixes for PR 49479

2011-09-10 Thread Tobias Burnus
Thomas Koenig wrote: this patch fixes the same kind of problems that PR 49479 addressed, by applying the same kind of fix to another class of function. OK for trunk and (after a few days) for 4.6? OK. Though, I find the ChangeLog entry a bit misleading: There is a (zero-sized) return array.

Re: Add unwind information to mips epilogues

2011-09-10 Thread Richard Sandiford
Bernd Schmidt writes: > On 09/08/11 16:08, Richard Sandiford wrote: >> I suppose I still don't get why this is OK but this: >> >>> @@ -10324,12 +10350,26 @@ mips_expand_epilogue (bool sibcall_p) >>>if (!TARGET_MIPS16) >>> target = stack_pointer_rtx; >>> >>> - emit_insn (gen_add

Re: [RFC] Cleanup DW_CFA_GNU_args_size handling

2011-09-10 Thread Eric Botcazou
> I have no problems with binutils in CVS today. That > may be another --with-as/--with-ld issue similar to > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50237 No, this was a pilot error on my side. Now I have HAVE_GAS_CFI_DIRECTIVE to 1 but the bootstrap still fails if --disable-initfini-arr

[patch, fortran] Fix PR 50327, regression in DO WHILE

2011-09-10 Thread Thomas Koenig
Hello world, the attached patch fixes the PR by transforming DO WHILE (condition) ... END DO into the equvialent DO WHILE(.true.) IF (.not. condition) exit ... END DO before applying common function elimination. Otherwise, the temporary variables are created in the outer