[Bug tree-optimization/26724] New: __builtin_constant_p fails to recognise function with constant return

2006-03-16 Thread anton at samba dot org
We noticed that __builtin_constant_p() sometimes fails to recognise a function that always returns 0 as being constant. The code snippet below shows that gcc can work it out if we force the evaluation into an inline function. It looks like this postpones the evaluation of __builtin_constant_p to a

[Bug c++/8047] [i386] Stack corruption with exceptions

2006-03-16 Thread aoliva at gcc dot gnu dot org
--- Comment #15 from aoliva at gcc dot gnu dot org 2006-03-17 06:27 --- I failed to note this PR when I checked in http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01039.html as revision 112170, sorry. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8047

[Bug target/23602] [4.1 regression] 1081 test failures in libjava, when configured for i486-linux

2006-03-16 Thread aoliva at gcc dot gnu dot org
--- Comment #17 from aoliva at gcc dot gnu dot org 2006-03-17 06:25 --- I failed to note this PR when I checked in http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01039.html as revision 112170, sorry. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23602

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at physics dot uc dot edu
--- Comment #18 from pinskia at gcc dot gnu dot org 2006-03-17 01:12 --- Subject: Re: [4.2 Regression]: Gcc generates unaligned access On Mar 16, 2006, at 8:06 PM, schwab at suse dot de wrote: > --- Comment #17 from schwab at suse dot de 2006-03-17 01:06 > --- > PPC does no

Re: [Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread Andrew Pinski
On Mar 16, 2006, at 8:06 PM, schwab at suse dot de wrote: --- Comment #17 from schwab at suse dot de 2006-03-17 01:06 --- PPC does not trap on unaligned integer load and store. That is not true, it traps on some. It all depends on the hardware. Please don't say it does not trap on n

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread schwab at suse dot de
--- Comment #17 from schwab at suse dot de 2006-03-17 01:06 --- PPC does not trap on unaligned integer load and store. Neither ia64 nor alpha nor sparc can do unaligned load and store in hardware. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug target/26722] ICE in extract_insn, at recog.c:2175

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-17 01:03 --- This works for me in 3.3.3 and 3.3.6 so closing as works for me. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at physics dot uc dot edu
--- Comment #16 from pinskia at gcc dot gnu dot org 2006-03-17 00:40 --- Subject: Re: [4.2 Regression]: Gcc generates unaligned access On Mar 16, 2006, at 7:37 PM, schwab at suse dot de wrote: > > > --- Comment #15 from schwab at suse dot de 2006-03-17 00:37 > --- > Both a

Re: [Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread Andrew Pinski
On Mar 16, 2006, at 7:37 PM, schwab at suse dot de wrote: --- Comment #15 from schwab at suse dot de 2006-03-17 00:37 --- Both alpha and sparc can emulate unaligned accesses, and both set STRICT_ALIGNMENT. And PPC can emulate unalgined access (and does by default) and it sets STR

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread schwab at suse dot de
--- Comment #15 from schwab at suse dot de 2006-03-17 00:37 --- Both alpha and sparc can emulate unaligned accesses, and both set STRICT_ALIGNMENT. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2006-03-17 00:22 --- Now ia64-hpux is a different story. Maybe the real question is why DSE/DCE is not deleting the dead code which it is? But for future reference the docs for STRICT_ALIGNMENT is: @defmac STRICT_ALIGNMENT Define this

[Bug middle-end/26379] [4.0 Regression] ICE on vector shift RTL simplification

2006-03-16 Thread roger at eyesopen dot com
--- Comment #7 from roger at eyesopen dot com 2006-03-17 00:17 --- I've now committed this patch (as approved by Mark) to the 4.0 branch for Jakub, so this PR can be closed. -- roger at eyesopen dot com changed: What|Removed |Added

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at physics dot uc dot edu
--- Comment #13 from pinskia at gcc dot gnu dot org 2006-03-16 23:54 --- Subject: Re: [4.2 Regression]: Gcc generates unaligned access On Mar 16, 2006, at 6:37 PM, schwab at suse dot de wrote: > > > --- Comment #12 from schwab at suse dot de 2006-03-16 23:37 > --- > (In re

Re: [Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread Andrew Pinski
On Mar 16, 2006, at 6:37 PM, schwab at suse dot de wrote: --- Comment #12 from schwab at suse dot de 2006-03-16 23:37 --- (In reply to comment #9) Why is ia64-linux-gnu setting STRICT_ALIGNMENT to true even though it works by default? prctl --unaligned=signal will make it gener

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread schwab at suse dot de
--- Comment #12 from schwab at suse dot de 2006-03-16 23:37 --- (In reply to comment #9) > Why is ia64-linux-gnu setting STRICT_ALIGNMENT to true even though it works by > default? prctl --unaligned=signal will make it generate bus errors. -- http://gcc.gnu.org/bugzilla/show_bug.cg

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread sje at cup dot hp dot com
--- Comment #11 from sje at cup dot hp dot com 2006-03-16 23:16 --- I compiled the test case at -O1 on IA64 HP-UX to get the bus error due to the unaligned access. IA64 HP-UX does require STRICT_ALIGNMENT. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #10 from pinskia at gcc dot gnu dot org 2006-03-16 23:13 --- (In reply to comment #6) > Here is a cut down test case, I guess GCC is trying to map the strncpy into an > integer move without taking alignment into account. This is all dead code, this testcase does nothing for

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-03-16 23:10 --- Why is ia64-linux-gnu setting STRICT_ALIGNMENT to true even though it works by default? Yes it is slower but there is setting for that. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2006-03-16 23:09 --- (In reply to comment #7) > It looks to me like this is due to Richard Guenther's patch at: > > http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00737.html > > When I removed the non-structure part of this patch the pro

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread sje at cup dot hp dot com
--- Comment #7 from sje at cup dot hp dot com 2006-03-16 23:06 --- It looks to me like this is due to Richard Guenther's patch at: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00737.html When I removed the non-structure part of this patch the problem went away. specifically I changed

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2006-03-16 22:25 --- Here is a cut down test case, I guess GCC is trying to map the strncpy into an integer move without taking alignment into account. extern char *strncpy (char *, const char *, __SIZE_TYPE__); int main() { const char *

[Bug libstdc++/25482] Specialize (overload) std::copy/find for streambuf iterators

2006-03-16 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2006-03-16 22:17 --- Working on it. -- pcarlini at suse dot de changed: What|Removed |Added AssignedTo|unassigned at g

[Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX

2006-03-16 Thread sje at cup dot hp dot com
--- Comment #6 from sje at cup dot hp dot com 2006-03-16 22:03 --- Fixed on 4.0 line for 4.0.4, 4.1 line for 4.1.1 and on ToT for 4.2. -- sje at cup dot hp dot com changed: What|Removed |Added ---

[Bug target/26189] Bug in vendor /usr/include/net/if.h needs fixincluding on HPUX

2006-03-16 Thread sje at gcc dot gnu dot org
--- Comment #5 from sje at gcc dot gnu dot org 2006-03-16 22:02 --- Subject: Bug 26189 Author: sje Date: Thu Mar 16 22:02:43 2006 New Revision: 112154 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112154 Log: PR target/26189 Backport from mainline. * inc

[Bug c++/26723] invocation order of functions registered with atexit() not as expected

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-16 22:00 --- (In reply to comment #2) > gcc -v: > Configured with: XXX/gcc-3.3.3/configure --prefix=XXXgcc-3.3.3 > --with-local-prefix=XXX --enable-languages=c,c++ > --with-libiconv-prefix=XXX/gcc-3.3.3 --with-gnu-ld --with-ld=XX

[Bug c++/26723] invocation order of functions registered with atexit() not as expected

2006-03-16 Thread ivan at sierra-da dot com
--- Comment #2 from ivan at sierra-da dot com 2006-03-16 21:56 --- gcc -v: Reading specs from /project/tools/linux_i686_2.3.2-2005-08-31-17.44.37/stow/gcc-3.3.3/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs Configured with: XXX/gcc-3.3.3/configure --prefix=XXXgcc-3.3.3 --with-local-prefix=XX

[Bug bootstrap/26718] Bootstrap 4.1.0 fails on Apple Power G5

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-16 21:54 --- (In reply to comment #2) > Looks like my problem from PR 26385, but I was trying to use odcctools' nm. > Is GNU binutils' nm also suitable? I have never used the GNU binutils or even odcctools nm which is why I asked

[Bug fortran/26716] [4.1,4.2 regression] gfortran: incorrect choice of overloaded function

2006-03-16 Thread pault at gcc dot gnu dot org
--- Comment #2 from pault at gcc dot gnu dot org 2006-03-16 21:53 --- Annoyingly, the bug has been introduced by one of my patches: http://gcc.gnu.org/ml/fortran/2006-01/msg00424.html It was the bit for PR25070. I'll see what I can do. Paul -- pault at gcc dot gnu dot org changed

[Bug target/24838] g++.dg/tls/static-1.C execution test fails

2006-03-16 Thread sje at cup dot hp dot com
--- Comment #2 from sje at cup dot hp dot com 2006-03-16 21:45 --- I am resolving this bug as fixed with the same resolution as PR 24476, since the change I made for PR 24476 also fixes this failure. See PR 24476 for more information on the problem & fix. Basically, you have to use the

[Bug bootstrap/26718] Bootstrap 4.1.0 fails on Apple Power G5

2006-03-16 Thread fang at csl dot cornell dot edu
--- Comment #2 from fang at csl dot cornell dot edu 2006-03-16 21:39 --- Looks like my problem from PR 26385, but I was trying to use odcctools' nm. Is GNU binutils' nm also suitable? -- fang at csl dot cornell dot edu changed: What|Removed |Added

[Bug middle-end/26379] [4.0 Regression] ICE on vector shift RTL simplification

2006-03-16 Thread sayle at gcc dot gnu dot org
--- Comment #6 from sayle at gcc dot gnu dot org 2006-03-16 21:33 --- Subject: Bug 26379 Author: sayle Date: Thu Mar 16 21:33:38 2006 New Revision: 112152 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112152 Log: PR middle-end/26379 Backport from mainline.

too few template-parameter-lists with nested template

2006-03-16 Thread Michael Gourlay
I've seen other posts asking a similar question, but the solution continues to evade me. I have a line of code that compiles and runs as designed with MSVC but not under g++ 3.4.2 (mingw-special): HashTable::FactoryEntry> Factory::sFactoryTable ; The following lines do compile (but see cavea

[Bug fortran/26716] [4.1,4.2 regression] gfortran: incorrect choice of overloaded function

2006-03-16 Thread pault at gcc dot gnu dot org
--- Comment #1 from pault at gcc dot gnu dot org 2006-03-16 21:31 --- Yes indeed. It occurs for 4.1 and 4.2 but NOT for 4.0. I have put this to severity "major" because we must get interfaces right. Paul -- pault at gcc dot gnu dot org changed: What|Removed

[Bug c++/26723] invocation order of functions registered with atexit() not as expected

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-16 21:28 --- Can you give the output of "gcc -v"? This is the output I get: FIRST::FIRST() SECOND::SECOND() whatever @post_exit SECOND::~SECOND() FIRST::~FIRST() @pre_exit --enable-__cxa_atexit is required to get this behavior,

[Bug target/26722] ICE in extract_insn, at recog.c:2175

2006-03-16 Thread mtodorov at alu dot hr
--- Comment #3 from mtodorov at alu dot hr 2006-03-16 21:05 --- Subject: Re: ICE in extract_insn, at recog.c:2175 Of course, I should have done it in the first place: [EMAIL PROTECTED]:~/jbigkit/libjbig$ gcc -v Reading specs from /usr/lib/gcc-lib/x86_64-linux/3.3.5/specs Configured w

[Bug c++/26723] New: invocation order of functions registered with atexit() not as expected

2006-03-16 Thread ivan at sierra-da dot com
Almost verbatim from the standard: /// 1. Objects with static storage duration are destroyed ///and functions registered by calling atexit are ///called. Objects with static storage duration are ///destroyed in the reverse order of the completion ///of their constructor. /// 2. Func

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|major |normal http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread mkuvyrkov at gcc dot gnu dot org
--- Comment #5 from mkuvyrkov at gcc dot gnu dot org 2006-03-16 20:32 --- (In reply to comment #3) > It may be related to > > http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01001.html > http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01000.html > http://gcc.gnu.org/ml/gcc-patches/2006-03/ms

[Bug middle-end/18259] -fdump-tree-tu omits real constant values

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-16 20:18 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug middle-end/18259] -fdump-tree-tu omits real constant values

2006-03-16 Thread sayle at gcc dot gnu dot org
--- Comment #3 from sayle at gcc dot gnu dot org 2006-03-16 19:47 --- Subject: Bug 18259 Author: sayle Date: Thu Mar 16 19:47:19 2006 New Revision: 112147 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112147 Log: 2006-03-16 Roger Sayle <[EMAIL PROTECTED]> Daniel S

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread hjl at lucon dot org
--- Comment #4 from hjl at lucon dot org 2006-03-16 19:17 --- BTW, I saw it on RHEL 4 U3. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug libgcj/26706] [4.1/4.2] Unexpanded macro in libjava/classpath/configure

2006-03-16 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2006-03-16 19:15 --- I checked in the fix. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Sta

[Bug libgcj/26706] [4.1/4.2] Unexpanded macro in libjava/classpath/configure

2006-03-16 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2006-03-16 19:12 --- Subject: Bug 26706 Author: tromey Date: Thu Mar 16 19:12:29 2006 New Revision: 112143 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112143 Log: PR libgcj/26706: * aclocal.m4, configure: Rebui

[Bug target/26722] ICE in extract_insn, at recog.c:2175

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-16 19:09 --- Can you give output of "gcc -v"? This works just fine with FSF's GCC 3.3.3 and 3.4.0 and 4.1.0. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26722

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread hjl at lucon dot org
--- Comment #3 from hjl at lucon dot org 2006-03-16 19:08 --- It may be related to http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01001.html http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01000.html http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00999.html http://gcc.gnu.org/ml/gcc-patches/20

[Bug libgcj/26706] [4.1/4.2] Unexpanded macro in libjava/classpath/configure

2006-03-16 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2006-03-16 19:08 --- Subject: Bug 26706 Author: tromey Date: Thu Mar 16 19:08:07 2006 New Revision: 112142 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112142 Log: PR libgcj/26706: * aclocal.m4, configure: Rebui

[Bug target/26722] ICE in extract_insn, at recog.c:2175

2006-03-16 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Severity|critical|normal Component|c |target

[Bug c/26722] ICE in extract_insn, at recog.c:2175

2006-03-16 Thread mtodorov at alu dot hr
--- Comment #1 from mtodorov at alu dot hr 2006-03-16 19:05 --- Created an attachment (id=11060) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11060&action=view) The jbig.i file that causes ICE This is a part of jbigkit.tar.gz library for JBIG pictures. -- http://gcc.gnu.org/

[Bug c/26722] New: ICE in extract_insn, at recog.c:2175

2006-03-16 Thread mtodorov at alu dot hr
Hardware: Xeon 3.2 GHz dual-core OS: Linux Debian sarge 2.6.14.3-grsec #1 SMP Attachment with .i follows. gcc -O2 -W -march=pentium3 -mmmx -msse -msse2 -I../libjbig -c -o jbig.o jbig.c jbig.c: In function `encode_sde': jbig.c:1474: error: unrecognizable insn: (insn:HI 3480 3479 3127 20 0x2

[Bug target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread hjl at lucon dot org
--- Comment #2 from hjl at lucon dot org 2006-03-16 18:58 --- The testcases are in gcc testsuites. I got tens of those. Pick one from lt-gcj-dbtool(10892): strncpy-chk.x1(16065): strncpy-chk.x2(16153): strncpy-chk.x3(16260): strncpy-chk.x4(16419): PR9577(17600): strncpy-chk.x2(23626): s

[Bug middle-end/26717] [4.2 Regression] gfortran: ICE at tree-complex.c:133 with -O -ffast-math in LAPACK,

2006-03-16 Thread kargl at gcc dot gnu dot org
--- Comment #4 from kargl at gcc dot gnu dot org 2006-03-16 18:58 --- It looks like Andrew has found your problem. I will, however, suggest that you reconsider using --fast-math with gfortran. One of my codes works correctly without --fast-math, but it will generate NaN's with it. I ha

[Bug bootstrap/26708] ppc-darwin bootstrap failure (gcc/libiberty/floatformat.c ?)

2006-03-16 Thread perrin at msli dot com
--- Comment #2 from perrin at msli dot com 2006-03-16 18:58 --- Thanks, those new tools worked. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26708

[Bug tree-optimization/26719] [4.1/4.2 Regression] Computed (integer) table changes with -O

2006-03-16 Thread rakdver at gcc dot gnu dot org
--- Comment #3 from rakdver at gcc dot gnu dot org 2006-03-16 18:51 --- More precisely, the correct chrec would be (int) (char) {0,+,1} since we assume signed chrecs do not overflow. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26719

[Bug target/25917] [4.0 Regression] gcc.c-torture/compile/20051228-1.c fails

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2006-03-16 18:50 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/26719] [4.1/4.2 Regression] Computed (integer) table changes with -O

2006-03-16 Thread rakdver at gcc dot gnu dot org
--- Comment #2 from rakdver at gcc dot gnu dot org 2006-03-16 18:50 --- This is a scev analysis problem; on code D.2160_17 = (signed char) j_15; D.2161_18 = (int) D.2160_17; it says D.2161_18 = {0, +, 1}; however, since it wraps at 128 to -127, this is not correct -- (int) {0, +,

[Bug bootstrap/26718] Bootstrap 4.1.0 fails on Apple Power G5

2006-03-16 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 target/26721] [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-16 18:42 --- self contained testcase? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26721

[Bug target/25917] [4.0 Regression] gcc.c-torture/compile/20051228-1.c fails

2006-03-16 Thread sje at gcc dot gnu dot org
--- Comment #8 from sje at gcc dot gnu dot org 2006-03-16 18:42 --- Subject: Bug 25917 Author: sje Date: Thu Mar 16 18:42:18 2006 New Revision: 112141 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112141 Log: PR target/25917 Backport from mainline. * con

[Bug target/26721] New: [4.2 Regression]: Gcc generates unaligned access

2006-03-16 Thread hjl at lucon dot org
With gcc version 4.2.0 20060316 (experimental) [trunk revision 112138 clean], I got lt-gcj-dbtool(10892): unaligned access to 0x6fff9d63, ip=0x217a02e0 lt-gcj-dbtool(10892): unaligned access to 0x6fff9d6b, ip=0x217a0301 lt-gcj-dbtool(10892): unaligned access to

[Bug target/25917] [4.0 Regression] gcc.c-torture/compile/20051228-1.c fails

2006-03-16 Thread sje at gcc dot gnu dot org
--- Comment #7 from sje at gcc dot gnu dot org 2006-03-16 18:40 --- Subject: Bug 25917 Author: sje Date: Thu Mar 16 18:40:08 2006 New Revision: 112140 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112140 Log: PR target/25917 Backport from mainline. * con

[Bug java/26720] New: Can't find method 'access$1(I)'

2006-03-16 Thread sjackman at gmail dot com
In the following test, gcj fails to generate an access method for the private static members of type char, byte, and short, although it does generate the access method for the private static members of type int and Object. class AccessTest { public interface Foo { public void

[Bug ada/26678] "GNAT BUG DETECTED" when compiling AWS.

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2006-03-16 18:33 --- Hmm, this source works for me just fine on powerpc-darwin. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26678

[Bug other/26715] boostrap comparison failure (stage2?)

2006-03-16 Thread ebotcazou at gcc dot gnu dot org
--- Comment #1 from ebotcazou at gcc dot gnu dot org 2006-03-16 18:31 --- Pretty weird indeed. What's the bootstrap compiler on the Solaris 8 machine? Is it the same as on the other machines? Could you try a C-only bootstrap with it and with another one? -- ebotcazou at gcc dot

[Bug bootstrap/26718] Bootstrap 4.1.0 fails on Apple Power G5

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-16 18:29 --- This is interesting as this worked for me on powerpc-darwin7.9.0 just fine. Do you have a GNU binutils nm in your path? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26718

[Bug middle-end/21781] real.c incorrectly values zero with a large exponent

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-16 18:27 --- Fixed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|NEW

[Bug tree-optimization/26719] [4.1/4.2 Regression] Computed (integer) table changes with -O

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-16 18:24 --- Confirmed, ivopts is causing this one. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c/26719] New: Computed (integer) table changes with -O

2006-03-16 Thread kmshanah at disenchant dot net
System info: Debian Unstable, x86 (Transmeta Crusoe TM5800) The following program produces different output when compiled with and without optimisations. This didn't occur with gcc 4.0.3, it seems to be new with 4.1.0. #include int table[32][256]; int main(void) { int i, j; for (i = 0

[Bug libgcj/26706] [4.1/4.2] Unexpanded macro in libjava/classpath/configure

2006-03-16 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2006-03-16 18:19 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|u

[Bug middle-end/21781] real.c incorrectly values zero with a large exponent

2006-03-16 Thread sayle at gcc dot gnu dot org
--- Comment #2 from sayle at gcc dot gnu dot org 2006-03-16 16:34 --- Subject: Bug 21781 Author: sayle Date: Thu Mar 16 16:34:05 2006 New Revision: 112136 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=112136 Log: PR middle-end/21781 * real.c (real_from_string):

[Bug bootstrap/26718] New: Bootstrap 4.1.0 fails on Apple Power G5

2006-03-16 Thread aszodi at imp dot univie dot ac dot at
Building gcc V4.1.0 fails on an Apple Power G5 when building libstdc++. Environment Machine: Apple Power G5 (quad 2.5 Ghz), Mac OS X 10.4.4 uname -a output:- Darwin epx-paprika1.imp.univie.ac.at 8.4.0 Darwin Kernel Version 8.4.0: Tue Jan 3 18:22:10 PST 2006; root:xnu-792.6.56.obj~1/R

[Bug middle-end/26717] [4.2 Regression] gfortran: ICE at tree-complex.c:133 with -O -ffast-math in LAPACK,

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-16 16:21 --- Reduced C testcase: _Complex float f(_Complex float a, _Complex float b) { _Complex float c = a/a; return c/ b; } -- The problem is that fold is folding a/a to 1.0 but not the complex version. -- pinskia

FreeBSD 6.1-PRERELEASE /usr/src/gnu/usr.bin/cc/cc1obj/../../../../contrib/gcc/objc/objc-act.c:4910: internal compiler error: in extract_insn, at recog.c:2083

2006-03-16 Thread Mr. Chernozemsky
rusinante: gcc -v Using built-in specs. Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 3.4.4 [FreeBSD] 20050518 rusinante: rusinante: uname -a FreeBSD ws3-plovdiv.digsys.bg 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Fri Mar 10 16:53:41 EET 2006 [EMAIL PROTECTED]:

[Bug middle-end/26717] gfortran: ICE at tree-complex.c:133 with -O -ffast-math in LAPACK,

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-16 15:59 --- Reducing. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26717

[Bug middle-end/26717] gfortran: ICE at tree-complex.c:133 with -O -ffast-math in LAPACK,

2006-03-16 Thread anlauf at gmx dot de
--- Comment #1 from anlauf at gmx dot de 2006-03-16 15:45 --- Created an attachment (id=11059) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11059&action=view) Original LAPACK source file -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26717

[Bug fortran/26717] New: gfortran: ICE at tree-complex.c:133 with -O -ffast-math in LAPACK,

2006-03-16 Thread anlauf at gmx dot de
Hi, compiling LAPACK with -O -ffast-math leads to an ICE in LAPACK's csptri.f and csytri.f: % gfortran -O -ffast-math -c csptri.f csptri.f: In function 'csptri': csptri.f:1: internal compiler error: in find_lattice_value, at tree-complex.c:133 The same error is encountered in the other file. Ch

[Bug target/26713] Stack frame allocation limited to 32k

2006-03-16 Thread christoph dot stueckjuergen at siemens dot com
--- Comment #2 from christoph dot stueckjuergen at siemens dot com 2006-03-16 15:08 --- I tried 4.1.0. The assembly code looks slightly different, but the problem remains the same: : 0: 27bd8010addiu sp,sp,-32752 4: ffbe7fe0sd s8,32736(sp) 8

[Bug fortran/26716] New: [4.1,4.2 regression] gfortran: incorrect choice of overloaded function

2006-03-16 Thread martin at mpa-garching dot mpg dot de
Compiling and running the code below with gfortran 4.1 or mainline produces the output foo1 foo2 foo2 instead of the correct output foo1 foo1 foo2 This occurs with 4.1 (release), 4.1.1 and mainline. 4.0.3 (prerelease) produces the correct output. module mod1 implicit none interface fo

[Bug libfortran/26712] gfortran on mac intel runtime floating point exception when printing

2006-03-16 Thread ccb at dl dot ac dot uk
--- Comment #4 from ccb at dl dot ac dot uk 2006-03-16 14:30 --- Created an attachment (id=11058) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11058&action=view) fpu configuration file for mactel, uses apple supplied fenv.h For clearing this uses feclearexcept (FE_ALL_EXCEPT) For

[Bug tree-optimization/25985] [4.2 Regression] with optimization integer math fails

2006-03-16 Thread rakdver at gcc dot gnu dot org
--- Comment #7 from rakdver at gcc dot gnu dot org 2006-03-16 14:29 --- Patch: http://gcc.gnu.org/ml/gcc-patches/2006-03/msg01019.html -- rakdver at gcc dot gnu dot org changed: What|Removed |Added -

[Bug bootstrap/26711] Compilation breaks in gcc/genattrtab.c on Mac OS X 10.2.8 on G4 with odcctools

2006-03-16 Thread mtodorov at alu dot hr
--- Comment #3 from mtodorov at alu dot hr 2006-03-16 14:12 --- Subject: Re: Compilation breaks in gcc/genattrtab.c on Mac OS X 10.2.8 on G4 with odcctools Changing /gcc/auto-host.h #define HAVE_SYS_RESOURCE_H 1 makes build pass this point where it failed. This was set to #undef de

[Bug target/26695] -mabi=ieeelongdouble / undefined reference to _q_add.

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-16 14:11 --- Not a GCC bug as explained by Joseph. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug other/26715] New: boostrap comparison failure (stage2?) during make bootstrap on solaris8 only?

2006-03-16 Thread chris dot pitchford at newsint dot co dot uk
Hi all, I've been trying upgrade our C environment on our solaris boxes to GCC4.1 Currently we're using GCC 3.4.2 from Sun Freeware's online packages. $ gcc --version gcc (GCC) 3.4.2 ... Using the same ./configure options on 4 clean sparc Solaris systems (running 2.6, 7, 8 and 9) systems I find

[Bug c++/26714] violation of [class.temporary]/5

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-16 13:39 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug bootstrap/13982] Bootstrap of gcc-3.4-20040128 on Darwin6.8/Mac OS X 10.2.8 failed

2006-03-16 Thread mtodorov at alu dot hr
--- Comment #5 from mtodorov at alu dot hr 2006-03-16 13:35 --- Changing /gcc/auto-host.h #define HAVE_SYS_RESOURCE_H 1 makes build pass this point where it failed. This was set to #undef despite having the include in /usr/incude/sys/resource.h I guess configure script has not found i

[Bug libfortran/26712] gfortran on mac intel runtime floating point exception when printing

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2006-03-16 13:32 --- (In reply to comment #1) > I have played with this some more, and it seems to be an floating point > underflow. Default configure results in FPU_HOST_HEADER=config/fpu-387.h, > however, Darwin on i386 uses a fenv.h

[Bug bootstrap/13982] Bootstrap of gcc-3.4-20040128 on Darwin6.8/Mac OS X 10.2.8 failed

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2006-03-16 13:24 --- *** Bug 26711 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug bootstrap/26711] Compilation breaks in gcc/genattrtab.c on Mac OS X 10.2.8 on G4 with odcctools

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-16 13:24 --- *** This bug has been marked as a duplicate of 13982 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug libfortran/26712] gfortran on mac intel runtime floating point exception when printing

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2006-03-16 13:17 --- Hmm, I wonder if this is related to: http://lists.apple.com/archives/Darwin-dev/2006/Mar/msg00102.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26712

[Bug c++/26714] New: violation of [class.temporary]/5

2006-03-16 Thread marco at technoboredom dot net
Somebody in c.l.c++.m[1] dug out an overlooked clause in 12.2/5 [class.temporary], namely that "A temporary bound to a reference member in a constructor's ctor-initializer (12.6.2) persists until the constructor exists" The following piece of code should therefore print: === A() A() B() ~A() ~A(

[Bug libfortran/26710] build failure on mactel: non-relocatable subtraction error for compile_options.c

2006-03-16 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2006-03-16 13:04 --- Fixed in 4.2.0, the port is fundamentally borken before then. This one problem was fixed by: 2006-01-11 Andrew Pinski <[EMAIL PROTECTED]> * config/i386/darwin.h (SUBTARGET_ENCODE_SECTION_INFO): Define. -

[Bug target/26713] Stack frame allocation limited to 32k

2006-03-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-16 12:38 --- Please try 4.0.3 or 4.1.0, the 3.4 series is no longer maintained (you may turn to your system provider though). -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/26712] gfortran on mac intel runtime floating point exception when printing

2006-03-16 Thread ccb at dl dot ac dot uk
--- Comment #1 from ccb at dl dot ac dot uk 2006-03-16 12:35 --- I have played with this some more, and it seems to be an floating point underflow. Default configure results in FPU_HOST_HEADER=config/fpu-387.h, however, Darwin on i386 uses a fenv.h that is similar to that in config/fpu-

[Bug c/26713] New: Stack frame allocation limited to 32k

2006-03-16 Thread christoph dot stueckjuergen at siemens dot com
Allocation of stack frames is limited to a maximum of 32k, regardless of how much memory is needed by local variables. Addressing of local variables, on the other hand, is also possible beyond the 32k limit. This can lead to unpredictable application behavior. No compiler warning is generated. See

[Bug libfortran/26712] New: gfortran on mac intel runtime floating point exception when printing

2006-03-16 Thread ccb at dl dot ac dot uk
All attempts to run code compiled with gfortran fail if there is a floating point print. This seems to be due to a floating point underflow exception being invoked. cat test.f program test real a a = 10.0 print *,a stop end gdb stack trace follows: (gdb) run

[Bug bootstrap/26711] Compilation breaks in gcc/genattrtab.c on Mac OS X 10.2.8 on G4 with odcctools

2006-03-16 Thread mtodorov at alu dot hr
--- Comment #1 from mtodorov at alu dot hr 2006-03-16 12:26 --- Created an attachment (id=11057) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11057&action=view) generated gcc/ggc-common.i with make options + -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26711

[Bug bootstrap/26711] New: Compilation breaks in gcc/genattrtab.c on Mac OS X 10.2.8 on G4 with odcctools

2006-03-16 Thread mtodorov at alu dot hr
Hardware: apple powerpc dual g4 867 MHz OS: Mac OS X 10.2.8 Jaguar Kernel: Darwin 6.8 Build platform: apple's GCC version 1151, based on gcc version 20020420 from Dec2002DevToolsCD.dmg odcctools-20060226 GCC version:4.2.0-20060311,

[Bug other/26709] Compile of gcc 3.3.6 failed

2006-03-16 Thread Sven dot Rebhan at gmail dot com
--- Comment #2 from Sven dot Rebhan at gmail dot com 2006-03-16 11:44 --- I know that i am to late, but I (and probably others) depend on this special version (for policy reasons), so I wanted to share my knowledge with others. :) EOT -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id

[Bug other/26709] Compile of gcc 3.3.6 failed

2006-03-16 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2006-03-16 10:50 --- Unfortunately you are late and both the 3.3 and the 3.4 series have been dicontinued ;) So, this is at least fixed in 4.0.0. -- rguenth at gcc dot gnu dot org changed: What|Removed

[Bug libfortran/26710] New: build failure on mactel: non-relocatable subtraction error for compile_options.c

2006-03-16 Thread ccb at dl dot ac dot uk
For the released 4.1.0, building runtime/compile_options.c (and others) fail on i386 os x with a non-relocatable subtraction error. A simple short term workaround is to use -fno-common when building Output from cut and pasted line: /Users/Shared/gcc/./gcc/xgcc -B/Users/Shared/gcc/./gcc/ -B/usr/lo

[Bug other/26709] New: Compile of gcc 3.3.6 failed

2006-03-16 Thread Sven dot Rebhan at gmail dot com
I am unable to compile gcc 3.3.6 downloaded from mirror ftp.gwdg.de. ./configure && make -j2 triggers the following errors: f/com.c: At top level: f/com.c:11080: error: conflicting types for ?ffecom_gfrt_basictype? f/com.h:236: error: previous declaration of ?ffecom_gfrt_basictype? was here This

  1   2   >