Re: libgcc: strange optimization

2011-08-04 Thread Andreas Schwab
Hans-Peter Nilsson h...@bitrange.com writes: To make sure, it'd be nice if someone could perhaps grep an entire GNU/Linux-or-other distribution including the kernel for uses of asm-declared *local* registers that don't directly feed into asms and not being the stack-pointer? One frequent

Re: Question about SMS scheduling windows

2011-08-04 Thread Richard Sandiford
Hi Ayal, Thanks to you and Revital for the replies. The reason I asked is that I wanted to rewrite gen_sched_window so that it has only one loop over the PSPs and one loop over the PSSs. I have a follow-up patch to use iv analysis to reduce the number of memory dependencies (or at least

Re: g++ 2.5.2 does not catch reference to local variable error.

2011-08-04 Thread Jonathan Wakely
On 4 August 2011 03:30, LIM Fung-Chai lim.fung.c...@gmail.com wrote: Hi, g++ -Wall -Wextra ... should flag a warning on the following code but does not. std::pairint, const XYZ get_XYZ_data() {    XYZ result;    return std::pairint, const XYZ(1, result); } This is a violation of Scott

Re: g++ 2.5.2 does not catch reference to local variable error.

2011-08-04 Thread Miles Bader
Jonathan Wakely jwakely@gmail.com writes: g++ -Wall -Wextra ... should flag a warning on the following code but does not. Thanks for the apology, but it should still be reported to bugzilla not to this list. BTW, it should only warn if given -Weffc++, right? -Miles -- People who are

[named address] rejects-valid: error: initializer element is not computable at load time

2011-08-04 Thread Georg-Johann Lay
For the following 1-liner I get an error with current trunk r177267: const __pgm char * pallo = pallo; __pgm as a named address space qualifier. $TV/xgcc -B$TV pgm.c -c -save-temps -dp -mmcu=atmega8 addr_space_convert_expr 0xb74cdfc0 type pointer_type 0xb74c7f60 type integer_type

Re: libgcc: strange optimization

2011-08-04 Thread Andrew Haley
On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote: To make sure, it'd be nice if someone could perhaps grep an entire GNU/Linux-or-other distribution including the kernel for uses of asm-declared *local* registers that don't directly feed into asms and not being the stack-pointer? Or can we

Re: libgcc: strange optimization

2011-08-04 Thread Richard Guenther
On Thu, Aug 4, 2011 at 11:50 AM, Andrew Haley a...@redhat.com wrote: On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote: To make sure, it'd be nice if someone could perhaps grep an entire GNU/Linux-or-other distribution including the kernel for uses of asm-declared *local* registers that don't

Re: g++ 2.5.2 does not catch reference to local variable error.

2011-08-04 Thread Jonathan Wakely
On 4 August 2011 10:29, Miles Bader wrote: Jonathan Wakely jwakely@gmail.com writes: g++ -Wall -Wextra ... should flag a warning on the following code but does not. Thanks for the apology, but it should still be reported to bugzilla not to this list. BTW, it should only warn if given

Re: g++ 2.5.2 does not catch reference to local variable error.

2011-08-04 Thread LIM Fung-Chai
Hi, On Thu, Aug 4, 2011 at 5:29 PM, Miles Bader mi...@gnu.org wrote: Jonathan Wakely jwakely@gmail.com writes: g++ -Wall -Wextra ... should flag a warning on the following code but does not. Thanks for the apology, but it should still be reported to bugzilla not to this list. I was

Re: g++ 2.5.2 does not catch reference to local variable error.

2011-08-04 Thread Miles Bader
Jonathan Wakely jwakely@gmail.com writes: No, returning a reference to a local variable is always wrong, not only because Meyers says so. True ... :} -miles -- Apologize, v. To lay the foundation for a future offense.

Re: libgcc: strange optimization

2011-08-04 Thread Andrew Haley
On 08/04/2011 10:52 AM, Richard Guenther wrote: On Thu, Aug 4, 2011 at 11:50 AM, Andrew Haley a...@redhat.com wrote: On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote: To make sure, it'd be nice if someone could perhaps grep an entire GNU/Linux-or-other distribution including the kernel for

Re: libgcc: strange optimization

2011-08-04 Thread Richard Guenther
On Thu, Aug 4, 2011 at 1:10 PM, Andrew Haley a...@redhat.com wrote: On 08/04/2011 10:52 AM, Richard Guenther wrote: On Thu, Aug 4, 2011 at 11:50 AM, Andrew Haley a...@redhat.com wrote: On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote: To make sure, it'd be nice if someone could perhaps grep

Re: g++ 2.5.2 does not catch reference to local variable error.

2011-08-04 Thread Jonathan Wakely
On 4 August 2011 11:31, LIM Fung-Chai wrote: Hi, On Thu, Aug 4, 2011 at 5:29 PM, Miles Bader mi...@gnu.org wrote: Jonathan Wakely jwakely@gmail.com writes: g++ -Wall -Wextra ... should flag a warning on the following code but does not. Thanks for the apology, but it should still be

Re: libgcc: strange optimization

2011-08-04 Thread Hans-Peter Nilsson
On Thu, 4 Aug 2011, Andreas Schwab wrote: Hans-Peter Nilsson h...@bitrange.com writes: To make sure, it'd be nice if someone could perhaps grep an entire GNU/Linux-or-other distribution including the kernel for uses of asm-declared *local* registers that don't directly feed into asms and

Re: [RFC] Remove -freorder-blocks-and-partition

2011-08-04 Thread Jan Hubicka
On Wed, Aug 3, 2011 at 2:06 PM, Jan Hubicka hubi...@ucw.cz wrote: In xalancbmk, with the partition option, most of object files have nonzero size cold sections generated. The text size of the binary is increased to 3572728 bytes from 3466790 bytes.  Profiling the program using the

Re: [RFC] Remove -freorder-blocks-and-partition

2011-08-04 Thread Jan Hubicka
Also on the oriignal topic, Iknow that Mozlla folks experimented with this switch (and I do expect it should make noticeable reducion in the hot section footprint that is important for them). They are not using it at the moment because of problems with their bug reporting tool not being able to do

[named address] ice-on-valid: in postreload.c:reload_cse_simplify_operands

2011-08-04 Thread Georg-Johann Lay
Trying to make named address space support work for target AVR, I am facing the following problem: For generic AS, there are three valid base pointer registers X , Y and Z. For the new __pgm AS, only Z is available without offset. The problem is now that addresses.h:base_reg_class() does not

FDO and LTO on ARM

2011-08-04 Thread Mike Hommey
Hi, We (Mozilla) are trying to get the best of the ARM toolchain for our Android build. I recently built an Android Native-code Development Kit with GCC 4.6.1 and binutils 2.21.53, instead of GCC 4.4.3 and binutils 2.19 that come with the default NDK. LTO doesn't work at all, I'm getting an ICE

Re: libgcc: strange optimization

2011-08-04 Thread Andrew Haley
On 08/04/2011 12:19 PM, Richard Guenther wrote: On Thu, Aug 4, 2011 at 1:10 PM, Andrew Haley a...@redhat.com wrote: On 08/04/2011 10:52 AM, Richard Guenther wrote: On Thu, Aug 4, 2011 at 11:50 AM, Andrew Haley a...@redhat.com wrote: On 08/04/2011 01:19 AM, Hans-Peter Nilsson wrote: To make

Re: FDO and LTO on ARM

2011-08-04 Thread Richard Guenther
On Thu, Aug 4, 2011 at 4:05 PM, Mike Hommey mhom...@mozilla.com wrote: Hi, We (Mozilla) are trying to get the best of the ARM toolchain for our Android build. I recently built an Android Native-code Development Kit with GCC 4.6.1 and binutils 2.21.53, instead of GCC 4.4.3 and binutils 2.19

Re: [RFC] Remove -freorder-blocks-and-partition

2011-08-04 Thread Taras Glek
On 08/04/2011 06:39 AM, Jan Hubicka wrote: Also on the oriignal topic, Iknow that Mozlla folks experimented with this switch (and I do expect it should make noticeable reducion in the hot section footprint that is important for them). They are not using it at the moment because of problems with

Re: [named address] rejects-valid: error: initializer element is not computable at load time

2011-08-04 Thread Ulrich Weigand
Georg-Johann Lay wrote: For the following 1-liner I get an error with current trunk r177267: const __pgm char * pallo = pallo; __pgm as a named address space qualifier. [snip] Moreover, if a user writes a line like const __pgm char * pallo = pallo; he wants the string literal to be

Re: [named address] ice-on-valid: in postreload.c:reload_cse_simplify_operands

2011-08-04 Thread DJ Delorie
The only target supporting named address spaces today is spu-elf, m32c-elf does too.

Re: Question about SMS scheduling windows

2011-08-04 Thread Ayal Zaks
Hi Richard, 2011/8/4 Richard Sandiford richard.sandif...@linaro.org Hi Ayal, Thanks to you and Revital for the replies.  The reason I asked is that I wanted to rewrite gen_sched_window so that it has only one loop over the PSPs and one loop over the PSSs. This rewrite makes perfect sense

Re: [named address] ice-on-valid: in postreload.c:reload_cse_simplify_operands

2011-08-04 Thread Ulrich Weigand
DJ Delorie wrote: The only target supporting named address spaces today is spu-elf, m32c-elf does too. Huh, I totally missed that, sorry ... Bye, Ulrich -- Dr. Ulrich Weigand GNU Toolchain for Linux on System z and Cell BE ulrich.weig...@de.ibm.com

Re: FDO and LTO on ARM

2011-08-04 Thread Mike Hommey
On Thu, Aug 04, 2011 at 05:16:25PM +0200, Richard Guenther wrote: -fprofile-use enables quite some optimizations that are even off for -O3 which are -funroll-loops and -fpeel-loops, -ftracer and -funswitch-loops. Those will all be increasing code-size (hopefully only for hot code pieces

Re: FDO and LTO on ARM

2011-08-04 Thread Xinliang David Li
+Mark who has done size optimization tuning with FDO. On Thu, Aug 4, 2011 at 7:05 AM, Mike Hommey mhom...@mozilla.com wrote: Hi, We (Mozilla) are trying to get the best of the ARM toolchain for our Android build. I recently built an Android Native-code Development Kit with GCC 4.6.1 and

Re: [named address] rejects-valid: error: initializer element is not computable at load time

2011-08-04 Thread Georg-Johann Lay
Ulrich Weigand wrote: Georg-Johann Lay wrote: For the following 1-liner I get an error with current trunk r177267: const __pgm char * pallo = pallo; __pgm as a named address space qualifier. [snip] Moreover, if a user writes a line like const __pgm char * pallo = pallo; he wants the

Re: FDO and LTO on ARM

2011-08-04 Thread Denis Chertykov
2011/8/4 Xinliang David Li davi...@google.com: +Mark who has done size optimization tuning with FDO. On Thu, Aug 4, 2011 at 7:05 AM, Mike Hommey mhom...@mozilla.com wrote: Hi, We (Mozilla) are trying to get the best of the ARM toolchain for our Android build. I recently built an Android

Re: [named address] ice-on-valid: in postreload.c:reload_cse_simplify_operands

2011-08-04 Thread Georg-Johann Lay
Ulrich Weigand wrote: Georg-Johann Lay wrote: Trying to make named address space support work for target AVR, I am facing the following problem: For generic AS, there are three valid base pointer registers X , Y and Z. For the new __pgm AS, only Z is available without offset. The

Re: RFC: PATCH: Require and use int64 for x86 options

2011-08-04 Thread H.J. Lu
On Wed, Jul 27, 2011 at 2:23 PM, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 27 Jul 2011, H.J. Lu wrote: ; Maximum number of mask bits in a variable. MaxMaskBits ix86_isa_flags = 64 It mark ix86_isa_flags as 64bit.  Any comments? The patch won't work as is.  set_option, for

Re: FDO and LTO on ARM

2011-08-04 Thread Jan Hubicka
Did you try using FDO with -Os? FDO should make hot code parts optimized similar to -O3 but leave other pieces optimized for size. Using FDO with -O3 gives you the opposite, cold portions optimized for size while the rest is optimized for speed. FDO with -Os still optimize for size, even in

Re: FDO and LTO on ARM

2011-08-04 Thread Jan Hubicka
+Mark who has done size optimization tuning with FDO. On Thu, Aug 4, 2011 at 7:05 AM, Mike Hommey mhom...@mozilla.com wrote: Hi, We (Mozilla) are trying to get the best of the ARM toolchain for our Android build. I recently built an Android Native-code Development Kit with GCC 4.6.1

Re: RFC: PATCH: Require and use int64 for x86 options

2011-08-04 Thread H.J. Lu
On Thu, Aug 4, 2011 at 11:08 AM, H.J. Lu hjl.to...@gmail.com wrote: On Wed, Jul 27, 2011 at 2:23 PM, Joseph S. Myers jos...@codesourcery.com wrote: On Wed, 27 Jul 2011, H.J. Lu wrote: ; Maximum number of mask bits in a variable. MaxMaskBits ix86_isa_flags = 64 It mark ix86_isa_flags as

Re: RFC: PATCH: Require and use int64 for x86 options

2011-08-04 Thread Joseph S. Myers
On Thu, 4 Aug 2011, H.J. Lu wrote: Here is the updated patch to get proper HOST_WIDE_INT bits and 1 through a new file, opt-gen.c. OK for trunk? Using another generator program like this can't be the best approach (apart from anything else, when built for the build system hwint.h should

gcc-4.5-20110804 is now available

2011-08-04 Thread gccadmin
Snapshot gcc-4.5-20110804 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20110804/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.5 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: RFC: PATCH: Require and use int64 for x86 options

2011-08-04 Thread H.J. Lu
On Thu, Aug 4, 2011 at 3:46 PM, Joseph S. Myers jos...@codesourcery.com wrote: On Thu, 4 Aug 2011, H.J. Lu wrote: Here is the updated patch to get proper HOST_WIDE_INT bits and 1 through a new file, opt-gen.c.  OK for trunk? Using another generator program like this can't be the best

Re: RFC: PATCH: Require and use int64 for x86 options

2011-08-04 Thread H.J. Lu
On Thu, Aug 4, 2011 at 4:44 PM, H.J. Lu hjl.to...@gmail.com wrote: On Thu, Aug 4, 2011 at 3:46 PM, Joseph S. Myers jos...@codesourcery.com wrote: On Thu, 4 Aug 2011, H.J. Lu wrote: Here is the updated patch to get proper HOST_WIDE_INT bits and 1 through a new file, opt-gen.c.  OK for trunk?

[Bug middle-end/49905] Better sanity checking on sprintf src dest to produce warning for dodgy code ?

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49905 --- Comment #2 from Jakub Jelinek jakub at gcc dot gnu.org 2011-08-04 07:40:29 UTC --- Author: jakub Date: Thu Aug 4 07:40:24 2011 New Revision: 177316 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=177316 Log: PR middle-end/49905

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #9 from janus at gcc dot gnu.org 2011-08-04 07:41:43 UTC --- Hi Mikael, 4.5.7.3 (type-bound procedure overriding) has: • Either both shall be subroutines or both shall be functions having the same result characteristics (12.3.3).

[Bug c/49923] __attribute__((packed)) on ARM is sometimes dropped

2011-08-04 Thread sgh at sgh dot dk
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49923 --- Comment #7 from Søren Holm sgh at sgh dot dk 2011-08-04 08:00:14 UTC --- It works on the target too. From my perspective your patch fixes this issue. Thank you very much Martin.

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-04 Thread burnus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #10 from Tobias Burnus burnus at gcc dot gnu.org 2011-08-04 08:09:26 UTC --- (In reply to comment #9) + if (strcmp (e1-symtree-n.sym-name, e1-symtree-n.sym-name) != 0) That can be done quicker as: if (e1-symtree-n.sym-name

[Bug ada/47880] Free in System.Pool_Local raises Storage_Error

2011-08-04 Thread charlet at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47880 --- Comment #1 from Arnaud Charlet charlet at gcc dot gnu.org 2011-08-04 08:32:58 UTC --- Author: charlet Date: Thu Aug 4 08:32:54 2011 New Revision: 177332 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=177332 Log: 2011-08-04 Thomas

[Bug ada/47880] Free in System.Pool_Local raises Storage_Error

2011-08-04 Thread charlet at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47880 Arnaud Charlet charlet at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/49971] Missing uninitialized warning; may involve return statements

2011-08-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49971 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug tree-optimization/18501] [4.4/4.5/4.6/4.7 Regression] Missing 'used uninitialized' warning (CCP)

2011-08-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18501 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||cernekee at

[Bug debug/49951] [4.5/4.6/4.7 Regression] Debug stepping behavior regarding g++ Class destructor has changed for the worse starting at gcc 4.5.0

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49951 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug middle-end/49968] ICE in calls.c:3141 / assert after emit_stack_restore

2011-08-04 Thread uweigand at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49968 --- Comment #4 from Ulrich Weigand uweigand at gcc dot gnu.org 2011-08-04 09:10:44 UTC --- Tests have completed now; the patch fixes all regressions introduced by the original commit, and introduced no new ones. Looks good to me.

[Bug tree-optimization/49772] [4.7 Regression] ICE: in ipa_pta_execute, at tree-ssa-structalias.c:6790 with -fipa-pta

2011-08-04 Thread rguenther at suse dot de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49772 --- Comment #4 from rguenther at suse dot de rguenther at suse dot de 2011-08-04 09:20:21 UTC --- On Wed, 3 Aug 2011, hubicka at gcc dot gnu.org wrote: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49772 --- Comment #3 from Jan Hubicka hubicka

[Bug tree-optimization/49413] over-optimization that causes valid code to segfault

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49413 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug libfortran/49970] make prefix=... install doesn't work

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49970 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug middle-end/49969] not vectorized: data ref analysis failed

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49969 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug rtl-optimization/49972] New: Invalid .gcc_except_table with -freorder-blocks-and-partition

2011-08-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49972 Summary: Invalid .gcc_except_table with -freorder-blocks-and-partition Product: gcc Version: 4.7.0 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug rtl-optimization/49972] Invalid .gcc_except_table with -freorder-blocks-and-partition

2011-08-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49972 --- Comment #1 from Alan Modra amodra at gmail dot com 2011-08-04 10:08:58 UTC --- Created attachment 24913 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24913 faulty assembly

[Bug ada/49944] [4.5/4.6/4.7 regression] Bootstrapping on x86_64-pc-kfreebsd-gnu fails with s-taprop.adb:856:10: pthread_attr_setaffinity_np is undefined (more references follow)

2011-08-04 Thread ludo...@ludovic-brenta.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49944 --- Comment #5 from Ludovic Brenta ludo...@ludovic-brenta.org 2011-08-04 10:21:20 UTC --- OK, here is another patch which changes GCC to use s-taprop-posix.ad[bs] on GNU/kFreeBSD. The changes in s-osinte-kfreebsd-gnu.ads are more extensive than

[Bug c++/49973] New: Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Summary: Column numbers count special characters as multiple columns Product: gcc Version: 4.5.2 Status: UNCONFIRMED Severity: normal Priority: P3

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug rtl-optimization/49972] Invalid .gcc_except_table with -freorder-blocks-and-partition

2011-08-04 Thread amodra at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49972 --- Comment #2 from Alan Modra amodra at gmail dot com 2011-08-04 10:34:27 UTC --- Entries in the call-site table for start of the instructions for the current call site, and the pointer to the landing pad for this sequence of instructions, are

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #2 from Timothy Liang timothy003 at msn dot com 2011-08-04 10:36:53 UTC --- (In reply to comment #1) Depends on how the column numbers are defined. I think gcc uses bytes from the beginning of the line, then 12 is correct (and

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #3 from Andreas Schwab sch...@linux-m68k.org 2011-08-04 10:55:13 UTC --- Why 10? /* 中 */ has 12 characters (and 14 bytes as utf8).

[Bug libgomp/48841] [regression] lot more libgomp testsuite failures compared to 4.4.5

2011-08-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48841 --- Comment #8 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-08-04 10:55:04 UTC --- Okay... did the plain configure and make and no relative path, and watching my 4.6.1 make -k check - I'll be summiting the

[Bug libgomp/48841] [regression] lot more libgomp testsuite failures compared to 4.4.5

2011-08-04 Thread ro at CeBiTec dot Uni-Bielefeld.DE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48841 --- Comment #9 from ro at CeBiTec dot Uni-Bielefeld.DE ro at CeBiTec dot Uni-Bielefeld.DE 2011-08-04 10:56:24 UTC --- Please ignore last comment 6. With 4.6.1: === libgomp Summary === # of expected passes2586 # of

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-04 Thread janus at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #11 from janus at gcc dot gnu.org 2011-08-04 10:59:18 UTC --- (In reply to comment #10) (In reply to comment #9) + if (strcmp (e1-symtree-n.sym-name, e1-symtree-n.sym-name) != 0) That can be done quicker as: if

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread timothy003 at msn dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #4 from Timothy Liang timothy003 at msn dot com 2011-08-04 11:03:32 UTC --- (In reply to comment #3) Why 10? /* 中 */ has 12 characters (and 14 bytes as utf8). The four spaces is supposed to be a tab. Also, the column number

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-04 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #12 from Mikael Morin mikael at gcc dot gnu.org 2011-08-04 11:14:36 UTC --- If we are willing to do some simple expression comparisons, here is what I think should be supported (most common cases): - constants: this is the minimum

[Bug fortran/49638] [OOP] length parameter is ignored when overriding type bound character functions with constant length.

2011-08-04 Thread mikael at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49638 --- Comment #13 from Mikael Morin mikael at gcc dot gnu.org 2011-08-04 11:16:41 UTC --- (In reply to comment #11) (In reply to comment #10) (In reply to comment #9) + if (strcmp (e1-symtree-n.sym-name, e1-symtree-n.sym-name) != 0)

[Bug debug/48220] DW_OP_GNU_entry_value/DW_TAG_GNU_call_site_parameter vs register window

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48220 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|NEW |RESOLVED

[Bug debug/49901] gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin

2011-08-04 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49901 --- Comment #3 from Iain Sandoe iains at gcc dot gnu.org 2011-08-04 12:10:36 UTC --- Created attachment 24914 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24914 fix PR49901 The output from the tests is a little misleading. These tests

[Bug debug/49901] gfortran.dg/debug/[pr35154-dwarf2.f/pr37738.f] failures on darwin

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49901 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug rtl-optimization/49686] [4.7 Regression] CFI notes are missed for delayed slot

2011-08-04 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49686 --- Comment #6 from Kazumoto Kojima kkojima at gcc dot gnu.org 2011-08-04 12:18:09 UTC --- It seems that the problem comes back on trunk revision 177305 for SH. There are many EH test failures which went away with -fno-delayed-branch and the

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc

[Bug c++/49974] New: missing warning for indirectly returning reference to local/temporary

2011-08-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 Summary: missing warning for indirectly returning reference to local/temporary Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: diagnostic Severity:

[Bug tree-optimization/49957] Fails to SLP in 410.bwaves

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49957 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Bug tree-optimization/49957] Fails to SLP in 410.bwaves

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49957 --- Comment #5 from Richard Guenther rguenth at gcc dot gnu.org 2011-08-04 12:22:47 UTC --- Author: rguenth Date: Thu Aug 4 12:22:42 2011 New Revision: 177368 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=177368 Log: 2011-08-04 Richard

[Bug c++/49974] missing warning for indirectly returning reference to local/temporary

2011-08-04 Thread manu at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 Manuel López-Ibáñez manu at gcc dot gnu.org changed: What|Removed |Added CC||manu at gcc

[Bug rtl-optimization/38644] [4.4/4.5/4.6/4.7 Regression] Optimization flag -O1 -fschedule-insns2 causes wrong code

2011-08-04 Thread sebastian.hu...@embedded-brains.de
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644 --- Comment #37 from Sebastian Huber sebastian.hu...@embedded-brains.de 2011-08-04 12:30:29 UTC --- Is this problem also related to this bug (GCC 4.6.1 20110627) with comments inside: objdump -d -C

[Bug c++/49974] missing warning for indirectly returning reference to local/temporary

2011-08-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 Jonathan Wakely redi at gcc dot gnu.org changed: What|Removed |Added Severity|normal |enhancement ---

[Bug c++/49974] missing warning for indirectly returning reference to local/temporary

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49974 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c++/986] g++ misses warning for reference on temporary that invokes undefined behaviour

2011-08-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=986 --- Comment #31 from Jonathan Wakely redi at gcc dot gnu.org 2011-08-04 13:01:31 UTC --- A similar case I've just added to a comment of PR 49974 struct Y { Y(int local) : ref(local) { } int ref; }; The reference is dangling as soon as the

[Bug c/49966] gcc.c-torture/execute/pr45034.c execution timeouts

2011-08-04 Thread iains at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49966 --- Comment #3 from Iain Sandoe iains at gcc dot gnu.org 2011-08-04 13:09:05 UTC --- NOT seen on: i686-darwin9 @r177287 xcode 3.1.4 x86_64-darwin10 @177314 xcode 3.2.5 x86_64-darwin10 @177355 xcdoe 3.2.6 is this still affecting darwin11?

[Bug c/49975] New: warn on malformed __attribute((...))__

2011-08-04 Thread ext at sidvind dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 Summary: warn on malformed __attribute((...))__ Product: gcc Version: unknown Status: UNCONFIRMED Severity: minor Priority: P3 Component: c AssignedTo:

[Bug c/49975] warn on malformed __attribute((...))__

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added CC||jakub at gcc dot

[Bug rtl-optimization/49686] [4.7 Regression] CFI notes are missed for delayed slot

2011-08-04 Thread hp at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49686 --- Comment #7 from Hans-Peter Nilsson hp at gcc dot gnu.org 2011-08-04 13:30:48 UTC --- (In reply to comment #6) It seems that the problem comes back on trunk revision 177305 for SH. At a glance that may have happened for cris-elf too, worked

[Bug c++/49976] New: Cross (Linux-AIX) GCC crashes with Segmentation fault

2011-08-04 Thread basil at list dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49976 Summary: Cross (Linux-AIX) GCC crashes with Segmentation fault Product: gcc Version: 4.6.1 Status: UNCONFIRMED Severity: major Priority: P3 Component: c++

[Bug c/49975] warn on malformed __attribute((...))__

2011-08-04 Thread ext at sidvind dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 --- Comment #2 from David Sveningsson ext at sidvind dot com 2011-08-04 13:33:21 UTC --- Might be valid, but confusing. If whitespace were required after )) it would make more sense as it is clear that a global is created. As the documentation

[Bug c++/49976] Cross (Linux-AIX) GCC crashes with Segmentation fault

2011-08-04 Thread basil at list dot ru
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49976 --- Comment #1 from Vasily basil at list dot ru 2011-08-04 13:37:27 UTC --- Created attachment 24915 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24915 compressed preprocessed file

[Bug tree-optimization/49768] [4.6/4.7 Regression] C99 style union initializations does not work as expected with optimizations

2011-08-04 Thread vrahkone at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49768 --- Comment #10 from Valtteri Rahkonen vrahkone at gmail dot com 2011-08-04 13:44:38 UTC --- I tested latest gcc 4.6.1 from Debian unstable containing the patch and it seems to work. I'm not going to dare to mark this as verified though because I

[Bug c/49975] warn on malformed __attribute((...))__

2011-08-04 Thread sch...@linux-m68k.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 --- Comment #3 from Andreas Schwab sch...@linux-m68k.org 2011-08-04 13:45:13 UTC --- It doesn't make sense to require whitespace after a paren, that will likely break a lot of programs.

[Bug c/49975] warn on malformed __attribute((...))__

2011-08-04 Thread ext at sidvind dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 --- Comment #4 from David Sveningsson ext at sidvind dot com 2011-08-04 13:48:55 UTC --- (In reply to comment #3) It doesn't make sense to require whitespace after a paren, that will likely break a lot of programs. In this quite specific case?

[Bug c/49975] warn on malformed __attribute((...))__

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[Bug target/49868] Implement named address space to place/access data in flash memory

2011-08-04 Thread gjl at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49868 --- Comment #1 from Georg-Johann Lay gjl at gcc dot gnu.org 2011-08-04 13:51:28 UTC --- Created attachment 24916 -- http://gcc.gnu.org/bugzilla/attachment.cgi?id=24916 Draft work on AS against r177314 This is just an update of my local work on

[Bug c/49975] warn on malformed __attribute((...))__

2011-08-04 Thread redi at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49975 --- Comment #6 from Jonathan Wakely redi at gcc dot gnu.org 2011-08-04 13:56:46 UTC --- Google codesearch shows __attribute is used widely in the android kernel and many other places. Whitespace is not significant in C, it would be strange for

[Bug rtl-optimization/49686] [4.7 Regression] CFI notes are missed for delayed slot

2011-08-04 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49686 --- Comment #8 from Kazumoto Kojima kkojima at gcc dot gnu.org 2011-08-04 13:57:14 UTC --- Thanks for checking cris-elf. I'd like to open a new PR.

[Bug rtl-optimization/49977] New: [4.7 Regression] CFI notes are missed for delayed slot

2011-08-04 Thread kkojima at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49977 Summary: [4.7 Regression] CFI notes are missed for delayed slot Product: gcc Version: 4.7.0 Status: UNCONFIRMED Keywords: wrong-code Severity: normal Priority: P3

[Bug middle-end/49806] [4.7 Regression] FAIL: gcc.dg/tree-ssa/vrp47.c

2011-08-04 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49806 --- Comment #6 from Richard Guenther rguenth at gcc dot gnu.org 2011-08-04 14:11:35 UTC --- Author: rguenth Date: Thu Aug 4 14:11:30 2011 New Revision: 177392 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=177392 Log: 2011-08-04 Richard

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2011-08-04 Thread marc.glisse at normalesup dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 Marc Glisse marc.glisse at normalesup dot org changed: What|Removed |Added Attachment #24874|0 |1

[Bug c++/49973] Column numbers count special characters as multiple columns

2011-08-04 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49973 --- Comment #6 from joseph at codesourcery dot com joseph at codesourcery dot com 2011-08-04 14:38:16 UTC --- The GCS says column numbers should start from 1 at the beginning of the line ... Calculate column numbers assuming that space and all

[Bug libstdc++/1773] __cplusplus defined to 1, should be 199711L

2011-08-04 Thread paolo.carlini at oracle dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=1773 --- Comment #108 from Paolo Carlini paolo.carlini at oracle dot com 2011-08-04 14:40:21 UTC --- Excellent. Can we sort out separately with C++ front-end people like Jason this mangling (and demangling too, I suppose) issue? If I understand

[Bug tree-optimization/49948] ICE with -ftree-parallelize-loops: address taken, but ADDRESSABLE bit not set

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49948 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added AssignedTo|rguenth at gcc dot gnu.org |jakub at gcc dot

[Bug tree-optimization/49712] internal compiler error: in gen_lsm_tmp_name, at tree-ssa-loop-im.c:2048

2011-08-04 Thread jakub at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49712 Jakub Jelinek jakub at gcc dot gnu.org changed: What|Removed |Added Status|ASSIGNED|RESOLVED

  1   2   3   >