[Bug target/43869] ms_abi -> sysv_abi passing float arguments incorrectly

2010-05-23 Thread ktietz at gcc dot gnu dot org
--- Comment #8 from ktietz at gcc dot gnu dot org 2010-05-23 07:12 --- Fixed on trunk and back-merged to gcc-4_5 branch. -- ktietz at gcc dot gnu dot org changed: What|Removed |Added -

[Bug libgcj/28263] [win32] Memory Leak In Cleaning Exception Handling Contexts

2010-05-23 Thread ktietz at gcc dot gnu dot org
--- Comment #2 from ktietz at gcc dot gnu dot org 2010-05-23 07:21 --- (In reply to comment #1) > This issue is solved for mingw-w64 runtime. It uses no more the mingwm10.dll > mechanism. Instead it uses TLS callbacks to implement it. By this reason the > Cleaning of Exception Contexts i

[Bug target/40905] GCC creates invalid executable with auto-imported DLL and __attribute__((cold))

2010-05-23 Thread ktietz at gcc dot gnu dot org
--- Comment #8 from ktietz at gcc dot gnu dot org 2010-05-23 07:41 --- As there is no feed-back for some time now. I've tested this issue with recent mingw runtimes and the issue is solved. As this isse is related to old pseudo-relocation and linker, and not related to gcc itself, I clos

[Bug c++/41510] [C++0x] std::complex vs. initialization lists

2010-05-23 Thread paolo dot carlini at oracle dot com
--- Comment #6 from paolo dot carlini at oracle dot com 2010-05-23 09:27 --- Crazy, thanks for looking into it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41510

[Bug fortran/39555] concat-op not allowed in STOP

2010-05-23 Thread burnus at gcc dot gnu dot org
--- Comment #4 from burnus at gcc dot gnu dot org 2010-05-23 10:20 --- Now that PR 43851 has been fixed, can we close this PR as WONTFIX? [Checking the constraints for -std=f2003 is quite difficult - as it turned out - and Fortran 2008 allows any constant expression (= 'initialization e

[Bug c/44252] New: fixincludes fork vs. vms

2010-05-23 Thread jay dot krell at cornell dot edu
Vms doesn't have fork. It does have vfork/exec. Fixincludes uses fork. It appears fixincludes uses it in two ways: 1) can be replaced by vfork? 2) subject to configuration and easily avoided Really -- I would suggest just use the more portable form in the case of #2 and don't bother with any

[Bug c/44252] fixincludes fork vs. vms

2010-05-23 Thread jay dot krell at cornell dot edu
--- Comment #1 from jay dot krell at cornell dot edu 2010-05-23 10:33 --- Created an attachment (id=20729) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20729&action=view) trivial two line untested patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44252

[Bug c++/19351] operator new[] can return heap blocks which are too small

2010-05-23 Thread fw at gcc dot gnu dot org
--- Comment #21 from fw at gcc dot gnu dot org 2010-05-23 11:04 --- It turns out that the C++ committee did address this in C++0X, after rejected a previous DR. See section 18.6.2.2 in N3090. This seems to require an ABI change because the size calculation can no longer happen at the ca

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-05-23 Thread pluto at agmk dot net
--- Comment #9 from pluto at agmk dot net 2010-05-23 11:53 --- (In reply to comment #7) > This is now fixed on both the trunk and the 4.5 branch. > this commit produces broken libkhtml.so.5.4.0 from kdelibs-4.4.3. in details, it produces different/broken binaries for khtml/css/parser.c

[Bug c/44253] New: libdecnumber .o vs. obj => @OBJEXT@

2010-05-23 Thread jay dot krell at cornell dot edu
alpha64-dec-vms-ar cru libdecnumber.a decNumber.o decContext.o decimal32.o decimal64.o decimal128.o alpha64-dec-vms-ar: decNumber.o: No such file or directory make[2]: *** [libdecnumber.a] Error 1 make[1]: *** [all-libdecnumber] Error 2 make: *** [all] Error 2 The usual .o vs. obj => @OJBEXT.

[Bug c/44253] libdecnumber .o vs. obj => @OBJEXT@

2010-05-23 Thread jay dot krell at cornell dot edu
--- Comment #1 from jay dot krell at cornell dot edu 2010-05-23 12:06 --- Created an attachment (id=20730) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20730&action=view) patch attached .o => @objext@ (rm *.o => rm *.o *.obj, etc.) -- http://gcc.gnu.org/bugzilla/show_bug

[Bug lto/44250] gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o link, (internal compiler error)

2010-05-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #3 from howarth at nitro dot med dot uc dot edu 2010-05-23 13:50 --- *** This bug has been marked as a duplicate of 43853 *** -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added ---

[Bug middle-end/43853] [4.6 Regression] FAIL: gcc.dg/lto/20090126-1 c_lto_20090126-1_0.o-c_lto_20090126-1_0.o

2010-05-23 Thread howarth at nitro dot med dot uc dot edu
--- Comment #4 from howarth at nitro dot med dot uc dot edu 2010-05-23 13:50 --- *** Bug 44250 has been marked as a duplicate of this bug. *** -- howarth at nitro dot med dot uc dot edu changed: What|Removed |Added

[Bug fortran/39555] concat-op not allowed in STOP

2010-05-23 Thread jvdelisle at gcc dot gnu dot org
--- Comment #5 from jvdelisle at gcc dot gnu dot org 2010-05-23 14:46 --- yes, lets close -- jvdelisle at gcc dot gnu dot org changed: What|Removed |Added St

[Bug c++/44254] New: Template pointer and reference arguments not always recognized as referencing to the same variable

2010-05-23 Thread nowak at xpam dot de
test 1: template struct A { A() {} }; int a; int main() { extern int a; A<&a>(); A<&::a>(); // is_same, A<&::a> >::value is false return 0; } {standard input}: Assembler messages: {standard input}:20: Error: symbol `_ZN1AIXadL_Z1aEEEC1Ev' is already defined test 2: template stru

[Bug fortran/43996] ICE in gfc_conv_array_initializer due to incomplete simplification of init expressions

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #15 from dfranke at gcc dot gnu dot org 2010-05-23 15:37 --- Adjusted summary to better describe the problem. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added --

[Bug bootstrap/44255] New: [4.6 regression] gcc-4.6-20100522 bootstrap comparison failure on sparc64

2010-05-23 Thread mikpe at it dot uu dot se
4.6-20100515 (r159445) bootstrapped fine on my sparc64-linux machine. 4.6-20100522 (r159746) gets a bootstrap comparison failure in stage 3: ... Comparing stages 2 and 3 warning: gcc/cc1-checksum.o differs Bootstrap comparison failure! libiberty/cp-demangle.o differs make[2]: *** [compare] Error 1

[Bug fortran/31059] Detect nonconforming assignment of allocatable arrays

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #4 from dfranke at gcc dot gnu dot org 2010-05-23 16:16 --- Aren't PR32454 and PR34741 duplicates of this also? -- dfranke at gcc dot gnu dot org changed: What|Removed |Added -

[Bug other/44209] Some warnings are not linked to diagnostics options

2010-05-23 Thread manu at gcc dot gnu dot org
--- Comment #3 from manu at gcc dot gnu dot org 2010-05-23 17:06 --- There are two cases: * Warnings that are controlled by an option (e.g., Wall) but do not show up in -fdiagnostics-show-option. These are obvious bugs and normally trivial to fix: there is already an -Wsomething option

[Bug c++/44256] New: When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread ttsiodras at gmail dot com
I saw that with GCC4.5, my software-only 3D renderer got a sizeable speed boost when using -flto (during compilation) and -flto -fwhole-program (during linking). I saw this working, successfully, with GCC4.5.0. I then tried the same thing with 4.5.1 - and got an internal compiler error. The crash

[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread steven at gcc dot gnu dot org
--- Comment #1 from steven at gcc dot gnu dot org 2010-05-23 18:13 --- Did you build with --enable-checking=release? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44256

[Bug fortran/36271] Add -Wsurprising for pointers arguments with INTENT(IN)?

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #6 from dfranke at gcc dot gnu dot org 2010-05-23 18:40 --- (In reply to comment #5) > if others feel like me, the PR can be closed as WONTFIX. If I understand it correctly, this is a request to warn about a valid operation. Err, no. WONTFIX, at the least. -- dfranke at

[Bug fortran/36553] Missing interface not detected in call to same file function

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2010-05-23 19:06 --- Still an issue with gcc version 4.6.0 20100520 (experimental) (GCC) Replaced ice-on-invalid with accepts-invalid keyword. The compiler is fine, the produced binary isn't - there should be no binary. Smaller testc

[Bug fortran/39795] Support round-to-zero in Fortran front-end

2010-05-23 Thread dfranke at gcc dot gnu dot org
-- dfranke at gcc dot gnu dot org changed: What|Removed |Added Severity|normal |enhancement http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39795

[Bug fortran/40581] Missed optimization in scalar operators on arrays

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #2 from dfranke at gcc dot gnu dot org 2010-05-23 19:18 --- (In reply to comment #1) > What do you want to do with this, Tobias? This PR is still somewhat sparse on detail of the nature of the problem?! -- dfranke at gcc dot gnu dot org changed: What|Remo

[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2010-05-23 20:05 --- Can you add -r to the linker line and bisect the object files needed to produce the ICE and then attach preprocessed source of them? Thanks. -- rguenth at gcc dot gnu dot org changed: What|Remove

[Bug bootstrap/44255] [4.6 regression] gcc-4.6-20100522 bootstrap comparison failure on sparc64

2010-05-23 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=44255

[Bug middle-end/38474] [Meta] slow compilation at -O0 (callgraph optimization, inline heuristics, expand )

2010-05-23 Thread rguenth at gcc dot gnu dot org
--- Comment #48 from rguenth at gcc dot gnu dot org 2010-05-23 20:08 --- Nope. See comment#44. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread ttsiodras at gmail dot com
--- Comment #3 from ttsiodras at gmail dot com 2010-05-23 20:09 --- To Steven: I am assuming you are asking about the building of GCC - I did it through the ports system of FreeBSD, using the latest update of the gcc45 port. Additionally, I just did an update in my Arch Linux, which go

[Bug rtl-optimization/44249] [4.4/4.5/4.6 Regression] IRA generates extra register move

2010-05-23 Thread rguenth at gcc dot gnu dot org
-- rguenth at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44249

[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread ttsiodras at gmail dot com
--- Comment #4 from ttsiodras at gmail dot com 2010-05-23 20:11 --- To Richard: Under my Arch Linux, the linker cmd (that triggers the bug) is: bash$ g++ -O3 -g -Wall -Wextra -fomit-frame-pointer -ffast-math -funsafe-math-optimizations -mtune=native -flto -msse -mrecip -mfpmath=sse -m

[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2010-05-23 20:36 --- (In reply to comment #4) > To Richard: > > Under my Arch Linux, the linker cmd (that triggers the bug) is: > > bash$ g++ -O3 -g -Wall -Wextra -fomit-frame-pointer -ffast-math > -funsafe-math-optimizations -mtune=n

[Bug c++/44256] When using -flto and -fwhole-program the compiler/linker crash

2010-05-23 Thread ttsiodras at gmail dot com
--- Comment #6 from ttsiodras at gmail dot com 2010-05-23 20:48 --- Well, I added "nostdlib" and removed all libraries from the cmd line, but still: bash$ g++ -r -nostdlib -O3 -g -Wall -Wextra -fomit-frame-pointer -ffast-math -funsafe-math-optimizations -mtune=native -flto -msse -mreci

[Bug middle-end/38474] slow compilation at -O0 due to expand's temp slot goo

2010-05-23 Thread steven at gcc dot gnu dot org
--- Comment #49 from steven at gcc dot gnu dot org 2010-05-23 21:02 --- Let's change the bug type at least, from a meta bug to a normal bug. -- steven at gcc dot gnu dot org changed: What|Removed |Added -

[Bug other/44253] libdecnumber .o vs. obj => @OBJEXT@

2010-05-23 Thread steven at gcc dot gnu dot org
--- Comment #2 from steven at gcc dot gnu dot org 2010-05-23 21:08 --- CC: to alpha maintainer. -- steven at gcc dot gnu dot org changed: What|Removed |Added

[Bug bootstrap/44255] [4.6 regression] gcc-4.6-20100522 bootstrap comparison failure on sparc64 and arm

2010-05-23 Thread mikpe at it dot uu dot se
--- Comment #1 from mikpe at it dot uu dot se 2010-05-23 21:09 --- The exact same bootstrap comparison failure now also showed up in my attempt to build gcc-4.6-20100522 on armv5tel-unknown-linux-gnueabi. And like sparc64 the previous 4.6 weekly snapshot bootstrapped fine. -- mikpe a

[Bug tree-optimization/43846] [4.5 Regression] array vs members, total scalarization issues

2010-05-23 Thread pluto at agmk dot net
--- Comment #10 from pluto at agmk dot net 2010-05-23 21:25 --- Created an attachment (id=20731) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20731&action=view) parser.i from kdelibs. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43846

[Bug target/44245] ICE: in extract_insn, at recog.c:2048 when __builtin_ia32_crc32di is used

2010-05-23 Thread hjl at gcc dot gnu dot org
--- Comment #2 from hjl at gcc dot gnu dot org 2010-05-23 21:57 --- Subject: Bug 44245 Author: hjl Date: Sun May 23 21:57:13 2010 New Revision: 159768 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159768 Log: Properly check OPTION_MASK_ISA_64BIT. gcc/ 2010-05-23 H.J. Lu

[Bug target/44245] ICE: in extract_insn, at recog.c:2048 when __builtin_ia32_crc32di is used

2010-05-23 Thread hjl at gcc dot gnu dot org
--- Comment #3 from hjl at gcc dot gnu dot org 2010-05-23 21:59 --- Subject: Bug 44245 Author: hjl Date: Sun May 23 21:58:51 2010 New Revision: 159769 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159769 Log: Properly check OPTION_MASK_ISA_64BIT. gcc/ 2010-05-23 H.J. Lu

[Bug target/44245] ICE: in extract_insn, at recog.c:2048 when __builtin_ia32_crc32di is used

2010-05-23 Thread hjl at gcc dot gnu dot org
--- Comment #4 from hjl at gcc dot gnu dot org 2010-05-23 22:17 --- Subject: Bug 44245 Author: hjl Date: Sun May 23 22:17:27 2010 New Revision: 159770 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=159770 Log: Properly check OPTION_MASK_ISA_64BIT. gcc/ 2010-05-23 H.J. Lu

[Bug target/44245] ICE: in extract_insn, at recog.c:2048 when __builtin_ia32_crc32di is used

2010-05-23 Thread hjl dot tools at gmail dot com
--- Comment #5 from hjl dot tools at gmail dot com 2010-05-23 22:18 --- Fixed. -- hjl dot tools at gmail dot com changed: What|Removed |Added Status|NEW

[Bug fortran/33204] Run-time argument check for procedures (run-time interface checking)

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #1 from dfranke at gcc dot gnu dot org 2010-05-23 22:29 --- I think this is a technical dupe of PR27989?! -- dfranke at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/36553] Missing interface not detected in call to same file function

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #11 from dfranke at gcc dot gnu dot org 2010-05-23 22:34 --- *** This bug has been marked as a duplicate of 31346 *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug fortran/31346] wrong values for ubound and size of deferred shape arrays

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #9 from dfranke at gcc dot gnu dot org 2010-05-23 22:34 --- *** Bug 36553 has been marked as a duplicate of this bug. *** -- dfranke at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug fortran/31346] wrong values for ubound and size of deferred shape arrays without explicit interface

2010-05-23 Thread dfranke at gcc dot gnu dot org
--- Comment #10 from dfranke at gcc dot gnu dot org 2010-05-23 22:35 --- The dupe had accepts-invalid, adding it here. Pushing back from enhancement to normal. -- dfranke at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/44257] New: typeof(*(struct undefined *)) fails to compile

2010-05-23 Thread rusty at rustcorp dot com dot au
struct foo; typeof(struct foo) *p; // This is fine. typeof(*p) *p2; // foo.c:5: error: dereferencing pointer to incomplete type This is important, because AFAICT the only way to declare a const pointer for a given type is: "const typeof(*p) *" which doesn't work if p is a pointer to an undefined

[Bug target/44129] Building linux kernel with gcc-4.5.0 and CONFIG_CC_OPTIMIZE_FOR_SIZE segfaults

2010-05-23 Thread bdubbs at linuxfromscratch dot org
--- Comment #11 from bdubbs at linuxfromscratch dot org 2010-05-24 06:32 --- Updated to gcc (GCC) 4.5.1 20100524 (prerelease) but still have the problem. There is something about -Os that triggers the kernel panic in arch/x86/kernel/tsc.c I tried to disable all -O2 options after -Os a