It's BAAAACK ....

Here is the first draft of the bug fix list for 4.0.1.  Please let me
know about any errors and omissions; suggestions for improved descriptions
of bugs are also welcome.

The list will be converted to HTML (I have a Perl script to do most of the
work, but it then requires a bit of hand-tweaking of the output) and will
be added to http://gcc.gnu.org/gcc-4.0/changes.html .

****ISSUE:**** I have not included the following two bugs because I
can't tell if they were in any shipping GCC (e.g. 4.0.0).  Can anyone
confirm:

21523 [4.0 Regression] 3.4.4 RC1 fails libstdc++ install on powerpc64-linux
21551 ia64-unknown-linux-gnu ia64 bootstrap failed

---------------------------------------------------------------------------

This document lists the problem reports (PRs) from GCC's bug tracking
system (Bugzilla) that are known to be fixed in the 4.0.1 release. This
list might not be complete (that is, it is possible that some PRs
that have been fixed are not listed here).

4.0.1 is a bug fix release only; there are no new features that were not
present in GCC 4.0.0.  Object code and libraries are believed to be fully
binary compatible with code and libraries from the GCC 4.0.0 release
(though, as always, free software developers cannot provide any
warranties).

To see details of any bug, visit http://gcc.gnu.org/PR##### , where the
##### is replaced by the actual bug number.

Here is the list of fixes with respect to GCC 4.0.0:

Bootstrap failures and issues

21215 gcc build fails on Solaris 10, opteron
21230 bootstrap failed unless bootstrap compiler is gcc.
21403 Canadian cross build fails, missing host==build check

Fortran ICEs

13082 (Fortran) Function entries and entries with alternate returns not 
implemented
17202 (Fortran) gfc_conv_descriptor_dtype Assertion failed
17423 (Fortran) gfortran segfault when compiling FM509.f from NIST testsuite
18109 (Fortran) ICE with explicit array of strings
18283 (Fortran) ICE in gfc_conv_string_parameter, trans-expr.c:1982
18689 (Fortran) ICE with character pointer association in module subroutine
18752 (Fortran) ICE from index triplet arithmetic for character variables
18890 (Fortran) ICE at assign CHARACTER POINTER array to POINTER or ALLOCATABLE 
one
18959 (Fortran) ICE in cshift of character array
19017 (Fortran) ICE in gfc_trans_scalar_assign
19195 (Fortran) ICE in final_scan_insn, in final.c
19271 (Fortran) ICE on a = transpose(a) for character array
19467 (Fortran) ICE caused by CHARACTER array in NAMELIST read or write
20059 (Fortran) ICE for common blocks (affects 64-bit platforms)
20662 (Fortran) Problem with bounds in gfc_conv_intrinsic_bound
20954 (Fortran) ICE with -fdefault-integer-8
21729 (Fortran) ICE in gfc_typenode_for_spec

Other internal compiler errors (multi-platform)

20350 (C++) ICE on invalid: extern template and struct initializer and 
specification for a static variable
20931 fold checking failure
20946 --enable-checking=yes,fold fails on the mainline
20961 (C++) ICE on pragma weak/__attribute__((weak))
20991 ICE in cgraph_mark_reachable_node
21022 (Java) ICE while compiling GdkFontMetrics.class with stabs debugging
21085 (C++) Virtual memory exhausted with g++
21087 (C++) ICE in do_nonmember_using_decl
21151 (C++) ICE when compiling c++ PCH of class definition within template 
function.
21163 ICE in output_constant_pool_2, in varasm.c
21165 (C++) ICE on a user-defined conversion in a template
21207 ICE folding large floating-point values
21293 ICE in set_value_handle
21330 ICE in compare_and_jump_seq, in loop-unswitch.c
21340 (C++) error in constructor lookup (can't find constructor with "const 
void**" argument)
21352 (C++) ICE on invalid code: passing template function type as template type
21364 [translation] %J in translation instead of %H causes ICE in de.po
21379 ICE in fold_convert, in fold-const.c
21380 ICE compiling with -O (tree-ssa)
21492 ICE in try_crossjump_to_edge
21495 (C++) ICE on invalid code: with stray "extern" keyword
21519 (Java) ICE in generate_bytecode_conditional, in java/jcf-write.c
21532 ICE caused by PRE dead instruction removal
21546 ICE in convert_move, in expr.c
21610 ICE in make_decl_rtl
21681 (C++) ICE with nested types in template
21817 ICE in for_each_index, in tree-ssa-loop-im.c
22171 ICE when compiling linux/drivers/serial/8250.c


C and optimization bugs

12913 Jumps into variable length array scope not rejected
15698 no error in presence of broken builtin fn + K&R declaration
20742 Hang in tree_ssa_iv_optimize_loop
20760 cast to variable-length array type combined with switch statement gives 
segv
20973 kdelibs (khtml) miscompiled by reload
21144 Apparent infinite loop in reload
21159 "no effect" warning despite cast to void*
21171 IV OPTS removes does not create a new VOPs for constant values
21173 miscompiled pointer subtraction broke Linux kernel
21237 unnecessary __cmpdi2 usage?
21265 GCC fails to optimize tail call to memset
21331 Incorrect folding of comparison on 64-bit targets
21342 some incompatible external declarations not diagnosed
21502 small data relocation mismatch
21528 Boost shared_ptr_test.cpp fails with -O3
21850 miscompiling comparision from vector to integer
21879 Memory management problem: bad obstack use
21985 miscompiled or wrong code snippet?
22051 Wrong code for function pointer comparision during optimization
Preprocessor bugs

20907 long comments throw off line numbers

C++ compiler and library

 1016 [DR 166] friend class declarations not observing namespace rules.
 4672 [DR 214] Template parameter deduction fails for overloaded template 
functions.
18604 Use of unqualified names conflict with names in global namespace
18886 misleading warning from attribute sentinel in C++
19203 [DR 214] Partial ordering failure between function reference and generic 
const reference
19403 name lookup is broken with friends
20805 Another debug info emitting bug
20979 __gnu_cxx::bitmap_allocator export pruning
20914 Another grouping trouble
20996 friend class declaration in namespace wrong in template class with 
specialisation
21209 signed integer overflow in num_get<>::_M_extract_int
21238 conflicting "typedef __numpunct_cache<_CharT> __cache_type;" in 
std::numpunct<CharT> makes specialization impossible
21244 Vector<bool> anonymous enum problem
21614 wrong code when calling member function of undefined class
21286 filebuf::xsgetn vs pipes
21280 #pragma interface, templates, and "inline function used but never defined"
21454 const array doesn't live in the rodata section in C++
21455 type 'X' is not a base type for type 'X' in pointer to member conversion
21595 __builtin_constant_p(&"Hello"[0]) is true for C but not for C++
21614 wrong code when calling member function of undefined class
21619 __builtin_constant_p(&"Hello"[0])?1:-1 not compile-time constant
21686 weird quoting in an error message
22111 libstdc++ abi_check

Java compiler and library

18220 Test case libjava.lang/Process_3 does not end if "sed" not available
19729 DSASignature.java null pointer exception
20273 LinkedHashMap breaks linked list when access() is called
20309 gcjh needs a -force option
20504 java.util.regex implementation doesn't support quoting constructs
20768 Bytecode -> native code doesn't handle exception properly
21115 false boolean argument passed from pre-compiled to interpreted method is 
true
21136 tryLock waits for the lock, and lock doesn't
21140 Charset.encode and Charset.decode broken
21233 gij -version returns unquoted version number
21372 FileChannel.tryLock() return value incorrect
21557 Hash synchronization: Thread.interrupt() can make _Jv_MonitorEnter hang
21606 java.net.URI fails to decode lowercase hex codes
21703 hang when rapidly calling String.intern()
21722 gcj miscompiles accesses to static final vars with indirect dispatch
21736 MessageFormat("{0,time,medium}") fails
21753 String.substring sharing heuristic should be improved
21775 NPE in java::util::logging::Logger::getCallerStackFrame caused by 
incorrect hand-optimization
21847 miscompiling of the following java code

Fortran compiler and library

12884 error in reading a namelist when it is predeced by a line with a SLASH
14569 should not warn about truncated comment lines
15080 Forall bounds not calculated correctly (forall_3.f90)
15235 libgfortran doesn't build on Solaris 10
16436 gfortran TL edit descriptor failure - test f77-edit-t-in.f
16898 Aliasing problem with array descriptors
16939 Pointers not passed as subroutine arguments
17192 Functions returning character pointer via argument are broken
17193 Pointer arguments not working correctly
17283 UNPACK issues
17285 namelist write does not terminate with &end
17472 namelist does not handle arrays
17992 reading empty line does not return 0
18122 gfortran internal error in namelist read
18210 namelist output format problems
18392 segfault on derived type namelist input
18495 Intrinisc function SPREAD is broken
18879 "?" not supported in namelist input
18958 eoshift segfaults when shifting off the end of an array
19014 print *,maxloc(array) segfaults
19016 maxloc ignores mask
19106 segfault in executable for print *,sum(a,dim=2,mask=a>0)
19216 list directed read with leading slash (NIST FM923)
19478 reading back from /dev/null
19568 incorrect formatted read
19595 eor does not work
19657 (g77:libf2c) Namelist reading may be skipped if end with a logical 
variable
19872 closed and re-opened file not overwriten

20005 reading a single "return" character fails
20074 reshape of pointer array segfaults at runtime
20092 console input doesn't deal correctly with CR
20108 incorrect run time error on formatted read
20131 gfortan - incorrectly reads beyond the end of line.
20436 using nested reshape functions gives runtime error
20661 End of record not detected
20744 size= isn't implemented correctly
20777 Arithmetic IF not flagged obsolete
20788 Loading libgfortran.so clobbers C redirection of stdin/stdout/stderr
20865 statement function shall not be supplied as procedure argument
20879 argument to ICHAR must have length one
20930 gfortran.dg/backspace.f execution test fails on hpux, aix
20950 segfault in INQUIRE asking for SEQUENTIAL status
21075 Segfault in reshape with rank 7
21108 reshape with order causes random results
21127 reshape of complex broken
21177 wrong code with NULL()
21260 Conflict between comment and H edit descriptor
21324 #undef GFC_CLEAR_MEMORY causes testsuite failures
21354 Rank 7 not handled correctly
21376 libfortran "E" output format causes FPE
21912 Wrong implied do-loop
21950 All gfortran execution tests fail on Tru64 UNIX V4.0F: scalbn unresolved

Ada

18847 ACATS cxa5012 SEGV on on x86_64

x86-specific (Intel/AMD)

21099 ICE on mmx intrinsics
21100 ICE: could not find a spill register on MMX intrinsics
21102 ICE: in immed_double_const, on SSE2 intrinsics
21239 Illegal elimination of SSE2 load/store using xmm intrinsics
21297 buf[i+i]=0 stores buf[i] when -O2
21329 optimize i386 block copy
22286 SSE-intrinsic: __builtin_ia32_cvttss2si - internal compiler error: in 
extract_insn, in recog.c

PowerPC-specific

18655 Incorrect data in .debug_frame section for PowerPC
21098 .note.GNU-stack emitted
21726 baseline_symbols.txt for powerpc64 missing

SPARC-specific

21412 ICE loading TLS address
22260 -fPIC -fno-delayed-branch miscompiles MI this_adjusting thunks

ARM-specific

21397 arm: -march overrides -mtune

ia64-specific

21556 TLS failures on 4.0 branch
21632 ICE with small model attribute on ia64
21657 TLS reference miscompiled
21556 TLS failures on 4.0 branch

Alpha-specific

21390 long double optimization bug with gcc-4.0.0

HPPA-specific

11634 ICE in verify_local_live_at_start, in flow.c
12158 compilation does not terminate at -O1

Other embedded target specific

21284 AVR target: switch/case jump table is placed in .data instead of 
.progmem.gcc_sw_table

Solaris-specific

20301 Assembler labels have a leading "-"
21315 Unable to link Fortran executables: __builtin_isfinite is undefined
21889 Native Solaris assembler cannot grok DTP-relative debug symbols

FreeBSD-specific

20633 libgcc2.c:1623: error: size of array 'compile_type_assert' is negative

Darwin-specific

21325 libjava should be re-enabled for ppc-darwin

Testsuite problems (compiler is not affected)

19781 testsuite_hooks.cc doesn't test for mkfifo
20003 libmudflap test failures
21526 libstdc++-v3 testsuite hangs on cygwin

Miscellaneous (problems with documentation, sample code)

21160 documentation for -Wuninitialized out of date
21345 (treelang) treelang/parse.y:454.11: parse error
21052 Example does not compile in user docs, type attributes, packed


Reply via email to