Re: [wwwdocs] document -Wshadow change in 4.8

2013-02-10 Thread Manuel López-Ibáñez
On 10 February 2013 08:45, Gerald Pfeifer wrote: > On Sat, 9 Feb 2013, Manuel López-Ibáñez wrote: >> OK to commit? >> >> * htdocs/gcc-4.8/changes.html: Document -Wshadow change. > > Thanks! > > The only question I have is about "unless the variable is a function". > How can a variable be a functi

Proposition

2013-02-10 Thread Shin Eon-seong
Greetings from Korea, I have a proposal for you to the tune of Fifty Million EUR, if interested, kindly respond for specifics Warmest, Shin Eon-seong

[PATCH, rtl-optimization]: Fix PR56275, ICE in simplify_subreg, at simplify-rtx.c:5261 with vector code.

2013-02-10 Thread Uros Bizjak
Hello! Attached patch prevents out-of-bounds offset in the call to simplify_subreg, where the subreg offset is taken from the offset of a memory access. The problem triggers on 4.6 branch and is latent on 4.7 and mainline. 2013-02-10 Uros Bizjak PR rtl-optimization/56275 * sim

[patch] partially fix libstdc++/56267

2013-02-10 Thread Jonathan Wakely
PR libstdc++/56267 * include/bits/hashtable.h (__cache_default): Check if hash function is copy assignable. * testsuite/23_containers/unordered_set/56267.cc: New. * testsuite/23_containers/unordered_set/instantiation_neg.cc: Adjust dg-error line numbe

[patch] fix libstdc++/56278

2013-02-10 Thread Jonathan Wakely
PR libstdc++/56278 * include/bits/hashtable_policy.h (_Hash_code_base): Make default constructor public. * testsuite/23_containers/unordered_set/56278.cc: New. Tested x86_64-linux, committed to trunk. commit b893384109ddb4dfc1afac24dc6b2c56557f2fa8 Author: Jonathan

Re: unordered containers doc

2013-02-10 Thread Jonathan Wakely
On 7 February 2013 21:01, François Dumont wrote: > Thanks for taking care of it. Here is another version, I think clearer. > Reading the doc I also found an unfinished sentence in an other chapter, it > is in the patch. I made quite a few changes, partly to address the is_copy_assignable check I a

Merge from trunk to gccgo branch

2013-02-10 Thread Ian Lance Taylor
I merged trunk revision 195931 to the gccgo branch. Ian

Re: [wwwdocs] document -Wshadow change in 4.8

2013-02-10 Thread Gerald Pfeifer
On Sun, 10 Feb 2013, Manuel López-Ibáñez wrote: >> The only question I have is about "unless the variable is a function". >> How can a variable be a function? > True. What about: "if a declaration shadows a function decqlaration, > unless the former declares a function or a pointer to function." Y

[Patch, microblaze]: Add support for nested functions

2013-02-10 Thread David Holsgrove
Add MicroBlaze support for nested functions. Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/microblaze.c (microblaze_asm_trampoline_template): Replace with a microblaze version. (microblaze_trampoline_init): Adapt for microblaze. * config/microblaze/microblaze.h (TRA

[Patch, microblaze]: Add TARGET_SUPPORTS_PIC check

2013-02-10 Thread David Holsgrove
Add TARGET_SUPPORTS_PIC flag and check that the flag_pic = 2 Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1. * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1. * config/microblaze/microblaze.c (microblaze_option_overr

[Patch, microblaze]: Free variable local allocs at block ends

2013-02-10 Thread David Holsgrove
Free variable local allocs at block ends. Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/microblaze.md (save_stack_block): Define. (restore_stack_block): Likewise. 0003-gcc-microblaze-Free-variable-local-allocs-at-block-e.patch Description: 0003-gcc-microblaze-Free-varia

[Patch, microblaze]: Handle 0x80000000 as 32bit signed dividend

2013-02-10 Thread David Holsgrove
Handle 0x8000 as 32bit signed dividend Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/modsi3.S (modsi3): Fix case with 0x8000 as dividend. 0004-libgcc-microblaze-Handle-0x8000-as-32bit-signed-.patch Description: 0004-libgcc-microblaze-Handle-0x8000-as-32bit-

[Patch, microblaze]: Avoid PC relative branches between sections

2013-02-10 Thread David Holsgrove
Avoid PC relative branches between sections by further checking that the symbol we are calling is declared as a function before using PC relative calls. Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/microblaze.md (call_value_intern): Check symbol is function before branching

[Patch, microblaze]: Add support for the CLZ insn

2013-02-10 Thread David Holsgrove
Add support for the CLZ insn Will be used if pattern-compare is enabled and the targeted core is newer than v8.10.a. Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/microblaze.c: microblaze_has_clz = 0 Add version check for v8.10.a to enable microblaze_has_clz * config/mic

[Patch, microblaze]: Add support for swap instructions and reorder option

2013-02-10 Thread David Holsgrove
Add support for swap instructions and reorder option swapb and swaph instructions are introduced in microblaze cpu (mcpu) v8.30a, but have an undocumented dependence on -mxl-pattern-compare being set. The conditions for their use are; mcpu < 8.30a; no swap insns, use of -mxl-reorder produces war

[Patch, microblaze]: Added fast_interrupt controller

2013-02-10 Thread David Holsgrove
Added fast_interrupt controller Changelog 2013-02-11 Nagaraju Mekala * config/microblaze/microblaze-protos.h: microblaze_is_fast_interrupt. * config/microblaze/microblaze.c (microblaze_attribute_table): Add microblaze_is_fast_interrupt. (microblaze_fast_interrupt_function_p): New

[Patch, microblaze]: Adjustments to pcmp instruction generation

2013-02-10 Thread David Holsgrove
Adjustments to pcmp instruction generation avoid pcmpe insns when not valuable For pure in and equality comparisions, xor is better, Xor is a one cycle insn as pcmp. Pattern insns will still be used when you need to conditionally set something to one or zero, e.g if (a) return 1; else retur

[Patch, microblaze]: Setup stack protection at entry.

2013-02-10 Thread David Holsgrove
Setup stack protection at entry. libgcc/Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/crti.S: Setup stack protection at entry 0010-microblaze-Setup-stack-protection-at-entry.patch Description: 0010-microblaze-Setup-stack-protection-at-entry.patch

[Patch, microblaze]: Add microblaze_legitimate_pic_operand method

2013-02-10 Thread David Holsgrove
Add microblaze_legitimate_pic_operand method Prevents ICE where insn contains an invalid address Changelog 2013-02-11 David Holsgrove * config/microblaze/microblaze.c (microblaze_valid_pic_const): New function (microblaze_legitimate_pic_operand): Likewise * config/microblaze/microblaz

[Patch, microblaze]: Dont allow unsupported target rtx into call_internal1

2013-02-10 Thread David Holsgrove
Dont allow unsupported target rtx into call_internal1 Fix it by adding a simplified call_insn_operand, call_insn_simple_operand that only accepts the supported rtx code types. Changelog 2013-02-11 Edgar E. Iglesias * config/microblaze/predicates.md (call_insn_simple_operand): New predi

Re: [PATCH 1/2] PowerPC testsuite clean up

2013-02-10 Thread Sebastian Huber
On 02/09/2013 01:07 AM, David Edelsohn wrote: On Fri, Feb 8, 2013 at 5:05 PM, Peter Bergner wrote: On Wed, 2013-02-06 at 17:19 -0500, David Edelsohn wrote: Because Peter Bergner most recently worked on embedded PPC targets, I had asked him to double-check the patch before approving it. Hopeful