[Bug target/45277] make bootstrap fails at:checking whether the GNU Fortran compiler is working... no

2010-09-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #9 from ebotcazou at gcc dot gnu dot org 2010-09-14 10:30 --- Reasonable workaround. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4

2010-09-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #6 from ebotcazou at gcc dot gnu dot org 2010-09-14 10:30 --- Reasonable workaround. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45407] internal compiler error gcc 4.5.1

2010-09-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #12 from ebotcazou at gcc dot gnu dot org 2010-09-14 10:30 --- Reasonable workaround. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45665] [4.4/4.5/4.6 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in grokdeclarator, at cp/decl.c:8797 on invalid code

2010-09-14 Thread paolo dot carlini at oracle dot com
--- Comment #1 from paolo dot carlini at oracle dot com 2010-09-14 10:46 --- Seems simple -- paolo dot carlini at oracle dot com changed: What|Removed |Added

[Bug c++/45645] pr44972.C fails with error: �__assert_fail� was not declared in this scope

2010-09-14 Thread jamborm at gcc dot gnu dot org
--- Comment #8 from jamborm at gcc dot gnu dot org 2010-09-14 11:53 --- Sorry, I messed up when I tried to remove includes from the testcase. Thanks for fixing it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45645

[Bug middle-end/45663] [4.6 regression] New test failures

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2010-09-14 11:26 --- Created an attachment (id=21789) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21789action=view) gcc46-pr45663.patch A sign extension insn for the first bar call is scheduled before the a.j++ insns with the

[Bug testsuite/45664] All ifunc tests fail on Solaris 2

2010-09-14 Thread ro at CeBiTec dot Uni-Bielefeld dot DE
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld dot DE 2010-09-14 11:40 --- Subject: Re: All ifunc tests fail on Solaris 2 --- Comment #3 from nathan at codesourcery dot com 2010-09-14 10:23 --- yes, I'm testing a patch that checks the glibc version number -- I'm

[Bug libstdc++/45403] python pretty printer for std::string requires GDB 7.1

2010-09-14 Thread pluto at agmk dot net
--- Comment #3 from pluto at agmk dot net 2010-09-14 12:04 --- (In reply to comment #1) It's nothing to do with unordered_map, it's std::string, and it fails because lazy_string was added in GDB 7.1 we can probably do something like if (gdb.VERSION == '7.0'):

[Bug libstdc++/45403] python pretty printer for std::string requires GDB 7.1

2010-09-14 Thread redi at gcc dot gnu dot org
--- Comment #4 from redi at gcc dot gnu dot org 2010-09-14 12:47 --- looks sensible, I'll do that -- redi at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/45659] LTO / function pointers with iso_c_binding

2010-09-14 Thread Joost dot VandeVondele at pci dot uzh dot ch
--- Comment #5 from Joost dot VandeVondele at pci dot uzh dot ch 2010-09-14 13:07 --- A slight variation leads to an lto1 ICE: declaring build eri as: 'extern void (*build_eri)(void);' leads to: gcc -c -flto test_c.c ; gfortran -c -flto test.f90 ; rm all.a ; ar -r all.a test_c.o

[Bug lto/45667] New: [4.6 Regression] ICE: verify_stmts failed: type mismatch in address expression with -flto

2010-09-14 Thread zsojka at seznam dot cz
Compiler output: $ gcc file[12].C -flto -nostdlib -r In file included from :1:0: file1.C: In member function '__base_ctor ': file1.C:2:1: error: type mismatch in address expression void A::T42b (struct A *, void *) * void A::T431 (struct A *, void *) D.2073.__pfn = bar; file1.C:2:1: internal

[Bug lto/45667] [4.6 Regression] ICE: verify_stmts failed: type mismatch in address expression with -flto

2010-09-14 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-14 13:22 --- Created an attachment (id=21790) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21790action=view) reduced testcase, packed - header.h - struct A; typedef void (A::*Am1) (void *); typedef void (A::*Am2) ();

[Bug lto/45667] [4.6 Regression] ICE: verify_stmts failed: type mismatch in address expression with -flto

2010-09-14 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.6.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45667

[Bug fortran/45505] [4.6 Regression] gfortran.dg/pr25923.f90

2010-09-14 Thread jamborm at gcc dot gnu dot org
--- Comment #6 from jamborm at gcc dot gnu dot org 2010-09-14 13:55 --- Jakub, I have not understood whether you think the warning emitted when compiling the c code from comment #4 has the correct line number or not. I see it attributed to the line with the return statement which I

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2010-09-14 14:00 --- Created an attachment (id=21791) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21791action=view) gcc46-pr45635.patch Fix. -- jakub at gcc dot gnu dot org changed: What|Removed

[Bug target/45070] Miscompiled c++ class with packed attribute on ARM with -Os optimizations (Qt 4.6.2)

2010-09-14 Thread rearnsha at gcc dot gnu dot org
--- Comment #19 from rearnsha at gcc dot gnu dot org 2010-09-14 14:05 --- Fixed in all maintained releases. -- rearnsha at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/45616] internal compiler error: in note_invalid_constants, at config/arm/arm.c:11243

2010-09-14 Thread ibolton at gcc dot gnu dot org
--- Comment #6 from ibolton at gcc dot gnu dot org 2010-09-14 14:29 --- Technically, this is ICE on invalid code, but a more user-friendly error would be better. As it happens, one has been added to trunk, as of 16th June. http://gcc.gnu.org/ml/gcc-patches/2010-06/msg01501.html I

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-14 14:47 --- Created an attachment (id=21792) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21792action=view) gcc46-pr45635.patch Alternatively, we can avoid computing the address of fn altogether on

[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled

2010-09-14 Thread jamborm at gcc dot gnu dot org
--- Comment #3 from jamborm at gcc dot gnu dot org 2010-09-14 15:02 --- I can reproduce the problem and it does not happen with -fno-ipa-sra = mine. -- jamborm at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/45668] New: Request warning for mismatched declaration/definition attributes (instead of chances for an indirect error)

2010-09-14 Thread tbptbp at gmail dot com
As g++ now may, or may not, produce an indirect error on mismatched attributes between a forward declaration and later definition, and that is incredibly confusing to the end-user (aka me), i hereby humbly ask for a warning in such condition; a hint at the problematic declaration would be a plus.

[Bug tree-optimization/45633] [4.6 regression] internal compiler error: verify_stmts failed

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2010-09-14 15:24 --- Simplified testcase that ICEs the same way on x86_64-linux (-O3) and i686-linux (-O3 -msse2): int s[4]; unsigned char *t[4]; void foo (void) { int i; for (i = 0; i 4; i++) { s[i] = -s[i]; t[i]

[Bug middle-end/45312] [4.4 Regression] GCC 4.4.4 miscompiles the Linux kernel

2010-09-14 Thread vmakarov at redhat dot com
--- Comment #23 from vmakarov at redhat dot com 2010-09-14 15:46 --- (In reply to comment #22) Fixed everywhere but on 4.3 branch. Maybe commit the patch there too? I think there is a smaller probability that this bug occurs in gcc4.3 because it is based on the old RA. IRA uses

[Bug c++/45665] [4.4/4.5/4.6 Regression] ICE: tree check: expected class 'type', have 'exceptional' (error_mark) in grokdeclarator, at cp/decl.c:8797 on invalid code

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #2 from hjl dot tools at gmail dot com 2010-09-14 16:02 --- It is caused by revision 159939: http://gcc.gnu.org/ml/gcc-cvs/2010-05/msg00996.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hubicka at gcc dot gnu dot org
--- Comment #6 from hubicka at gcc dot gnu dot org 2010-09-14 16:13 --- Created an attachment (id=21793) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21793action=view) Proposed patch Hi, this patch should solve the problem (dive into ADDR_EXPR to get actual fndecl).I no longer

[Bug tree-optimization/45633] [4.6 regression] internal compiler error: verify_stmts failed

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2010-09-14 16:18 --- Created an attachment (id=21794) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21794action=view) gcc46-pr45633-1.patch The s[i] = -s[i]; line is also unnecessary in the testcase. One possible patch attached,

[Bug tree-optimization/45633] [4.6 regression] internal compiler error: verify_stmts failed

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2010-09-14 16:20 --- Created an attachment (id=21795) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21795action=view) gcc46-pr45633-2.patch Another fix, this one keeps disallowing such MINUS_EXPR. Unfortunately the generated code

[Bug rtl-optimization/45593] [4.5/4.6 regression] segfault with -Os

2010-09-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #4 from ebotcazou at gcc dot gnu dot org 2010-09-14 16:25 --- Fixing. -- ebotcazou at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/45669] New: strcpy_chk false positive

2010-09-14 Thread eteran at alum dot rit dot edu
Some constructs cause gcc to warn as always causing a buffer overflow incorrectly. For example, this is a minimalistic version of a warning found in wine-1.3.2: -- #include string.h #include stdlib.h #include stdint.h struct T { union { struct {

[Bug c/45669] strcpy_chk false positive

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2010-09-14 17:09 --- This is intentional, considering this as a flexible array member is already way too over what should be allowed. Either use a true flexible array member, or use memcpy instead (which isn't limited to field boundaries,

[Bug tree-optimization/45633] [4.6 regression] internal compiler error: verify_stmts failed

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-09-14 17:15 --- I've looked at the combiner with the second patch, but I'm afraid this isn't fixable in the combiner easily. While combiner is able for i3 (set (reg:V2DI res) (plus:V2DI (reg:V2DI temp) (mem:V2DI (symbol_ref:P t

[Bug middle-end/45644] [4.6 Regression] 450.soplex in SPEC CPU 2006 is miscompiled

2010-09-14 Thread jamborm at gcc dot gnu dot org
--- Comment #4 from jamborm at gcc dot gnu dot org 2010-09-14 17:54 --- The miscompiled file appears to be spxweightst.o, the miscompilation probably happens when transforming a call to int soplex::DataSetDATA::number(const soplex::DataKey) const [with DATA = soplex::SVSet::DLPSV] --

[Bug tree-optimization/45633] [4.6 regression] internal compiler error: verify_stmts failed

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2010-09-14 18:43 --- Created an attachment (id=21796) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21796action=view) gcc46-pr45633-3.patch Patch that uses TER to expand PLUS_EXPR/POINTER_PLUS_EXPR as MINUS_EXPR if it is really

[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3

2010-09-14 Thread laurent at guerby dot net
--- Comment #8 from laurent at guerby dot net 2010-09-14 19:19 --- With 4.4.2 as base on gcc57 (and your PR45444 patch) I don't see the comparison failure: http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg01282.html -- laurent at guerby dot net changed: What|Removed

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #7 from hjl dot tools at gmail dot com 2010-09-14 19:22 --- (In reply to comment #6) Created an attachment (id=21793) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21793action=view) [edit] Proposed patch Hi, this patch should solve the problem (dive into ADDR_EXPR

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread jakub at gcc dot gnu dot org
--- Comment #8 from jakub at gcc dot gnu dot org 2010-09-14 19:25 --- Could you please also try the http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45635#c5 patch? Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45635

[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3

2010-09-14 Thread mikpe at it dot uu dot se
--- Comment #9 from mikpe at it dot uu dot se 2010-09-14 19:40 --- (In reply to comment #8) With 4.4.2 as base on gcc57 (and your PR45444 patch) I don't see the comparison failure: http://gcc.gnu.org/ml/gcc-testresults/2010-09/msg01282.html Please try --with-arch=armv5te

[Bug rtl-optimization/45670] New: Less efficient x86 addressing mode selection on 4.6, causes -Os size regression from 4.5

2010-09-14 Thread sgunderson at bigfoot dot com
Hi, Given the following test C++ file: class Class { public: void func(); float *buf; int size; }; void Class::func() { for (int i = 0; i size; ++i) { buf[i] = 0; } } 4.6 (see below for exact version) will generate larger code (36 vs.

[Bug bootstrap/45445] [4.6 regression] ARM bootstrap failure: comparison failures after stage 3

2010-09-14 Thread laurent at guerby dot net
--- Comment #10 from laurent at guerby dot net 2010-09-14 20:04 --- Ok will do. Note: arm.c:arm_reload_in_hi() seems to have a few non deterministic calls to gen_rtx_*, eg: emit_insn (gen_zero_extendqisi2 (gen_rtx_SUBREG (SImode, operands[0], 0),

[Bug middle-end/45663] [4.6 regression] New test failures

2010-09-14 Thread pthaugen at gcc dot gnu dot org
--- Comment #3 from pthaugen at gcc dot gnu dot org 2010-09-14 20:04 --- Not sure I understand everything involved here, but isn't the test a little suspect any time higher optimization levels and instruction scheduling are enabled? -- pthaugen at gcc dot gnu dot org changed:

[Bug tree-optimization/45671] New: Reassociate expressions for greater parallelism

2010-09-14 Thread pthaugen at gcc dot gnu dot org
The following testcase demonstrates where reassociation/regrouping of expressions could result in greater parallelism for processors that have multiple arithmetic execution units. int myfunction (int a, int b, int c, int d, int e, int f, int g, int h) { int ret; ret = a + b + c + d + e + f +

[Bug bootstrap/45666] ICE: /mingw/include/winnt.h:3350:5: Segmentation fault

2010-09-14 Thread t66667 at gmail dot com
--- Comment #2 from t7 at gmail dot com 2010-09-14 21:28 --- (In reply to comment #1) *** This bug has been marked as a duplicate of 45362 *** -- t7 at gmail dot com changed: What|Removed |Added

[Bug bootstrap/45672] New: [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: 'rs6000_units_per_simd_word' defined but not used

2010-09-14 Thread dominiq at lps dot ens dot fr
Bootstrapping revision 164287 on powerpc-apple-darwin9 fails with: ... /opt/gcc/darwin_buildw/./prev-gcc/xgcc -B/opt/gcc/darwin_buildw/./prev-gcc/ -B/opt/gcc/gcc4.6w/powerpc-apple-darwin9/bin/ -B/opt/gcc/gcc4.6w/powerpc-apple-darwin9/bin/ -B/opt/gcc/gcc4.6w/powerpc-apple-darwin9/lib/ -isystem

[Bug preprocessor/45362] Dangling reference about saved cpp_macro for push/pop macro

2010-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-14 22:34 --- *** Bug 45666 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45362

[Bug bootstrap/45666] ICE: /mingw/include/winnt.h:3350:5: Segmentation fault

2010-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2010-09-14 22:34 --- This is the same issue as PR 45362, PR 45362 has a description of what is happening though it does show when it happened. *** This bug has been marked as a duplicate of 45362 *** -- pinskia at gcc dot gnu dot

[Bug preprocessor/45362] Dangling reference about saved cpp_macro for push/pop macro

2010-09-14 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2010-09-14 22:35 --- (In reply to comment #2) http://gcc.gnu.org/bugs/#need Since this is a bug in the preprocessor it is hard to get a preprocessed source that causes a bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45362

[Bug bootstrap/45672] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: 'rs6000_units_per_simd_word' defined but not used

2010-09-14 Thread hjl at gcc dot gnu dot org
--- Comment #1 from hjl at gcc dot gnu dot org 2010-09-14 22:41 --- Subject: Bug 45672 Author: hjl Date: Tue Sep 14 22:41:03 2010 New Revision: 164289 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164289 Log: Define TARGET_VECTORIZE_UNITS_PER_SIMD_WORD for rs6000. 2010-09-14

[Bug objc/32530] @try/@throw/@catch/@finally usage without -fexeceptions compiles without warning/error

2010-09-14 Thread nicola at gcc dot gnu dot org
--- Comment #1 from nicola at gcc dot gnu dot org 2010-09-14 22:47 --- GCC from trunk (will become 4.6.0) refuses to compile @try/@catch/@throw/@synchronized expressions if -fobjc-exceptions is not used. Thanks -- nicola at gcc dot gnu dot org changed: What|Removed

[Bug objc/32995] False warning when implementing an instance method called `dealloc'

2010-09-14 Thread nicola at gcc dot gnu dot org
--- Comment #3 from nicola at gcc dot gnu dot org 2010-09-14 22:52 --- If you want to use dealloc for compatibility with Apple Cocoa / GNUstep Base, then you also want the warnings that dealloc needs to include a call to [super dealloc], so I wouldn't change the compiler ;-) You could

[Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity

2010-09-14 Thread t66667 at gmail dot com
--- Comment #8 from t7 at gmail dot com 2010-09-14 22:55 --- No idea, what is going on but I saved your testcase.c as pr45230 and it doesn't produce the ICE, target gcc is x86_64-w64-mingw32. bash-4.1$ ./xmingw-trunk-w64-sjlj/bin/x86_64-w64-mingw32-gcc -w -Os -lm -m32

[Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity

2010-09-14 Thread howarth at nitro dot med dot uc dot edu
--- Comment #9 from howarth at nitro dot med dot uc dot edu 2010-09-14 23:27 --- ICEs are atill present for both strncmp-1.c and reduced testcase on x86_64-apple-darwin10 at r164287. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45230

[Bug debug/45673] New: -fcompare-debug failure with minor difference in dumps

2010-09-14 Thread zsojka at seznam dot cz
Command line: $ gcc -O3 -fcompare-debug -march=amdfam10 ada-langn.i or $ gcc -O2 -fcompare-debug -finline-functions -fipa-cp-clone -fkeep-inline-functions ada-langn.i (I am not able to reproduce it with these flags anymore) or $ gcc -O1 -fgcse -finline-small-functions -foptimize-sibling-calls

[Bug debug/45673] -fcompare-debug failure with minor difference in dumps

2010-09-14 Thread zsojka at seznam dot cz
--- Comment #1 from zsojka at seznam dot cz 2010-09-14 23:43 --- Created an attachment (id=21797) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21797action=view) testcase, preprocessed ada-lang.c from GDB (licensed under GPLv2) Reducing is very slow, after 4 hours of delta run I

[Bug fortran/45674] New: [OOP] Undefined references for extended types

2010-09-14 Thread dietmar dot ebner at gmail dot com
The testcase below leads to the following linker error on current trunk, gcc 4.5.0 and gcc 4.5.1: $gfortran fails.f90 /tmp/ccG09ce7.o: In function `__fails_test_MOD_bar': fails.f90:(.text+0xe): undefined reference to `vtab$b_t.1500' collect2: ld returned 1 exit status The patch at the end of the

[Bug middle-end/40386] wrong code generation for several SPEC CPU2000 benchmarks (lucas, mgrid, face, applu, apsi) with -O1 -fno-ira-share-spill-slots

2010-09-14 Thread zsojka at seznam dot cz
--- Comment #13 from zsojka at seznam dot cz 2010-09-15 00:05 --- It seems all the testsuite failures caused by -fno-ira-share-spill-slots and gone now, good! -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40386

[Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity

2010-09-14 Thread t66667 at gmail dot com
--- Comment #10 from t7 at gmail dot com 2010-09-15 00:17 --- (In reply to comment #9) ICEs are atill present for both strncmp-1.c and reduced testcase on x86_64-apple-darwin10 at r164287. You are right. I was suspicious about the pr45230 having no .c extension in the file name

[Bug middle-end/45230] gcc.c-torture/execute/strncmp-1.c ICEs with -fgraphite-identity

2010-09-14 Thread t66667 at gmail dot com
--- Comment #11 from t7 at gmail dot com 2010-09-15 00:23 --- FYI, I applied these to gcc-trunk for testing purposes. [PATCH 1/6] Factor out is_gimple_reg calls. [PATCH 2/6] A function is affine when CHREC_RIGHT is invariant. [PATCH 3/6] Fix chrec_contains_symbols_defined_in_loop.

[Bug c++/45635] [4.6 regression] Failed to bootstrap on Linux/ia64

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #9 from hjl dot tools at gmail dot com 2010-09-15 04:09 --- (In reply to comment #5) Created an attachment (id=21792) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21792action=view) [edit] gcc46-pr45635.patch Alternatively, we can avoid computing the address of fn

[Bug tree-optimization/45671] Reassociate expressions for greater parallelism

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-09-15 04:29 --- *** This bug has been marked as a duplicate of 44382 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/44382] Slow integer multiply

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #6 from hjl dot tools at gmail dot com 2010-09-15 04:29 --- *** Bug 45671 has been marked as a duplicate of this bug. *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug fortran/45596] Implement simple static points-to analysis in Fortran FE

2010-09-14 Thread tkoenig at gcc dot gnu dot org
--- Comment #10 from tkoenig at gcc dot gnu dot org 2010-09-15 05:01 --- One point: As far as I can see, you are calling compute_spt_call on functions in 'naked' expressions, as in a = f(x) but you are not following array or substring references, as in a(f(x)) = g(f(y)) where the

[Bug target/45670] Less efficient x86 addressing mode selection on 4.6, causes -Os size regression from 4.5

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-09-15 05:25 --- It is caused by revision 162618: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00972.html -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug bootstrap/45672] [4.6 Regression] Bootstrap failure for powerpc-apple-darwin9: 'rs6000_units_per_simd_word' defined but not used

2010-09-14 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2010-09-15 05:37 --- Subject: Bug 45672 Author: hjl Date: Wed Sep 15 05:36:47 2010 New Revision: 164296 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=164296 Log: Correct XXX_units_per_simd_word return type. 2010-09-14 H.J. Lu

[Bug target/45670] Less efficient x86 addressing mode selection on 4.6, causes -Os size regression from 4.5

2010-09-14 Thread ebotcazou at gcc dot gnu dot org
--- Comment #2 from ebotcazou at gcc dot gnu dot org 2010-09-15 05:38 --- It is caused by revision 162618: http://gcc.gnu.org/ml/gcc-cvs/2010-07/msg00972.html No, it isn't, this commit reverted an incorrect change done in revision 161907. -- ebotcazou at gcc dot gnu dot org

[Bug middle-end/45675] New: [4.6 Regression] New guality test failures

2010-09-14 Thread hjl dot tools at gmail dot com
On Linux/x86, revision 164252: http://gcc.gnu.org/ml/gcc-cvs/2010-09/msg00546.html caused: FAIL: gcc.dg/guality/sra-1.c -O2 line 42 a.j == 14 FAIL: gcc.dg/guality/sra-1.c -O2 -flto line 42 a.j == 14 FAIL: gcc.dg/guality/sra-1.c -O2 -fwhopr line 42 a.j == 14 FAIL: gcc.dg/guality/sra-1.c

[Bug fortran/45676] New: Move array assignments out of loop

2010-09-14 Thread tkoenig at gcc dot gnu dot org
Consider program main integer :: a(100), b(100), c(100) a = 2 do i=1,10 b = a c = 1/b print *,c end do end program main The statements b = a c = 1/b could be moved out of the loop. (The second one still has the problem that we currently don't know that print doesn't

[Bug middle-end/45675] [4.6 Regression] New guality test failures

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #1 from hjl dot tools at gmail dot com 2010-09-15 05:45 --- *** This bug has been marked as a duplicate of 45663 *** -- hjl dot tools at gmail dot com changed: What|Removed |Added

[Bug middle-end/45663] [4.6 regression] New test failures

2010-09-14 Thread hjl dot tools at gmail dot com
--- Comment #4 from hjl dot tools at gmail dot com 2010-09-15 05:45 --- *** Bug 45675 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45663

<    1   2