[Bug target/35911] [4.4 Regression] Building m32c-elf cross compiler fails

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 07:01 --- Fixed a long time ago by: r134240 | hubicka | 2008-04-13 10:05:31 -0400 (Sun, 13 Apr 2008) | 2 lines * m32.c (m32c_pushm_popm): Use crtl->retrun_rtx. -- pinskia at gcc dot gnu dot org changed:

[Bug target/35926] Pushing / Poping ebx without using it.

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-28 06:57 --- Confirmed, still happens even after IRA. ebx is still being marked as being used even though the RA does not use it. -- pinskia at gcc dot gnu dot org changed: What|Removed |A

[Bug tree-optimization/35261] GCC4.3 internal compiler error: verify_flow_info failed

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 06:52 --- Both of these work on the trunk on i386-darwin8.11, Do you know if it works on the 4.3 branch? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/35975] Invalid argumentless functional explicit type conversion to reference type not rejected

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 06:46 --- *** This bug has been marked as a duplicate of 36695 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/36695] [4.3/4.4 Regression] Value-initialization of reference type is allowed.

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 06:46 --- *** Bug 35975 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug objc/35996] ICE while building simple ObjC code with -fobjc-gc

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 06:42 --- The GNU runtime does not need help from the compiler to do the job. -fobjc-gc should error out if used with the GNU runtime at compile time. -- pinskia at gcc dot gnu dot org changed: What|Remov

[Bug java/35999] GCJ Crash while compiling eclipse 64-bit on Ubuntu Hardy

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 06:39 --- Can you attach ../eclipse-x86_64-gcj/plugins/org.eclipse.emf.mapping_2.3.0.v200802051830.jar ? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug tree-optimization/36010] Loop interchange not performed

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 06:33 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug tree-optimization/36011] Loop interchange not performed, data dependence analysis defect

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 06:32 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/36019] [4.2/4.3/4.4 Regression] template parameter does not hide class name

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 06:27 --- Confirmed. Here is a rejects valid: #include struct B { static const int x = 1; }; struct A { template static void f() { std::cerr << A::x << std::endl; } }; int main() { A::f(); return 0; } -

[Bug bootstrap/36027] Build does not properly detect gmp and mpfr

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 06:22 --- This works for me and many other folks. I have no idea why it does not work for you. And Yes I have MPFR/GMP installed in a non standard place on some of my machines. -- pinskia at gcc dot gnu dot org changed:

[Bug java/36065] gcj 4.3.1 fails to compile if system libtool is version 2.x

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 06:19 --- You should not need libtool to build gcc. I think one of the time stamps on the generated files is messed up. How did you configure GCC? How did you invoke make to build GCC? -- pinskia at gcc dot gnu dot org

[Bug middle-end/35973] Incorrect warning: will never be executed

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-28 06:13 --- This warning depends on optimizations so what you do expect with the inconsistency. So in one case, we decide that i can alias sel which is obviously not true but what do you expect from aliasing. -- pinskia at

[Bug middle-end/36149] -O2 optimization generates wrong code

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2008-12-28 06:06 --- Since 4.1.x is closed, closing as fixed for 4.2.x. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug rtl-optimization/38614] ICE at simplify-rtx.c:4956

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 05:13 --- Actually the target here is i386-pc-mingw32 as it is i386-pc-mingw32's gcc which is crashing. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/36168] Incorrect (and strange) warnings with -Wuninitialized

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #9 from pinskia at gcc dot gnu dot org 2008-12-28 05:12 --- >* Find out if we can get the "original form" of 'q.COLOUR8::r' to print something closer to the original code. Actually this is a good thing we print out "COLOUR8::" really, sometimes there are different r's in a c

[Bug middle-end/36191] [4.3/4.4 Regression] can't use complex in a eh region if non-call-exceptions is enabled

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 04:52 --- This at least ICEs in 4.3.0 and 4.4.0. Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/36236] ICE with forwarding variadic function template in class template

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 04:50 --- Reduced testcase: template int forward(int&& __t); template int foo(T...); template< int=0 > class forwarded_foo { template< typename ... Param > decltype( foo( forward< Param >( 1 )... ) ) operator ()( Param&

[Bug middle-end/38652] [4.4 Regression] dse.c: In function get_call_args: dse.c:2309: error: target undeclared

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 04:37 --- Patch was already posted to fix this: http://gcc.gnu.org/ml/gcc-patches/2008-12/msg01157.html -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c/38652] New: dse.c: In function get_call_args: dse.c:2309: error: target undeclared

2008-12-27 Thread michael dot a dot richmond at nasa dot gov
When I attempt to compile the 12/26/08 snapshot of gcc I get the following: gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -DHAVE_CONFIG_H -I. -I. -I/home/m

[Bug libstdc++/36217] gcc-4.2-20080507, target mips64vrel-elf, libmath build failure

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 04:28 --- Closing as works for me. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/36239] ICE: gfc_validate_kind(): Got bad kind

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36239

[Bug c++/36237] internal compiler error: in lower_stmt, at gimple-low.c:282 erase 'private(localTodoStack)' it compiles successfully.

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36237

[Bug fortran/38398] g0.w edit descriptor: Update for F2008 Tokyo meeting changes

2008-12-27 Thread jvdelisle at gcc dot gnu dot org
--- Comment #11 from jvdelisle at gcc dot gnu dot org 2008-12-28 03:53 --- Something is amiss. Yes the change to fmt_g0_1.f08 is necessary. The output should have no blank spaces in the fields for floating point. This test case runs fine here, maybe your trunk is not fully updated? $

[Bug c++/36254] [4.2/4.3/4.4 Regression] wrong "control reaches end of non-void function" warning with IF_STMT

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #13 from pinskia at gcc dot gnu dot org 2008-12-28 03:34 --- Let's make this bug about the t1.cpp which is an IF_STMT issue. This was introduced by the tree-ssa merge. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/36254] wrong "control reaches end of non-void function" warning

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2008-12-28 03:30 --- t2.cpp is really PR 20681. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36254

[Bug tree-optimization/36281] vector code is not parallelized

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 03:23 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug c++/33911] attribute deprecated vs. templates

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-28 03:17 --- *** Bug 36307 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug c++/36307] __attribute__((deprecated)) does not work for member templates

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 03:17 --- *** This bug has been marked as a duplicate of 33911 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/18268] structure copy propagation not done

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-28 03:11 --- To mark as a dup of bug 36327. *** This bug has been marked as a duplicate of 36327 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug tree-optimization/36327] SCCVN should look through struct copies

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 03:11 --- *** Bug 18268 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug tree-optimization/18268] structure copy propagation not done

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-28 03:10 --- Reopening to ... -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug middle-end/38347] [4.4 Regression] gfortran.dg/alloc_comp_constructor_1.f90 ICE with -O2 -fdefault-integer-8

2008-12-27 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/38651] New: Can't build bfin-elf-gcc (BASE_REG_CLASS undeclared).

2008-12-27 Thread monaka at monami-software dot com
The code base is svn trunk. The revision is 142934. I couldn't build bfin-elf-gcc with error below: gcc -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wmissing-format-attribute -fno-common -DHA

[Bug target/33534] bogus escape

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 02:49 --- Actually this escape is not bogus, just not needed any more. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33533] bogus escapes

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 02:49 --- Actually this escape is not bogus, just not needed any more. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/33531] bogus escape

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 02:49 --- Actually this escape is not bogus, just not needed any more. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/33102] volatile excessively suppresses optimizations in range checks

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #16 from pinskia at gcc dot gnu dot org 2008-12-28 02:48 --- This is still a dup of bug 3506, we don't optimize volatile at all. *** This bug has been marked as a duplicate of 3506 *** -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug target/3506] weird behaviour when incrementing volatile ints

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #12 from pinskia at gcc dot gnu dot org 2008-12-28 02:48 --- *** Bug 33102 has been marked as a duplicate of this bug. *** -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=3506

[Bug c++/32019] Condition operator ?: and ambiguous convertions

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 02:42 --- Confirmed -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONF

[Bug bootstrap/31998] Incorrect "Unreachable statement" turns off optimizing + spec file in error

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 02:41 --- The .java source part of the java front-end was removed in 4.3.x and above so closing as won't fix. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/32165] Calling main allowed at O3 and Os

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 02:37 --- Fixed on the trunk for 4.4.0, most likely by: 2008-07-29 Jan Hubicka * optimize.c (maybe_clone_body): Remove DECL_INLINE. -- pinskia at gcc dot gnu dot org changed: What|Removed

[Bug inline-asm/33932] miscalculation of asm labels with -g3

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-12-28 02:33 --- *** This bug has been marked as a duplicate of 26908 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug debug/26908] -g3 (-ggdb3) emits broken calls to asm-defined functions

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2008-12-28 02:33 --- *** Bug 33932 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/30026] useless stack movement

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 02:30 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug bootstrap/20765] c4x port doesn't build

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 02:14 --- This target was removed by: 2008-01-25 Joseph Myers * config/c4x: Remove directory. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug other/36395] TARGET_VECTOR_ALIGNMENT_REACHABLE isn't documented

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 01:50 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug other/36396] standard md pattern vec_realign_load_M isn't documented

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 01:47 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/36413] Bug with variadic templates (-std=c++0x)

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 01:44 --- *** This bug has been marked as a duplicate of 38276 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/38276] [c++0x] ICE on templates, simple test-case

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 01:44 --- *** Bug 36413 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/36436] -ftree-vrp -O1 -msse5 -ftree-vectorize leads to segfault during garbage collection

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-28 01:42 --- Fixed, can no longer reproduce the issue. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug bootstrap/36452] [4.4 Regression] Broken bootstrap while building libgomp.

2008-12-27 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 fortran/38592] eliminate some string comparisons

2008-12-27 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2008-12-28 01:28 --- This is generally the case, not just for/with strings. I don't think that anything will ever happen in this regard, at least, not on the frontend side. If (some) intrinsics, including string comparisons, were inline

[Bug other/36468] [LTO] ICE in force_decl_die, at dwarf2out.c:13976

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 01:27 --- Does this work now on the LTO branch? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36468

[Bug bootstrap/36472] Small config.gcc buglet to check for enable_cld

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-28 01:25 --- Was fixed by: 2008-06-09 Michael Meissner * config.gcc (i[34567]86-*-*): Put test in quotes to prevent failure on some Bourne shells. (x86_64-*-*): Ditto. -- pinskia at gcc dot gnu dot

[Bug c/36489] [4.3/4.4 Regression] Warning "initialized field overwritten" wrongly triggers with multidimensional arrays

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 01:19 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug tree-optimization/36493] [4.3/4.4 Regression] vectorizer aliasing bug

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC||pinskia at gcc dot gnu dot |

[Bug target/36644] make check fails:FAIL: tr1/8_c_compatibility/cmath/functions.cc (test for excess errors)

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2008-12-28 01:04 --- Make sure you either setup ld.so.conf correctly or set LD_LIBRARY_PATH. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/36569] Checking printf format of recursive va_args.

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2008-12-28 00:57 --- This works for the 4.3 branch, 4.3.2 and the current trunk. Does this work for you now? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36523] OpenMP task construct fails to instantiate copy constructor

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36523

[Bug c++/36607] Incorrect type diagnostic on substracting casted char pointers

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-28 00:40 --- This works for me with 4.3.2 and the current trunk. Does it work for you? -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug target/36609] AVR wrong code using incorrect RTL for test reversal pattern

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36609

[Bug fortran/36632] OpenMP code with access to module variable causes Fortran compiler to crash

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #5 from pinskia at gcc dot gnu dot org 2008-12-28 00:34 --- Fixed for 4.4 since there has been no feedback in 3 months. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/38650] [4.3/4.4 regression] Trouble with volatile and #pragma omp for

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38650

[Bug c++/38650] New: [4.3/4.4 regression] Trouble with volatile and #pragma omp for

2008-12-27 Thread reichelt at gcc dot gnu dot org
There is some strange behavior with #pragma omp for and volatiles: = void foo() { volatile int i, j = 1; #pragma omp for for (i = 0; i < j; i += 1) ; } = bug.cc: In function 'void foo()': bug.cc:4: internal compiler error: in

[Bug c++/38635] [4.4 regression] ICE parsing broken code

2008-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #3 from jakub at gcc dot gnu dot org 2008-12-28 00:15 --- Created an attachment (id=16995) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16995&action=view) gcc44-pr38635.patch Patch I'm going to test. -- jakub at gcc dot gnu dot org changed: What|Re

[Bug c++/38635] [4.4 regression] ICE parsing broken code

2008-12-27 Thread jakub at gcc dot gnu dot org
--- Comment #2 from jakub at gcc dot gnu dot org 2008-12-28 00:10 --- Caused by r137361. When struct A {} is seen, it commits to tentative parse, so cp_parser_parse_definitely succeeds eventhough the next token isn't = nor {, but EOF. -- jakub at gcc dot gnu dot org changed:

[Bug c++/38649] [4.4 regression] Trouble with defaulted constructors

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 23:57 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug rtl-optimization/36663] IRA ICE in save_call_clobbered_regs at caller-save.c:1949

2008-12-27 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++/38649] [4.4 regression] Trouble with defaulted constructors

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38649

[Bug c++/38649] New: [4.4 regression] Trouble with defaulted constructors

2008-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid code snippets are accepted on mainline: struct A { A(...) = default; }; struct A { A(const A&, ...) = default; }; Apparently defaultable_fn_p in cp/class.c doesn't handle

[Bug c++/38648] [4.2/4.3/4.4 regression] ICE with string literal

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 23:46 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/38647] [4.2/4.3/4.4 regression] ICE using __FUNCTION__ as template parameter

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 23:43 --- I think we can make this valid GNU C++ by doing: template struct A {}; template struct A<__FUNCTION__, N> {}; char a1[1]; A a; --- CUT --- Though 3.3 rejected it by not defining __FUNCTION__ in the toplevel. --

[Bug c++/38646] [4.3/4.4 regression] ICE with invalid specialization of variadic template

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 23:36 --- Confirmed, only ICEs with checking turned on. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/38645] [4.4 regression] ICE with volatile

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 23:33 --- Confirmed, this was introduced by the tuples merge. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/38648] [4.2/4.3/4.4 regression] ICE with string literal

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38648

[Bug fortran/38536] ICE with C_LOC in resolve.c due to not properly going through expr->ref

2008-12-27 Thread mikael at gcc dot gnu dot org
--- Comment #5 from mikael at gcc dot gnu dot org 2008-12-27 23:23 --- Created an attachment (id=16994) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16994&action=view) another attempt, regression-tested Regression-tested, but with regressions :-(. They are probably unrelated anyw

[Bug c++/38648] New: [4.2/4.3/4.4 regression] ICE with string literal

2008-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE on mainline: char a[1]; int foo( { a = ""; return 0; } bug.cc:5: internal compiler error: Segmentation fault Please submit a full bug report, [etc.] A similar code snippet triggers an ICE si

[Bug c++/38647] [4.2/4.3/4.4 regression] ICE using __FUNCTION__ as template parameter

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38647

[Bug c++/38647] New: [4.2/4.3/4.4 regression] ICE using __FUNCTION__ as template parameter

2008-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 3.4.0: = template struct A {}; template struct A<__FUNCTION__, N> {}; A<0, 0> a; = bug.cc:5: internal compiler error: in unify, at cp/pt.c:13746 P

[Bug c++/38646] [4.3/4.4 regression] ICE with invalid specialization of variadic template

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38646

[Bug c++/38646] New: [4.3/4.4 regression] ICE with invalid specialization of variadic template

2008-12-27 Thread reichelt at gcc dot gnu dot org
The following invalid code snippet triggers an ICE since GCC 4.3.0: = template struct A; template struct A { template struct B; template struct B {}; }; = bug.cc:3: error: parameter pack argument 'N ...'

[Bug c++/35319] [4.3/4.4 regression] ICE throwing fixed-point types

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Summary|[4.3 regression] ICE|[4.3/4.4 regression] ICE |throwing fixed-point typ

[Bug fortran/38398] g0.w edit descriptor: Update for F2008 Tokyo meeting changes

2008-12-27 Thread mikael at gcc dot gnu dot org
--- Comment #10 from mikael at gcc dot gnu dot org 2008-12-27 23:05 --- (In reply to comment #9) > Closing, fixed on 4.4 > Not yet ;-) I'm at revision 142934, and I get this on x86_64-unknown-linux-gnu: FAIL: gfortran.dg/fmt_g0_1.f08 -O0 execution test FAIL: gfortran.dg/fmt_g0_1.f08

[Bug c++/35338] Rejects valid code for fixed-point types

2008-12-27 Thread reichelt at gcc dot gnu dot org
--- Comment #7 from reichelt at gcc dot gnu dot org 2008-12-27 22:55 --- > Why do you think this is invalid code? The C front-end accepts this code. Well, I believed the error messages - although I should know better than to trust the compiler ;-) It would be nice if you implemented

[Bug middle-end/38645] [4.4 regression] ICE with volatile

2008-12-27 Thread reichelt at gcc dot gnu dot org
-- reichelt at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38645

[Bug middle-end/38645] New: [4.4 regression] ICE with volatile

2008-12-27 Thread reichelt at gcc dot gnu dot org
The following valid code snippet triggers an ICE on mainline when compiled with "-O": = int foo() { volatile int a[1]; int i, *p = (int*)a; a[0] = 1; for (i = 0; i < 1; ++i) if (p[i]) return -1; return 0; } = bug

[Bug c++/36695] [4.3/4.4 Regression] Value-initialization of reference type is allowed.

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-27 22:26 --- Confirmed, at least a regression for 4.3 and 4.4. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug target/36720] ia64_split_tmode_move doesn't work on little endian

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36720

[Bug middle-end/36757] __builtin_signbit should be type-generic

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 22:14 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c/36774] -Wmissing-prototypes triggers on nested functions

2008-12-27 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconfi

[Bug c/36774] -Wmissing-prototypes triggers on nested functions

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-27 22:12 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added CC|

[Bug other/36781] gcc can't be compiled in an environment that requires CFLAGS

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2008-12-27 22:08 --- Closing as invalid as you should use CC rather than CFLAGS. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/38644] Optimization flag -O1 -fschedule-insns2 causes wrong code

2008-12-27 Thread davejmurphy at me dot com
--- Comment #1 from davejmurphy at me dot com 2008-12-27 22:10 --- Created an attachment (id=16993) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16993&action=view) preprocessed source for arm-eabi testcase -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38644

[Bug c++/11407] [DR 115] Function cannot be resolved

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #14 from pinskia at gcc dot gnu dot org 2008-12-27 22:05 --- *** Bug 36805 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c/38644] New: Optimization flag -O1 -fschedule-insns2 causes wrong code

2008-12-27 Thread davejmurphy at me dot com
The -fschedule-insns2 optimisation causes wrong code to be emitted for the following testcase. The assembly code loads a value from a stack frame which has already been deallocated. This is similar to http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30282 for powerpc-eabi. extern int doStreamReadBlock

[Bug c++/36805] compilation fails when pointer to template-functions are returned by ?-operator

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 22:05 --- *** This bug has been marked as a duplicate of 11407 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug middle-end/36791] ICE with constant argument to __builtin_eh_return

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2008-12-27 22:04 --- Confirmed. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Status|UNCON

[Bug c++/17920] add __attribute__((reimpl)) as a replacement for the (optional) virtual keyword for reimplementations of virtual functions

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #11 from pinskia at gcc dot gnu dot org 2008-12-27 22:02 --- *** Bug 36796 has been marked as a duplicate of this bug. *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added -

[Bug c++/36796] Support c++ override keyword

2008-12-27 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2008-12-27 22:02 --- *** This bug has been marked as a duplicate of 17920 *** -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

  1   2   >