[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #23 from burnus at gcc dot gnu dot org 2007-12-12 07:20 --- > Tobias. do as you > please. We can either revert the original patch and get back to this without > time pressure or proceed quickly. Maybe reverting and proceeding then quickly w/o time pressure is best. > With t

[Bug fortran/34438] gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute

2007-12-11 Thread jv244 at cam dot ac dot uk
-- jv244 at cam dot ac dot uk changed: What|Removed |Added OtherBugsDependingO||32834 nThis|| Statu

[Bug web/34441] PDM

2007-12-11 Thread komila dot srivastava at infogain dot com
--- Comment #1 from komila dot srivastava at infogain dot com 2007-12-12 06:23 --- Created an attachment (id=14737) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14737&action=view) Contact Search Apge Bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34441

[Bug web/34441] New: PDM

2007-12-11 Thread komila dot srivastava at infogain dot com
PDM Event Functionality -- Summary: PDM Product: gcc Version: 2.95 Status: UNCONFIRMED Severity: normal Priority: P3 Component: web AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: komila dot sriva

[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread jvdelisle at gcc dot gnu dot org
--- Comment #22 from jvdelisle at gcc dot gnu dot org 2007-12-12 04:34 --- Reply to comment #20: It does not matter since we translate all variable names to lower case. It would matter if we used this mechanism to read literal string constants, but we don't. I will look that over a b

[Bug middle-end/34006] [4.2 only] vectorization with 64-bit integers

2007-12-11 Thread victork at gcc dot gnu dot org
--- Comment #4 from victork at gcc dot gnu dot org 2007-12-12 04:06 --- I have tried both testcases with compiler built from svn branch of 4.2 (svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_2-branch) on x86_64. Both cases run correctly. Looks like this bug is already fixed in 4.2 and 4.3.

[Bug libfortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread hjl at lucon dot org
--- Comment #21 from hjl at lucon dot org 2007-12-12 01:56 --- (In reply to comment #18) > Created an attachment (id=14736) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14736&action=view) [edit] > Draft Patch > > Test patch. It seems to fix the REAL reading part. I run out of tim

[Bug testsuite/34388] FAIL: gfortran.dg/proc_decl_1.f90 -O (test for excess errors)

2007-12-11 Thread danglin at gcc dot gnu dot org
--- Comment #3 from danglin at gcc dot gnu dot org 2007-12-12 01:44 --- Sorry, this is an unresolved issue with the hppa-linux test infrastructure. Tests that produce a lot of output sometimes have their output truncated. Whether a test fails or not is sometimes timing related. This wou

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #20 from jakub at gcc dot gnu dot org 2007-12-12 01:14 --- When you mention that, is it right that you are pushing different chars than what has been actually read? E.g.: c = tolower (next_char (dtp)); l_push_char (dtp, c); Shouldn't that be instead: c = next_char (dtp

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread jvdelisle at gcc dot gnu dot org
--- Comment #19 from jvdelisle at gcc dot gnu dot org 2007-12-12 01:05 --- We have a mechanism already in list_read.c to allow transparently reading ahead and buffering as far as we need to. I wish I had been able to respond to this report sooner and could have saved some time. Its ca

[Bug fortran/29471] Warn with -std=f95/f2003 when BOZ is used at invalid places

2007-12-11 Thread jkrahn at nc dot rr dot com
--- Comment #15 from jkrahn at nc dot rr dot com 2007-12-12 01:04 --- Subject: Re: Warn with -std=f95/f2003 when BOZ is used at invalid places burnus at gcc dot gnu dot org wrote: ... >> Maybe there should be a "-f[no-]boz-range-check" to exclude range errors just >> for the BOZ case.

[Bug target/34436] Illegal assembly on ARM/Thumb

2007-12-11 Thread rask at gcc dot gnu dot org
--- Comment #5 from rask at gcc dot gnu dot org 2007-12-12 00:31 --- See also bug 18560. I.e. consider using a C version instead. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34436

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #18 from burnus at gcc dot gnu dot org 2007-12-12 00:03 --- Created an attachment (id=14736) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14736&action=view) Draft Patch Test patch. It seems to fix the REAL reading part. I run out of time for the COMPLEX part (parse_re

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2007-12-11 Thread janis at gcc dot gnu dot org
--- Comment #12 from janis at gcc dot gnu dot org 2007-12-11 23:56 --- Before noticing comment #9, I tested a few saved installs of trunk and ran a regression hunt for trunk on powerpc-linux using the testcase from comment #7, which found this patch that caused the test to start failing:

[Bug ada/34440] 4.3.0 SVN r130768 Bug box: Assert_Failure einfo.adb:5625

2007-12-11 Thread oliver dot kellogg at eads dot com
--- Comment #1 from oliver dot kellogg at eads dot com 2007-12-11 23:42 --- Created an attachment (id=14735) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14735&action=view) source code for producing the bug -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34440

[Bug ada/34440] New: 4.3.0 SVN r130768 Bug box: Assert_Failure einfo.adb:5625

2007-12-11 Thread oliver dot kellogg at eads dot com
$ gcc -c -v p_mvc-dpmodel.adb Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../../SOURCES/gcc/configure --prefix=/opt/gccsnap --enable-debug --enable-languages=c,ada,c++ Thread model: posix gcc version 4.3.0 20071211 (experimental) (GCC) COLLECT_GCC_OPTIONS='-c'

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread kargl at gcc dot gnu dot org
--- Comment #17 from kargl at gcc dot gnu dot org 2007-12-11 23:31 --- (In reply to comment #16) > > Also are inf/infinity/infbar/infinityfoo/nan/nanfoo valid variables? > > I think they are. But none which start with an integer or a '+'/'-'/'.', which > is why the old technique "Read a

[Bug tree-optimization/34437] several test failures for gcc.dg/vect/no-scevccp-*

2007-12-11 Thread janis at gcc dot gnu dot org
--- Comment #4 from janis at gcc dot gnu dot org 2007-12-11 23:27 --- The patch in comment #3 works, except that there need to be quotes around each option: "-maltivec" "-mabi=altivec". -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34437

[Bug libstdc++/33832] hash_set moved to backwards

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #9 from bkoz at gcc dot gnu dot org 2007-12-11 23:25 --- HJ: "I don't know if gcc 4.3 provides the identical functionality as the old one." We've all answered this multiple times by now. Quick answer: yes. See #5. -benjamin -- http://gcc.gnu.org/bugzilla/show_bug.c

[Bug fortran/34438] gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute

2007-12-11 Thread kargl at gcc dot gnu dot org
--- Comment #1 from kargl at gcc dot gnu dot org 2007-12-11 23:22 --- Can you provide a standard conforming program that illustrates the problem (because your code violates the standard)? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34438

[Bug target/34439] ICE in reload_cse_simplify_operands for Coldfire

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #3 from joel at gcc dot gnu dot org 2007-12-11 23:22 --- And again on 4.1.1: $ /opt/rtems-4.7/bin/m68k-rtems4.7-gcc -m528x -c j.c j.c: In function '_shttpd_elog': j.c:7557: error: insn does not satisfy its constraints: (insn 14 190 15 (set (mem/c:SI (plus:SI (reg/f:SI 14 %a

[Bug target/34439] ICE in reload_cse_simplify_operands for Coldfire

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2007-12-11 23:22 --- Also occurs on 4.2.1 but this time at: /opt/rtems-4.8/bin/m68k-rtems4.8-gcc -m528x -c j.c j.c: In function '_shttpd_elog': j.c:7557: error: insn does not satisfy its constraints: (insn 13 189 14 (set (mem/c:SI (plus:S

[Bug libstdc++/33832] hash_set moved to backwards

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2007-12-11 23:21 --- Changed the tile to something unique. -- bkoz at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34439] ICE in reload_cse_simplify_operands for Coldfire

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #1 from joel at gcc dot gnu dot org 2007-12-11 23:20 --- Created an attachment (id=14734) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14734&action=view) Preprocessed code that produces error This is the preprocessed output of the Simple HTTPD server for RTEMS compile

[Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #8 from bkoz at gcc dot gnu dot org 2007-12-11 23:20 --- Re: #7. Sorry about the timing. I agree it is unfortunate. I do believe that the correct timing on this is to do both new C++0x interfaces and the revised backwards includes at the same time. (Certainly, this fits i

[Bug target/34281] [4.3 Regression] ARM: varargs broken with 64bit parameters.

2007-12-11 Thread daney at gcc dot gnu dot org
--- Comment #1 from daney at gcc dot gnu dot org 2007-12-11 23:20 --- Verified that it works on MontaVista build 3.4.3. Still failing on: armv5tl-montavista-linuxeabi-g++ (GCC) 4.3.0 20071211 (experimental) [trunk revision 130777] -- daney at gcc dot gnu dot org changed

[Bug c/34439] New: ICE in reload_cse_simplify_operands for Coldfire

2007-12-11 Thread joel at gcc dot gnu dot org
m68k-rtems4.9-gcc -m528x -c j.c gcc 4.2.2 ../../../../../../current/c/src/../../cpukit/shttpd/log.c:139: error: insn does not satisfy its constraints: (insn 74 158 159 10 ../../../../../../current/c/src/../../cpukit/shttpd/log.c:117 (set (mem/c:SI (plus:SI (reg/f:SI 14 %a6) (reg

[Bug fortran/29471] Warn with -std=f95/f2003 when BOZ is used at invalid places

2007-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #14 from burnus at gcc dot gnu dot org 2007-12-11 23:15 --- > As I understand the F2003 standard, the expression "INT(z'ff',1)" should > produce a range error, for the same reasons as the data statement illustrated > in: > http://gcc.gnu.org/onlinedocs/gfortran/BOZ-literal-co

[Bug fortran/34438] New: gfortran not compliant w.r.t default initialization of derived type component and implicit SAVE attribute

2007-12-11 Thread sven dot buijssen at math dot uni-dortmund dot de
ared --enable-languages=c,c++,fortran --enable-threads --enable-__cxa_atexit Thread model: posix gcc version 4.1.3 20071211 (prerelease) $ gfortran -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: ../gcc-4.2.x/configure --enable-shared --enable-languages=c,c++,fortran --enable-th

[Bug tree-optimization/34437] several test failures for gcc.dg/vect/no-scevccp-*

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-11 23:08 --- Or someone messed up vect.exp :(. Anyways try this patch: Index: testsuite/gcc.dg/vect/vect.exp === --- testsuite/gcc.dg/vect/vect.exp (revision 1

[Bug tree-optimization/34437] several test failures for gcc.dg/vect/no-scevccp-*

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #2 from pinskia at gcc dot gnu dot org 2007-12-11 23:05 --- No the autovectorizer testsuite uses -mabi=altivec also. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34437

[Bug tree-optimization/34437] several test failures for gcc.dg/vect/no-scevccp-*

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #1 from jakub at gcc dot gnu dot org 2007-12-11 23:00 --- See http://gcc.gnu.org/ml/gcc-patches/2007-11/msg00340.html Apparently -m32 -maltivec has been always badly broken. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34437

[Bug libstdc++/33832] Can't tell gcc 4.3 libstdc++ API from gcc 4.2 libstdc++ API

2007-12-11 Thread hjl at lucon dot org
--- Comment #7 from hjl at lucon dot org 2007-12-11 23:00 --- This one is for "moved" header files. One can include different header files for gcc 4.3. PR 33831 is for "removed" header files. I don't know if gcc 4.3 provides the identical functionality as the old one. One may needs more

[Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #7 from pinskia at gcc dot gnu dot org 2007-12-11 22:57 --- Really the change happened too late in the release cycle which is why people are complaining about this change and it is not that advertised that it would break many people's code. In my mind, we should wait for 4.4

[Bug libstdc++/33831] [4.3 Regression] Revision 129442 breaks libstc++ API

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2007-12-11 22:56 --- The gcc-4.3 release intentionally changes the libstdc++ API. It is intended with this release that either: C++98 or C++0x will be used, and that either dialect will work with both TR1 and the various extensions lis

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #6 from jakub at gcc dot gnu dot org 2007-12-11 22:49 --- Benjamin, the patch in #c4 looks good to me and this is a very severe bug, could you please review the patch and apply if you agree? Wonder what kind of testing was done before r115654 commit :(. -- jakub at gcc do

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #16 from burnus at gcc dot gnu dot org 2007-12-11 22:47 --- > Also are inf/infinity/infbar/infinityfoo/nan/nanfoo valid variables? I think they are. But none which start with an integer or a '+'/'-'/'.', which is why the old technique "Read a single character, if it is not v

[Bug target/34436] Illegal assembly on ARM/Thumb

2007-12-11 Thread joel dot sherrill at oarcorp dot com
--- Comment #4 from joel dot sherrill at oarcorp dot com 2007-12-11 22:38 --- Subject: Re: Illegal assembly on ARM/Thumb pinskia at gcc dot gnu dot org wrote: > --- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-11 22:35 > --- > asm volatile ("EOR %1, %0, %0, R

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread hjl at lucon dot org
--- Comment #15 from hjl at lucon dot org 2007-12-11 22:37 --- We can change the last_char field to #define MAX_LAST_STRING_LEN 8 char last_string[MAX_LAST_STRING_LEN]; int last_char_pos; we can unget up to MAX_LAST_STRING_LEN chars. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug tree-optimization/34437] New: several test failures for gcc.dg/vect/no-scevccp-*

2007-12-11 Thread janis at gcc dot gnu dot org
The following test failures on powerpc64-linux with -m32: FAIL: gcc.dg/vect/no-scevccp-outer-10a.c execution test FAIL: gcc.dg/vect/no-scevccp-outer-10b.c execution test FAIL: gcc.dg/vect/no-scevccp-outer-11.c execution test FAIL: gcc.dg/vect/no-scevccp-outer-12.c execution test

[Bug target/34436] Illegal assembly on ARM/Thumb

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-12-11 22:35 --- asm volatile ("EOR %1, %0, %0, ROR #16\n" "BIC %1, %1, #0xff\n" "MOV %0, %0, ROR #8\n" "EOR %0, %0, %1, LSR #8\n" : "=r" (value)

[Bug target/34436] Illegal assembly on ARM/Thumb

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #2 from joel at gcc dot gnu dot org 2007-12-11 22:34 --- Found inline assembly that caused problem. Sorry. -- joel at gcc dot gnu dot org changed: What|Removed |Added

[Bug target/34436] Illegal assembly on ARM/Thumb

2007-12-11 Thread joel at gcc dot gnu dot org
--- Comment #1 from joel at gcc dot gnu dot org 2007-12-11 22:32 --- Created an attachment (id=14733) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14733&action=view) Test Case #1 produces illegal assembly When compiled as described in the first post, this file gives illegal assem

[Bug fortran/34427] [4.3 Regression] Revision 130708 breaks namelist input

2007-12-11 Thread hjl at lucon dot org
--- Comment #14 from hjl at lucon dot org 2007-12-11 22:31 --- The current Inf/NAN I/O support is broken. Given a namelist input &nl foo = 5, infinity1 = 1, / where foo is an array of 2 reals, we need to unget up to 8 chars (infinity). If it can't be done with the current runtime

[Bug c/34436] New: Illegal assembly on ARM/Thumb

2007-12-11 Thread joel at gcc dot gnu dot org
Appears to be invalid code produced when -mthumb selected. Happens with gcc 4.1.1 and 4.2.2 when compiling with: arm-rtems4.9-gcc -mcpu=arm7tdmi -mthumb -O2 -c /tmp/test1.c /tmp/cccISkv7.s: Assembler messages: /tmp/cccISkv7.s:205: Error: unshifted register required -- `eor r2,r3,r3,ROR#16'

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread phelps at gnusto dot com
--- Comment #5 from phelps at gnusto dot com 2007-12-11 22:30 --- Created an attachment (id=14732) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14732&action=view) minimal test case This attachment contains a minimal C++ program that exhibits the behavior. The program should exit

[Bug libstdc++/33832] Can't tell gcc 4.3 libstdc++ API from gcc 4.2 libstdc++ API

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2007-12-11 22:21 --- HJ: this and 33831 are the same thing. I would appreciate it if you could either clarify why you think they are separate, or close one of them. I suggest closing 33832. This PR I will treat as "How HJ can fix eon in S

[Bug libstdc++/34015] warning in backward_warning.h is illegible

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #6 from bkoz at gcc dot gnu dot org 2007-12-11 21:48 --- Subject: Bug 34015 Author: bkoz Date: Tue Dec 11 21:48:16 2007 New Revision: 130778 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130778 Log: 2007-12-11 Benjamin Kosnik <[EMAIL PROTECTED]> PR libstd

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #36 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-11 21:44 --- Subject: Re: [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11 > 2) the instruction to load lo_sum of the address has not been dropped, I > posted >only part o

[Bug libffi/34311] libffi.call/nested_struct5.c execution tests fail under darwin9 on powerpc

2007-12-11 Thread andreast at gcc dot gnu dot org
-- andreast at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Last reconf

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #35 from jakub at gcc dot gnu dot org 2007-12-11 21:28 --- df_get_entry_block_def_set has this: /* Once the prologue has been generated, all of these registers should just show up in the first regular block. */ if (HAVE_prologue && epilogue_completed) { /*

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #13 from hjl at lucon dot org 2007-12-11 21:06 --- Also are inf/infinity/infbar/infinityfoo/nan/nanfoo valid variables? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #12 from hjl at lucon dot org 2007-12-11 20:58 --- Revision 130708 is wrong. We can't do if ((c == 'i' || c == 'I') && ((c = next_char (dtp)) == 'n' || c == 'N') && ((c = next_char (dtp)) == 'f' || c == 'F')) { ... if (nml_bad_return (dtp, c)) return

[Bug libstdc++/34095] parallel mode: segfault in std::sort

2007-12-11 Thread bangerth at dealii dot org
--- Comment #2 from bangerth at dealii dot org 2007-12-11 20:55 --- (In reply to comment #1) > Hey Wolfgang, I cannot reproduce this: > > g++ -g -O2 -march=native -fopenmp -D_GLIBCXX_PARALLEL 34059.cc > > Seems to run fine for me. I'm using > > > g++ (GCC) 4.3.0 20071209 (experiment

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #34 from jakub at gcc dot gnu dot org 2007-12-11 20:37 --- Answers (note, I don't know PA at all either): 1) in a function that returns struct, %r28 is what targetm.calls.struct_value_rtx gives: /* Register in which address to store a structure value is passed to a func

[Bug middle-end/34400] [4.3 regression] bad interaction between DF and SJLJ exceptions

2007-12-11 Thread ludovic at ludovic-brenta dot org
--- Comment #19 from ludovic at ludovic-brenta dot org 2007-12-11 20:36 --- With the patch from comment #17, the compile time is down to real130m10.559s user130m9.104s sys 0m0.388s on my machine. You seem to be on the right track :) -- http://gcc.gnu.org/bugzilla/show

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #11 from hjl at lucon dot org 2007-12-11 20:16 --- [EMAIL PROTECTED] 34427]$ cat foo.f90 IMPLICIT NONE real , DIMENSION(11) ::foo integer :: isfflx NAMELIST /nl/ foo NAMELIST /nl/ isfflx open (10, status="scratch") write (10,*) " &nl" write (10,*) " foo = 5,

[Bug fortran/29471] Warn with -std=f95/f2003 when BOZ is used at invalid places

2007-12-11 Thread jkrahn at nc dot rr dot com
--- Comment #13 from jkrahn at nc dot rr dot com 2007-12-11 19:40 --- My previous post here was a bit confused by differences in F95 and F2003, and my misunderstanding of Gfortran's BOZ extension. As I understand the F2003 standard, the expression "INT(z'ff',1)" should produce a range e

[Bug c++/34397] [4.3 regression] ICE on invalid default template parameter

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #8 from pinskia at gcc dot gnu dot org 2007-12-11 19:17 --- It also works for me with: GNU C++ (GCC) version 4.3.0 20071205 (experimental) [trunk revision 130629] (spu-elf) Are you sure you don't have a modified compiler? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=

[Bug libstdc++/34095] parallel mode: segfault in std::sort

2007-12-11 Thread bkoz at gcc dot gnu dot org
--- Comment #1 from bkoz at gcc dot gnu dot org 2007-12-11 19:15 --- Hey Wolfgang, I cannot reproduce this: g++ -g -O2 -march=native -fopenmp -D_GLIBCXX_PARALLEL 34059.cc Seems to run fine for me. I'm using g++ (GCC) 4.3.0 20071209 (experimental) -benjamin -- http://gcc.gnu.o

[Bug tree-optimization/32901] [4.1/4.2/4.3 Regression] bitfield constants with multiple bitfields take up space in .data

2007-12-11 Thread aldyh at gcc dot gnu dot org
--- Comment #11 from aldyh at gcc dot gnu dot org 2007-12-11 19:04 --- testing a patch -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32901

[Bug middle-end/31268] Non-deterministic bug producing a run-time infinite loop

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #14 from rguenth at gcc dot gnu dot org 2007-12-11 18:58 --- I cannot reproduce this on native i686 either with g++-4.2 --version g++-4.2 (GCC) 4.2.3 20071123 (prerelease) (Debian 4.2.2-4) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the sour

[Bug c++/34152] Erratic behaviour: Exception translation (throw from signal handlers)

2007-12-11 Thread asteinarson at gmail dot com
--- Comment #4 from asteinarson at gmail dot com 2007-12-11 17:55 --- (In reply to comment #2) > Created an attachment (id=14728) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14728&action=view) [edit] > proposed fix > > I'm seeing similar behavior on x86-64 with both g++-4.1.3 (u

[Bug target/34435] New: SSE2 intrinsics - emmintrin with optimisations off and type conversion error

2007-12-11 Thread lo at meep dot co dot uk
Using snapshot: gcc-4.3-20071109 Problem code follows: /// #include class Vec { __m128i vec; public: Vec(int mm) { vec = _mm_set1_epi16(mm); } operator __m128i() const { return vec; } }; int main() { _mm_shuffle_epi32(Vec(5), _MM_SHUFFLE(3,3,3,3)); /

[Bug c++/34184] Scope broken for inherited members inside template class?

2007-12-11 Thread scovich at gmail dot com
--- Comment #4 from scovich at gmail dot com 2007-12-11 17:27 --- (In reply to comment #3) > Note you can declare a specialization of foo::bar which shows that the code > is really dependent. > Duh! That's perfect. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34184

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #33 from pinskia at gcc dot gnu dot org 2007-12-11 17:12 --- I wonder if http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00506.html also fixes this code too which mentions dbr. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32636

[Bug fortran/34430] [4.3 Regression] Current trunk (130772) fails to build

2007-12-11 Thread pinskia at gcc dot gnu dot org
-- pinskia at gcc dot gnu dot org changed: What|Removed |Added Summary|Current trunk (130772) fails|[4.3 Regression] Current |to build

[Bug c/34434] internal compiler error: in insert_save, at caller-save.c:725

2007-12-11 Thread jhr at cs dot uchicago dot edu
--- Comment #1 from jhr at cs dot uchicago dot edu 2007-12-11 17:05 --- Created an attachment (id=14731) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14731&action=view) preprocessed source code -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34434

[Bug c/34434] New: internal compiler error: in insert_save, at caller-save.c:725

2007-12-11 Thread jhr at cs dot uchicago dot edu
<[EMAIL PROTECTED]> /usr/bin/gcc-4.1 -v -save-temps -m64 -D_GNU_SOURCE -std=gnu99 -pedantic -pthread -O2 -I../gc -I../include -I../../../include -DTARGET_LINUX -DTARGE> Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c++,java,fortran,objc,ob

[Bug other/34433] Internal error while porting to PISA

2007-12-11 Thread pinskia at gcc dot gnu dot org
--- Comment #1 from pinskia at gcc dot gnu dot org 2007-12-11 17:02 --- cc1: internal compiler error: in common_handle_option, at opts.c:1024 Can't you debug this your self? /* If the flag was handled in a standard way, assume the lack of processing here is intentional.

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread dave at hiauly1 dot hia dot nrc dot ca
--- Comment #32 from dave at hiauly1 dot hia dot nrc dot ca 2007-12-11 16:52 --- Subject: Re: [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11 > At -O2 this has: > comib,>= 0,%r24,L$0025 > stw %r4,-72(%r30) > comib,= 1,%

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #10 from burnus at gcc dot gnu dot org 2007-12-11 16:37 --- > Revision 130726 failed after I backed out revisions 130629 and 130712. > Revision 130726 is OK after I reverted libgfortran to revision 130629. Jerry, do you have an idea? Between 130629 and 130726 there is my "

[Bug bootstrap/27516] install failure due to unconditional invocation of makeinfo for treelang.texi

2007-12-11 Thread haubi at gentoo dot org
--- Comment #15 from haubi at gentoo dot org 2007-12-11 16:33 --- Created an attachment (id=14730) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14730&action=view) patch to avoid installing treelang info without makeinfo This patch works with gcc-4.2.2, and should apply to trunk/g

[Bug fortran/31213] ICE on valid code with gfortran

2007-12-11 Thread pault at gcc dot gnu dot org
--- Comment #10 from pault at gcc dot gnu dot org 2007-12-11 16:17 --- I have now developed the patch for this and PR33998 to the point where the original testcase compiles. It is, however, missing the interface transformation of the array_spec of 'yoagly' aka 'ugly' aka 'but_ugly'. Th

[Bug target/34013] callee-save register value sometimes corrupted when __stkchk called

2007-12-11 Thread nightstrike at gmail dot com
--- Comment #2 from nightstrike at gmail dot com 2007-12-11 16:10 --- This is impeding development of the x86_64-pc-mingw32 toolchain. Is there any way to gain help on this from the gcc community? -- nightstrike at gmail dot com changed: What|Removed

[Bug bootstrap/30589] [4.3 regression] C99 extern inline patch broke bootstrap on i386-pc-mingw32

2007-12-11 Thread mmitchel at gcc dot gnu dot org
--- Comment #19 from mmitchel at gcc dot gnu dot org 2007-12-11 16:06 --- I agree. Given that the intent with MinGW is to avoid fixincludes, I guess it's up to MinGW to provide headers that work. So, I agree that once we document this in our release notes, we should close this bug. (

[Bug rtl-optimization/34415] [4.3 Regression] Possible miscompilation on MIPS

2007-12-11 Thread daney at gcc dot gnu dot org
-- daney at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.3.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34415

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #11 from rguenth at gcc dot gnu dot org 2007-12-11 15:55 --- The following fixes this failure, but breaks libjava a lot: Index: cp/cp-lang.c === --- cp/cp-lang.c(revision 130773) +++ cp/cp-lang.c

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread zadeck at naturalbridge dot com
--- Comment #31 from zadeck at naturalbridge dot com 2007-12-11 15:23 --- why should r28 be live at the top of block 2? i do not know the pa at all, but the only things that are live at the top of block 2, which can only be entered by falling out of the entry. Things that are defined

[Bug rtl-optimization/32636] [4.3 Regression] 25_algorithms/search_n/iterator.cc: miscompiled on hppa2.0w-hp-hpux11.11

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #30 from jakub at gcc dot gnu dot org 2007-12-11 15:07 --- mark_target_live_regs doesn't recognize %r28 as live on the fallthrough insn after the branch. There are no BARRIER insns before that fallthrough insn (the jump is conditional and there are no unconditional jumps bef

[Bug c++/33819] [4.2/4.3 Regression] Miscompiled shift of C++ bitfield

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-12-11 15:04 --- DR315 is sort-of related, but doesn't help in this specific case (rather seems to favor implementation defined). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33819

[Bug fortran/34420] List directed reads from file fails

2007-12-11 Thread eesrjhc at bath dot ac dot uk
--- Comment #2 from eesrjhc at bath dot ac dot uk 2007-12-11 15:03 --- Thanks everyone, revision 130775 fixes the problem. -- eesrjhc at bath dot ac dot uk changed: What|Removed |Added ---

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #9 from hjl at lucon dot org 2007-12-11 14:56 --- Revision 130726 is OK after I reverted libgfortran to revision 130629. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427

[Bug c++/33819] [4.2/4.3 Regression] Miscompiled shift of C++ bitfield

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-12-11 14:24 --- The result needs to be truncated to a type with the bitfields precision. " 5.8 Shift operators ... integral promotions are performed. The type of the result is that of the promoted left operand. ... If E1 has an

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #8 from hjl at lucon dot org 2007-12-11 14:18 --- Revision 130726 failed after I backed out revisions 130629 and 130712. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #7 from hjl at lucon dot org 2007-12-11 14:03 --- Revision 130707 is OK if I back out revision 130629. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34427

[Bug middle-end/34400] [4.3 regression] bad interaction between DF and SJLJ exceptions

2007-12-11 Thread zadeck at naturalbridge dot com
--- Comment #18 from zadeck at naturalbridge dot com 2007-12-11 13:55 --- The thing i forgot to say in the previous post was that i had to change stevens patch because the way that it was written causes df verify errors. You cannot make the gen set in a block dependent on the output of

[Bug fortran/34430] Current trunk (130772) fails to build

2007-12-11 Thread burnus at gcc dot gnu dot org
--- Comment #2 from burnus at gcc dot gnu dot org 2007-12-11 13:55 --- I believe it has been fixed by http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00510.html Please update and try again. If it still breaks, feel free to reopen the bug. -- burnus at gcc dot gnu dot org changed:

[Bug middle-end/32244] bit-field: optimization BUG

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-12-11 13:54 --- Very similar (apart from typeof) to PR30332. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added

[Bug c/34433] New: Internal error while porting to PISA

2007-12-11 Thread rgalberquilla at fis dot ucm dot es
Hello, I am trying to port gcc-4.2.2 to the PISA architecture, for SimplesScalar simulator. I have already created ss.h, ss.c, ss.md, ss-protos.h, ss.opt and modified the configuration scripts accordingly. I have had it configured just for c language, then I try to build it by typing make all-gcc

[Bug c++/30763] [4.1 Regression] problem with bit-fields assignment

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #4 from rguenth at gcc dot gnu dot org 2007-12-11 13:50 --- And 4.2.2 and 4.0.4. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Known to

[Bug c++/30332] [4.1/4.2/4.3 regression] bit-field: optimization BUG?

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #5 from rguenth at gcc dot gnu dot org 2007-12-11 13:47 --- Related to PR33887. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added BugsThisDepend

[Bug fortran/34427] [4.3 Regression] 481.wrf in SPEC CPU 2006 miscompiled

2007-12-11 Thread hjl at lucon dot org
--- Comment #6 from hjl at lucon dot org 2007-12-11 13:46 --- I saw it with revision 130726. -- hjl at lucon dot org changed: What|Removed |Added Status|UNCON

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #10 from rguenth at gcc dot gnu dot org 2007-12-11 13:34 --- I wonder what broke this. Janis, can you hunt this with the testcase in comment #7? (g++ -O is enough) -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-12-11 Thread jakub at gcc dot gnu dot org
--- Comment #19 from jakub at gcc dot gnu dot org 2007-12-11 13:41 --- The testcase that was broken longest is #c3, which got fixed by http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130222 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30840

[Bug c++/33887] [4.1/4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #9 from rguenth at gcc dot gnu dot org 2007-12-11 13:31 --- Fails since 4.1.0, works up to 4.0.4. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added ---

[Bug middle-end/34400] [4.3 regression] bad interaction between DF and SJLJ exceptions

2007-12-11 Thread zadeck at naturalbridge dot com
--- Comment #17 from zadeck at naturalbridge dot com 2007-12-11 13:30 --- Created an attachment (id=14729) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14729&action=view) fixup of stevens hack This hack cuts the -O compile time for the c testcase from 35 to 2 seconds. my guess i

[Bug tree-optimization/34038] 176.gcc segfaults when compiled with -O2 -ftree-vectorize -maltivec

2007-12-11 Thread irar at il dot ibm dot com
--- Comment #6 from irar at il dot ibm dot com 2007-12-11 13:24 --- The first difference I found between with and without -fno-strict-aliasing versions of the loop in reload.c:2352 is in with -fno-strict-aliasing (the "bad" one): (insn 414 413 415 43 ../src/reload.c:2354 (set (reg/f:SI

[Bug tree-optimization/30840] [4.3 Regression] ice for legal code with flags -O3 -fno-strict-aliasing

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #18 from rguenth at gcc dot gnu dot org 2007-12-11 13:20 --- The dups also all work. Let's close this as fixed then. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added --

[Bug c++/33887] [4.2/4.3 Regression] Reference to bitfield gets wrong value when optimizing

2007-12-11 Thread rguenth at gcc dot gnu dot org
--- Comment #8 from rguenth at gcc dot gnu dot org 2007-12-11 13:08 --- Which is because if (lang_hooks.reduce_bit_field_operations && TREE_CODE (type) == INTEGER_TYPE && GET_MODE_PRECISION (mode) > TYPE_PRECISION (type)) { /* An operation in what may be a bit-fi

  1   2   >