[Bug rtl-optimization/33673] [4.3 Regression] ICE in verify_flow_info, missing barrier, when multiple tree opts disabled

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-11-01 08:48 --- Subject: Bug 33673 Author: jakub Date: Thu Nov 1 08:48:05 2007 New Revision: 129819 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129819 Log: PR rtl-optimization/33673 * gcse.c (cprop_jump):

[Bug rtl-optimization/33673] [4.3 Regression] ICE in verify_flow_info, missing barrier, when multiple tree opts disabled

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-11-01 08:49 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug debug/33537] [4.1/4.2/4.3 regression] C++ arguments passed by invisible reference have wrong type

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-01 10:17 --- Subject: Bug 33537 Author: jakub Date: Thu Nov 1 10:17:42 2007 New Revision: 129820 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129820 Log: PR debug/33537 * dwarf2out.c

[Bug debug/33537] [4.1/4.2 regression] C++ arguments passed by invisible reference have wrong type

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-11-01 10:19 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/33966] Revision 129625 caused 11% slowdown on 200.sixtrack

2007-11-01 Thread ubizjak at gmail dot com
--- Comment #1 from ubizjak at gmail dot com 2007-11-01 10:23 --- PR Header should say 11%, not 1%. -- ubizjak at gmail dot com changed: What|Removed |Added

[Bug middle-end/33966] Revision 129625 caused 11% slowdown on 200.sixtrack

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-11-01 11:36 --- Note I didn't experience any sixtrack regression (-O3 and -O3 -funroll-loops -ffast-math) on Opteron. This is very likely a partitioning issue, as the --param max-aliased-vops is different for -O2 vs. -O3 and

[Bug middle-end/33966] Revision 129625 caused 11% slowdown on 200.sixtrack

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-01 11:40 --- Current partitioning has several problems: 1) Accounting only accounts for memory references through pointers. 2) Accounting for the number of VOPs a statement will generate and accounting for how many

[Bug c++/32260] [4.3 Regression] too many warning: dereferencing type-punned pointer will break strict-aliasing rules

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-11-01 11:57 --- Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33969] New: [4.2/4.3 regression] ICE with const and function pointer

2007-11-01 Thread reichelt at gcc dot gnu dot org
The following invalid testcase triggers an ICE since GCC 4.2.0: == struct A; void (*A::* fp)() const; == bug.cc:2: internal compiler error: tree check: expected function_type or method_type, have pointer_type in build_memfn_type, at cp/decl2.c:119

[Bug c++/33969] [4.2/4.3 regression] ICE with const and function pointer

2007-11-01 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33969

[Bug c++/33837] [4.3 regresssion] ICE with invalid use of decltype

2007-11-01 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-11-01 12:00 --- This ICE still happens when I add the missing parentheses to the testcase: == void foo() { __decltype (A::foo()); } == An even simpler testcase:

[Bug c++/24602] g++: Internal error: Illegal instruction (program cc1plus)

2007-11-01 Thread reichelt at gcc dot gnu dot org
--- Comment #10 from reichelt at gcc dot gnu dot org 2007-11-01 12:52 --- Nathan confirmed in private mail that the compiler now does the right thing. So closing as fixed. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33970] New: Missed optimization using unsigned char loop variable

2007-11-01 Thread henning dot m at insightbb dot com
When using an unsigned char in a loop with limited range the variable is promoted to a 16 bit integer if the variable is passed to another function within the loop by value. Tested using -Os on ATMEGA162: #include avr/io.h int sub2(uint8_t); int main(void) { static uint8_t x; volatile

[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-11-01 Thread nickc at redhat dot com
--- Comment #11 from nickc at redhat dot com 2007-11-01 14:02 --- Created an attachment (id=14451) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14451action=view) Add a param to squelch runaway memory consumption -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32575

[Bug c/33970] Missed optimization using unsigned char loop variable

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-01 14:10 --- I guess you want -fno-tree-loop-ivcanon. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33970

[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-11-01 Thread nickc at redhat dot com
--- Comment #12 from nickc at redhat dot com 2007-11-01 14:05 --- Hi Guys, I have uploaded a patch for a possible workaround for this problem. It adds a new param (max-partial-antic-length) which with its default value will stop the tree-pre optimization from eating up all the

[Bug c++/33969] [4.2/4.3 regression] ICE with const and function pointer

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-11-01 14:25 --- Testing fix. The regression is since PR26912 fix commit. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33971] New: Type promotion in mixed integer / floating point arithmetic and rounding

2007-11-01 Thread hudson+gcc at osresearch dot net
This may be another addition to bug 323, although it doesn't involve floating point comparison. I am integrating the output of (drand48()-0.5)*10 with an integer and get wildly different results for x += r versus x += (int) r, where x is an integer and r is a value from drand48. I would expect a

[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #13 from jakub at gcc dot gnu dot org 2007-11-01 14:34 --- Nick, your patch is most probably fixing PR32540 rather than PR32575, doesn't it? -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/33971] Type promotion in mixed integer / floating point arithmetic and rounding

2007-11-01 Thread schwab at suse dot de
--- Comment #2 from schwab at suse dot de 2007-11-01 14:35 --- That's how C works. x += r is the same as x = x + r. -- schwab at suse dot de changed: What|Removed |Added

[Bug bootstrap/33368] [4.3 regression] bootstrap comparision failure with --enable-targets=all

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-11-01 14:47 --- See PR32586, there were known miscompare problems around that time. But they are long time fixed now, if this hasn't been reproduced since then, then there is no point keeping this bug open. -- jakub at gcc dot

[Bug c/33971] Type promotion in mixed integer / floating point arithmetic and rounding

2007-11-01 Thread hudson+gcc at osresearch dot net
--- Comment #1 from hudson+gcc at osresearch dot net 2007-11-01 14:28 --- Created an attachment (id=14452) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14452action=view) Graph showing the integrator output -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33971

[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-11-01 Thread nickc at redhat dot com
--- Comment #14 from nickc at redhat dot com 2007-11-01 14:57 --- Subject: Re: [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite Hi Jakub, Nick, your patch is most probably fixing PR32540 rather than PR32575, doesn't it? Doh. Yes. I will fix that

[Bug tree-optimization/32575] [4.2/4.3 regression] With -ftree-vrp miscompiles a single line of code in SQLite

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #15 from rguenth at gcc dot gnu dot org 2007-11-01 15:05 --- Indeed it does. But while this is a workaround that works, the problem is in excessive phi translation which we could stop here (untested! just a wild guess!): static bool compute_partial_antic_aux (basic_block

[Bug c++/33972] New: Cannot declare operator() using function typedef

2007-11-01 Thread zweije at xs4all dot nl
g++ rejects the following operator() declaration: $cat bug.cpp struct s { typedef void f(void); f operator(); }; $g++ -c bug.cpp + exec /usr/bin/g++ -c bug.cpp bug.cpp:4: error: declaration of 'operator()' as non-function $g++ -v Using built-in

[Bug target/33973] New: genmddeps can't handle :XX:YY

2007-11-01 Thread kai-gcc-bugs at khms dot westfalen dot de
(revision 127595) (This is with (define_mode_macro XX [...]) (define_mode_attr YY [...])) It does handle :YY. Symptom: build/genmddeps xxx.md tmp-mddeps xxx.md:142: unknown mode `IARM' xxx.md:142: following context is `:WIDE (sign_extend:IARM:WIDE (match_dup 1))' make[3]: ***

[Bug tree-optimization/32540] [4.3 Regression] Exponential time behavior in PRE

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-11-01 15:26 --- That is, the following testcase: int f(void); void acceptloop_th(int *t, int options) { if (f()) options |= 0x1 0; if (f()) options |= 0x1 1; if (f()) options |= 0x1 2; if (f()) options |= 0x1

[Bug tree-optimization/33974] New: memory partitioning sucks

2007-11-01 Thread rguenth at gcc dot gnu dot org
meta-bug to link partitioning problems to. -- Summary: memory partitioning sucks Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: alias Severity: normal Priority: P3 Component: tree-optimization

[Bug tree-optimization/33974] memory partitioning sucks

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #1 from rguenth at gcc dot gnu dot org 2007-11-01 15:30 --- Current partitioning has several problems: 1) Accounting only accounts for memory references through pointers. 2) Accounting for the number of VOPs a statement will generate and accounting for how many

[Bug tree-optimization/33237] [4.3 Regression] Tree memory partitioning is spending 430 seconds of a 490 second compile.

2007-11-01 Thread rguenth at gcc dot gnu dot org
--- Comment #3 from rguenth at gcc dot gnu dot org 2007-11-01 15:38 --- Confirmed btw. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/33781] [4.3 Regression] Arg list too long building libgcc.a

2007-11-01 Thread dj at redhat dot com
--- Comment #3 from dj at redhat dot com 2007-11-01 16:03 --- Created an attachment (id=14453) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14453action=view) test patch Could you give this a try on IRIX? It's just an officialized copy of Jakub's suggestion. My only concern is

[Bug testsuite/25352] xfail within dg-do command has no effect

2007-11-01 Thread janis at gcc dot gnu dot org
--- Comment #10 from janis at gcc dot gnu dot org 2007-11-01 16:22 --- Subject: Bug 25352 Author: janis Date: Thu Nov 1 16:22:36 2007 New Revision: 129823 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129823 Log: gcc/ PR testsuite/25352 * doc/sourcebuild.texi

[Bug target/33579] INIT_PRIORITY is broken

2007-11-01 Thread mark at codesourcery dot com
--- Comment #12 from mark at codesourcery dot com 2007-11-01 16:50 --- Subject: Re: INIT_PRIORITY is broken danglin at gcc dot gnu dot org wrote: --- Comment #11 from danglin at gcc dot gnu dot org 2007-11-01 03:05 --- Mark, This is major progress. All the priority

[Bug target/30572] [4.3 Regression] target libraries links against /libgcc_s.1.dylib instead of $(prefix)/lib/libgcc_s.1.dylib

2007-11-01 Thread echristo at apple dot com
--- Comment #9 from echristo at apple dot com 2007-11-01 17:09 --- I guess that would be a good workaround. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30572

[Bug middle-end/33970] Missed optimization using unsigned char loop variable

2007-11-01 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-01 17:09 --- I don't see it being promoted on x86-linux-gnu at the tree level. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/33781] [4.3 Regression] Arg list too long building libgcc.a

2007-11-01 Thread roger at eyesopen dot com
--- Comment #4 from roger at eyesopen dot com 2007-11-01 17:15 --- Thanks to both Jakub and DJ for their help. I just tried out the suggested patch on my IRIX box, and was surprised that it didn't resolve the error. My apologies that my initial analysis might have been wrong (or

[Bug middle-end/33970] Missed optimization using unsigned char loop variable

2007-11-01 Thread eweddington at cso dot atmel dot com
--- Comment #3 from eweddington at cso dot atmel dot com 2007-11-01 17:28 --- Created an attachment (id=14454) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14454action=view) Preprocessed testcase. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33970

[Bug debug/33537] [4.1/4.2 regression] C++ arguments passed by invisible reference have wrong type

2007-11-01 Thread jan dot kratochvil at redhat dot com
--- Comment #8 from jan dot kratochvil at redhat dot com 2007-11-01 17:37 --- ptype testcase is now in GDB as: gdb/testsuite/gdb.cp/arg-reference.exp (GDB still does not create the temporary copy during a call from GDB itself.) -- jan dot kratochvil at redhat dot com changed:

[Bug middle-end/33970] Missed optimization using unsigned char loop variable

2007-11-01 Thread eweddington at cso dot atmel dot com
--- Comment #4 from eweddington at cso dot atmel dot com 2007-11-01 17:45 --- Created an attachment (id=14455) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14455action=view) Assembly output of test case using 4.1.2. Maybe I'm wrong, but I don't even see it being promoted on the

[Bug middle-end/33970] Missed optimization using unsigned char loop variable

2007-11-01 Thread eweddington at cso dot atmel dot com
--- Comment #5 from eweddington at cso dot atmel dot com 2007-11-01 17:47 --- Mike, can you provide additional information as to where the bug is? -- eweddington at cso dot atmel dot com changed: What|Removed |Added

[Bug c++/33975] New: [4.1/4.2/4.3 Regression] Incomplete types may be derefenced

2007-11-01 Thread andrew dot stubbs at st dot com
The following C++ program should not compile: struct S; int f(S s); S *p; int i = f(*p); Here an incomplete type is dereferenced as it is passed as a function argument. This is forbidden by the C++ standard, clause 3, paragraph 4 (penultimate bullet). And anyway, how could you compile it to

[Bug fortran/33881] [4.3 regression] wrong code for assumed length character arrays

2007-11-01 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2007-11-01 18:07 --- FX, I believe that the fix is something like: Index: gcc/fortran/trans-array.c === *** gcc/fortran/trans-array.c (revision 129505) ---

[Bug c++/31952] parameters may be redeclared in a function try-block

2007-11-01 Thread andrew dot stubbs at st dot com
--- Comment #4 from andrew dot stubbs at st dot com 2007-11-01 18:15 --- It gets worse :( The following example used to be detected by GCC 4.1.1, but is now permitted by GCC 4.1.2, 4.2.1, 4.2.2, and 4.3-20071026, and hence is a regression. int foo (int bar) try { return 0; } catch

[Bug preprocessor/30805] [4.1/4.2/4.3 Regression] Internal compiler error when using x##,##__VA_ARGS__ in macro

2007-11-01 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2007-11-01 18:21 --- Subject: Bug 30805 Author: tromey Date: Thu Nov 1 18:20:48 2007 New Revision: 129827 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129827 Log: libcpp PR preprocessor/30805: * macro.c

[Bug preprocessor/30805] [4.1/4.2 Regression] Internal compiler error when using x##,##__VA_ARGS__ in macro

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-11-01 18:27 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug preprocessor/30786] [4.1/4.2 Regression] ICE on _Pragma at end of file

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #9 from jakub at gcc dot gnu dot org 2007-11-01 18:28 --- Fixed on the trunk. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug java/33765] [4.3 regression] gcj internal compiler error when reading an empty file

2007-11-01 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2007-11-01 19:24 --- Created an attachment (id=14456) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14456action=view) patch to make it do nothing This patch changes gcj to do nothing in this case. It works fine on the test case.

[Bug target/33579] INIT_PRIORITY is broken

2007-11-01 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #13 from dave at hiauly1 dot hia dot nrc dot ca 2007-11-01 19:45 --- Subject: Re: INIT_PRIORITY is broken I don't think that's actually a bug -- except maybe its a misoptimization. The compiler's just inlining the calls to c1 from the _GLOBAL_... functions due to code

[Bug rtl-optimization/33648] [4.3 Regression] ICE in verify_flow_info for -fmodulo-sched -freorder-blocks-and-partition

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #4 from jakub at gcc dot gnu dot org 2007-11-01 19:39 --- Testing a fix. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug libstdc++/33976] New: assignable concept causes errors with self recursive template.

2007-11-01 Thread pluto at agmk dot net
#include vector template typename T struct X { typedef std::vector X T Y; Y y; }; X int x; g++ reports that '__gnu_cxx::_SGIAssignableConcept_Tp::__a' has incomplete type. -- Summary: assignable concept causes errors with self recursive

[Bug libstdc++/33976] assignable concept causes errors with self recursive template.

2007-11-01 Thread pcarlini at suse dot de
--- Comment #1 from pcarlini at suse dot de 2007-11-01 19:55 --- Really, in the times of real concepts in C++0x we don't want to fiddle with the aged sort-of-simulation in the library. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug libstdc++/33605] Comparable concepts cause errors with abstract types

2007-11-01 Thread pcarlini at suse dot de
--- Comment #3 from pcarlini at suse dot de 2007-11-01 19:57 --- Really, let's not spend time on this, for the just mentioned reasons. -- pcarlini at suse dot de changed: What|Removed |Added

[Bug bootstrap/33781] [4.3 Regression] Arg list too long building libgcc.a

2007-11-01 Thread dj at redhat dot com
--- Comment #5 from dj at redhat dot com 2007-11-01 20:02 --- Created an attachment (id=14457) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14457action=view) test patch 2 Here's another try. We collect the libgcc.a objects in multiple variables (18 of them) so that we can invoke

[Bug regression/33637] checking for nm: test: too many arguments causes Undefined symbol: __gxx_personality_v0

2007-11-01 Thread haubi at gentoo dot org
--- Comment #5 from haubi at gentoo dot org 2007-11-01 20:19 --- Created an attachment (id=14458) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14458action=view) A workaround (probably not the right fix) for this problem Using this patch I was able to build a working gcc-4.2.1 for

[Bug rtl-optimization/33922] [4.3 Regression] slow compilation on ia64 (postreload scheduling)

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #22 from jakub at gcc dot gnu dot org 2007-11-01 20:59 --- The most important cause of the slowdown e.g. compared to 4.2.x is the totally insane thing -ftree-pre creates though. For -O3 -fno-tree-vectorize -fdump-tree-all pr33922.c wc -l shows 2361 pr33922.c.090t.sink while

[Bug rtl-optimization/33922] [4.3 Regression] slow compilation on ia64 (postreload scheduling)

2007-11-01 Thread rguenther at suse dot de
--- Comment #23 from rguenther at suse dot de 2007-11-01 21:01 --- Subject: Re: [4.3 Regression] slow compilation on ia64 (postreload scheduling) On Thu, 1 Nov 2007, jakub at gcc dot gnu dot org wrote: --- Comment #22 from jakub at gcc dot gnu dot org 2007-11-01 20:59

[Bug rtl-optimization/33828] Issues with the implementation of code hoisting in gcse.c

2007-11-01 Thread ebotcazou at gcc dot gnu dot org
--- Comment #11 from ebotcazou at gcc dot gnu dot org 2007-11-01 21:04 --- Subject: Bug 33828 Author: ebotcazou Date: Thu Nov 1 21:03:50 2007 New Revision: 129832 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129832 Log: PR rtl-optimization/33828 * gcse.c

[Bug tree-optimization/32540] [4.3 Regression] Exponential time behavior in PRE

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #11 from jakub at gcc dot gnu dot org 2007-11-01 21:16 --- This isn't just a compile time hog, but sometimes (see PR33922) it creates many times bigger and far slower code as well. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32540

[Bug tree-optimization/32540] [4.3 Regression] Exponential time behavior in PRE

2007-11-01 Thread dberlin at dberlin dot org
--- Comment #12 from dberlin at gcc dot gnu dot org 2007-11-01 21:24 --- Subject: Re: [4.3 Regression] Exponential time behavior in PRE Yes, the heuristics can sometimes generate a very large number of copies to eliminate a single redundancy. This is jsut the way the standard PRE

[Bug middle-end/33970] Missed optimization using unsigned char loop variable

2007-11-01 Thread henning dot m at insightbb dot com
--- Comment #6 from henning dot m at insightbb dot com 2007-11-01 21:26 --- (In reply to comment #5) Mike, can you provide additional information as to where the bug is? This is the assembly output I get: Note that r14,r15 is being reserved for variable x when only a single reg is

[Bug c++/33959] [4.1/4.2/4.3 Regression] ICE in instantiate_class_template, at cp/pt.c:6649

2007-11-01 Thread cppljevans at suddenlink dot net
--- Comment #5 from cppljevans at suddenlink dot net 2007-11-01 21:26 --- Created an attachment (id=14459) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14459action=view) testcase Several macros to enable exploring reasons for ice. --

[Bug c++/33959] [4.1/4.2/4.3 Regression] ICE in instantiate_class_template, at cp/pt.c:6649

2007-11-01 Thread cppljevans at suddenlink dot net
--- Comment #6 from cppljevans at suddenlink dot net 2007-11-01 21:28 --- Created an attachment (id=14460) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14460action=view) testcase Several macros to enable exploring reasons for ice. --

[Bug c++/33959] [4.1/4.2/4.3 Regression] ICE in instantiate_class_template, at cp/pt.c:6649

2007-11-01 Thread cppljevans at suddenlink dot net
--- Comment #7 from cppljevans at suddenlink dot net 2007-11-01 21:38 --- Please ignore 1st attachment. I selected auto-detect thinking it would auto-detect it as text/plain. When #define INST_GT, the friend operator is instantiated and this give the ice. OTOH, when #undef INST_GT,

[Bug target/31644] [avr] can't find a register in class 'BASE_POINTER_REGS' while reloading 'asm'

2007-11-01 Thread wvangulik at xs4all dot nl
--- Comment #5 from wvangulik at xs4all dot nl 2007-11-01 21:50 --- It seems that this is caused by the fact that eeprom_read_word is actually a piece of inline assembler returning it's value in the Z register, using z as pointer class description. This then somehow eliminates the

[Bug middle-end/27002] [4.3 regression] ICE with -fipa-pta when calling a function

2007-11-01 Thread reichelt at gcc dot gnu dot org
--- Comment #5 from reichelt at gcc dot gnu dot org 2007-11-01 21:51 --- The testcase crashes mainline again with a different ICE: bug.f: In function 'bar': bug.f:2: error: stmt (0x4001a0b0) marked modified after optimization pass: foo (C.498); bug.f:2: internal compiler error:

[Bug target/31644] [avr] can't find a register in class 'BASE_POINTER_REGS' while reloading 'asm'

2007-11-01 Thread wvangulik at xs4all dot nl
--- Comment #6 from wvangulik at xs4all dot nl 2007-11-01 21:53 --- (In reply to comment #5) Oops forgot to tell I am using avr-gcc 4.1.2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31644

[Bug c++/28558] [4.0/4.1/4.2/4.3 regression] Trouble with __attribute__ and non-PODs

2007-11-01 Thread reichelt at gcc dot gnu dot org
--- Comment #9 from reichelt at gcc dot gnu dot org 2007-11-01 21:53 --- Adjusting target milestone sionce this is only fixed on mainline. -- reichelt at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/28560] [4.0/4.1/4.2/4.3 regression] Trouble with __attribute__ in template parameter

2007-11-01 Thread reichelt at gcc dot gnu dot org
--- Comment #2 from reichelt at gcc dot gnu dot org 2007-11-01 21:58 --- The second testcase indeed doesn't crash anymore since the fix for PR28558. However, the first testcase still crashes. -- reichelt at gcc dot gnu dot org changed: What|Removed

[Bug bootstrap/33781] [4.3 Regression] Arg list too long building libgcc.a

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-01 22:26 --- BTW, $$objects is just slightly over 2KB, so if Irix really limits command line lengths to 2KB, I'm very much surprised more things don't break there every now and then. --

[Bug bootstrap/33781] [4.3 Regression] Arg list too long building libgcc.a

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #7 from jakub at gcc dot gnu dot org 2007-11-01 22:35 --- Can you run getconf ARG_MAX ? If you configure with --disable-decimal-float does it build? What sizes have the $(dfp-objects), $(decbits-objects), $(d32pbit-o), $(d64pbit-o), $(d128pbit-o) vars in the build that

[Bug c++/33977] New: [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]

2007-11-01 Thread bero at arklinux dot org
/usr/src/ark/BUILD/ooo-build/build/oog680-m7/sw/source/ui/uno/swdet2.cxx: At global scope: /usr/src/ark/BUILD/ooo-build/build/oog680-m7/sw/source/ui/uno/swdet2.cxx:91: internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5] This is similar to bug

[Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]

2007-11-01 Thread bero at arklinux dot org
--- Comment #1 from bero at arklinux dot org 2007-11-01 22:43 --- Created an attachment (id=14461) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14461action=view) bzip2-ed preprocessed source -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33977

[Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]

2007-11-01 Thread bero at arklinux dot org
--- Comment #2 from bero at arklinux dot org 2007-11-01 22:45 --- Difference from bug 33886: bug 33977 occurs even at -O0, 33866 needs -O2 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33977

[Bug tree-optimization/26264] Extraneous warning with __builtin_stdarg_start and optimization

2007-11-01 Thread manu at gcc dot gnu dot org
-- manu at gcc dot gnu dot org changed: What|Removed |Added AssignedTo|unassigned at gcc dot gnu |manu at gcc dot gnu dot org |dot org

[Bug c++/32260] [4.3 Regression] too many warning: dereferencing type-punned pointer will break strict-aliasing rules

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-01 22:50 --- Subject: Bug 32260 Author: jakub Date: Thu Nov 1 22:50:32 2007 New Revision: 129835 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129835 Log: PR c++/32260 * rtti.c (enum_tinfo_kind): Fix

[Bug c++/32384] [4.1/4.2/4.3 regression] Pseudo-dtor in template class rejected

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2007-11-01 22:54 --- Subject: Bug 32384 Author: jakub Date: Thu Nov 1 22:54:39 2007 New Revision: 129836 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129836 Log: PR c++/32384 * parser.c

[Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]

2007-11-01 Thread bero at arklinux dot org
--- Comment #3 from bero at arklinux dot org 2007-11-01 22:56 --- Created an attachment (id=14462) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14462action=view) Reduced test case typedef char sal_Char; const sal_Char sHTML[] = HTML; extern const char sHTML[]; --

[Bug c++/32260] [4.3 Regression] too many warning: dereferencing type-punned pointer will break strict-aliasing rules

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-01 23:09 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug c++/32384] [4.1/4.2 regression] Pseudo-dtor in template class rejected

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2007-11-01 23:10 --- Fixed on the trunk so far. -- jakub at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/33978] New: FAIL: gcc.dg/tree-ssa/pr33723.c scan-tree-dump-times t.f.f1 = 1 4

2007-11-01 Thread danglin at gcc dot gnu dot org
Executing on host: /home/dave/gcc-4.3/objdir/gcc/xgcc -B/home/dave/gcc-4.3/objdi r/gcc/ /home/dave/gcc-4.3/gcc/gcc/testsuite/gcc.dg/tree-ssa/pr33723.c -O2 -fdu mp-tree-gimple -fno-show-column -S -o pr33723.s(timeout = 300) PASS: gcc.dg/tree-ssa/pr33723.c (test for excess errors) PASS:

[Bug preprocessor/30805] [4.1/4.2 Regression] Internal compiler error when using x##,##__VA_ARGS__ in macro

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #10 from jakub at gcc dot gnu dot org 2007-11-01 23:25 --- The testcase fails btw: Executing on host: /usr/src/gcc/obj/gcc/xgcc -B/usr/src/gcc/obj/gcc/ /usr/src/gcc/gcc/testsuite/gcc.dg/cpp/pr30805.c-ansi -pedantic-errors -fno-show-column -E -o pr30805.i(timeout =

[Bug rtl-optimization/33648] [4.3 Regression] ICE in verify_flow_info for -fmodulo-sched -freorder-blocks-and-partition

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #5 from jakub at gcc dot gnu dot org 2007-11-01 23:27 --- Subject: Bug 33648 Author: jakub Date: Thu Nov 1 23:27:23 2007 New Revision: 129837 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129837 Log: PR rtl-optimization/33648 * cfgrtl.c

[Bug rtl-optimization/33648] [4.3 Regression] ICE in verify_flow_info for -fmodulo-sched -freorder-blocks-and-partition

2007-11-01 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-11-01 23:28 --- Fixed. -- jakub at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug tree-optimization/33978] FAIL: gcc.dg/tree-ssa/pr33723.c scan-tree-dump-times t.f.f1 = 1 4

2007-11-01 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #1 from dave at hiauly1 dot hia dot nrc dot ca 2007-11-01 23:29 --- Subject: Re: New: FAIL: gcc.dg/tree-ssa/pr33723.c scan-tree-dump-times t.f.f1 = 1 4 Tree dump attached. Dave --- Comment #2 from dave at hiauly1 dot hia dot nrc dot ca 2007-11-01 23:29

[Bug preprocessor/30805] [4.1/4.2 Regression] Internal compiler error when using x##,##__VA_ARGS__ in macro

2007-11-01 Thread tromey at gcc dot gnu dot org
--- Comment #11 from tromey at gcc dot gnu dot org 2007-11-01 23:34 --- Sorry about that. I don't know what went wrong. The test should only be preprocessed, not compiled. I will fix this. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30805

[Bug preprocessor/30805] [4.1/4.2 Regression] Internal compiler error when using x##,##__VA_ARGS__ in macro

2007-11-01 Thread tromey at gcc dot gnu dot org
--- Comment #12 from tromey at gcc dot gnu dot org 2007-11-01 23:39 --- Subject: Bug 30805 Author: tromey Date: Thu Nov 1 23:38:52 2007 New Revision: 129838 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129838 Log: PR preprocessor/30805: * gcc.dg/cpp/pr30805.c:

[Bug c++/33979] New: support for char16_t, char32_t

2007-11-01 Thread bkoz at gcc dot gnu dot org
This is a feature request for char16_t and char32_t builtin types when compiling as C++0x. I've been meaning to do this since April, 2007. For C++0x library-side, this is a relatively big change in terms of supported API. In particular, numeric_limits, char_traits, basic_string, io, and locale

[Bug c++/33960] [4.3 Regression] r129030 breaks -fopenmp -static compile of tramp3d-v4

2007-11-01 Thread dougkwan at google dot com
--- Comment #6 from dougkwan at google dot com 2007-11-02 02:02 --- Richard, I think I know what happened. Could you please do an nm a.out|grep pthread_ or your executable and send that to me? It seems that we need to change glibc unfortunately. Here is code at the end of

[Bug c++/33960] [4.3 Regression] r129030 breaks -fopenmp -static compile of tramp3d-v4

2007-11-01 Thread ian at airs dot com
--- Comment #7 from ian at airs dot com 2007-11-02 02:20 --- It seems that this is only a problem for a static link. And it would presumably work fine if we had strong references to the functions we need. So let's just do this at the end of guard.cc: #if !defined(__PIC__)

[Bug tree-optimization/33978] FAIL: gcc.dg/tree-ssa/pr33723.c scan-tree-dump-times t.f.f1 = 1 4

2007-11-01 Thread hp at gcc dot gnu dot org
--- Comment #3 from hp at gcc dot gnu dot org 2007-11-02 01:56 --- Created an attachment (id=14464) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14464action=view) dump file for cris-elf Similar but not identical failure for cris-elf (from r129827): PASS: gcc.dg/tree-ssa/pr33723.c

[Bug c++/33955] internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem)

2007-11-01 Thread dgregor at gcc dot gnu dot org
--- Comment #5 from dgregor at gcc dot gnu dot org 2007-11-02 03:30 --- Fixed. -- dgregor at gcc dot gnu dot org changed: What|Removed |Added Status|ASSIGNED

[Bug middle-end/27002] [4.3 regression] ICE with -fipa-pta when calling a function

2007-11-01 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-11-02 03:51 --- *** This bug has been marked as a duplicate of 32305 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/32305] ICE in initialize_flags_in_bb with -O -fipa-pta

2007-11-01 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2007-11-02 03:51 --- *** Bug 27002 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/33955] internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem)

2007-11-01 Thread dgregor at gcc dot gnu dot org
--- Comment #4 from dgregor at gcc dot gnu dot org 2007-11-02 03:26 --- Subject: Bug 33955 Author: dgregor Date: Fri Nov 2 03:26:46 2007 New Revision: 129843 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129843 Log: 2007-11-01 Douglas Gregor [EMAIL PROTECTED] PR

[Bug tree-optimization/30132] [4.1/4.2/4.3 Regression] ICE in find_lattice_value, at tree-complex.c:133

2007-11-01 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2007-11-02 04:18 --- Updated patch send: http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00060.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/29236] [4.0/4.1/4.2/4.3 Regression] Bogus ambiguity with templates + friend

2007-11-01 Thread jason at gcc dot gnu dot org
--- Comment #15 from jason at gcc dot gnu dot org 2007-11-02 05:50 --- Subject: Bug 29236 Author: jason Date: Fri Nov 2 05:50:06 2007 New Revision: 129844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129844 Log: PR c++/30897 * pt.c (push_template_decl_real):

[Bug fortran/33162] INTRINSIC functions as ACTUAL argument

2007-11-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #17 from jvdelisle at gcc dot gnu dot org 2007-11-02 05:40 --- hmm I posted that part3 patch too soon. I see I have several regressions. Oh well, its a start. :) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33162

[Bug fortran/33162] INTRINSIC functions as ACTUAL argument

2007-11-01 Thread jvdelisle at gcc dot gnu dot org
--- Comment #16 from jvdelisle at gcc dot gnu dot org 2007-11-02 05:25 --- Created an attachment (id=14465) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14465action=view) Preliminary last patch for this PR This patch enables the test case in Comment #3 to compile and execute

[Bug c++/33977] [4.3 Regression] internal compiler error: canonical types differ for identical types const char [5] and const sal_Char [5]

2007-11-01 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 c++/30897] [4.1/4.2/4.3 regression] ICE with default argument in template template parameter

2007-11-01 Thread jason at gcc dot gnu dot org
--- Comment #4 from jason at gcc dot gnu dot org 2007-11-02 05:50 --- Subject: Bug 30897 Author: jason Date: Fri Nov 2 05:50:06 2007 New Revision: 129844 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=129844 Log: PR c++/30897 * pt.c (push_template_decl_real): Set

  1   2   >