[Bug target/17390] missing floating point compare optimization

2007-08-23 Thread ubizjak at gmail dot com
--- Comment #14 from ubizjak at gmail dot com 2007-08-23 08:33 --- Patch at http://gcc.gnu.org/ml/gcc-patches/2007-08/msg01513.html. This is target-only patch that fakes fcomi instructions. It doesn't need to rescan insn stream and creates the same output as in Comment #8. It also

[Bug tree-optimization/33154] FAIL: gcc.c-torture/execute/20010119-1.c compilation, -Os

2007-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-08-23 08:56 --- Indeed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33154

[Bug c++/33156] preprocessor precedence of string concatenation backwards?

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-23 09:33 --- IIRC # processing happens first before string concatenation. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33156

maybe bug regarding intptr_t and NULL

2007-08-23 Thread Cedric Roux
Hi GCC people, the following code gives me a warning when compiling (on an IA32 host). ~/c/tests 37 cat intptr.cpp #include stdint.h #include stdlib.h int main(void) { intptr_t t = 0; if (t != ((intptr_t)NULL)) t = 1; return 0; } lnxsodt25 ~/c/tests 38 g++ --version g++ (GCC) 4.2.1

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-08-23 Thread bonzini at gnu dot org
--- Comment #10 from bonzini at gnu dot org 2007-08-23 10:18 --- fixed? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32557

[Bug fortran/33095] MAX with optional arguments gives run-time error

2007-08-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #3 from fxcoudert at gcc dot gnu dot org 2007-08-23 10:22 --- Subject: Bug 33095 Author: fxcoudert Date: Thu Aug 23 10:22:18 2007 New Revision: 127732 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127732 Log: PR fortran/33095 * trans-intrinsic.c

[Bug fortran/33095] MAX with optional arguments gives run-time error

2007-08-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #4 from fxcoudert at gcc dot gnu dot org 2007-08-23 10:22 --- Fixed. -- fxcoudert at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/33157] New: [4.3 Regression] cmov4.c fails on i686

2007-08-23 Thread bonzini at gnu dot org
The failure was not detected because of an incorrect scan-assembler pattern. -- Summary: [4.3 Regression] cmov4.c fails on i686 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: normal

[Bug tree-optimization/33158] New: missed store sinking opportunity

2007-08-23 Thread bonzini at gnu dot org
In gcc.target/i386/cmov4.c no store sinking is performed for this code for (i = 0; i ARCHnodes; i++) { nodekind[i] = (int) nodekindf[i]; if (nodekind[i] == 3) nodekind[i] = 1; } I would expect it to be rewritten as for (i = 0; i ARCHnodes; i++) { int x = (int)

[Bug tree-optimization/33159] New: [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread bonzini at gnu dot org
The testcase looks like this: int *nodekind; float *nodekindf; ... for (i = 0; i ARCHnodes; i++) { nodekind[i] = (int) nodekindf[i]; /* */ if (nodekind[i] == 3) nodekind[i] = 1; } In the marked statement, the nodekind variable gets a new VDEF, which is wrong: D.2012_13

[Bug tree-optimization/33158] missed store sinking opportunity

2007-08-23 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added BugsThisDependsOn|33159 | Status|UNCONFIRMED |NEW Ever Confirmed|0

[Bug middle-end/33157] [4.3 Regression] cmov4.c fails on i686

2007-08-23 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last

[Bug middle-end/33157] [4.3 Regression] cmov4.c fails on i686

2007-08-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added GCC target triplet||i?86-*-* Target Milestone|--- |4.3.0

[Bug c++/33160] New: wrong NULL used in arithmetic warning

2007-08-23 Thread bonzini at gnu dot org
typedef int __attribute__((mode(pointer))) intptr_t; int main(void) { intptr_t t = 0; if (t != ((intptr_t)__null)) t = 1; return 0; } sss.cc: In function 'int main()': sss.cc:5: warning: NULL used in arithmetic -- Summary: wrong NULL used in arithmetic warning Product:

[Bug c++/33160] wrong NULL used in arithmetic warning

2007-08-23 Thread bonzini at gnu dot org
-- bonzini at gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Known to fail|

[Bug c/30428] vector float | vector float is accepted

2007-08-23 Thread tbptbp at gmail dot com
--- Comment #6 from tbptbp at gmail dot com 2007-08-23 11:01 --- (In reply to comment #5) Fixed. Please fix the extension documentation accordingly. -- tbptbp at gmail dot com changed: What|Removed |Added

[Bug c++/33161] New: Undefined symbols at link for referenced static const data member

2007-08-23 Thread sylvain dot pion at sophia dot inria dot fr
Compiling the following program, with g++ A.cpp fails to link with the following error message : /tmp/ccehheUK.o:(.rodata+0x0): undefined reference to `A::x' collect2: ld returned 1 exit status struct A { static const int x = 0; }; const int i = A::x; int main() {}

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #16 from jakub at gcc dot gnu dot org 2007-08-23 12:13 --- But doesn't ipa_type_escape_field_does_not_clobber_p do what is documented? At least for the uses in nonoverlapping_memrefs_p where ipa_type_escape_field_does_not_clobber_p is always called on some field, first

[Bug rtl-optimization/32557] [4.3 Regression] internal compiler error: RTL check: expected code 'reg', have 'subreg' in rhs_regno, at rtl.h:956

2007-08-23 Thread rask at gcc dot gnu dot org
--- Comment #11 from rask at gcc dot gnu dot org 2007-08-23 12:18 --- I don't know if it has been fixed on powerpc64-suse-linux-gnu yet. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32557

[Bug c/32295] [4.1/4.2/4.3 Regression] An invalid c code causes an ICE in create_tmp_var, at gimplify.c:489

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-23 12:38 --- Another testcase: extern enum warn overflow; int foo (void) { return overflow; } Here 3.4.x silently compiled it and used SImode for the variable, eventhough TYPE_SIZE on the enum warn type nor DECL_SIZE on

[Bug tree-optimization/32328] [4.2 Regression] -fstrict-aliasing causes skipped code

2007-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #24 from rguenth at gcc dot gnu dot org 2007-08-23 12:42 --- Subject: Bug 32328 Author: rguenth Date: Thu Aug 23 12:41:59 2007 New Revision: 127736 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127736 Log: 2007-08-23 Richard Guenther [EMAIL PROTECTED] PR

[Bug tree-optimization/32772] [4.3 Regression] error: found real variable when subvariables should have appeared

2007-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-08-23 12:43 --- The testcase is not fixed and you didn't add a testcase. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug libfortran/23138] [mingw32] real(16) values are printed incorrectly

2007-08-23 Thread fxcoudert at gcc dot gnu dot org
--- Comment #16 from fxcoudert at gcc dot gnu dot org 2007-08-23 13:03 --- Subject: Bug 23138 Author: fxcoudert Date: Thu Aug 23 13:03:35 2007 New Revision: 127739 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127739 Log: PR libfortran/23138 * acinclude.m4

[Bug c++/31941] [4.1/4.2/4.3 Regression] confused by earlier errors message without earlier error message

2007-08-23 Thread jakub at gcc dot gnu dot org
-- jakub at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |jakub at gcc dot gnu dot org |dot org

[Bug tree-optimization/33154] FAIL: gcc.c-torture/execute/20010119-1.c compilation, -Os

2007-08-23 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2007-08-23 13:25 --- Fixed. -- danglin at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-23 Thread dberlin at dberlin dot org
--- Comment #17 from dberlin at gcc dot gnu dot org 2007-08-23 13:45 --- Subject: Re: [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop On 23 Aug 2007 12:13:13 -, jakub at gcc dot gnu dot org [EMAIL PROTECTED] wrote: --- Comment #16 from jakub at gcc

[Bug tree-optimization/32772] [4.3 Regression] error: found real variable when subvariables should have appeared

2007-08-23 Thread dberlin at gcc dot gnu dot org
--- Comment #11 from dberlin at gcc dot gnu dot org 2007-08-23 13:45 --- It did not fail for me at the point i committed the patch. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32772

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread dberlin at gcc dot gnu dot org
--- Comment #1 from dberlin at gcc dot gnu dot org 2007-08-23 13:48 --- I'm not sure what you are talking about. Do you mean nodekindf? Do you have a case i can compile on another platform? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33159

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread bonzini at gnu dot org
--- Comment #2 from bonzini at gnu dot org 2007-08-23 13:55 --- The testcase is cross-platform (at least as far as this PR and PR33158 are concerned). Of the four VDEFs, only the ones for SMT.8 and ARCHnodes seem correct to me. The int assignment should not cause aliasing for either

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread dberlin at dberlin dot org
--- Comment #3 from dberlin at gcc dot gnu dot org 2007-08-23 14:01 --- Subject: Re: [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c On 23 Aug 2007 13:55:21 -, bonzini at gnu dot org [EMAIL PROTECTED] wrote: --- Comment #2 from bonzini at gnu dot org 2007-08-23

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread bonzini at gnu dot org
--- Comment #4 from bonzini at gnu dot org 2007-08-23 14:04 --- Hmmm, a store into an int * could not touch nodekind itself, only a store into an int ** could. Isn't SMT.8 the VDEF saying it could touch *the thing pointed to by nodekind*? --

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread dberlin at dberlin dot org
--- Comment #5 from dberlin at gcc dot gnu dot org 2007-08-23 14:05 --- Subject: Re: [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c On 8/23/07, Daniel Berlin [EMAIL PROTECTED] wrote: On 23 Aug 2007 13:55:21 -, bonzini at gnu dot org [EMAIL PROTECTED] wrote:

Re: [Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread Daniel Berlin
Yes, you are right. I wasn't thinking clearly --- Comment #4 from bonzini at gnu dot org 2007-08-23 14:04 --- Hmmm, a store into an int * could not touch nodekind itself, only a store into an int ** could. Isn't SMT.8 the VDEF saying it could touch *the thing pointed to by

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread dberlin at dberlin dot org
--- Comment #6 from dberlin at gcc dot gnu dot org 2007-08-23 14:09 --- Subject: Re: [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c Yes, you are right. I wasn't thinking clearly --- Comment #4 from bonzini at gnu dot org 2007-08-23 14:04 --- Hmmm, a store into an

[Bug middle-end/20644] bogus uninitialized warning on unused variable

2007-08-23 Thread manu at gcc dot gnu dot org
--- Comment #9 from manu at gcc dot gnu dot org 2007-08-23 14:17 --- (In reply to comment #8) Despite what I said before, for this particular case, we should never give a is used warning if the BB is not executed with 100% probability. Hmm, I'll check whether we can detect this. We

[Bug target/17390] missing floating point compare optimization

2007-08-23 Thread uros at gcc dot gnu dot org
--- Comment #15 from uros at gcc dot gnu dot org 2007-08-23 14:23 --- Subject: Bug 17390 Author: uros Date: Thu Aug 23 14:23:40 2007 New Revision: 127742 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127742 Log: PR target/17390 * config/i386/i386.c

[Bug target/17390] missing floating point compare optimization

2007-08-23 Thread ubizjak at gmail dot com
--- Comment #16 from ubizjak at gmail dot com 2007-08-23 14:26 --- Fixed. -- ubizjak at gmail dot com changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/33159] [4.3 Regression] wrong VDEF for gcc.target/i386/cmov4.c

2007-08-23 Thread bonzini at gnu dot org
--- Comment #7 from bonzini at gnu dot org 2007-08-23 14:26 --- -O does not enable strict-aliasing, invalid -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/29749] [4.0/4.1/4.2/4.3 regression] Missing byte swap optimizations

2007-08-23 Thread ubizjak at gmail dot com
--- Comment #8 from ubizjak at gmail dot com 2007-08-23 14:28 --- (In reply to comment #7) Created an attachment (id=13911) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13911action=view) [edit] Updated patch with test case a bug fix. I've added a test case of the changes. It

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-23 Thread jakub at redhat dot com
--- Comment #18 from jakub at redhat dot com 2007-08-23 14:49 --- Subject: Re: [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop On Thu, Aug 23, 2007 at 01:45:11PM -, dberlin at dberlin dot org wrote: If you take address of the whole struct rather than

[Bug tree-optimization/21596] [4.0/4.1/4.2/4.3 Regression] extra temporaries when using global register variables

2007-08-23 Thread rguenth at gcc dot gnu dot org
--- Comment #12 from rguenth at gcc dot gnu dot org 2007-08-23 16:14 --- So, on the mainline we now generate wrong-code?! -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/33162] New: Type checking absent for specific names of INTRINSIC functions

2007-08-23 Thread burnus at gcc dot gnu dot org
Example: print *, dcos(1.0) print *, dcos(1d0) gfortran treats them as it does with cos(): Any kind of REAL is accepted. However, DCOS is a specific name of COS which only accepts REAL(8). The bug should be fixed such that the following works as well: PROCEDURE(DCOS):: my1 PROCEDURE(COS) ::

[Bug middle-end/29749] [4.0/4.1/4.2/4.3 regression] Missing byte swap optimizations

2007-08-23 Thread dougkwan at google dot com
--- Comment #9 from dougkwan at google dot com 2007-08-23 16:32 --- Subject: Re: [4.0/4.1/4.2/4.3 regression] Missing byte swap optimizations No, FALSE, `(), nil, #f, 0 :) -Doug 23 Aug 2007 14:28:51 -, ubizjak at gmail dot com [EMAIL PROTECTED]: --- Comment #8 from

[Bug c++/33161] Undefined symbols at link for referenced static const data member

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-23 16:34 --- *** This bug has been marked as a duplicate of 30745 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/30745] Undefined static const

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-08-23 16:34 --- *** Bug 33161 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33136] [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop

2007-08-23 Thread dberlin at dberlin dot org
--- Comment #19 from dberlin at gcc dot gnu dot org 2007-08-23 17:08 --- Subject: Re: [4.1/4.2/4.3 Regression] wrong code due to alias with allocation in loop On 23 Aug 2007 14:49:43 -, jakub at redhat dot com [EMAIL PROTECTED] wrote: --- Comment #18 from jakub at redhat

[Bug c/33163] New: internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:700

2007-08-23 Thread fabio dot giovagnini at aurion-tech dot com
/usr/local/gcc-4.0.4/bin/h8300-elf-gcc -S -O3 -Wall -msx -fshort-enums -fomit-frame-pointer -finline-functions -funroll-loops -I/home/fgiovagnini/acts/bendia/test/include -I/home/fgiovagnini/acts/bendia/system/include /home/fgiovagnini/acts/bendia/test/source/library.c

[Bug c/33163] internal compiler error: in gen_rtx_SUBREG, at emit-rtl.c:700

2007-08-23 Thread fabio dot giovagnini at aurion-tech dot com
--- Comment #1 from fabio dot giovagnini at aurion-tech dot com 2007-08-23 17:20 --- const unsigned char Nib_to_Hex[16] = {0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x41,0x42,0x43,0x44,0x45,0x46}; void ul_to_8_cifre(unsigned char vett[8],unsigned long a1) { /* LOCAL VARIABLES

[Bug fortran/33090] Unable to build on AIX 4.3.3

2007-08-23 Thread bugzilla-gcc at thewrittenword dot com
--- Comment #2 from bugzilla-gcc at thewrittenword dot com 2007-08-23 17:24 --- (In reply to comment #1) Huh? The warnings should be ok. What exact error are you getting because I don't see -Werror on the command line so the warnings should not be stoping the build? Oops. I'll

[Bug c++/33156] preprocessor precedence of string concatenation backwards?

2007-08-23 Thread igodard at pacbell dot net
--- Comment #2 from igodard at pacbell dot net 2007-08-23 17:50 --- Whether # is before or after string concatenation, string concatenation should happen *sometime* and doesn't. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33156

[Bug target/33164] New: Texinfo markup problems in tm.texi

2007-08-23 Thread kai-gcc-bugs at khms dot westfalen dot de
While writing a script to extract data from tm.texi, found the following markup bugs: TARGET_ASM_RELOC_RW_MASK needs return type TARGET_CC_MODES_COMPATIBLE needs {} around return type TARGET_CHECK_PCH_TARGET_FLAGS needs {} around return type TARGET_DEFAULT_TARGET_FLAGS should be @deftypevr

[Bug c++/33156] preprocessor precedence of string concatenation backwards?

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-23 18:27 --- (In reply to comment #2) Whether # is before or after string concatenation, string concatenation should happen *sometime* and doesn't. Huh? Stringification happens and turns #(a b) into \a \ \b\ so there is no

[Bug c/30428] vector float | vector float is accepted

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-08-23 18:31 --- (In reply to comment #6) Please fix the extension documentation accordingly. The documentation already says: The operations behave like C++ valarrays. Addition is defined as the addition of the corresponding

[Bug c/30428] vector float | vector float is accepted

2007-08-23 Thread tbptbp at gmail dot com
--- Comment #8 from tbptbp at gmail dot com 2007-08-23 18:45 --- Subject: Re: vector float | vector float is accepted On 23 Aug 2007 18:31:25 -, pinskia at gcc dot gnu dot org [EMAIL PROTECTED] wrote: --- Comment #7 from pinskia at gcc dot gnu dot org 2007-08-23 18:31

[Bug c/30428] vector float | vector float is accepted

2007-08-23 Thread pinskia at gmail dot com
--- Comment #9 from pinskia at gmail dot com 2007-08-23 18:49 --- Subject: Re: vector float | vector float is accepted On 23 Aug 2007 18:45:47 -, tbptbp at gmail dot com [EMAIL PROTECTED] wrote: Your patch and documentation conflict . Fix either, at your convenience. Read the

[Bug c++/33165] New: method name lookup failure in inheritance tree

2007-08-23 Thread r dot a dot akkersdijk at saxion dot nl
/* PROBLEM: name lookup failure in inheritance tree PLATFORM: HP nx8220 Fedora Core 6 PACKAGES: gcc-4.1.2-13.fc6 PACKAGES: gcc-c++-4.1.2-13.fc6 PACKAGES: libgcc-4.1.2-13.fc6 OUTPUT: g++ -v -o a a.cc --- Using built-in specs.

[Bug target/33151] Invalid insn with pre_inc

2007-08-23 Thread zadeck at naturalbridge dot com
--- Comment #4 from zadeck at naturalbridge dot com 2007-08-23 18:59 --- Subject: Re: Invalid insn with pre_inc pinskia at gcc dot gnu dot org wrote: --- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-22 22:41 --- I think we need a new predicate for this rtl

[Bug c++/33165] method name lookup failure in inheritance tree

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-23 19:00 --- No, this is correct, f in B hides all of f's in A, no matter what argument types of f are in A. You have to add using A::f; inside B to get the behavior you want. -- pinskia at gcc dot gnu dot org changed:

[Bug bootstrap/32272] make exit because build/genmodes.exe doesn't exist

2007-08-23 Thread mwheeler at pittstate dot edu
--- Comment #2 from mwheeler at pittstate dot edu 2007-08-23 19:06 --- I'm having this exact same problem. I'm building on AIX 5.3. My output looks almost exactly the same as the other posters. My only configure option was: --prefix=/usr/local Here is the output: make[3]: Entering

[Bug c++/33156] preprocessor precedence of string concatenation backwards?

2007-08-23 Thread igodard at pacbell dot net
--- Comment #4 from igodard at pacbell dot net 2007-08-23 19:30 --- Ah! I see. So if string cat is after there's only one string, which does contain embedded quotes as printed. And if string cat were before you couldn't compose a string out of a sequence of macro calls and literals.

[Bug c/30428] vector float | vector float is accepted

2007-08-23 Thread tbptbp at gmail dot com
--- Comment #10 from tbptbp at gmail dot com 2007-08-23 19:42 --- Subject: Re: vector float | vector float is accepted On 23 Aug 2007 18:49:22 -, pinskia at gmail dot com [EMAIL PROTECTED] wrote: Read the next line. That is where my quote is from. Please read the whole section

[Bug tree-optimization/33166] [4.3 Regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1698

2007-08-23 Thread tbm at cyrius dot com
--- Comment #1 from tbm at cyrius dot com 2007-08-23 19:55 --- /* Testcase by Martin Michlmayr [EMAIL PROTECTED] */ void ConvertAddr (char *saddr, void **addr) { *addr = (void *) saddr; } void DefineSelf (char *addr) { int i; for (i = 0; i 20; i += 4) { ConvertAddr (addr,

[Bug tree-optimization/33166] [4.3 Regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1698

2007-08-23 Thread tbm at cyrius dot com
--- Comment #2 from tbm at cyrius dot com 2007-08-23 19:58 --- This also happens with 20070720 but not with 20070616. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33166

[Bug tree-optimization/33166] New: [4.3 Regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1698

2007-08-23 Thread tbm at cyrius dot com
I get the following ICE with current trunk: (sid)28159:[EMAIL PROTECTED]: ~] /usr/lib/gcc-snapshot/bin/gcc -c -O3 tightvnc-access.c tightvnc-access.c: In function 'DefineSelf': tightvnc-access.c:8: internal compiler error: in get_indirect_ref_operands, at tree-ssa-operands.c:1698 Please submit a

[Bug rtl-optimization/3507] appalling optimisation with sub/cmp on multiple targets

2007-08-23 Thread eweddington at cso dot atmel dot com
--- Comment #7 from eweddington at cso dot atmel dot com 2007-08-23 20:10 --- Confirmed for AVR. GCC 4.2.1 for avr generates this: foo: /* prologue: frame size=0 */ push r14 push r15 push r16 push r17 /* prologue end (size=4) */ movw r14,r22

[Bug target/19684] avr wrong size in asm comment (peephole)

2007-08-23 Thread eweddington at cso dot atmel dot com
-- eweddington at cso dot atmel dot com changed: What|Removed |Added Severity|normal |minor Priority|P2 |P5

[Bug middle-end/31150] [4.1/4.2/4.3 Regression] Not promoting an whole array to be static const

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-23 20:36 --- It is unfortunate that gimple can only initialize the whole array, unless __builtin_memcpy is used. Unfortunately __builtin_memcpy has a different drawback - the var will be forced to be TREE_ADDRESSABLE even when it

[Bug middle-end/21990] Wrong code for 4.0 and head: Reload clobbers the frame pointer by using it as spill register without recognizing the clobbering

2007-08-23 Thread eweddington at cso dot atmel dot com
--- Comment #15 from eweddington at cso dot atmel dot com 2007-08-23 20:39 --- Closing bug as WORKSFORME based on Bjoern's observations in comment #13. -- eweddington at cso dot atmel dot com changed: What|Removed |Added

[Bug tree-optimization/33166] [4.3 Regression] ICE in get_indirect_ref_operands, at tree-ssa-operands.c:1698

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-23 20:59 --- # VUSE saddr_21, SMT.6_23(D) { saddr SMT.6 } D.2252_6 = *saddr This happens in forwprop. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33167] New: Hex constant characters with \x escape not parsing correctly

2007-08-23 Thread weston at computer dot org
There seems to be a problem with how gcc parses the \x escape sequences. It doesn't look at just the first 2 hex digits, but will take the right most 2 hex digits in a string of hex digits. [Recreate] ---[ SNIP ]- // test.c #include stdio.h #include string.h

[Bug c/33167] Hex constant characters with \x escape not parsing correctly

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-08-23 21:59 --- No GCC is correct. The standard says: Each octal or hexadecimal escape sequence is the longest sequence of characters that can constitute the escape sequence. So that means the B is going to be taken and be used

[Bug libstdc++/33168] New: GCC Boot failure, building libstc++

2007-08-23 Thread michelin60 at gmail dot com
20070823 (experimental) (GCC) /usr/libexec/gcc/powerpc-unknown-linux-gnu/4.3.0/cc1plus -E -quiet -nostdinc++ -v -I/var/tmp/43/build-140/powerpc-unknown-linux-gnu/libstdc++-v3/include/powerpc-unknown-linux-gnu -I/var/tmp/43/build-140/powerpc-unknown-linux-gnu/libstdc++-v3/include -I/var/tmp/43/gcc-4.3.0

[Bug target/12017] ICE: in spill_failure, at reload1.c:1862 with builtin_apply/builtin_return

2007-08-23 Thread eweddington at cso dot atmel dot com
--- Comment #12 from eweddington at cso dot atmel dot com 2007-08-23 22:26 --- Seems to be fixed in 4.3 20070817 snapshot. An additional minor patch is needed, not for this bug, but to allow Objective-C to build for the AVR. (It's unknown if Objective-C will actually *work* on the

[Bug libstdc++/33168] GCC Boot failure, building libstc++

2007-08-23 Thread michelin60 at gmail dot com
--- Comment #1 from michelin60 at gmail dot com 2007-08-23 22:28 --- Created an attachment (id=14097) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14097action=view) preprocessed -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33168

[Bug c++/33169] New: Compiler generates two different relocs for the same symbol

2007-08-23 Thread atgraham at gmail dot com
The compiler generates two different relocs for the same function call, which causes the linker to get confused. - Input - #include pthread.h #include map #include ext/pool_allocator.h typedef __gnu_cxx::__pool_allocstd::pairint const, int myalloc; int main() { std::mapint, int,

[Bug c++/31941] [4.1/4.2/4.3 Regression] confused by earlier errors message without earlier error message

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-08-23 23:23 --- Subject: Bug 31941 Author: jakub Date: Thu Aug 23 23:23:26 2007 New Revision: 127747 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127747 Log: PR c++/31941 * error.c

[Bug c++/32898] [4.2/4.3 regression] Definition of variable N::i outside namespace N not rejected

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-08-23 23:27 --- Subject: Bug 32898 Author: jakub Date: Thu Aug 23 23:27:34 2007 New Revision: 127749 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127749 Log: PR c++/32898 * name-lookup.c (set_decl_namespace):

[Bug middle-end/32946] [4.3 Regression] ICE with -fpredictive-commoning in build_classic_dist_vector_1

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-08-23 23:30 --- Subject: Bug 32946 Author: jakub Date: Thu Aug 23 23:29:57 2007 New Revision: 127750 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127750 Log: PR tree-optimization/32573 PR middle-end/32946

[Bug tree-optimization/32573] [4.3 Regression] ice for legal code with -O3

2007-08-23 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-08-23 23:30 --- Subject: Bug 32573 Author: jakub Date: Thu Aug 23 23:29:57 2007 New Revision: 127750 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=127750 Log: PR tree-optimization/32573 PR middle-end/32946

[Bug c++/28358] ICE on valide template code using -O1 or -O2, but *not* with -O0 or -O3

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-08-24 00:24 --- Yes this is a dup of PR 28116. *** This bug has been marked as a duplicate of 28116 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/28116] [4.1 Regression] ICE when building konverter with gcc-4.1 with -O3 [RSO]

2007-08-23 Thread pinskia at gcc dot gnu dot org
--- Comment #20 from pinskia at gcc dot gnu dot org 2007-08-24 00:24 --- *** Bug 28358 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33169] Compiler generates two different relocs for the same symbol

2007-08-23 Thread atgraham at gmail dot com
--- Comment #1 from atgraham at gmail dot com 2007-08-24 00:40 --- This problem is due to the fact that GTHREAD_USE_WEAK is incorrectly defined for this architecture. -- atgraham at gmail dot com changed: What|Removed |Added

[Bug middle-end/33170] New: [4.3 Regression] revision 123223 causes gcc.target/i386/cmov4.c

2007-08-23 Thread hjl at lucon dot org
This patch http://gcc.gnu.org/ml/gcc-patches/2007-03/msg01634.html causes gcc.target/i386/cmov4.c regression. -- Summary: [4.3 Regression] revision 123223 causes gcc.target/i386/cmov4.c Product: gcc Version: 4.3.0 Status:

[Bug inline-asm/33171] GCC outputs invalid assembly when using -O2

2007-08-23 Thread ianw at gelato dot unsw dot edu dot au
--- Comment #1 from ianw at gelato dot unsw dot edu dot au 2007-08-24 05:04 --- Created an attachment (id=14098) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14098action=view) -S output with no optimisation -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33171

[Bug inline-asm/33171] GCC outputs invalid assembly when using -O2

2007-08-23 Thread ianw at gelato dot unsw dot edu dot au
--- Comment #2 from ianw at gelato dot unsw dot edu dot au 2007-08-24 05:04 --- Created an attachment (id=14099) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14099action=view) -S output with -O2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33171

[Bug middle-end/33157] [4.3 Regression] cmov4.c fails on i686

2007-08-23 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2007-08-24 05:17 --- *** Bug 33170 has been marked as a duplicate of this bug. *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug middle-end/33170] [4.3 Regression] revision 123223 causes gcc.target/i386/cmov4.c

2007-08-23 Thread bonzini at gnu dot org
--- Comment #1 from bonzini at gnu dot org 2007-08-24 05:17 --- *** This bug has been marked as a duplicate of 33157 *** -- bonzini at gnu dot org changed: What|Removed |Added

[Bug inline-asm/33171] New: GCC outputs invalid assembly when using -O2

2007-08-23 Thread ianw at gelato dot unsw dot edu dot au
Hi, The following example, when built with -O2, results in ~$ .gcc -O2 -o test2 ~/test2.c /tmp/cc6SGh7Z.s: Assembler messages: /tmp/cc6SGh7Z.s:16: Error: syntax error; found `,' but expected `(' /tmp/cc6SGh7Z.s:16: Error: junk at end of line: `,0' This code is extracted from libatomic-ops