[Bug c++/35884] defining __need_size_t before including cstddef causes error

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-04-11 06:45 --- No, that is a way how the implementation does that internally. That's certainly not something you are allowed to do in random applications or libraries. -- jakub at gcc dot gnu dot org changed: What

[Bug c/35744] [4.1/4.2/4.3/4.4 regression] ICE attributes for invalid types

2008-04-11 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2008-04-11 06:56 --- Subject: Bug 35744 Author: reichelt Date: Fri Apr 11 06:55:38 2008 New Revision: 134193 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134193 Log: PR c/35744 * attribs.c (decl_attributes):

[Bug fortran/35831] Type-mismatch check missing for dummy procedure argument

2008-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #5 from burnus at gcc dot gnu dot org 2008-04-11 07:45 --- If on the other hand Tobias is right in the assumption he made in comment #3, then one could something along the lines of if (f1-sym-as-type != f2-sym-as-type) I would not be surprised if foo(*) and foo(4) are

[Bug ada/35906] New: build fails when building with -m32 -mcpu=ultrasparc (sparcv9 or -mv8plus also)

2008-04-11 Thread tommat at pimpek dot one dot pl
Bug is present in 4.2.3 also. building 32bit code with architecture greater than sparcv8 fails like this: /home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/./gcc/xgcc -B/home/users/builder/rpm/BUILD/gcc-4.3.0/builddir/./gcc/ -B/usr/sparc-pld-linux/bin/ -B/usr/sparc-pld-linux/lib/ -isystem

[Bug target/35906] build fails when building with -m32 -mcpu=ultrasparc (sparcv9 or -mv8plus also)

2008-04-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug testsuite/35843] [4.4 Regression]: -fdump-rtl-expand does not exist anymore

2008-04-11 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2008-04-11 10:16 --- Patch in testing. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug target/27234] no way to stop gcc from mucking with the incoming argument stack on ia32

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #18 from jakub at gcc dot gnu dot org 2008-04-11 10:25 --- Seems I forgot to provide the testcase I was talking about. Here it is: __attribute__((preserve_stack)) void f1 (int a, int b, int c, int d, int e) { int i; for (i = 0; i 50; i++) { // Simulate high

[Bug fortran/35864] [4.4 Regression] Revision 133965 broke gfortran.dg/initialization_1.f90

2008-04-11 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2008-04-11 09:54 --- It's mine, it's mine! I even posted a fix for it last night but have not had a chance to commit it. I'll try to do so over the weekend. As Jerry remarks, it sometimes goes away; such as on my x86_ia64/FC8, on which

[Bug testsuite/35843] [4.4 Regression]: -fdump-rtl-expand does not exist anymore

2008-04-11 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2008-04-11 11:44 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00930.html -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug fortran/35864] [4.4 Regression] Revision 133965 broke gfortran.dg/initialization_1.f90

2008-04-11 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2008-04-11 12:23 --- It's mine, it's mine! I even posted a fix for it last night but have not had a chance to commit it. I'll try to do so over the weekend. The mentioned patch was posted here:

[Bug target/35907] New: [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread jakub at gcc dot gnu dot org
build_trtable function from posix/regex.c is miscompiled on ppc64-linux with -mcpu=power6. The $v31 register is used within the function and is therefore saved in prologue and restored in epilogue, but as the function uses alloca, it is restored from different memory slot than it was saved into.

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2008-04-11 14:01 --- Created an attachment (id=15466) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15466action=view) regex.i.bz2 bzip2ed testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35907

[Bug tree-optimization/35869] ICE in calc_dfs_tree at -O2 -gnatp after VRP optimization

2008-04-11 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2008-04-11 14:14 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/35869] ICE in calc_dfs_tree at -O2 -gnatp after VRP optimization

2008-04-11 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2008-04-11 14:14 --- Subject: Bug 35869 Author: rguenth Date: Fri Apr 11 14:14:04 2008 New Revision: 134197 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134197 Log: 2008-04-11 Richard Guenther [EMAIL PROTECTED] PR

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-04-11 14:25 --- Smaller testcase: /* { dg-do run } */ /* { dg-options -O2 -mcpu=power6 } */ #define vector __attribute__((vector_size (16))) union { vector int k; int c[16]; } u, v, w; vector int m; void

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-04-11 14:31 --- On this smaller testcase and supposedly on the large testcase too: @@ -90,7 +90,7 @@ foo: li 3,0 lvx 30,1,0 li 0,128 - lvx 31,1,0 + lvx 31,31,0 ld 1,0(1) lwz

[Bug c/35908] New: Dubious charset conversions

2008-04-11 Thread neil at gcc dot gnu dot org
GCC accepts the following with -ansi -pedantic -Wall without diagnostics #include stdlib.h wchar_t z[] = La \xff; GCC claims a default execution charset of UTF-8; presumably the default execution wide character set is UTF-32. But \xff is a two-character narrow execution character set string

[Bug middle-end/35897] DSE doesn't support targets with wide registers

2008-04-11 Thread hjl at gcc dot gnu dot org
--- Comment #5 from hjl at gcc dot gnu dot org 2008-04-11 15:53 --- Subject: Bug 35897 Author: hjl Date: Fri Apr 11 15:52:19 2008 New Revision: 134199 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134199 Log: 2008-04-11 H.J. Lu [EMAIL PROTECTED] PR middle-end/35897

[Bug middle-end/35897] DSE doesn't support targets with wide registers

2008-04-11 Thread hjl at gcc dot gnu dot org
--- Comment #6 from hjl at gcc dot gnu dot org 2008-04-11 15:56 --- Subject: Bug 35897 Author: hjl Date: Fri Apr 11 15:55:57 2008 New Revision: 134200 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134200 Log: 2008-04-11 H.J. Lu [EMAIL PROTECTED] PR middle-end/35897

[Bug testsuite/35843] [4.4 Regression]: -fdump-rtl-expand does not exist anymore

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-04-11 16:09 --- I would rather have -fdump-rtl-expand back. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35843

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-04-11 16:26 --- I wonder if this was caused by: 2007-05-16 Eric Christopher [EMAIL PROTECTED] * config/rs6000/rs6000.c (rs6000_emit_prologue): Move altivec register saving after stack push. Set sp_offset whenever

[Bug c/35908] Dubious charset conversions

2008-04-11 Thread joseph at codesourcery dot com
--- Comment #1 from joseph at codesourcery dot com 2008-04-11 16:58 --- Subject: Re: New: Dubious charset conversions On Fri, 11 Apr 2008, neil at gcc dot gnu dot org wrote: GCC accepts the following with -ansi -pedantic -Wall without diagnostics #include stdlib.h wchar_t z[] =

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread bergner at gcc dot gnu dot org
--- Comment #5 from bergner at gcc dot gnu dot org 2008-04-11 17:20 --- Created an attachment (id=15467) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15467action=view) Restore altivec regs after frame pointer setup I agree with Andrew, it looks like Eric's patch moved the

[Bug c++/33486] namespace association doesn't handle parallel namespaces

2008-04-11 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2008-04-11 17:32 --- OK'd by Richard in private email, so I'm adjusting the Target Milestone to 4.3.1. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread bergner at gcc dot gnu dot org
--- Comment #6 from bergner at gcc dot gnu dot org 2008-04-11 17:33 --- FYI, it results in the updated asm: --- glibc02-bad.s 2008-04-11 12:21:48.0 -0500 +++ glibc02-good.s 2008-04-11 12:21:33.0 -0500 @@ -66,12 +66,12 @@ mr 3,30 vadduwm 2,31,2

[Bug c++/35909] New: ice for legal code

2008-04-11 Thread dcb314 at hotmail dot com
I just tried to compile the Suse Linux package tse3-0.3.1 with the GNU C compiler version 4.4 snapshot 20080404 The compiler said g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../src -O2 -g -fmessage-length=0 -D_FORTIFY_SOURCE=2 -W -Wall -ansi -pedantic -MT Alsa-0.9.lo -MD -MP -MF

[Bug c++/35909] ice for legal code

2008-04-11 Thread dcb314 at hotmail dot com
--- Comment #1 from dcb314 at hotmail dot com 2008-04-11 18:08 --- Created an attachment (id=15468) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15468action=view) C++ source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35909

[Bug ada/15915] Illegal program not detected, RM 13.11(15)

2008-04-11 Thread sam at gcc dot gnu dot org
-- sam at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org

[Bug target/35910] New: error: �struct function� has no member named �args_info�

2008-04-11 Thread mstein dot lists at googlemail dot com
Hi, building the target arm-elf fails with: gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/mstein/svn/trunk/gcc

[Bug rtl-optimization/35875] [ira] Error in process_bb_node_lives, at ira-lives.c:680

2008-04-11 Thread mstein dot lists at googlemail dot com
--- Comment #3 from mstein dot lists at googlemail dot com 2008-04-11 18:28 --- Fixed. -- mstein dot lists at googlemail dot com changed: What|Removed |Added

[Bug rtl-optimization/35817] [ira] Error in init_move_cost, at regclass.c:321

2008-04-11 Thread mstein dot lists at googlemail dot com
--- Comment #2 from mstein dot lists at googlemail dot com 2008-04-11 18:31 --- Fixed. -- mstein dot lists at googlemail dot com changed: What|Removed |Added

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2008-04-11 18:37 --- Is it safe to have live data in memory below stack pointer on ppc/ppc64? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35907

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-04-11 19:07 --- (In reply to comment #7) Is it safe to have live data in memory below stack pointer on ppc/ppc64? powerpc64-*-* yes , powerpc-linux-gnu no. the SysV abi does not define a red zone. --Pinski --

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread bergner at gcc dot gnu dot org
--- Comment #9 from bergner at gcc dot gnu dot org 2008-04-11 19:08 --- This isn't accessing data below the stack pointer, it's accessing below the previous stack pointer value which is in the current stack frame. From a technical standpoint, the ppc64 ABI allows us to access some

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2008-04-11 19:19 --- Well, for -m64 the code in between the old and new Altivec reg restoring spot when use_backchain_to_restore_sp will ld 1,0(1). Is altivec_save_offset guaranteed to be not lower than 288 bytes below this? For -m32,

[Bug target/35911] New: Building m32c-elf cross compiler fails

2008-04-11 Thread mstein dot lists at googlemail dot com
Hi, building m32c-elf fails here: gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -I. -I. -I/home/mstein/svn/trunk/gcc

[Bug fortran/27997] Fortran 2003: Support type-spec for array constructor

2008-04-11 Thread d at domob dot eu
--- Comment #24 from d at domob dot eu 2008-04-11 20:26 --- (In reply to comment #23) (In reply to comment #22) I think your patch is in a good enough shape to post it to [EMAIL PROTECTED] and ask there for comments; this ensures that all gfortraners read it (and not only

[Bug c++/35909] [4.4 Regression] ice for legal code

2008-04-11 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Keywords||ice-on-valid-code Summary|ice for legal code

[Bug target/35910] error: �struct function� has no member named �args_info�

2008-04-11 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-04-11 21:24 --- Honza? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug target/35911] Building m32c-elf cross compiler fails

2008-04-11 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2008-04-11 21:24 --- Honza? -- rguenth at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c++/35708] jump to label enters catch block

2008-04-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.1 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35708

[Bug c++/35708] [4.2 Regression] jump to label enters catch block

2008-04-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|jump to label enters catch |[4.2 Regression] jump to |block

[Bug c++/35909] [4.3/4.4 Regression] ice for legal code

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-04-11 21:29 --- This is most likely caused by PR 35708. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/35907] [4.3/4.4 Regression] 64-bit power6 glibc miscompilation

2008-04-11 Thread bergner at gcc dot gnu dot org
--- Comment #11 from bergner at gcc dot gnu dot org 2008-04-11 22:04 --- Hacking the test case to use up more stack space, I did get it to access more than 288 bytes below the stack frame for -m64, so we obviously need something more here. --

[Bug c/35885] unsigned long long and while loop evaluation regression?

2008-04-11 Thread wilson at tuliptree dot org
--- Comment #3 from wilson at tuliptree dot org 2008-04-12 00:45 --- Subject: Re: New: unsinged long long and while loop evaluation regression? I can reproduce this on a 32-bit x86-linux machine (i.e. a 32-bit HWI). The unsigned long long 0x becomes a (const_double -1 0),

[Bug ada/16086] Legal program rejected, procedure of protected object should be visible

2008-04-11 Thread sam at gcc dot gnu dot org
-- sam at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org

[Bug ada/16098] Illegal program not detected, RM 13.1(6)

2008-04-11 Thread sam at gcc dot gnu dot org
-- sam at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |sam at gcc dot gnu dot org |dot org

[Bug middle-end/35885] unsigned long long and while loop evaluation regression?

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-04-12 03:10 --- I think this is one of the reasons why x86 should change to HWI is 64bits, it will get the same code generation between using -m32 on x86_64 and i?86. -- pinskia at gcc dot gnu dot org changed: What

[Bug tree-optimization/35899] [4.3/4.4 Regression] ICE on filesystem code

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-04-12 03:21 --- On the trunk we get a better ICE: fs/sfs_xplatform.h:250: internal compiler error: tree check: expected class 'expression', have 'gimple_stmt' (gimple_modify_stmt) in expand_call_inline, at tree-inline.c:2872 --

[Bug ada/18204] Legal program rejected, completion of private type declaration

2008-04-11 Thread sam at gcc dot gnu dot org
--- Comment #3 from sam at gcc dot gnu dot org 2008-04-12 03:23 --- This appears to be fixed in 4.3.0. -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/18205] Legal program rejected, RM 13.13.2(14)

2008-04-11 Thread sam at gcc dot gnu dot org
--- Comment #2 from sam at gcc dot gnu dot org 2008-04-12 03:24 --- Confirmed on gcc (GCC) 4.4.0 20080411 -- sam at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/35899] [4.3/4.4 Regression] ICE on filesystem code

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-04-12 03:35 --- Reduced testcase: void sfs_freeblocks(void) { int a = sfs_native_read_block (); } void sfs_native_read_block (void) {} --- CUT --- With -pedantic-errors, we error out. -- pinskia at gcc dot gnu dot org

[Bug libgomp/35912] New: omp parallel for wrong result

2008-04-11 Thread whitelilis at gmail dot com
I just write the following code: int main() { int i = 0; int s = 0; #pragma omp parallel for for(i = 0; i 10001; i++) { /* uncommenting the follow line, it works */ printf(thread %d : %d\n,

[Bug libgomp/35912] omp parallel for wrong result

2008-04-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-04-12 04:27 --- I don't think this is a bug as you did not mark the operations on s as atomic. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35912

[Bug c/35908] Dubious charset conversions

2008-04-11 Thread neil at daikokuya dot co dot uk
--- Comment #2 from neil at daikokuya dot co dot uk 2008-04-12 04:40 --- Subject: Re: Dubious charset conversions joseph at codesourcery dot com wrote:- GCC accepts the following with -ansi -pedantic -Wall without diagnostics #include stdlib.h wchar_t z[] = La \xff;