Mainline not slushy

2006-01-26 Thread Mark Mitchell
There was some discussion over the weekend about putting mainline into a slush mode to deal with recent breakage. I never formally instituted the slush, but there seems to have some self-healing activity, and a lot of the problems are gone. As was pointed out earlier, having multiple major

Re: Porting problem from GCC-4.0 to GCC 4.1

2006-01-26 Thread Richard Sandiford
Shrirang Khishti [EMAIL PROTECTED] writes: I have ported GCC-4.0 for a new target. Initially I started porting with GCC-3.4 and then shifted to GCC-4.0 without any problems. Now I want to port same code for GCC-4.1 . As there are some structural differences in GCC-4.0 and gcc-4.1 back-ends

Which program can I use to see VCG dumping from GCC

2006-01-26 Thread Jie Zhang
Hi, In this page http://gcc.gnu.org/news/egcs-vcg.html, it's said that If you view these files using a suitable program, you'll get output similar to the following. However, when I use xvcg to view test.c.01.sibling.vcg, xvcg errors: Wait.aLine 5: attribute T_Co_hidden currently not implemented

Re: RTL alias analysis

2006-01-26 Thread Richard Guenther
On 1/25/06, Alexandre Oliva [EMAIL PROTECTED] wrote: On Jan 22, 2006, Richard Guenther [EMAIL PROTECTED] wrote: On 1/22/06, Alexandre Oliva [EMAIL PROTECTED] wrote: I don't think it is any different. GCC's exception for unions only applies if the object is accessed using the union type.

Re: How to reverse patch reversal in cfgcleanup.c (Was: RFA: re-instate struct_equiv code)

2006-01-26 Thread Bernd Schmidt
Joern RENNECKE wrote: For easier reviewing, I have attached the diff to the cfgcleanup version previous to the patch backout. Thanks. Let me see if I understood the problem - please correct me if I describe anything incorrectly. The previous cross jumping code didn't care about register

Re: Which program can I use to see VCG dumping from GCC

2006-01-26 Thread Jie Zhang
On 1/26/06, Jie Zhang [EMAIL PROTECTED] wrote: Hi, In this page http://gcc.gnu.org/news/egcs-vcg.html, it's said that If you view these files using a suitable program, you'll get output similar to the following. However, when I use xvcg to view test.c.01.sibling.vcg, xvcg errors:

Re: RTL alias analysis

2006-01-26 Thread Alexandre Oliva
On Jan 26, 2006, Richard Guenther [EMAIL PROTECTED] wrote: So it is perfectly valid, but if GCC reorders the read from *ip past the store to *dp, it turns the valid program into one that misbehaves. *ip = 15; ii = *ip; *dp = 1.5; dd = *dp; Here^^^ you are accessing

Re: RTL alias analysis

2006-01-26 Thread Michael Veksler
So, is union is a very useful feature in ISO C, without gcc's extension? It seems that the only legal use of union is to use the same type through the whole life of the object. Here is the rationale: Quoting Richard Guenther [EMAIL PROTECTED]: On 1/25/06, Alexandre Oliva [EMAIL PROTECTED]

Re: Attribute data structure rewrite?

2006-01-26 Thread Joseph S. Myers
On Thu, 26 Jan 2006, Giovanni Bajo wrote: Geoffrey Keating [EMAIL PROTECTED] wrote: re this mail: http://gcc.gnu.org/ml/gcc/2004-09/msg01357.html do you still have the code around? Are you still willing to contribute it? Maybe you could upload it to a branch just to have it around

Re: How to reverse patch reversal in cfgcleanup.c (Was: RFA: re-instate struct_equiv code)

2006-01-26 Thread Joern RENNECKE
Bernd Schmidt wrote: Thanks. Let me see if I understood the problem - please correct me if I describe anything incorrectly. The previous cross jumping code didn't care about register liveness, since it just checked for identical instruction streams. The new, more clever code, requires

Re: How to reverse patch reversal in cfgcleanup.c (Was: RFA: re-instate struct_equiv code)

2006-01-26 Thread Daniel Berlin
On Thu, 2006-01-26 at 11:20 +0100, Bernd Schmidt wrote: Joern RENNECKE wrote: For easier reviewing, I have attached the diff to the cfgcleanup version previous to the patch backout. Thanks. Let me see if I understood the problem - please correct me if I describe anything incorrectly.

Re: RTL alias analysis

2006-01-26 Thread Gabriel Dos Reis
Michael Veksler [EMAIL PROTECTED] writes: | So, is union is a very useful feature in ISO C, without | gcc's extension? It seems that the only legal use of union | is to use the same type through the whole life of the object. | | Here is the rationale: | | Quoting Richard Guenther [EMAIL

Re: Attribute data structure rewrite?

2006-01-26 Thread Geoffrey Keating
On 25/01/2006, at 11:52 PM, Giovanni Bajo wrote: svn log --stop-on-copy svn://gcc.gnu.org/svn/gcc/branches/stree-branch I got my branches confused; it's on static-tree-branch. Revision 88377. smime.p7s Description: S/MIME cryptographic signature

Re: RTL alias analysis

2006-01-26 Thread Alexandre Oliva
On Jan 26, 2006, Gabriel Dos Reis [EMAIL PROTECTED] wrote: I don't see anything in the ISO C standard that implies that. This x.v1 = 384; x.v2 = 94.08; int v = x.v2; x.v1 = v; is valid fragment. But can you see anything in it that makes it undefined? Failing that,

Re: Problem with gfortran or did I messsed up GMP installation?

2006-01-26 Thread Vincent Lefevre
Hi, On 2006-01-25 13:10:50 -0600, Aleksandar Milivojevic wrote: Compile GMP 4.1.4: $ ../configure ABI=32 --prefix=/gcc-test --enable-mpfr You shouldn't use the MPFR version distributed with GMP; it is very old and buggy. It is much better to compile GMP without MPFR support then compile

Re: RTL alias analysis

2006-01-26 Thread Gabriel Dos Reis
Alexandre Oliva [EMAIL PROTECTED] writes: | On Jan 26, 2006, Gabriel Dos Reis [EMAIL PROTECTED] wrote: | | I don't see anything in the ISO C standard that implies that. | | This | | x.v1 = 384; | x.v2 = 94.08; | int v = x.v2; | x.v1 = v; | | is valid fragment. | | But

Re: x86-64 linux, gomp ICE in trunk

2006-01-26 Thread tbp
On 1/25/06, Diego Novillo [EMAIL PROTECTED] wrote: You'll need to do what this message suggests. http://gcc.gnu.org/bugzilla/ Sorry for the lag. http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25983

Re: Problem with gfortran or did I messsed up GMP installation?

2006-01-26 Thread Aleksandar Milivojevic
Quoting Vincent Lefevre [EMAIL PROTECTED]: Hi, On 2006-01-25 13:10:50 -0600, Aleksandar Milivojevic wrote: Compile GMP 4.1.4: $ ../configure ABI=32 --prefix=/gcc-test --enable-mpfr You shouldn't use the MPFR version distributed with GMP; it is very old and buggy. It is much better to

gcc-4.0-20060126 is now available

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

Declaration of a guard function for use on define_bypass

2006-01-26 Thread Peter Steinmetz
I'm using store_data_bypass_p from recog.c as the guard for a define_bypass within a machine description. I'm seeing the following warning/error that I'd like to clean up. cc1: warnings being treated as errors insn-automata.c: In function 'internal_insn_latency': insn-automata.c:53265: warning:

Re: Declaration of a guard function for use on define_bypass

2006-01-26 Thread Andreas Tobler
Peter Steinmetz wrote: I'm using store_data_bypass_p from recog.c as the guard for a define_bypass within a machine description. I'm seeing the following warning/error that I'd like to clean up. cc1: warnings being treated as errors insn-automata.c: In function 'internal_insn_latency':

Corrupted Profile Information

2006-01-26 Thread djp
I'm working on a series of profile-driven optimes with gcc-3.4.3. I need profile information available for the PRE phase (implemented in gcc with gcse.c and lcm.c). However, gcc-3.4.3 does not provide profile information that early in the compile, so I moved the call to

Reconsidering gcjx

2006-01-26 Thread Tom Tromey
Now that the GPL v3 looks as though it may be EPL-compatible, the time has come to reconsider using the Eclipse java compiler (ecj) as our primary gcj front end. This has both political and technical ramifications, I discuss them below. Steering committee members, please read through if you

Re: Reconsidering gcjx

2006-01-26 Thread Per Bothner
Technical approach. Historically we've wanted to have a 'native' java-source-code-reading compiler, that is, one which parses java sources and converts them directly to trees. From what I can remember this was based on 3 things: A couple of other factors: * Compile time. It is at least

Re: Problem with gfortran or did I messsed up GMP installation?

2006-01-26 Thread Aleksandar Milivojevic
Vincent Lefevre wrote: You shouldn't use the MPFR version distributed with GMP; it is very old and buggy. It is much better to compile GMP without MPFR support then compile MPFR 2.2.0 separately: http://www.mpfr.org/mpfr-current/ Heh... If MPFR 2.2.0 (fully patched) is configured with

Re: Future possible stack based optimization

2006-01-26 Thread Frediano Ziglio
Il giorno mer, 25/01/2006 alle 22.29 +0100, Marcel Cox ha scritto: I saw that stack instructions on Intel platform are not used that much. I think this is a pity cause stack operations are small (size optimization) and usually fast (from Pentium two consecutive push/pop are executed

Re: issue with references to weak symbols in PIEs

2006-01-26 Thread H. J. Lu
FYI, it is a linker bug: http://sourceware.org/bugzilla/show_bug.cgi?id=2218 I posted a patch for it. H.J.

[Bug inline-asm/25967] New: Enable attribute naked for x86

2006-01-26 Thread daanonym2 at hotmail dot com
The naked attribute is ignored on the intel architecture (according to documentation). The MS VC++ compiler supports the naked attribute, and the functionality is used there quite frequent. A quick search on the internet shows that there is a lot of people waiting for this feature (including

[Bug ada/24356] Unable to build gnatmake

2006-01-26 Thread laurent at guerby dot net
--- Comment #8 from laurent at guerby dot net 2006-01-26 08:02 --- Waiting for feedback. -- laurent at guerby dot net changed: What|Removed |Added

[Bug c/25875] [4.1/4.2 Regression] ICE: segmentation fault

2006-01-26 Thread mmitchel at gcc dot gnu dot org
--- Comment #3 from mmitchel at gcc dot gnu dot org 2006-01-26 08:36 --- I *said* P2 -- but apparently I didn't update the actual priority field. Done now; sorry for the churn. -- mmitchel at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25918] gcc.dg/vect/vect-reduc-dot-s16.c scan-tree-dump-times vectorized 1 loops 1 and gcc.dg/vect/vect-reduc-pattern-2.c scan-tree-dump-times vectorized 2 loops 1 fail

2006-01-26 Thread dorit at il dot ibm dot com
--- Comment #1 from dorit at il dot ibm dot com 2006-01-26 09:07 --- Can you please send the dump files generated by -fdump-tree-vect-details? reduc-dot-s16.c needs the sdot_prodv4hi pattern, which is implemented for ia64, so I'd expect one loop to be vectorized. I wonder what's the

[Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics

2006-01-26 Thread charlet at gcc dot gnu dot org
--- Comment #18 from charlet at gcc dot gnu dot org 2006-01-26 09:56 --- Adding dependency on PR 21553 -- charlet at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/18540] Jumping into blocks gives error rather than warning

2006-01-26 Thread tobi at gcc dot gnu dot org
--- Comment #22 from tobi at gcc dot gnu dot org 2006-01-26 10:14 --- Fixed on trunk and 4.1. -- tobi at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/25962] Pointer (null) check after the use

2006-01-26 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2006-01-26 11:06 --- I believe the error is instead that for (main_clone = cgraph_node (node-decl); main_clone; main_clone = main_clone-next_clone) if (main_clone == node) break; if (!node) { error (node

[Bug middle-end/25176] [4.0 only] FAIL: Array_3 -O3 execution - bytecode-native test

2006-01-26 Thread amodra at gcc dot gnu dot org
--- Comment #7 from amodra at gcc dot gnu dot org 2006-01-26 11:18 --- Subject: Bug 25176 Author: amodra Date: Thu Jan 26 11:18:39 2006 New Revision: 110251 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110251 Log: PR middle-end/25176 * function.c

[Bug middle-end/25176] [4.0 only] FAIL: Array_3 -O3 execution - bytecode-native test

2006-01-26 Thread amodra at bigpond dot net dot au
--- Comment #8 from amodra at bigpond dot net dot au 2006-01-26 11:19 --- Fixed -- amodra at bigpond dot net dot au changed: What|Removed |Added

[Bug other/25925] [meta-bug] 4.2 slush bug

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-01-26 12:22 --- Closing as works for me as Mark's email works for me. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/25972] New: pack and unpack of long doubles via union generates poor code

2006-01-26 Thread amodra at bigpond dot net dot au
Compile the following with -m64 -mlong-double-128 -O2 -S long double pack (double a, double aa) { union { long double ld; double d[2]; } u; u.d[0] = a; u.d[1] = aa; return u.ld; } void unpack (long double x, double *a, double *aa) { union { long double ld; double d[2]; } u; u.ld = x;

[Bug rtl-optimization/25972] pack and unpack of long doubles via union generates poor code

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-26 12:28 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug inline-asm/25967] Enable attribute naked for x86

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-26 12:29 --- A quick question here. Why not use a .s file instead? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25967

[Bug c/25720] Compilation error in gcc-4.0.2

2006-01-26 Thread denisc at overta dot ru
--- Comment #3 from denisc at overta dot ru 2006-01-26 12:35 --- Done. -- denisc at overta dot ru changed: What|Removed |Added Severity|blocker

[Bug target/10733] Modulus bug

2006-01-26 Thread denisc at overta dot ru
--- Comment #11 from denisc at overta dot ru 2006-01-26 12:55 --- Change Status to FIXED. -- denisc at overta dot ru changed: What|Removed |Added Status|NEW

[Bug c++/25973] New: Wrong warning: control reaches end of non-void function

2006-01-26 Thread ssomers at opnet dot com
-Wall produces warning on second function, not on slightly simpler first function. struct C { C() { } ~C() {} }; int fine(int p) { C c; if (p) { if (p == 4) { return 1; } else { return 2; } } else { return 3; } }

[Bug c++/25973] [4.0/4.1/4.2 Regression] Wrong warning: control reaches end of non-void function

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-26 13:57 --- Confirmed, the problem is slightly different from PR 20624 (but it is related). I might look at this more. - We are adding an extra goto when gimplifing. I have not looked why yet. if (p == 4)

[Bug c++/25973] [4.0/4.1/4.2 Regression] Wrong warning: control reaches end of non-void function

2006-01-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.0.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25973

[Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics

2006-01-26 Thread hjl at lucon dot org
--- Comment #19 from hjl at lucon dot org 2006-01-26 14:20 --- *** Bug 21553 has been marked as a duplicate of this bug. *** -- hjl at lucon dot org changed: What|Removed |Added

[Bug driver/21553] GCC_EXEC_PREFIX mechanism is broken

2006-01-26 Thread hjl at lucon dot org
--- Comment #6 from hjl at lucon dot org 2006-01-26 14:20 --- It is the same as PR 14435. I posted a one-line patch for it. *** This bug has been marked as a duplicate of 14435 *** -- hjl at lucon dot org changed: What|Removed |Added

[Bug c/25975] New: Problems with -ffast-math and isnan

2006-01-26 Thread terra at gnome dot org
The following program should print Got a NaN: gcc-4.0.2 nan.c ./a.out Got a NaN ...but... gcc-4.0.2 -ffast-math nan.c ./a.out Ugh! I don't think that is proper behaviour even for -ffast-math. This came up because someone compiled Gnumeric with -ffast-math. It seems that this option is

[Bug c/25975] Problems with -ffast-math and isnan

2006-01-26 Thread terra at gnome dot org
--- Comment #1 from terra at gnome dot org 2006-01-26 14:43 --- Created an attachment (id=10732) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10732action=view) Output from gcc-4.0.2 -E -ffast-math nan.c gcc-4.0.2 -v Using built-in specs. Target: i686-pc-linux-gnu Configured

[Bug c/25975] Problems with -ffast-math and isnan

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-26 14:44 --- Please read the docs about -ffast-math. It enables the option -ffinite-math-only which means no NaNs. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/25975] Problems with -ffast-math and isnan

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-26 14:47 --- -ffast-math Sets -fno-math-errno, -funsafe-math-optimizations, -fno-trapping-math, -ffinite-math-only, -fno-rounding-math, -fno-signaling-nans and fcx-limited-range. This option causes the preprocessor macro

[Bug ada/14435] [4.2 Regression] gnatchop cannot use the compiled compiler in Ada's testsuite because of changed GCC_EXEC_PREFIX semantics

2006-01-26 Thread hjl at lucon dot org
| grep GOOD || exit 1 make: *** [foo.s] Error 1 [EMAIL PROTECTED] prefix]$ With my patch, I got [EMAIL PROTECTED] prefix]$ make /export/build/gnu/gcc/build-x86_64-linux/./prev-gcc//xgcc --version xgcc (GCC) 4.2.0 20060126 (experimental) [trunk revision 110254 clean] Copyright (C) 2006 Free Software

[Bug c/25861] [4.2 Regression] tree check fail at c-common.c:2430

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-01-26 14:59 --- Subject: Bug 25861 Author: pinskia Date: Thu Jan 26 14:59:26 2006 New Revision: 110256 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110256 Log: 2006-01-26 Andrew Pinski [EMAIL PROTECTED] PR

[Bug c/25861] [4.2 Regression] tree check fail at c-common.c:2430

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-01-26 14:59 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/14798] [3.4/4.0/4.1/4.2 Regression] In case of SH target with -O2 option #pragma interrupt doesn't get resetted.

2006-01-26 Thread amylaar at gcc dot gnu dot org
--- Comment #20 from amylaar at gcc dot gnu dot org 2006-01-26 15:22 --- http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01782.html was regression tested successfully for sh-elf in Revision 110178. However, it makes sense to write or collect a number of new test cases to test the affected

[Bug target/25908] [4.2 Regression] vtables with vague linkage is not being marked as vague on darwin

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #22 from pinskia at gcc dot gnu dot org 2006-01-26 15:32 --- Patch posted: http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01843.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/25977] New: miscompile with classes without copy constructor

2006-01-26 Thread mueller at gcc dot gnu dot org
Hmm, the summary is really bad. I'm seeing the attached testcase to fail on 4.2.0 and 4.1.0, both with -O0 and with -O2. -- Summary: miscompile with classes without copy constructor Product: gcc Version: 4.1.0 Status: UNCONFIRMED Severity:

[Bug middle-end/25977] miscompile with classes without copy constructor

2006-01-26 Thread mueller at gcc dot gnu dot org
--- Comment #1 from mueller at gcc dot gnu dot org 2006-01-26 15:40 --- Created an attachment (id=10734) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10734action=view) testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25977

[Bug middle-end/25977] miscompile with classes without copy constructor

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-26 15:45 --- retval = operator (retval, r) [return slot optimization]; We cannot do RSO here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25977

[Bug middle-end/25977] [4.1/4.2 Regression] RSO vs NRV (twice)

2006-01-26 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 middle-end/25977] [4.1/4.2 Regression] RSO vs NRV (twice)

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-26 15:50 --- Confirmed. Very much related to PR 19317 so CCing Jason. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/25977] [4.1/4.2 Regression] RSO vs NRV (twice)

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-01-26 15:54 --- Hmm: (void) (retval = *(struct A ) (struct A *) TARGET_EXPR D.1827, operator (retval, (struct A ) (struct A *) r)) ; Maybe it is not fully related to PR 19317 but a different issue really. --

[Bug bootstrap/21739] ../../.././libstdc++-v3/libmath/stubs.c:268: error: parse error before '(' token

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-26 15:58 --- No feedback in 3 months (T-4 days). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/21936] Ada bootstrap failure on Solaris 10/x86 with native as

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-26 15:58 --- No feedback in 3 months (T-4 days). -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgomp/25978] New: All libgomp tests timeout on ppc-darwin

2006-01-26 Thread pinskia at gcc dot gnu dot org
Because Darwin does not implement sem_init correctly all the tests timeout. One way of fixing this is to change libgomp for Darwin to use the mach semaphores. Another way is to use named semaphores. -- Summary: All libgomp tests timeout on ppc-darwin Product: gcc

[Bug libstdc++/25608] g++ miscompiles gcjx

2006-01-26 Thread bkoz at gcc dot gnu dot org
--- Comment #14 from bkoz at gcc dot gnu dot org 2006-01-26 16:32 --- Gaby, here's the one thing that I can think of that changed between 3.4.x and mainline/4.1 in this code path: 2005-10-10 Ian Lance Taylor ian@airs.com PR libstdc++/13583 *

[Bug libstdc++/25608] g++ miscompiles gcjx

2006-01-26 Thread bkoz at gcc dot gnu dot org
--- Comment #15 from bkoz at gcc dot gnu dot org 2006-01-26 16:35 --- ps tom this kind of organization for compiling looks dreamy: #20 0x400afc18 in compiler::do_analyze_unit (this=0x8055248, unit=0x8089dc0) at exception.hh:63 #21 0x400afebf in compiler::semantic_analysis

[Bug libstdc++/25608] g++ miscompiles gcjx

2006-01-26 Thread gdr at cs dot tamu dot edu
--- Comment #16 from gdr at cs dot tamu dot edu 2006-01-26 16:44 --- Subject: Re: g++ miscompiles gcjx bkoz at gcc dot gnu dot org [EMAIL PROTECTED] writes: | Gaby, here's the one thing that I can think of that changed between 3.4.x and | mainline/4.1 in this code path: Thank you

[Bug rtl-optimization/24626] [4.1 Regression] internal compiler error: verify_flow_info failed

2006-01-26 Thread yanov at il dot ibm dot com
--- Comment #66 from yanov at il dot ibm dot com 2006-01-26 16:45 --- Bootstrapped and tested on PowerPC linux. No regressions. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24626

[Bug libstdc++/25608] g++ miscompiles gcjx

2006-01-26 Thread gdr at cs dot tamu dot edu
--- Comment #17 from gdr at cs dot tamu dot edu 2006-01-26 16:45 --- Subject: Re: g++ miscompiles gcjx bkoz at gcc dot gnu dot org [EMAIL PROTECTED] writes: | ps tom this kind of organization for compiling looks dreamy: Yup! I dream of when other GCC parts would be similarly

[Bug fortran/18937] quadratic behaviour with many label spaghetti code

2006-01-26 Thread tobi at gcc dot gnu dot org
--- Comment #10 from tobi at gcc dot gnu dot org 2006-01-26 16:46 --- I don't know when I will have time for this, so I'm unassigning myself. -- tobi at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/25927] Spurious offsetof warnings with private members

2006-01-26 Thread rcbilson at plg dot uwaterloo dot ca
--- Comment #7 from rcbilson at plg dot uwaterloo dot ca 2006-01-26 16:59 --- (In reply to comment #6) class xxx is NOT a POD. Indeed not. Thank you for explaining, and sorry to waste your time. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25927

[Bug c/19606] wrong code for arith.expr: (((unsigned int)(signed int) a ) / 2LL) with signed char a=-4

2006-01-26 Thread kazu at gcc dot gnu dot org
--- Comment #9 from kazu at gcc dot gnu dot org 2006-01-26 17:07 --- Posted a new patch. -- kazu at gcc dot gnu dot org changed: What|Removed |Added

[Bug ada/25900] [4.2 Regression] ICE on ACATS cxac004 in Tree-VRP

2006-01-26 Thread law at gcc dot gnu dot org
--- Comment #7 from law at gcc dot gnu dot org 2006-01-26 17:14 --- Subject: Bug 25900 Author: law Date: Thu Jan 26 17:14:22 2006 New Revision: 110261 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110261 Log: PR ada/25900 * tree-vrp.c (extract_range_from_assert):

[Bug ada/25900] [4.2 Regression] ICE on ACATS cxac004 in Tree-VRP

2006-01-26 Thread law at redhat dot com
--- Comment #8 from law at redhat dot com 2006-01-26 17:14 --- Subject: Re: [4.2 Regression] ACATS ICE cxac0004 in set_value_range, at tree-vrp.c:161 on x86-linux On Tue, 2006-01-24 at 15:12 -0700, Jeffrey A Law wrote: That fixes cxac004, but causes c99004a to fail! As

[Bug ada/25900] [4.2 Regression] ICE on ACATS cxac004 in Tree-VRP

2006-01-26 Thread law at redhat dot com
--- Comment #10 from law at redhat dot com 2006-01-26 17:14 --- Fixed with today's patch to tree-vrp.c -- law at redhat dot com changed: What|Removed |Added

[Bug c/25975] Problems with -ffast-math and isnan

2006-01-26 Thread terra at gnome dot org
--- Comment #4 from terra at gnome dot org 2006-01-26 17:22 --- ok, thanks. I'll prevent this by checking for __FAST_MATH__ in my code. One could argue for a warning like nan.c:13: warning: comparison is always false due to limited range of data type for use of isnan and similarly

[Bug c++/25979] New: incorrect codegen for conditional

2006-01-26 Thread hhinnant at apple dot com
I'm not positive whether or not this is a duplicate of 25895. I figured I'd better enter it just in case it wasn't. Test case: #include stdio.h struct A { A() : data1_(0), data2_(0) {} A(int i, int j) : data1_(i), data2_(j) {} A operator+(int); friend A operator+(int, const A);

[Bug c++/25979] incorrect codegen for conditional

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-26 17:31 --- This is actually a dup of bug 25977. But I think it was worked around in 4.0.2 (or maybe just 4.0.3, I have to double check that). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25979

[Bug c++/25979] incorrect codegen for conditional

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-01-26 17:36 --- It was worked around in 4.0.2 (done on 2005-04-05 23:13:35) by: PR c++/19317 * calls.c (expand_call): Disable return slot optimization. Which just disabled the return slot optimization for 4.0.x

[Bug c++/25979] incorrect codegen for conditional

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-01-26 17:39 --- Actually this is not a full dup as this one is also still broken on the 4.0 branch. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/25979] [4.0/4.1/4.2 Regression] incorrect codegen for conditional [SVO issue]

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-01-26 17:43 --- Confirmed, very much related to PR 25977. Though I think this and PR 25977 are almost the same bug as we get: TARGET_EXPR D.3014, Unknown tree: aggr_init_expr operator+ 3, (struct A ) (struct A *) a1 D.3014

[Bug middle-end/25977] [4.1/4.2 Regression] RSO vs NRV (twice)

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2006-01-26 17:36 --- *** Bug 25979 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/21470] -fargument-noalias-global has no effect for the vectorizer

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-01-26 17:50 --- Fixed applied. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores/loads

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-01-26 17:51 --- Subject: Bug 17064 Author: pinskia Date: Thu Jan 26 17:51:25 2006 New Revision: 110263 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110263 Log: 2006-01-26 Richard Guenther [EMAIL PROTECTED]

[Bug tree-optimization/21470] -fargument-noalias-global has no effect for the vectorizer

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-01-26 17:51 --- Subject: Bug 21470 Author: pinskia Date: Thu Jan 26 17:51:25 2006 New Revision: 110263 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110263 Log: 2006-01-26 Richard Guenther [EMAIL PROTECTED]

[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores/loads

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2006-01-26 17:51 --- The partial fix has been applied, I have another patch which fixes another part of this but still not fully. It just helps the call cloberring mechanism. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17064

[Bug tree-optimization/23619] Missed pre opportunity

2006-01-26 Thread dberlin at gcc dot gnu dot org
--- Comment #12 from dberlin at gcc dot gnu dot org 2006-01-26 17:53 --- Fixed -- dberlin at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/25961] [4.2 Regression] Mainline failed to bootstrap on ia64

2006-01-26 Thread sje at cup dot hp dot com
--- Comment #2 from sje at cup dot hp dot com 2006-01-26 18:00 --- See http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01864.html http://gcc.gnu.org/ml/gcc-patches/2006-01/msg01779.html For the two patches needed to fix this. Waiting for approval. -- sje at cup dot hp dot com

[Bug tree-optimization/17064] -falias-noargument-global doesn't eliminate dead stores/loads

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2006-01-26 18:15 --- This is the patch which helps the call clobering but does not fix it all the way (because a different call clobbering issue): Index: tree-ssa-alias.c

[Bug c++/25979] [4.0/4.1/4.2 Regression] incorrect codegen for conditional [SVO issue]

2006-01-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |critical http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25979

[Bug fortran/25964] [4.1/4.2 Regression] NIST regression on fm311.f

2006-01-26 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Priority|P3 |P5 Target Milestone|4.2.0 |4.1.0

[Bug c++/25980] New: Unexpected name conflict between symbols

2006-01-26 Thread dwhorton at gmail dot com
The following fails to compile, it would appear that symbols from seperate namespaces are colliding in error: [EMAIL PROTECTED] tmp]$ cat test2.cpp namespace ns1 { class c {}; typedef int f; static c x; } namespace ns2 { void f(ns1::c cc) { } void g() {

[Bug c++/25980] Unexpected name conflict between symbols

2006-01-26 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-01-26 18:49 --- I think you (and EDG) are missing what argument dependent lookup does for this case. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25980

[Bug c/25892] -Wpointer-sign creates problems for Emacs

2006-01-26 Thread aoliva at gcc dot gnu dot org
--- Comment #7 from aoliva at gcc dot gnu dot org 2006-01-26 18:50 --- Subject: Bug 25892 Author: aoliva Date: Thu Jan 26 18:50:37 2006 New Revision: 110265 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110265 Log: gcc/ChangeLog: PR c/25892 * c.opt (Wpointer-sign): Init to -1. *

[Bug target/23552] FAIL: gfortran.dg/large_real_kind_1.f90

2006-01-26 Thread sje at cup dot hp dot com
--- Comment #3 from sje at cup dot hp dot com 2006-01-26 18:55 --- These tests pass for me on the 4.1 branch and on mainline. -- sje at cup dot hp dot com changed: What|Removed |Added

[Bug c++/25980] Unexpected name conflict between symbols

2006-01-26 Thread gdr at cs dot tamu dot edu
--- Comment #2 from gdr at cs dot tamu dot edu 2006-01-26 18:56 --- Subject: Re: New: Unexpected name conflict between symbols dwhorton at gmail dot com [EMAIL PROTECTED] writes: | The following fails to compile, it would appear that symbols from seperate | namespaces are colliding

[Bug fortran/25964] [4.1/4.2 Regression] NIST regression on fm311.f

2006-01-26 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-01-26 19:01 --- The patch is on its way in the next hour or so Statement functions = internal procedures, as far as the standard is concerned. Paul -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25964

[Bug c/25892] -Wpointer-sign creates problems for Emacs

2006-01-26 Thread aoliva at gcc dot gnu dot org
--- Comment #8 from aoliva at gcc dot gnu dot org 2006-01-26 19:06 --- Subject: Bug 25892 Author: aoliva Date: Thu Jan 26 19:06:06 2006 New Revision: 110267 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110267 Log: gcc/ChangeLog: PR c/25892 * c.opt (Wpointer-sign): Init to -1. *

[Bug c/25892] -Wpointer-sign creates problems for Emacs

2006-01-26 Thread aoliva at gcc dot gnu dot org
--- Comment #9 from aoliva at gcc dot gnu dot org 2006-01-26 19:09 --- Fixed -- aoliva at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

  1   2   >