Re: M32C vs PR tree-optimization/39233

2009-04-16 Thread Richard Guenther
On Wed, 15 Apr 2009, DJ Delorie wrote: yes; however, maybe it would be easier to wait till Richard finishes the work on not representing the overflow semantics in types (assuming that's going to happen say in a few weeks?), which should make the fix unnecessary, Another thought - is

Re: M32C vs PR tree-optimization/39233

2009-04-16 Thread Paolo Bonzini
Note that the issue is with our representation of POINTER_PLUS_EXPR which insists on using sizetype for the pointer offset argument (where I don't remember if m32c uses a bigger or smaller mode for sizetype than for pointers). Whenever the sizes of the modes for pointers and sizetype do not

Re: M32C vs PR tree-optimization/39233

2009-04-16 Thread Richard Guenther
On Wed, 15 Apr 2009, DJ Delorie wrote: As of this fix (yes, I know it was some time ago - I've been busy), the m32c-elf build fails building the target libiberty: ./cc1 -fpreprocessed regex.i -quiet -dumpbase regex.c -mcpu=m32cm \ -auxbase-strip regex.o -g -O2 -W -Wall -Wwrite-strings

Snapshots of PPL 0.10.2 available for testing

2009-04-16 Thread Roberto Bagnara
All the problems of PPL 0.10.1 we are aware of have been fixed in the snapshot of PPL 0.10.2 available at ftp://ftp.cs.unipr.it/pub/ppl/snapshots/ In particular here is what has changed: - Correctly detect GMP 4.3.0. - Fixed the C interface library version information. - Test program

Re: Snapshots of PPL 0.10.2 available for testing

2009-04-16 Thread Richard Guenther
On Thu, Apr 16, 2009 at 2:08 PM, Roberto Bagnara bagn...@cs.unipr.it wrote: All the problems of PPL 0.10.1 we are aware of have been fixed in the snapshot of PPL 0.10.2 available at    ftp://ftp.cs.unipr.it/pub/ppl/snapshots/ In particular here is what has changed: - Correctly detect GMP

Re: M32C vs PR tree-optimization/39233

2009-04-16 Thread DJ Delorie
I'm not sure if this is the same problem, but didn't I suggest in the past to fix this up during expansion? That is, if we end up with a POINTER_PLUS_EXPR with different mode size pointer and offset promote (or demote) the offset argument to pointer size properly? What happened to these

Diagnostic Messaging Suggestion

2009-04-16 Thread Arthur Schwarz
Suggested Messaging: Messaging seems redundant in indicating that function has been redifined twice. One of the messages should be removed. More to the point, I think the messaging may be erroneous - code fragment follows. g++-4 Diagnostic Messaging In file included from partition.cpp:66:

Re: Diagnostic Messaging Suggestion

2009-04-16 Thread James Dennett
On Thu, Apr 16, 2009 at 12:06 PM, Arthur Schwarz aschwarz1...@verizon.net wrote: Suggested Messaging: Messaging seems redundant in indicating that function has been redifined twice. One of the messages should be removed. More to the point, I think the messaging may be erroneous - code

Re: Diagnostic Messaging Suggestion

2009-04-16 Thread Arthur Schwarz
Can you show code that reproduces the issue?  My best guess is that a header file is included twice, and lacks guards, hence the message is correct: the function is being defined twice, from the same source location. -- James Code (unadulterated and full of original

Re: Diagnostic Messaging Suggestion

2009-04-16 Thread Arthur Schwarz
I forgot to say 'thanks James', thanks. Well, spurred on by the whimsy that I need a solution to the problem (however dolorous), I experimented. I've commented most everything at least once and the net effect is that only the 'operator' gets a nasty message. I've checked the include files

Re: Diagnostic Messaging Suggestion

2009-04-16 Thread Arthur Schwarz
Thanks to everyone. The rock has dropped. The answer is quoted below: My best guess is that a header file is included twice, and lacks guards, hence the message is correct: the function is being defined twice, from the same source location. I had put my friends following my 'include guard'.

gcc-4.5-20090416 is now available

2009-04-16 Thread gccadmin
Snapshot gcc-4.5-20090416 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.5-20090416/ 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/trunk

Re: Diagnostic Messaging Suggestion

2009-04-16 Thread Joe Buck
On Thu, Apr 16, 2009 at 03:40:47PM -0700, Arthur Schwarz wrote: The rock has dropped. The answer is quoted below: My best guess is that a header file is included twice, and lacks guards, hence the message is correct: the function is being defined twice, from the same source location. Yes,

Advantage of switch-case

2009-04-16 Thread Shameem Ahamed
Hi All, Is there any advantage of using switch-case over if-else. I mean any internal optimizations, gcc can do on a Linux i386 machine?. Is it saving any machine instructions for us ?. Regards, Shameem _ So many new options, so

Re: The gcc-in-cxx branch now completes bootstrap

2009-04-16 Thread Mark Mitchell
Ian Lance Taylor wrote: My plan going forward is as follows (when we are back in stage 1): FWIW, I think this is a great plan. Thanks, -- Mark Mitchell CodeSourcery m...@codesourcery.com (650) 331-3385 x713

Re: Advantage of switch-case

2009-04-16 Thread Joe Buck
On Thu, Apr 16, 2009 at 09:07:58PM -0700, Shameem Ahamed wrote: Is there any advantage of using switch-case over if-else. I mean any internal optimizations, gcc can do on a Linux i386 machine?. The optimizations in question are architecture-independent, though there would undoubtedly be

Re: Advantage of switch-case

2009-04-16 Thread Joe Buck
On Thu, Apr 16, 2009 at 10:12:10PM -0700, Joe Buck wrote: I don't know how much of that work got into the compiler, probably it isn't in the 4.2.x version we're using now. I should clarify that remark. In production work right now I'm not using the current gcc, and am not using

[Bug bootstrap/36481] gcc fails to build on Solaris x86 - it forgets the locations of libmpfr

2009-04-16 Thread sebastian dot wenzler at hp dot com
--- Comment #9 from sebastian dot wenzler at hp dot com 2009-04-16 06:40 --- I had the same problem with Solaris 10 on sparcv9 with gcc-4.3.3. Environment: 1) binutils/2.15 2) bison/1.875 3) automake/1.4-p5 4) gcc/4.2.4

[Bug fortran/39782] New: IO depends on uninitialised value

2009-04-16 Thread jv244 at cam dot ac dot uk
The following program CHARACTER(LEN=80) DATA DATA= OPEN(121245,FILE=/proc/self/statm,ACTION=READ,STATUS=OLD,ACCESS=STREAM) DO I=1,80 READ(121245,END=999) DATA(I:I) ENDDO 999 CLOSE(121245) DATA(I:80)= END under valgrind leads to : ==29139==

[Bug fortran/39782] IO depends on uninitialised value

2009-04-16 Thread jv244 at cam dot ac dot uk
--- Comment #1 from jv244 at cam dot ac dot uk 2009-04-16 07:31 --- no valgrind errors with g95 or NAG. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39782

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #28 from ebotcazou at gcc dot gnu dot org 2009-04-16 07:33 --- Created an attachment (id=17646) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17646action=view) Reduced testcase. To be gnatchop-ed and compiled at -O. --

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #29 from ebotcazou at gcc dot gnu dot org 2009-04-16 07:57 --- Richard, the removal of /* If the RHS of the MODIFY_EXPR may throw or make a nonlocal goto and the LHS is a user variable, then we need to introduce a formal temporary. This way the optimizers can

[Bug target/39717] [cond-optab] CSE does not put subregs into COMPAREs on many CC0 machines

2009-04-16 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2009-04-16 08:04 --- Subject: Re: [cond-optab] CSE does not put subregs into COMPAREs on many CC0 machines Is this a cond-optab regression or just an observation? Yes, it causes extra moves on code using unions. Where we have

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenther at suse dot de
--- Comment #30 from rguenther at suse dot de 2009-04-16 08:06 --- Subject: Re: [4.5 regression] Revision 145338 breaks ability to build Ada On Thu, 16 Apr 2009, ebotcazou at gcc dot gnu dot org wrote: --- Comment #29 from ebotcazou at gcc dot gnu dot org 2009-04-16 07:57

[Bug target/39779] ICE shifting byte to the right with constant 7FFFFFFF

2009-04-16 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2009-04-16 08:28 --- Confirmed also on i686-pc-linux-gnu. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #31 from ebotcazou at gcc dot gnu dot org 2009-04-16 08:33 --- Do you happen to have a testcase? Attached in the PR. bb 22: formal_24(ab) = p__proc_next (formal_6(ab)); goto bb 3; # formal_7(ab) = PHI formal_9(ab)(2), formal_5(ab)(3), formal_5(ab)(4),

[Bug target/39780] internal compiler error: Segmentation fault

2009-04-16 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-04-16 08:35 --- It doesn't fail for me on linux-mingw cross. Can you please provide the backtrace? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39780

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenther at suse dot de
--- Comment #32 from rguenther at suse dot de 2009-04-16 08:45 --- Subject: Re: [4.5 regression] Revision 145338 breaks ability to build Ada On Thu, 16 Apr 2009, ebotcazou at gcc dot gnu dot org wrote: --- Comment #31 from ebotcazou at gcc dot gnu dot org 2009-04-16 08:33

[Bug c/39783] New: -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread tom dot aernoudt at coware dot com
It is not possible to use -ftls-model to set the tls-model to global-dynamic for code compiled without -fpic. Code compiled without -fpic uses initial-exec or local-exec. This makes it impossible to link code that uses tls and is compiled without -fpic in shared libraries. --

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #35 from ebotcazou at gcc dot gnu dot org 2009-04-16 09:13 --- Ok, so we _do_ run lower_eh_constructs, but formal = p__proc_next (formal); returns false for stmt_could_throw_p (stmt). Why? (Not that I can follow the Ada testcase ... but I suppose the above

[Bug middle-end/39625] [4.5 Regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.5 regression] Revision |[4.5 Regression] Revision |145338 breaks ability

[Bug middle-end/16660] attribute((aligned)) doesn't work for variables on the stack for greater than required alignement

2009-04-16 Thread nospamname at web dot de
--- Comment #17 from nospamname at web dot de 2009-04-16 09:22 --- I get same align problem on 68k amigaos Target.the rport and fix is old. its a middle end bug and i see the fix is not in the source i download (4.3.3) i can test this patch if you like, or have you something more new ?

[Bug middle-end/39625] [4.5 Regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #38 from rguenth at gcc dot gnu dot org 2009-04-16 10:45 --- Maybe fixed now (the reduced testcase is). Please re-open if not. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #34 from rguenth at gcc dot gnu dot org 2009-04-16 08:59 --- And of course the testcase compiles fine with -fexceptions. Hmmm? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39625

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #33 from rguenth at gcc dot gnu dot org 2009-04-16 08:58 --- Ok, so we _do_ run lower_eh_constructs, but formal = p__proc_next (formal); returns false for stmt_could_throw_p (stmt). Why? (Not that I can follow the Ada testcase ... but I suppose the above function call

[Bug middle-end/39625] [4.5 regression] Revision 145338 breaks ability to build Ada

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #36 from rguenth at gcc dot gnu dot org 2009-04-16 09:22 --- Created an attachment (id=17647) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17647action=view) patch Ok, I think I see the issue. The attached patch should fix it (it does fix the testcase). I am going

[Bug tree-optimization/39698] wrong types for vectorized reduction

2009-04-16 Thread irar at il dot ibm dot com
--- Comment #2 from irar at il dot ibm dot com 2009-04-16 10:26 --- This patch fixes the type in pr34591.c (the vector type should be the type of the reduction variable because we are looking for its initial value, and not the type of the reduction statement, i.e., its RHS type):

[Bug fortran/39630] Fortran 2003: Procedure Pointer Components

2009-04-16 Thread janus at gcc dot gnu dot org
--- Comment #2 from janus at gcc dot gnu dot org 2009-04-16 11:29 --- An example can be found in the following paper: Norman S. Clerman: Note on creating an array of procedure pointers ACM SIGPLAN Fortran Forum, Vol. 28, Issue 1 (2009) http://doi.acm.org/10.1145/1520752.1520753 --

[Bug rtl-optimization/39779] ICE shifting byte to the right with constant 7FFFFFFF

2009-04-16 Thread ubizjak at gmail dot com
--- Comment #2 from ubizjak at gmail dot com 2009-04-16 11:37 --- It looks that convert_modes has some issues. When expanding shift RTX, convert_modes is called from #0 convert_modes (mode=QImode, oldmode=QImode, x=0xb7d05fe8, unsignedp=0) at ../../gcc-svn/trunk/gcc/expr.c:769 #1

[Bug tree-optimization/39698] wrong types for vectorized reduction

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2009-04-16 12:07 --- I'm bootstrapping / testing the patch and will take care of committing. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39780] internal compiler error: Segmentation fault

2009-04-16 Thread kuchen_ at gmx dot de
--- Comment #3 from kuchen_ at gmx dot de 2009-04-16 12:00 --- The backtrace from gcc? How do I get that? (It's not crashing, so it's hard to find the point from which the backtrace should be generated...) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39780

[Bug rtl-optimization/39779] ICE shifting byte to the right with constant 7FFFFFFF

2009-04-16 Thread ubizjak at gmail dot com
--- Comment #3 from ubizjak at gmail dot com 2009-04-16 12:26 --- This testcase fails for all optimization levels: --cut here-- /* { dg-do compile } */ /* { dg-options -w } */ int test (char v1) { v1 = 0xdebecced; return v1; } --cut here-- Follwing patch fixes the failure, but

[Bug tree-optimization/39698] wrong types for vectorized reduction

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2009-04-16 12:45 --- Subject: Bug 39698 Author: rguenth Date: Thu Apr 16 12:44:46 2009 New Revision: 146180 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146180 Log: 2009-04-16 Richard Guenther rguent...@suse.de Ira

[Bug tree-optimization/39698] wrong types for vectorized reduction

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2009-04-16 12:45 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug fortran/39782] [4.5/4.4/4.3 Regression] IO depends on uninitialised value

2009-04-16 Thread jv244 at cam dot ac dot uk
--- Comment #2 from jv244 at cam dot ac dot uk 2009-04-16 12:56 --- seemingly works fine with 4.2.3 -- jv244 at cam dot ac dot uk changed: What|Removed |Added Known

[Bug fortran/39782] [4.3/4.4/4.5 Regression] IO depends on uninitialised value

2009-04-16 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added Summary|[4.5/4.4/4.3 Regression] IO |[4.3/4.4/4.5 Regression] IO |depends on uninitialised

[Bug target/39780] internal compiler error: Segmentation fault

2009-04-16 Thread ubizjak at gmail dot com
--- Comment #4 from ubizjak at gmail dot com 2009-04-16 13:09 --- (In reply to comment #3) The backtrace from gcc? How do I get that? (It's not crashing, so it's hard to find the point from which the backtrace should be generated...) gdb /some/dir/cc1 (gdb) break fancy_abort (gdb)

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 13:52 --- code in shared libraries have to be PIC code -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39780] internal compiler error: Segmentation fault

2009-04-16 Thread kuchen_ at gmx dot de
--- Comment #5 from kuchen_ at gmx dot de 2009-04-16 14:01 --- Thanks for help! (gdb) run Starting program: C:\osdev\kos/..\tools\gcc-4.3.3\i586-elf\bin\cc1.exe -Iinclude -Iinclude/arch/i386 -Ikernel/include -O3 -g -ffreestanding -Wall -o virt.o ker nel/mm/virt.c [New thread

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread tom dot aernoudt at coware dot com
--- Comment #2 from tom dot aernoudt at coware dot com 2009-04-16 14:07 --- Aren't shared libraries that are compiled without -fPIC supposed to work on x86? On other platforms this may not work, but I thought that on x86 this is not required. --

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread hjl dot tools at gmail dot com
--- Comment #3 from hjl dot tools at gmail dot com 2009-04-16 14:16 --- (In reply to comment #2) Aren't shared libraries that are compiled without -fPIC supposed to work on x86? It is not supposed to work. It is happens to work. Now it happens not to work for this combination. --

[Bug c++/39754] [4.5 Regression] ICE: tree check: accessed elt 2 of tree_vec with 1 elts in tsubst, at cp/pt.c:9248

2009-04-16 Thread gcc at abeckmann dot de
--- Comment #5 from gcc at abeckmann dot de 2009-04-16 14:28 --- It does compile successfully using 4.4.0 built with --enable-checking. Is there anyting else to enable these tree checks? $ x86_64-linux-gnu-g++-4.4.x -v -c PR39754.min.ii echo SUCCESS Using built-in specs. Target:

[Bug target/39783] -ftls-model can not be specified independently of -fpic/-fpie

2009-04-16 Thread tom dot aernoudt at coware dot com
--- Comment #4 from tom dot aernoudt at coware dot com 2009-04-16 14:52 --- That may be true, but if it would be possible to tell gcc to use the dynamic-global tls-model (or static-global) without specifying -fPIC it would again 'happen' to work, even if tls is used. I don't see a

[Bug c/39755] inline memcpy() incorrectly optimized on MIPS target

2009-04-16 Thread msieweke at broadcom dot com
--- Comment #2 from msieweke at broadcom dot com 2009-04-16 15:06 --- As mentioned in the original report, the bug doesn't exist in GCC 4.x.x. It has since been tested with GCC 3.4.4, where the bug is fixed. GCC 3.2.x - broken GCC 3.3.x - broken GCC 3.4.x - fixed GCC 4.x.x - fixed For

[Bug rtl-optimization/39762] [4.4/4.5 Regression] IRA ICE with -msoft-float

2009-04-16 Thread vmakarov at gcc dot gnu dot org
--- Comment #2 from vmakarov at gcc dot gnu dot org 2009-04-16 15:16 --- Subject: Bug 39762 Author: vmakarov Date: Thu Apr 16 15:15:48 2009 New Revision: 146198 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146198 Log: 2009-04-16 Vladimir Makarov vmaka...@redhat.com

[Bug tree-optimization/30930] [4.3 Regression] vector can cause to create an extra variable, DECL_GIMPLE_REG_P not recomputed

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2009-04-16 15:42 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36695] [4.3 Regression] Value-initialization of reference type is allowed.

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-04-16 15:43 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/37263] [4.3 Regression] extra code for doloop with unsigned 32bit types on LP64

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2009-04-16 15:43 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/37219] [4.3 Regression] fwprop1 is broken for addresses

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-16 15:43 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36607] [4.3 Regression] Incorrect type diagnostic on substracting casted char pointers

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-04-16 15:43 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29388] [4.3 regression] ICE with invalid nested name specifier

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2009-04-16 15:44 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/34911] [4.3 regression] ICE with vectors of bool

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2009-04-16 15:44 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/35430] [4.3 regression] ICE with complex arithmetic

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-16 15:44 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36891] [4.3 Regression] ICE with vector division and -ffast-math and LIM

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-04-16 15:44 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/38638] [4.3 regression] ICE superfluous 'typename'

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 15:45 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/37451] Extra addition for doloop in some cases

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 15:48 --- I am no longer working on this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29388] [4.3 regression] ICE with invalid nested name specifier

2009-04-16 Thread sje at cup dot hp dot com
--- Comment #14 from sje at cup dot hp dot com 2009-04-16 15:48 --- It looks like you already fixed it on the mainline, is there a reason the patch can't be backported to the 4.3 branch and the defect closed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29388

[Bug c/39755] inline memcpy() incorrectly optimized on MIPS target

2009-04-16 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2009-04-16 15:56 --- Try bisecting the changes to cherry-pick the one fixing the bug. Fixed in GCC 3.4. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39365] ++ operator with volatile bool increments

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-16 16:04 --- Actually it is just better to check the tree code, testing the patch right now. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39365

[Bug c++/36799] [c++0x] error on va_copy in -std=c++0x mode

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-16 16:07 --- Fixed in 4.4.0. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/39580] [4.5 regression] Revision 145204 caused libgomp.c++/collapse-2.C

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-16 16:13 --- This looks like better optimizations is causing a latent bug in the selective-scheduling to show up. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/35628] gcc-4.3.0 fails to build, mpfr problem, libmpfr.dylib, file is not of required architecture

2009-04-16 Thread aam at fastmail dot fm
--- Comment #3 from aam at fastmail dot fm 2009-04-16 16:18 --- export ABI=32 I used this to tell GMP and MPFR that I wanted 32-bit libraries, which GCC 4.3.3 seemed to need rather than the default of 64-bit libraries which causes the GCC configure script to fail to detect the proper

[Bug target/23322] [4.3 regression] performance regression

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #36 from pinskia at gcc dot gnu dot org 2009-04-16 16:22 --- Fixed via Ira so marking as such. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/15480] ICE with sizeof(T().f()) as template parameter in function resolution

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-04-16 16:35 --- Fixed at least on the trunk. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/17395] [4.5 Regression] Incorrect lookup for parameters

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-16 16:50 --- The testcase from comment #7 is correctly rejected but the testcase from comment #0 is ICEing now which makes this a regression as 4.4.0 20090101 accepted it. -- pinskia at gcc dot gnu dot org changed:

[Bug c++/5023] Error declaring constructor of template class specialization as friend

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 16:53 --- (In reply to comment #4) But this is valid and is rejected by gcc but accpected by ICC: This is now accepted on the trunk. friend Sint::Sint(); is still rejected but I don't know if that is valid or not. --

[Bug rtl-optimization/39762] [4.4 Regression] IRA ICE with -msoft-float

2009-04-16 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2009-04-16 16:55 --- Vlad, do you plan to commit to 4.4 branch as well? -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/35423] Implement OpenMP workshare

2009-04-16 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2009-04-16 16:59 --- http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01249.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35423

[Bug c++/28766] compound literal expression vs templates

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-04-16 17:02 --- Fixed in at least 4.4.0 and above. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/12672] Evals template defaults args that it should not

2009-04-16 Thread igodard at pacbell dot net
--- Comment #5 from igodard at pacbell dot net 2009-04-16 17:02 --- Wow! Six years and counting! This might be my oldest outstanding bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12672

[Bug c++/28766] compound literal expression vs templates

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 17:03 --- Mine to commit the testcase. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28766] compound literal expression vs templates

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2009-04-16 17:07 --- Fixed so closing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28766] compound literal expression vs templates

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2009-04-16 17:07 --- Subject: Bug 28766 Author: pinskia Date: Thu Apr 16 17:07:06 2009 New Revision: 146203 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146203 Log: 2009-04-16 Andrew Pinski pins...@gmail.com PR

[Bug c++/17570] Extension to incorporate default parameters in signature of templates breaks valid program

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2009-04-16 17:08 --- Fixed in at least 4.4.0. Mine to commit the testcase. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/17570] Extension to incorporate default parameters in signature of templates breaks valid program

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2009-04-16 17:16 --- Fixed so closing as such. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/17570] Extension to incorporate default parameters in signature of templates breaks valid program

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 17:16 --- Subject: Bug 17570 Author: pinskia Date: Thu Apr 16 17:15:59 2009 New Revision: 146206 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=146206 Log: 2009-04-16 Andrew Pinski pins...@gmail.com PR

[Bug fortran/39772] SIZE intrinsic ignores optional KIND argument

2009-04-16 Thread kargl at gcc dot gnu dot org
--- Comment #6 from kargl at gcc dot gnu dot org 2009-04-16 17:31 --- well, that was an inconvenient goose chase. (Note to self: always check the Standard). I'm tempted to close this with INVALID because the F95 Standard explicitly states that SIZE() has a Result Characteristics.

[Bug c++/39728] C++ diagnostic for private operator= is voluminous and unhelpful

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 18:22 --- I think libstdc++ include pathes make the error message useless but if the user code had the same walking back, I think the user would say this is more useful message than what is recommended in comment #0 (at

[Bug c++/39729] C++ does not name a type error message can be misleading

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 18:24 --- First there are a couple of issues here: 1) accepts invalid code: using namespace std; 2) foo.cc:3: error: ‘ifstream’ does not name a type Yes that should change if ifstream is not defined at all but we still

[Bug c++/39729] C++ does not name a type error message can be misleading

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2009-04-16 18:24 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/39730] C++ incomplete type error can be misleading

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 18:26 --- foo.cc:6: error: ‘std::ifstream’ was declared but not defined This is even more confusing to me. As incomplete types are understood easier than just being declared and not defined. -- pinskia at gcc dot gnu

[Bug middle-end/39731] Separate warning classes for maybe-uninitialized and known-uninitialized variables.

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2009-04-16 18:28 --- The problem is that GCC does not give an error It can't give an error for that code as it is only runtime undefined and it does not have to be invoked at runtime (i.e. the function is not called). -- Pinski --

[Bug middle-end/39731] Separate warning classes for maybe-uninitialized and known-uninitialized variables.

2009-04-16 Thread scottwood at freescale dot com
--- Comment #2 from scottwood at freescale dot com 2009-04-16 18:30 --- (In reply to comment #1) The problem is that GCC does not give an error It can't give an error for that code as it is only runtime undefined and it does not have to be invoked at runtime (i.e. the function is

[Bug target/39258] No ABI warnings on __m128i when SSE is disabled

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-16 18:33 --- Stop setting the target milestone unless it is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/39315] Unaligned move used on aligned stack variable

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2009-04-16 18:33 --- Stop setting the target milestone unless it is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39146] Unnecessary stack alignment

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #18 from pinskia at gcc dot gnu dot org 2009-04-16 18:33 --- Stop setting the target milestone unless it is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/39590] inline asm %z on amd64 says ll instead of q

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2009-04-16 18:34 --- Stop setting the target milestone unless it is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/39323] MAX_OFILE_ALIGNMENT in elfos.h is too big

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2009-04-16 18:34 --- Stop setting the target milestone unless it is a regression. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/39782] [4.3/4.4/4.5 Regression] IO depends on uninitialised value

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2009-04-16 18:37 --- Confirmed: ==21080== Conditional jump or move depends on uninitialised value(s) ==21080==at 0x4BD8A78: finalize_transfer (transfer.c:3147) -- pinskia at gcc dot gnu dot org changed: What

[Bug tree-optimization/39746] [4.5 Regression] Fail pr34513.c and pr34513.C at -O1 and above

2009-04-16 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2009-04-16 18:45 --- stw %r3,RR'shrd.1301-$global$(%r1) .CALL bl GOMP_atomic_end,%r2 nop .CALL bl GOMP_barrier,%r2 nop comib,= 4,%r3,L$0006 ldw -84(%r30),%r2

  1   2   >