Re: New LTO branch ready

2007-06-19 Thread Mark Mitchell
Daniel Berlin wrote: Hi guys, I have merged all patches touching lto/ into the new lto branch Thank you! Did you also pull over Kenny's LTO-writer code? I'll try to get it compiling soon. I will perform merges from mainline to branch every week or two, unless you guys see a good reason not

Re: Activate -mrecip with -ffast-math?

2007-06-19 Thread Richard Guenther
On 6/18/07, Brooks Moses [EMAIL PROTECTED] wrote: Giovanni Bajo wrote: Both our goals are legitimate. But that's not the point. The point is what -ffast-math semantically means (the simplistic list of suboptions activated by it is of couse unsufficiente because it doesn't explain how to

Re: Object attribute tagging

2007-06-19 Thread Richard Earnshaw
On Tue, 2007-06-19 at 01:50 +, Joseph S. Myers wrote: The ARM EABI says that only standard entries under aeabi should affect link-compatibility of object files, not vendor entries such as gnu, but in the absence of corresponding standards for other processors I don't think we can avoid

Re: Activate -mrecip with -ffast-math?

2007-06-19 Thread Paolo Bonzini
OTOH, if we start to produce NaN for sqrt(0.0) that is of course simply 'wrong', not inaccurate ;) I still support the introduction of a special switch for this kind of transformation, -fwrong-math-optimizations. :-) Paolo

Re: virtual stack regs.

2007-06-19 Thread Jan Hubicka
I would like to get some more information about pr32374. I do not know what virtual_stack_vars are and there is no documentation in the doc directory. It is documented: @findex VIRTUAL_STACK_VARS_REGNUM @cindex @code{FRAME_GROWS_DOWNWARD} and virtual registers @item VIRTUAL_STACK_VARS_REGNUM

Re: Activate -mrecip with -ffast-math?

2007-06-19 Thread Richard Guenther
On 6/19/07, Paolo Bonzini [EMAIL PROTECTED] wrote: OTOH, if we start to produce NaN for sqrt(0.0) that is of course simply 'wrong', not inaccurate ;) I still support the introduction of a special switch for this kind of transformation, -fwrong-math-optimizations. :-) Probably as useful and

Re: virtual stack regs.

2007-06-19 Thread Rask Ingemann Lambertsen
On Mon, Jun 18, 2007 at 08:28:25PM -0400, Kenneth Zadeck wrote: I would like to get some more information about pr32374. I do not know what virtual_stack_vars are and there is no documentation in the doc directory. less -p 'Virtual registers ' gcc/rtl.h less -p 'enum global_rtl_index'

run-time function adaptation for statically-compiled programs

2007-06-19 Thread Grigori Fursin
Hi all, In case someone is interested, we just made a new patch available for gcc to enable run-time multiple option exploration and to enable run-time adaptation for various constraints on heterogeneous systems using function cloning. More information and a patch are avilable here:

Re: virtual stack regs.

2007-06-19 Thread Kenneth Zadeck
Rask Ingemann Lambertsen wrote: On Tue, Jun 19, 2007 at 11:11:54AM +0200, Uros Bizjak wrote: On 6/19/07, Rask Ingemann Lambertsen [EMAIL PROTECTED] wrote: It is possible to mess up the substitution that the vregs pass performs. IIRC, it happened to me once because I accidentally

Re: New LTO branch ready

2007-06-19 Thread Daniel Berlin
On 6/19/07, Mark Mitchell [EMAIL PROTECTED] wrote: Daniel Berlin wrote: Hi guys, I have merged all patches touching lto/ into the new lto branch Thank you! Did you also pull over Kenny's LTO-writer code? Yup. I have the complete list of revisions merged with their log entries if you'd like

Re: virtual stack regs.

2007-06-19 Thread Rask Ingemann Lambertsen
On Tue, Jun 19, 2007 at 08:33:52AM -0400, Kenneth Zadeck wrote: Since it sounds like you understand this, are either of you willing/able to attack the problem at it's source? Uros is already at it URL:http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01317.html. -- Rask Ingemann Lambertsen

cp_compat_x_tst.o-cp_compat_y_tst.o testcase

2007-06-19 Thread Revital1 Eres
Hello, While testing a patch on current trunk (r 125640) I've noticed that g++'s cp_compat_x_tst.o-cp_compat_y_tst testcase fails with unexpected failure on x86_64 with the vanilla version but passes OK with the patched version (-O2). On ppc64 and i486 the test passes both with the vanilla and

m68k bootstrap problem

2007-06-19 Thread Roman Zippel
Hi, m68k currently doesn't bootstrap, which I think is dataflow related, the whole precompiled file is at http://www.xs4all.nl/~zippel/expmed.i.gz, but the small test below should be enough to demonstrate the problem (although it doesn't crash): int fi1(int); int fi2(int); void *fp1(int, void

Re: m68k bootstrap problem

2007-06-19 Thread Kenneth Zadeck
Roman Zippel wrote: Hi, m68k currently doesn't bootstrap, which I think is dataflow related, the whole precompiled file is at http://www.xs4all.nl/~zippel/expmed.i.gz, but the small test below should be enough to demonstrate the problem (although it doesn't crash): int fi1(int); int

Severe increase in compilation time with 4.3.0 20070615 on powerpc-apple-darwin7

2007-06-19 Thread Dominique Dhumieres
On powerpc-apple-darwin7 with 4.3.0 20070615, the compilation time of the polyhedron test suite increased by 35% compared to the previous snapshot and by 41% compared to the Apr 13 one: compile execute 06/15

Re: Severe increase in compilation time with 4.3.0 20070615 on powerpc-apple-darwin7

2007-06-19 Thread Richard Guenther
On 6/19/07, Dominique Dhumieres [EMAIL PROTECTED] wrote: On powerpc-apple-darwin7 with 4.3.0 20070615, the compilation time of the polyhedron test suite increased by 35% compared to the previous snapshot and by 41% compared to the Apr 13 one: I did not see this change. What flags are you

Re: m68k bootstrap problem

2007-06-19 Thread Roman Zippel
Hi, On Tue, 19 Jun 2007, Kenneth Zadeck wrote: roman do i need any patches to apply before trying this. None should be needed, but this one can't hurt: http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01247.html also what are the config options i need? I use --target=m68k-linux-gnu

Re: Severe increase in compilation time with 4.3.0 20070615 on powerpc-apple-darwin7

2007-06-19 Thread Dominique Dhumieres
I did not see this change. What flags are you using? gfortran -w -O3 -ffast-math -funroll-loops Dominique

Re: RFC: Make dllimport/dllexport imply default visibility

2007-06-19 Thread Richard Earnshaw
On Mon, 2007-06-18 at 10:04 -0700, Mark Mitchell wrote: I suspect that the realview compiler accepts this as an oversight or a bug, not as an intentional feature. Let's ask. Richard E., is the fact that RealView 3.0SP1 accepts: class __declspec(notshared) S {

Re: cp_compat_x_tst.o-cp_compat_y_tst.o testcase

2007-06-19 Thread Jakub Jelinek
On Tue, Jun 19, 2007 at 04:26:46PM +0300, Revital1 Eres wrote: While testing a patch on current trunk (r 125640) I've noticed that g++'s cp_compat_x_tst.o-cp_compat_y_tst testcase fails with unexpected failure on x86_64 with the vanilla version but passes OK with the patched version (-O2). On

Where can I find sizeof implementation in front end

2007-06-19 Thread bjzheng
Hello all: I am reading codes of gcc front end. But I can not find the implementation of sizeof. How does gcc front end calculate size of UNION and STRUCT? Where is the codes for these work. Can anybody give me some advices? Thank you so much !

RE: Where can I find sizeof implementation in front end

2007-06-19 Thread Dave Korn
On 19 June 2007 16:35, bjzheng wrote: Hello all: I am reading codes of gcc front end. But I can not find the implementation of sizeof. How does gcc front end calculate size of UNION and STRUCT? Where is the codes for these work. Can anybody give me some advices? Thank you so much ! grep

Re: Where can I find sizeof implementation in front end

2007-06-19 Thread Paolo Bonzini
[EMAIL PROTECTED] wrote: Hello all: I am reading codes of gcc front end. But I can not find the implementation of sizeof. How does gcc front end calculate size of UNION and STRUCT? Where is the codes for these work. Can anybody give me some advices? Thank you so much ! The code is heavily

Re: virtual stack regs.

2007-06-19 Thread Seongbae Park (박성배, 朴成培)
On 6/19/07, Rask Ingemann Lambertsen [EMAIL PROTECTED] wrote: .. Hmm, how do you handle arg_pointer_rtx, frame_pointer_rtx and the like? The are all uninitialized until the prologue is emitted, which is some time after reload. ARG_POINTER_REGNUM is included in the artificial defs of all

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-19 Thread michael.a
michael.a wrote: Since I'm already posting, now I'm seeing: /home/users/michael/gcc.obj/gcc/f951: symbol lookup error: /home/users/michael/gcc.obj/gcc/f951: undefined symbol: __gmp_get_memory_functions I was able to find this:

Re: m68k bootstrap problem

2007-06-19 Thread Kenneth Zadeck
Roman Zippel wrote: Hi, m68k currently doesn't bootstrap, which I think is dataflow related, the whole precompiled file is at http://www.xs4all.nl/~zippel/expmed.i.gz, but the small test below should be enough to demonstrate the problem (although it doesn't crash): int fi1(int); int

Re: Object attribute tagging

2007-06-19 Thread Eric Christopher
On Jun 18, 2007, at 6:50 PM, Joseph S. Myers wrote: Any comments on either the general approach or the details? Sounds fine to me. In mips land we were previously using named sections to solve this, but as long as the approach allows arbitrarily long sets of attributes I think it sounds

Re: Some thoughts about steerring commitee work

2007-06-19 Thread Toon Moene
Mark Mitchell wrote: One advantage of having some SC members who are not GCC developers (and thus seem less involved) is that they are more independent. They have no commercial stake in which companies have maintainers, The funny part in the discussion on the SC is that most contributors

scalar expansion and array privatization for loop distribution

2007-06-19 Thread Jagasia, Harsha
Hello, I am looking into writing scalar expansion and array privatization passes for loop distribution with Sebastian. Has scalar expansion and/or array privatization been implemented in gcc? If so, how have they been implemented and also to what extent? Does anyone have any pointers on where I

Re: [M16C] : 20 bit data access

2007-06-19 Thread DJ Delorie
- 2 new attributes far_data (to use external memory for data storage) and far_rodata will be added. I'd prefer just one far attribute. GCC knows (usually better than the user ;) what data is read-only and what data is not. - By default, LDE instructions will be used to access the entire

Re: GCC 4.3.0 Status Report (2007-06-07)

2007-06-19 Thread Michael Meissner
On Fri, Jun 08, 2007 at 01:27:39PM -0700, Mark Mitchell wrote: Joseph S. Myers wrote: On Thu, 7 Jun 2007, Mark Mitchell wrote: I am aware of three remaining projects which are or might be appropriate for Stage 1: Do we at this point believe that the people who were working on

Type-punning

2007-06-19 Thread Herman Geza
Hi, gcc's docs states that at -fstrict-aliasing: In particular, an object of one type is assumed never to reside at the same address as an object of a different type, unless the types are almost the same. I have problems with this: struct A { float x, y; }; struct B { float

Re: Type-punning

2007-06-19 Thread Silvius Rus
This may have been fixed by a recent patch to -Wstrict-aliasing. Let me try to run the latest version of pre4.3 and will get back to you. Herman Geza wrote: Hi, gcc's docs states that at -fstrict-aliasing: In particular, an object of one type is assumed never to reside at the same address

Re: class 3 edges

2007-06-19 Thread Seongbae Park (박성배, 朴成培)
On 6/19/07, Sunzir Deepur [EMAIL PROTECTED] wrote: hello, when I compile with -dv -fdump-rtl-* I somtimes see in the VCG files some edges that have no meaning in the flow of the program. these edges are always green and class 3. what are those edges ? what is their purposes ? thank you sunzir

preventing -m options being passed to the compiler

2007-06-19 Thread Ben Elliston
I have a -m option that I am handling in a LIB_SPEC that I do not want passed down to cc1. It seems that by default, the driver passes all -m options to cc1. Is there a way to prevent that on a per-option basis? Thanks, Ben

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-19 Thread Lawrence Crowl
On 6/16/07, Ross Ridge [EMAIL PROTECTED] wrote: Robert Dewar writes: The only time that it is reasonable to extend is when there are clear signals from the standards committee that it is likely that a feature will be added, in which case there may be an argument for adding the feature

Re: I'm sorry, but this is unacceptable (union members and ctors)

2007-06-19 Thread Ross Ridge
Lawrence Crowl writes: On the specific topic of unions, there is a proposal before the committee to extend unions in this direction. Let me caution you that this proposal has not been reviewed by a significant fraction of the committee, and hence has a small chance of being accepted and an even

Re: preventing -m options being passed to the compiler

2007-06-19 Thread Ben Elliston
On Wed, 2007-06-20 at 10:44 +1000, Ben Elliston wrote: I have a -m option that I am handling in a LIB_SPEC that I do not want passed down to cc1. It seems that by default, the driver passes all -m options to cc1. Is there a way to prevent that on a per-option basis? To now answer my own

Re: GCC 4.3.0 Status Report (2007-06-07)

2007-06-19 Thread Mark Mitchell
Michael Meissner wrote: I've looked at the changes, and I think with a minor bit of abstraction, we can modify the backends so that they don't care how the arguments are implemented. Thanks for working on this! However, I think changing the representation of the arguments is a much more

Re: virtual stack regs.

2007-06-19 Thread Paolo Bonzini
ARG_POINTER_REGNUM is included in the artificial defs of all blocks (which I think is overly conservative - just having them in the entry block def should be enough). Hence, from dataflow point of view, they are always considered initialized. I think we should probably do something similar for

libgcc fails to compile if DItype is not supported [bswapdi2]

2007-06-19 Thread Pompapathi V Gadad
Hello, Current function declaration of __bswapdi2 in libgcc2.h is: DItype __bswapdi2 (DItype u) Since this declaration does not check if DItype is supported, it is bound for compilation failure for targets that do not support DItype. Would it be ok to change the DItype to DWtype as in:

[Bug c/32399] ICE in build2_stat, at tree.c:3074

2007-06-19 Thread marcus at jet dot franken dot de
--- Comment #1 from marcus at jet dot franken dot de 2007-06-19 06:24 --- Created an attachment (id=13734) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13734action=view) vertexbuffer.i gcc -O2 -c vertexbuffer.i -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32399

[Bug c/32399] New: ICE in build2_stat, at tree.c:3074

2007-06-19 Thread marcus at jet dot franken dot de
new regression, likely caused by pointer-plus branch merge extracted from Wine /home/marcus/projects/gcc/BIN/bin/gcc -m32 -O2 -c vertexbuffer.i vertexbuffer.i: In function 'f': vertexbuffer.i:1: internal compiler error: in build2_stat, at tree.c:3074 -- Summary: ICE in

[Bug target/31684] [4.3 Regression] ICE in get_attr_first_insn, at config/ia64/itanium2.md:1839 at -O2

2007-06-19 Thread tbm at cyrius dot com
--- Comment #4 from tbm at cyrius dot com 2007-06-19 06:39 --- (In reply to comment #3) I tested the patch on IA64 HP-UX and Linux and verified that it fixed the bug and caused no regressions. Jim, do you want to check this patch in? Given that Jim hasn't answered yet, maybe you can

[Bug c++/32368] warnings from system headers not supressed.

2007-06-19 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2007-06-19 06:44 --- (In reply to comment #2) At variance with c++/32256, this one apparently happens as C code too... Probably should be not categorized as C++-only... these little bugs (PR32368, PR32256) are treated as blockers by people

[Bug c/21920] aliasing violations

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #115 from pinskia at gcc dot gnu dot org 2007-06-19 07:56 --- *** Bug 32397 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32397] wrong instruction order generated

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-19 07:56 --- ((Cyg_libm_ieee_double_shape_type *)x)-part is ovbiously an aliasing violation. *** This bug has been marked as a duplicate of 21920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug middle-end/32395] false positive warning about use of uninitialized variable.

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-19 08:10 --- This is caused by two things, jump threading and inlining. If we jump thread more, we no longer get the warning which is what you are seeing in 4.2.1. -- pinskia at gcc dot gnu dot org changed: What

[Bug middle-end/32399] ICE in build2_stat, at tree.c:3074

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-06-19 08:21 --- This is IV-opts going funny I think as we get pointer+pointer (and yes real pointer SSA_NAMES and no casts). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32399

[Bug middle-end/32399] [4.3 Regression] ICE in build2_stat, at tree.c:3074

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-06-19 08:26 --- This code itself is very weird and I don't know if it is really defined or not. We have basically: char *f(char *a, char *b) { return a + (int)b; } How can that even be defined. Anyways the following fixes the

[Bug rtl-optimization/323] optimized code gives strange floating point results

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #97 from pinskia at gcc dot gnu dot org 2007-06-19 08:11 --- *** Bug 32391 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/32391] Wrong code with optimization on i686-pc-linux-gnu

2007-06-19 Thread pinskia at gcc dot gnu dot org
--- Comment #15 from pinskia at gcc dot gnu dot org 2007-06-19 08:11 --- So this is just a dup of bug 323 so closing as such. *** This bug has been marked as a duplicate of 323 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/32374] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2007-06-19 Thread ubizjak at gmail dot com
--- Comment #5 from ubizjak at gmail dot com 2007-06-19 08:27 --- (In reply to comment #4) No, this one is caused by dataflow. Dataflow uncovered generic middle-end (RTL?) problem: We have this comment in instantiate_virutal_regs(): /* Scan through all the insns, instantiating

[Bug middle-end/32374] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2007-06-19 Thread ubizjak at gmail dot com
--- Comment #6 from ubizjak at gmail dot com 2007-06-19 08:58 --- FWIW, this shoot-in-the-dark patch fixes ICE: Index: expr.c === --- expr.c (revision 125789) +++ expr.c (working copy) @@ -5062,8 +5062,10 @@

[Bug tree-optimization/32353] [4.1/4.2 Regression] Miscompilation with RESULT_DECL

2007-06-19 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-06-19 09:08 --- Subject: Bug 32353 Author: jakub Date: Tue Jun 19 09:08:39 2007 New Revision: 125841 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125841 Log: PR tree-optimization/32353 *

[Bug tree-optimization/32353] [4.1/4.2 Regression] Miscompilation with RESULT_DECL

2007-06-19 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-06-19 09:11 --- Subject: Bug 32353 Author: jakub Date: Tue Jun 19 09:11:22 2007 New Revision: 125842 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125842 Log: PR tree-optimization/32353 *

[Bug target/32392] Support using -mrecip w/o additional Newton-Raphson run

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-19 09:15 --- Confirmed. For 2 NR steps to reach double precision (we'd miss it by some more ulps than the 2.5 for float precision) we would need to do at least the second NR in double precision. Note that this would make sense

[Bug middle-end/32399] [4.3 Regression] ICE in build2_stat, at tree.c:3074

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-06-19 09:17 --- The testcase indeed looks undefined (but valid). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32399

[Bug tree-optimization/32353] [4.1/4.2 Regression] Miscompilation with RESULT_DECL

2007-06-19 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-06-19 09:18 --- Subject: Bug 32353 Author: jakub Date: Tue Jun 19 09:18:13 2007 New Revision: 125843 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125843 Log: PR tree-optimization/32353 *

[Bug tree-optimization/32353] [4.1/4.2 Regression] Miscompilation with RESULT_DECL

2007-06-19 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-06-19 09:19 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c++/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #43 from rguenth at gcc dot gnu dot org 2007-06-19 09:24 --- Subject: Bug 30252 Author: rguenth Date: Tue Jun 19 09:24:35 2007 New Revision: 125844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125844 Log: 2007-06-19 Richard Guenther [EMAIL PROTECTED]

[Bug target/31152] -(xy) generates wrong code

2007-06-19 Thread rearnsha at gcc dot gnu dot org
--- Comment #4 from rearnsha at gcc dot gnu dot org 2007-06-19 09:41 --- Confirmed. This is a bug in the negscc pattern in arm.md. It's only been there since 1994! -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30252] [4.2 regression] miscompilation of sigc++-2.0 based code with -fstrict-aliasing

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #44 from rguenth at gcc dot gnu dot org 2007-06-19 09:45 --- Fixed on the 4.2 branch. Danny will fix this in a different way on the trunk. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/32397] wrong instruction order generated

2007-06-19 Thread rosenfeld at grumpf dot hope-2000 dot org
--- Comment #2 from rosenfeld at grumpf dot hope-2000 dot org 2007-06-19 10:52 --- Subject: Re: wrong instruction order generated On Tue, Jun 19, 2007 at 07:56:01AM -, pinskia at gcc dot gnu dot org wrote: --- Comment #1 from pinskia at gcc dot gnu dot org 2007-06-19 07:56

[Bug middle-end/31950] [4.3 Regression] ICE in tree-ssa-alias-warnings.c

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #6 from rguenth at gcc dot gnu dot org 2007-06-19 11:16 --- Subject: Bug 31950 Author: rguenth Date: Tue Jun 19 11:16:43 2007 New Revision: 125846 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125846 Log: 2007-06-19 Richard Guenther [EMAIL PROTECTED] PR

[Bug middle-end/31950] [4.3 Regression] ICE in tree-ssa-alias-warnings.c

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #7 from rguenth at gcc dot gnu dot org 2007-06-19 11:17 --- Fixed. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug c/32397] wrong instruction order generated

2007-06-19 Thread rask at sygehus dot dk
--- Comment #3 from rask at sygehus dot dk 2007-06-19 11:27 --- You can use memcpy (int, float, min (sizeof (int), sizeof (float))) and vice versa. I suppose you can also memcpy() into or out of a char array of the right size. If you were to use the GCC extension of using a union, it

[Bug middle-end/32374] [4.3 Regression] internal compiler error: in reload_cse_simplify_operands, at postreload.c:396

2007-06-19 Thread ubizjak at gmail dot com
--- Comment #7 from ubizjak at gmail dot com 2007-06-19 11:54 --- Proposed patch at http://gcc.gnu.org/ml/gcc-patches/2007-06/msg01317.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32374

[Bug c++/32400] New: [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-06-19 Thread jojelino at gmail dot com
svn snapshot from r125847 -- Summary: [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: minor Priority: P3 Component: c++

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-06-19 Thread jojelino at gmail dot com
--- Comment #1 from jojelino at gmail dot com 2007-06-19 12:10 --- Created an attachment (id=13735) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13735action=view) preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32400

[Bug fortran/32393] gfortran - incorrect run time results

2007-06-19 Thread dominiq at lps dot ens dot fr
--- Comment #10 from dominiq at lps dot ens dot fr 2007-06-19 12:48 --- Even the code in comment #8 is invalid: several variables are used but not set: at least intp and sum. If I set them to 0, gfortran gives the same results with or without -O3. (tests done on PPC Darwin7). In my

[Bug middle-end/32401] New: [PPC/Altivec] Non optimal code structure with -mabi=altivec

2007-06-19 Thread sparky at pld-linux dot org
With altivec enabled gcc prepares additional space on the stack. Unlike earlier versions gcc 4.3 removes stack modification instructions if it isn't used. With just -maltivec or with -mabi=altivec when altivec isn't used it works very well. But with -mabi=altivec and altivec used gcc produces code

[Bug c++/32402] New: Error while allocating array of pointers to objects of a pure virtual class

2007-06-19 Thread p dot vestjens at gmail dot com
The compiler thinks we're allocating the actual abstract objects instead of an array of pointers and reports the following error: cannot allocate an object of abstract type '...'. Since we're actual allocating an array of pointers, this should not be an error. The following code (reproduce.cpp)

[Bug c++/32402] Error while allocating array of pointers to objects of a pure virtual class

2007-06-19 Thread p dot vestjens at gmail dot com
--- Comment #1 from p dot vestjens at gmail dot com 2007-06-19 14:47 --- Created an attachment (id=13736) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13736action=view) Sourcefile demonstrating the problem -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32402

[Bug pending/32403] New:

2007-06-19 Thread gcc-bugzilla at gcc dot gnu dot org
NOTE: Defaulting component because reported component no longer exists Environment: System: Linux marko2 2.6.15-28-686 #1 SMP PREEMPT Thu Feb 1 16:14:07 UTC 2007 i686 GNU/Linux Architecture: i686 host: i486-pc-linux-gnu build: i486-pc-linux-gnu target: m68hc11-unknown-none configured with:

[Bug fortran/32404] New: Wrong-code with sbdart (valgrind errors, different output)

2007-06-19 Thread burnus at gcc dot gnu dot org
Spin off from PR 32236. ftp://ftp.icess.ucsb.edu/pub/esrg/sbdart/sbdart_2.4.tar.gz (33181 lines of code) Unpack source and do: - Delete in tauaero.f:1601 the line data wlbaer/0.,0./ - Insert around drt.f:951 the lines weq = 0.0_kr wfull = 0.0_kr If one compiles (-O0) the program with

[Bug fortran/32236] internal compiler error: in gfc_assign_data_value, at fortran/data.c:288

2007-06-19 Thread burnus at gcc dot gnu dot org
--- Comment #8 from burnus at gcc dot gnu dot org 2007-06-19 15:30 --- Bob, Can you please tell me why the compiler flags tauaero.f:1517 while the problem seems to be associated with the data statement at line 1601? The line number shown when an internal compiler error occurs

[Bug pending/32403] foo

2007-06-19 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-06-19 16:02 --- blah -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32369] [frv] macro DF_LIVE_IN passed 2 arguments, but takes just 1

2007-06-19 Thread rask at gcc dot gnu dot org
--- Comment #4 from rask at gcc dot gnu dot org 2007-06-19 16:30 --- Subject: Bug 32369 Author: rask Date: Tue Jun 19 16:30:03 2007 New Revision: 125851 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125851 Log: 2007-06-19 Rask Ingemann Lambertsen [EMAIL PROTECTED] PR

[Bug fortran/20863] [4.2 only] Pointer problems in PURE procedures

2007-06-19 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-06-19 16:30 --- Tobias points out to me that this is not a regression - closed and out. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/20082] unrecognizable insn

2007-06-19 Thread pault at gcc dot gnu dot org
--- Comment #7 from pault at gcc dot gnu dot org 2007-06-19 16:32 --- Sorry for my screw-up on the PR number - it was 20882 that was fixed. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20082

[Bug fortran/20882] [4.2 only] PURE procedure containing pointer assignment to dummy with pointer component

2007-06-19 Thread pault at gcc dot gnu dot org
--- Comment #5 from pault at gcc dot gnu dot org 2007-06-19 16:32 --- This is not a regression, so that is it. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-19 Thread daney at gcc dot gnu dot org
--- Comment #14 from daney at gcc dot gnu dot org 2007-06-19 16:36 --- Subject: Bug 32313 Author: daney Date: Tue Jun 19 16:36:42 2007 New Revision: 125852 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125852 Log: PR target/32313 * config/mips/mips.md

[Bug target/32313] [4.3 Regression] Bootstrap failure running gengtype in stage 2.

2007-06-19 Thread daney at gcc dot gnu dot org
--- Comment #15 from daney at gcc dot gnu dot org 2007-06-19 16:43 --- The second time is the charm. There are still regressions caused by the dataflow merge, but at least we can bootstrap now. -- daney at gcc dot gnu dot org changed: What|Removed

[Bug fortran/32236] internal compiler error: in gfc_assign_data_value, at fortran/data.c:288

2007-06-19 Thread pault at gcc dot gnu dot org
--- Comment #9 from pault at gcc dot gnu dot org 2007-06-19 16:44 --- This is not a regression so no backport. Paul -- pault at gcc dot gnu dot org changed: What|Removed |Added

[Bug testsuite/32057] Random failure on gfortran.dg/secnds.f

2007-06-19 Thread rob1weld at aol dot com
--- Comment #13 from rob1weld at aol dot com 2007-06-19 17:11 --- The goal of the tests is not to measure some time, but to check that intervals are properly ordered, i.e., t1=dat1=t1a and t2a=dat2-dat1= t2. If that is the goal then could we eliminate all influence of time (midnight /

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-19 Thread rth at gcc dot gnu dot org
--- Comment #26 from rth at gcc dot gnu dot org 2007-06-19 17:26 --- (In reply to comment #10) Talked to Dan Berlin and Diego Novillo here at Google. They told me that all locals are promoted to function scope. That *only* applies to register variables, not stack variables. We very

[Bug target/32335] libgcc build failure, ICE in cselib_record_set, at cselib.c:1508

2007-06-19 Thread rask at gcc dot gnu dot org
--- Comment #9 from rask at gcc dot gnu dot org 2007-06-19 17:35 --- Subject: Bug 32335 Author: rask Date: Tue Jun 19 17:35:16 2007 New Revision: 125853 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125853 Log: 2007-06-19 Rask Ingemann Lambertsen [EMAIL PROTECTED] PR

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-19 Thread dnovillo at google dot com
--- Comment #27 from dnovillo at google dot com 2007-06-19 17:39 --- Subject: Re: [4.2 Regression] Incorrect stack sharing causing removal of live code On 6/19/07 1:26 PM, rth at gcc dot gnu dot org wrote: --- Comment #26 from rth at gcc dot gnu dot org 2007-06-19 17:26 ---

[Bug rtl-optimization/32405] New: assertion failure in loop-iv.c; probable dataflow regression

2007-06-19 Thread bwilson at gcc dot gnu dot org
The following 2 testcases began failing for an xtensa-elf target when the dataflow branch was merged: gcc.c-torture/execute/920501-6.c gcc.c-torture/execute/930921-1.c Both tests fail at -O3 with internal compiler error: in get_biv_step, at loop-iv.c:792. Neither the Xtensa port nor the

[Bug target/32406] New: [4.3 Regression] MIPS: FAIL in nestfunc-6.c at -O3

2007-06-19 Thread daney at gcc dot gnu dot org
Build from svn r125825 with: http://gcc.gnu.org/viewcvs?view=revrevision=125852 applied. Configured: ../trunk/configure --target=mipsel-linux --with-sysroot=/usr/local/mipsel-linux-test --prefix=/usr/local/mipsel-linux-test --with-arch=mips32 --with-float=soft --disable-java-awt --without-x

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-06-19 Thread jojelino at gmail dot com
--- Comment #2 from jojelino at gmail dot com 2007-06-19 18:13 --- Created an attachment (id=13737) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13737action=view) source file that causes ICE reduced. just three line for ICE -- jojelino at gmail dot com changed:

[Bug c++/32400] [4.3 Regression] ICE in expand_or_defer_fn, at cp/semantics.c:3220

2007-06-19 Thread jojelino at gmail dot com
--- Comment #3 from jojelino at gmail dot com 2007-06-19 18:18 --- (From update of attachment 13737) removing static keyword at the top resolves problem. but is it workaround? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32400

[Bug tree-optimization/32367] [4.3 Regression] internal compiler error: in build_polynomial_chrec, at tree-chrec.h:113

2007-06-19 Thread spop at gcc dot gnu dot org
--- Comment #13 from spop at gcc dot gnu dot org 2007-06-19 18:35 --- Subject: Bug 32367 Author: spop Date: Tue Jun 19 18:35:39 2007 New Revision: 125855 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=125855 Log: PR tree-optimization/32367 * tree-chrec.h

[Bug middle-end/32327] [4.2 Regression] Incorrect stack sharing causing removal of live code

2007-06-19 Thread amacleod at redhat dot com
--- Comment #28 from amacleod at redhat dot com 2007-06-19 18:57 --- Won't solve the problem currently, but I think the long term solution is to do stack analysis when out-of-ssa and expand have been merged into a single entity. The live range info out-of-ssa calculates can be used to

[Bug ada/32407] New: ACATS cd92001 fails

2007-06-19 Thread anhvofrcaus at gmail dot com
The detailed content of the log is shown below. splitting /home/voax/linux/build-4.3.0/gcc/testsuite/ada/acats/tests/cd/cd92001.a into: cd92001.adb BUILD cd92001.adb gnatmake --GCC=/home/voax/linux/build-4.3.0/gcc/xgcc -B/home/voax/linux/build-4.3.0/gcc/ -gnatws -O2

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-19 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #14 from dave at hiauly1 dot hia dot nrc dot ca 2007-06-19 19:56 --- Subject: Re: [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-* We need to know that the return pointer (r2) is not used and that the function is a leaf function (i.e., that the incoming value

[Bug rtl-optimization/32296] [4.3 Regression] Bootstrap failure in stage1 on hppa*-*-*

2007-06-19 Thread hjl at lucon dot org
--- Comment #15 from hjl at lucon dot org 2007-06-19 20:10 --- (In reply to comment #14) The linux problem is wierd. In stage2, I get the following failure: /bin/sh: line 1: 4487 Segmentation fault (core dumped) ./xsinfo ../../sinf o.h make[3]: *** [ada/sinfo.h] Error

[Bug c++/32408] New: Template Parsing Error

2007-06-19 Thread chsalvia at gmail dot com
GCC may have a defective template parsing routine which seems to mistake the '' token in an expression for the beginning of a template argument. The error only seems to happen when a templated function evaluates a member of a templated class or struct with a '' symbol. Here is a simple code

[Bug c++/32409] New: Template Parsing Error

2007-06-19 Thread chsalvia at gmail dot com
GCC may have a defective template parsing routine which seems to mistake the '' token in an expression for the beginning of a template argument. The error only seems to happen when a templated function evaluates a member of a templated class or struct with a '' symbol. Here is a simple code

  1   2   >