[Bug libfortran/35863] [F2003] Implement ENCODING=UTF-8

2008-08-16 Thread jvdelisle at gcc dot gnu dot org


--- Comment #9 from jvdelisle at gcc dot gnu dot org  2008-08-16 06:11 
---
Subject: Bug 35863

Author: jvdelisle
Date: Sat Aug 16 03:38:31 2008
New Revision: 139147

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139147
Log:
2008-08-15  Jerry DeLisle  [EMAIL PROTECTED]

PR libfortran/35863
* intrinsics/selected_char_kind.c: Enable iso_10646.
* io/read.c (typedef uchar): New type.
(read_utf8): New function to read a single UTF-8 encoded character.
(read_utf8_char1): New function to read UTF-8 into a KIND=1 string.
(read_default_char1): New functio to read default into KIND=1 string.
(read_utf8_char4): New function to read UTF-8 into a KIND=4 string.
(read_default_char4): New function to read UTF-8 into a KIND=4 string.
(read_a): Modify to use the new functions.
(read_a_char4): Modify to use the new functions.
* io/write.c (error.h): Add include. (typedef uchar): New type.
(write_default_char4): New function to default write KIND=4 string.
(write_utf8_char4): New function to UTF-8 write KIND=4 string.
(write_a_char4): Modify to use new functions.
(write_character): Modify to use new functions.

Modified:
trunk/libgfortran/ChangeLog
trunk/libgfortran/intrinsics/selected_char_kind.c
trunk/libgfortran/io/read.c
trunk/libgfortran/io/write.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35863



[Bug libfortran/35863] [F2003] Implement ENCODING=UTF-8

2008-08-16 Thread jvdelisle at gcc dot gnu dot org


--- Comment #10 from jvdelisle at gcc dot gnu dot org  2008-08-16 06:11 
---
Subject: Bug 35863

Author: jvdelisle
Date: Sat Aug 16 03:42:54 2008
New Revision: 139148

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139148
Log:
2008-08-15  Jerry DeLisle  [EMAIL PROTECTED]

PR fortran/35863
* gfortran.dg/utf8_1.f03: New test.
* gfortran.dg/utf8_2.f03: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/utf8_1.f03
trunk/gcc/testsuite/gfortran.dg/utf8_2.f03
Modified:
trunk/gcc/testsuite/ChangeLog


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35863



[Bug libfortran/35863] [F2003] Implement ENCODING=UTF-8

2008-08-16 Thread jvdelisle at gcc dot gnu dot org


--- Comment #10 from jvdelisle at gcc dot gnu dot org  2008-08-16 06:11 
---
Subject: Bug 35863

Author: jvdelisle
Date: Sat Aug 16 03:42:54 2008
New Revision: 139148

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139148
Log:
2008-08-15  Jerry DeLisle  [EMAIL PROTECTED]

PR fortran/35863
* gfortran.dg/utf8_1.f03: New test.
* gfortran.dg/utf8_2.f03: New test.

Added:
trunk/gcc/testsuite/gfortran.dg/utf8_1.f03
trunk/gcc/testsuite/gfortran.dg/utf8_2.f03
Modified:
trunk/gcc/testsuite/ChangeLog


--- Comment #11 from jvdelisle at gcc dot gnu dot org  2008-08-16 06:11 
---
Subject: Bug 35863

Author: jvdelisle
Date: Sat Aug 16 03:36:32 2008
New Revision: 139146

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=139146
Log:
2008-08-15  Jerry DeLisle  [EMAIL PROTECTED]

PR fortran/35863
* io.c (gfc_match_open): Enable UTF-8 in checks.
* simplify.c (gfc_simplify_selected_char_kind): Enable iso_10646.

Modified:
trunk/gcc/fortran/ChangeLog
trunk/gcc/fortran/io.c
trunk/gcc/fortran/simplify.c


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35863



[Bug c++/37140] type inherited from base class not recognized

2008-08-16 Thread joao dot eiras at gmail dot com


--- Comment #1 from joao dot eiras at gmail dot com  2008-08-16 16:42 
---
Sorry, full error is

gpp_bug_2.cpp: In constructor `BX::B()':
gpp_bug_2.cpp:15: error: `o_t' is not a class or namesp
gpp_bug_2.cpp:15: error: `type_t' does not name a type


-- 

joao dot eiras at gmail dot com changed:

   What|Removed |Added

 CC||joao dot eiras at gmail dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37140



[Bug c++/37141] New: syntax error when using type inherited from base class

2008-08-16 Thread joao dot eiras at gmail dot com
The following code sample does not compile, and it should.
I get the error:
gpp_bug_1.cpp: In constructor `BX::B()':
gpp_bug_1.cpp:10: error: expected `;' before x

G++ version: g++ (GCC) 4.4.0 20080729 (experimental)

templateclass X class A{
public:
typedef X type_t;
};

templateclass X class B: AX{
public:
using typename AX::type_t;
B(){type_t x;}
};

int main_(int argc, char *argv[]){
return 1;
}


-- 
   Summary: syntax error when using type inherited from base class
   Product: gcc
   Version: 4.4.0
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: joao dot eiras at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37141



[Bug tree-optimization/33259] limited range of remainder operation can prove loop runs at most once

2008-08-16 Thread raeburn at raeburn dot org


--- Comment #2 from raeburn at raeburn dot org  2008-08-16 18:18 ---
Just noting for future reference: I looked at the VRP results and that does
seem to be where the optimization opportunity is missed; x%y with constant y is
VARYING if x is, though it seems to me the result should be
[-abs(y)+1,abs(y)-1] for signed math and [0,abs(y)-1] for unsigned math.  If x
can be constrained to either nonnegative or nonpositive, that reduces the range
in the signed case, and if it has a shorter range [x1,x2] where
floor(x1/y)==floor(x2/y) it might be constrained further still.  If y has a
range, the result is still bound by the larger of the absolute values of the
ends of the range.

(Similarly, though not related to this case, x/const can't be larger than
type_max(x)/const.  Seems to me that in general there are a few cases where
varying should be treated as [type_min,type_max] and processed like any other
range, but maybe I'm missing something.)

I experimented with a patch to tree-vrp.c to support
TRUNC_MOD_EXPR(varying,const), and found I also had to get VRP to understand
BIT_NOT_EXPR, but then it generated the same code for both test functions.  The
patch needs work still, and I need to understand the infinity and overflow
stuff in tree-vrp.c a little better to make sure I'm not breaking something.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33259



[Bug c++/14258] typename in a using declaration not supported

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2008-08-16 20:03 
---
*** Bug 37141 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||joao dot eiras at gmail dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14258



[Bug c++/37141] syntax error when using type inherited from base class

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-16 20:03 ---


*** This bug has been marked as a duplicate of 14258 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37141



[Bug target/15267] libgcc_s.so.1 fails to link on Solaris 8/SPARC with GNU as 2.14.91

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #12 from pinskia at gcc dot gnu dot org  2008-08-16 22:07 
---
*** Bug 37092 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||halder dot malay at gmail
   ||dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15267




[Bug bootstrap/37092] gcc-4.2.2 build failed on solaris-8

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-16 22:07 ---
This is a binutils bug which was fixed for 2.18.

*** This bug has been marked as a duplicate of 15267 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|blocker |normal
 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37092



[Bug target/37050] gcc-4.3.1 bootstrap failure on sparc Solaris 10

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2008-08-16 22:08 ---
symbol unknown: offset 0x78a186d9 is non-aligned

That was a binutils bug which was fixed in binutils 2.18.

*** This bug has been marked as a duplicate of 15267 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37050



[Bug target/15267] libgcc_s.so.1 fails to link on Solaris 8/SPARC with GNU as 2.14.91

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #13 from pinskia at gcc dot gnu dot org  2008-08-16 22:08 
---
*** Bug 37050 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||Jay dot St dot Pierre at
   ||Colorado dot EDU


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15267



[Bug bootstrap/37097] [4.4 Regression]: Revision 139014 failed to bootstrap

2008-08-16 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=37097



[Bug target/37094] [4.4 Regression] Ada build broken for i586

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||hubicka at gcc dot gnu dot
   ||org
   Keywords||build, ice-on-valid-code
Summary|Ada build broken|[4.4 Regression] Ada build
   ||broken for i586
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37094



[Bug middle-end/37104] [4.4 Regression] ICE: in compare_values_warnv, at tree-vrp.c:1031

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37104



[Bug middle-end/37107] Incorrect code generated after function inlining

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-16 22:14 ---
Can you provide the preprocessed source which you can get via the -save-temps
option.  Also does using -fno-strict-aliasing fix the issue?  


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37107



[Bug c++/37096] conditional evaluation incorrect with -O3

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |WAITING


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37096



[Bug bootstrap/37086] [4.4 Regression] GCC 3.4 miscompiles trunk (for cross compiling)

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2008-08-16 22:20 ---
Note I agree with Richard here.  All my builds for cross compilers (except for
testing the trunk for spu-elf which I am going to change soon anyways), I
bootstrap first the compiler I am going to compile and then use that to compile
the cross.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||build
Summary|Cross-compilers built with  |[4.4 Regression] GCC 3.4
   |GCC 3.4 do not work |miscompiles trunk (for cross
   ||compiling)
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37086



[Bug bootstrap/37079] cannot find -lgcc_s

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-16 22:36 ---
What happens if you just use --with-build-sysroot= ? without saying the
--with-sysroot?


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

  Component|c   |bootstrap


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37079



[Bug ada/37136] [4.4 regression] Bootstrap failure in copyprop_hardreg_forward_1 for a-ngcefu.adb

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-08-16 22:37 ---


*** This bug has been marked as a duplicate of 37094 ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37136



[Bug target/37094] [4.4 Regression] Ada build broken for i586

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-16 22:37 ---
*** Bug 37136 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||aaronavay62 at aaronwl dot
   ||com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37094



[Bug target/37137] unrecognized command line option -minterlink-mips16

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-16 22:39 ---
2008-08-09  Richard Sandiford  [EMAIL PROTECTED]

* mt-mips16-compat: New file, taken from mt-mips-elfoabi.
* mt-mips-elfoabi: Include mt-mips16-compat.
* mt-mips-gnu: New file.


Hmm, what version of GCC are you starting with?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37137



[Bug c++/37089] rvalue/lvalue reference collapsing not performed in error ouput thus printing

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-16 22:42 ---
This source does not compile at all so how can we get a link error?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37089



[Bug middle-end/37096] conditional evaluation incorrect with -O3

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-08-16 22:43 ---
Might be related to PR 37101.

Does -O2 -ftree-vectorize fail too?


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
  Component|c++ |middle-end


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37096



[Bug bootstrap/37122] fixed-value.c and tree-ssa-loop-ivopts.c won't compile with Sun Studio 11 on Solaris 9 due to incompatible operand types

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-16 22:47 ---
This seems like a bug in Sun's compiler.  As far as I can tell a ? const struct
A : struct A should be valid in C and C++.  I think you should both post the
patches to gcc-patches@ and make sure you file a bug with Sun too.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37122



[Bug bootstrap/33304] Bootstrap failure on solaris2 using cc due to empty macro arguments

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-16 22:47 ---
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33304



[Bug libstdc++/37118] [4.4 Regression] Revision 139064 breaks libstdc++

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||build
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37118



[Bug fortran/37129] Problems with access='direct', recl=1 I/O

2008-08-16 Thread jvdelisle at gcc dot gnu dot org


--- Comment #4 from jvdelisle at gcc dot gnu dot org  2008-08-16 22:48 
---
I agree there is legacy g77 behavior involved here.  I did a test here, and a
very simple patch will enable this feature.  At least for the test case I get
the exact same results as g77.  I just disable this check for RECL=1 and
std=legacy.

I am leary about doing this sort of thing and would like to here from others on
the team s far as doing this.


-- 

jvdelisle at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |jvdelisle at gcc dot gnu dot
   |dot org |org
 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-08-16 22:48:43
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37129



[Bug middle-end/37130] warning: array subscript is above array bounds.

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-08-16 22:54 ---
  __insertion_sort (entry.node_id[0], entry.node_id[16]);


The length is only 4.

One issue is that we don't reduce:
  D.8167 = entry.node_id[0] + (unsigned int) num_side_vert * 4;
  if (entry.node_id[0] != D.8167)

Into:
 if ((unsigned int)num_side_vert * 4 != 0)

So I think the other issue is that the code for std::sort assumes that it will
be a pointer and an array with a small size.

The warning is only partly bogus but since this is only runtime undefinedness,
this is valid code.  The function get_int better never return more than 4
really.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37130



[Bug fortran/37131] inline matmul for small matrix sizes

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2008-08-16 22:55 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-08-16 22:55:22
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37131



[Bug c++/37089] rvalue/lvalue reference collapsing not performed in error ouput thus printing

2008-08-16 Thread paolo dot carlini at oracle dot com


--- Comment #2 from paolo dot carlini at oracle dot com  2008-08-16 22:55 
---
The below does compile (with -std=c++0x of course) and indeed the triple
ampersand is there.



#include utility

template class T
void f(T a, bool);

templateclass T 
void f(T a){ 
  f(std::forwardT(a), true);
} 

int main()
{
  int a;
  f(a);
}


-- 

paolo dot carlini at oracle dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Last reconfirmed|-00-00 00:00:00 |2008-08-16 22:55:47
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37089



[Bug libfortran/37123] [4.4 Regression] libfortran failed to build

2008-08-16 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=37123



[Bug tree-optimization/36953] [4.2 Regression] Optimizer generates faulty assembler code when estimating max. floating point value in a for loop

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||wrong-code
Summary|Optimizer generates faulty  |[4.2 Regression] Optimizer
   |assembler code when |generates faulty assembler
   |estimating max. floating|code when estimating max.
   |point value in a for loop   |floating point value in a
   ||for loop
   Target Milestone|--- |4.2.5


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36953



[Bug tree-optimization/36953] [4.2 Regression] Optimizer generates faulty assembler code when estimating max. floating point value in a for loop

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2008-08-16 23:05 ---
Can you try 4.2.4?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36953



[Bug target/36972] Redundant creation of stack frame on spu-gcc

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-16 23:06 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
   Keywords||missed-optimization
   Last reconfirmed|-00-00 00:00:00 |2008-08-16 23:06:30
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36972



[Bug tree-optimization/37005] [4.4 Regression] GNAT Bug Box for cd2a24e.adb:37 at tree-vrp.c:392

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||ice-on-valid-code
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37005



[Bug target/37061] [4.4 Regression] Build fails with REGISTER_TARGET_PRAGMAS redefined

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||build
Summary|Build fails with|[4.4 Regression] Build fails
   |REGISTER_TARGET_PRAGMAS |with REGISTER_TARGET_PRAGMAS
   |redefined   |redefined
   Target Milestone|--- |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37061



[Bug classpath/32028] Make fails at gjdoc - gnu.classpath.tools.gjdoc.ParseException: unmatched input in line 1: @Retention(SOURCE) @Target(METHOD)

2008-08-16 Thread gnu_andrew at member dot fsf dot org


--- Comment #9 from gnu_andrew at member dot fsf dot org  2008-08-16 23:14 
---
Fix for 0.98; check gjdoc version in configure.


-- 

gnu_andrew at member dot fsf dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |gnu_andrew at member dot fsf
   |dot org |dot org
 Status|NEW |ASSIGNED
   Last reconfirmed|2008-08-04 18:31:27 |2008-08-16 23:14:39
   date||
   Target Milestone|--- |0.98


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32028



[Bug tree-optimization/35972] [4.4 Regression] load-PRE missed opportunities without SFTs

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #7 from pinskia at gcc dot gnu dot org  2008-08-16 23:17 ---
Note, SRA needs to be disabled for the testcase to show the issue.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Last reconfirmed|2008-04-18 14:12:53 |2008-08-16 23:17:45
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35972



[Bug c++/29363] [4.2/4.3/4.4 regression] ICE throwing undeclared object

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #10 from pinskia at gcc dot gnu dot org  2008-08-16 23:20 
---
This bug should never have been in the waiting state, waiting state is for
waiting on information from the reporter and not another developer.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|WAITING |NEW
   Last reconfirmed|2007-08-06 15:49:59 |2008-08-16 23:20:22
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29363



[Bug c++/29363] [4.2/4.3/4.4 regression] ICE throwing undeclared object

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #11 from pinskia at gcc dot gnu dot org  2008-08-16 23:21 
---
Also this seems like this should be a P4 or lower as it is an error recovery
issue.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Priority|P2  |P3


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29363



[Bug target/34856] [4.2/4.3 Regression] ICE with some constant vectors

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #30 from pinskia at gcc dot gnu dot org  2008-08-16 23:31 
---
This was fixed for PPC between:
-LAST_UPDATED: Mon Jun 23 19:12:32 UTC 2008 (revision 137049)
+LAST_UPDATED: Tue Jul  8 16:22:03 UTC 2008 (revision 137638)

I don't have any closer date though.  So this is no longer a 4.4 regression for
PPC. For spu, both 4.3 and 4.4 were fixed so removing that from the target
triple.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 GCC target triplet|spu-elf, powerpc*-*-*   |powerpc*-*-*
  Known to work|4.1.2   |4.1.2 4.4.0
Summary|[4.2/4.3/4.4 Regression] ICE|[4.2/4.3 Regression] ICE
   |with some constant vectors  |with some constant vectors


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34856



[Bug c++/36846] ICE with variadic templates partial specialisation

2008-08-16 Thread tristan at wibberley dot org


--- Comment #1 from tristan at wibberley dot org  2008-08-16 23:34 ---
 fail.cc: In instantiation of ‘pairspairint, int, pairint, int ’:
 fail.cc:14:   instantiated from here
 fail.cc:10: error: mismatched argument pack lengths while expanding ‘pairAS,
 BS’
 fail.cc: In instantiation of ‘pairspairint, int, pairint, int
 ::mismatched_packs’:
 fail.cc:14:   instantiated from here
 fail.cc:10: internal compiler error: tree check: expected class ‘type’, have
 ‘exceptional’ (error_mark) in instantiate_class_template, at cp/pt.c:6945

4.3.1 doesn't ICE (I can't get details as somebody was kind enough to try this
for me) and instead reports:

t.cpp:10: error: mismatched argument pack lengths while expanding ‘pairAS,
BS‘
t.cpp:10: error: mismatched argument pack lengths while expanding ‘pairAS,
BS‘

where the ICE is reported above

with -DNO_ICE this is compiled successfully


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36846



[Bug bootstrap/36908] [4.4 Regression] bootstrap forever with BOOT_CFLAGS=-O2 -ftree-loop-distribution

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-08-16 23:36 ---
I don't see why this is a P1, -ftree-loop-distribution is not enabled default
at all.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||build


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36908



[Bug tree-optimization/35518] [4.4 Regression] FAIL: gcc.c-torture/execute/20040709-1.c execution at -O2 and above

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #27 from pinskia at gcc dot gnu dot org  2008-08-16 23:41 
---
Fixed for spu between:
-LAST_UPDATED: Thu May  8 15:05:11 UTC 2008 (revision 135088)
+LAST_UPDATED: Sun Jun 29 21:32:49 UTC 2008 (revision 137266)

And for PPC (with the cost change);
-LAST_UPDATED: Mon Jun 23 19:12:32 UTC 2008 (revision 137049)
+LAST_UPDATED: Tue Jul  8 16:22:03 UTC 2008 (revision 137638)

Any news on a patch that does not paper over the issue?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35518



[Bug c++/36921] [4.3/4.4 Regression] comparsion does not have mathematical meaning is not correct

2008-08-16 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
   ||org
   Keywords||diagnostic
Summary|comparsion does not have|[4.3/4.4 Regression]
   |mathematical meaning is not |comparsion does not have
   |correct |mathematical meaning is not
   ||correct
   Target Milestone|--- |4.3.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36921



[Bug c++/36897] [4.2/4.3/4.4 Regression] ICE with function pointer template parameter

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #2 from pinskia at gcc dot gnu dot org  2008-08-17 00:04 ---
Confirmed.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |NEW
 Ever Confirmed|0   |1
  GCC build triplet|i686-pc-linux-gnu   |
   GCC host triplet|i686-pc-linux-gnu   |
 GCC target triplet|i686-pc-linux-gnu   |
  Known to fail|4.1.1 4.3.0 |4.1.1 4.3.0 4.1.2
  Known to work||3.3
   Last reconfirmed|-00-00 00:00:00 |2008-08-17 00:04:47
   date||
Summary|ICE with function pointer   |[4.2/4.3/4.4 Regression] ICE
   |template parameter  |with function pointer
   ||template parameter
   Target Milestone|--- |4.3.2


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36897



[Bug fortran/36931] unneeded temporary for array intrinsic binop scalar

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36931



[Bug fortran/36932] unneeded temporary (2x)

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36932



[Bug fortran/36933] unneeded temporary with derived type containing an array as argument

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36933



[Bug fortran/36935] unneeded temporary for array constructor

2008-08-16 Thread pinskia at gcc dot gnu dot org


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

   Severity|normal  |enhancement


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36935



[Bug middle-end/36900] ICE: in propagate_one_insn, at flow.c:1734

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2008-08-17 00:07 ---
This is fixed for 4.3.0.


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36900



[Bug c++/36944] [4.4 Regression]: Revision 138123 breaks constructors with default arguments

2008-08-16 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=36944



[Bug bootstrap/36907] [4.4 Regression]: Gcc failed to bootstrap

2008-08-16 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=36907



[Bug tree-optimization/36926] [4.4 Regression] Revision 138092 breaks building of xalancbmk

2008-08-16 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=36926



[Bug c++/36883] Overeager ADL again

2008-08-16 Thread pinskia at gcc dot gnu dot org


--- Comment #1 from pinskia at gcc dot gnu dot org  2008-08-17 00:16 ---
I think the issue is we don't disquish between an empty overloaded set and one
that needs to be looked up later.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36883



[Bug target/37137] unrecognized command line option -minterlink-mips16

2008-08-16 Thread michael dot a dot richmond at nasa dot gov


--- Comment #2 from michael dot a dot richmond at nasa dot gov  2008-08-17 
00:21 ---
(In reply to comment #1)
 Hmm, what version of GCC are you starting with?

[EMAIL PROTECTED]:~$ gcc -v
Using built-in specs.
Target: mips-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu
--enable-libstdcxx-debug --enable-mpfr --disable-libssp
--enable-checking=release mips-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37137



[Bug c++/37142] New: [4.2/4.3 Regression] ICE: in dependent_type_p, at cp/pt.c:15585

2008-08-16 Thread annan dot h at gmail dot com
g++ version information:
works on 
  g++-4.1 (GCC) 4.1.3 20080308 (prerelease) (Ubuntu 4.1.2-21ubuntu1)
  Comeau 4.3.10.1
  icc 10.1

fails to work on 
  g++ (GCC) 4.2.3 (Ubuntu 4.2.3-2ubuntu7)
  g++ (Ubuntu 20080404-0ubuntu1) 4.3.1 20080404 (prerelease) [gcc-4_3-branch
revision 133917]
  g++ (Ubuntu 20080607-0ubuntu1~ppa1) 4.3.1 (A test package containing the
4.3.1 official release)*
  g++ (GCC) 4.3.2 20080814 (prerelease) (compiled from source snapshot)

*http://ppa.launchpad.net/ubuntu-toolchain/ubuntu/pool/main/g/gcc-snapshot/

I'll use the 4.3.2 prerelease branch for the error.
[EMAIL PROTECTED]:~/proj/yafft$ ~/opt/gcc-snapshot/bin/g++ testcase.cpp
testcase.cpp: In function ‘int main(int, char**)’:
testcase.cpp:44: internal compiler error: in dependent_type_p, at cp/pt.c:15585

Code to reproduce is 
 code starts 
static long s_value = 0l;

templatetypename A,
 const A a,
 template typename _A, _A _a class AA
struct A_struct {
  void
  fn(typename AAA, a::t a_) {
a_.fn();
  }
};

templatetypename B,
 const B b,
 class VALUE_OPS
struct B_impl {
  void
  fn() {
s_value = VALUE_OPS::fn(b);
  }
};

struct value_ops {
  static inline long fn(const long l) { return l+1l; }
};

templatetypename B,
 const B b
struct B_struct {
  typedef B_implB,
 b,
 value_ops t;
};

#define VALTYPE long
#define VALVAL 0l

int main(int argc, char **argv) {
  B_structVALTYPE, VALVAL::t b;
  A_structVALTYPE, VALVAL, B_struct a;
  a.fn(b);
}
 code ends 


-- 
   Summary: [4.2/4.3 Regression] ICE: in dependent_type_p, at
cp/pt.c:15585
   Product: gcc
   Version: 4.2.3
Status: UNCONFIRMED
  Severity: normal
  Priority: P3
 Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: annan dot h at gmail dot com
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37142



[Bug c++/37142] [4.2/4.3 Regression] ICE: in dependent_type_p, at cp/pt.c:15585

2008-08-16 Thread annan dot h at gmail dot com


--- Comment #1 from annan dot h at gmail dot com  2008-08-17 03:37 ---
Created an attachment (id=16078)
 -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16078action=view)
The preprocessor output

This is the complete output from the 4.3.2 2008-08-14 snapshot compiler:
[EMAIL PROTECTED]:~/proj/yafft$ ~/opt/gcc-snapshot/bin/g++ -v -save-temps
testcase.cpp
Using built-in specs.
Target: x86_64-unknown-linux-gnu
Configured with: ./configure --prefix=/home/aharley/opt/gcc-snapshot
--with-gmp-include=/home/aharley/opt/gcc-snapshot-20080814/gmp-4.2.3
--with-gmp-lib=/home/aharley/opt/gcc-snapshot-20080814/gmp-4.2.3/.libs
--with-mpfr-include=/home/aharley/opt/gcc-snapshot-20080814/mpfr-2.3.1
--with-mpfr-lib=/home/aharley/opt/gcc-snapshot-20080814/mpfr-2.3.1/.libs
Thread model: posix
gcc version 4.3.2 20080814 (prerelease) (GCC) 
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-shared-libgcc' '-mtune=generic'

/home/aharley/opt/gcc-snapshot/libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/cc1plus
-E -quiet -v -D_GNU_SOURCE testcase.cpp -mtune=generic -fpch-preprocess -o
testcase.ii
ignoring nonexistent directory
/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../x86_64-unknown-linux-gnu/include
#include ... search starts here:
#include ... search starts here:

/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2

/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2/x86_64-unknown-linux-gnu

/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/../../../../include/c++/4.3.2/backward
 /usr/local/include
 /home/aharley/opt/gcc-snapshot/include
 /home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include

/home/aharley/opt/gcc-snapshot/lib/gcc/x86_64-unknown-linux-gnu/4.3.2/include-fixed
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-shared-libgcc' '-mtune=generic'

/home/aharley/opt/gcc-snapshot/libexec/gcc/x86_64-unknown-linux-gnu/4.3.2/cc1plus
-fpreprocessed testcase.ii -quiet -dumpbase testcase.cpp -mtune=generic
-auxbase testcase -version -o testcase.s
GNU C++ (GCC) version 4.3.2 20080814 (prerelease) (x86_64-unknown-linux-gnu)
compiled by GNU C version 4.3.2 20080814 (prerelease), GMP version
4.2.3, MPFR version 2.3.1.
warning: GMP header version 4.2.3 differs from library version 4.2.2.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: 80ec3039ff5fe7ccb66ff77fc31930a8
testcase.cpp: In function ‘int main(int, char**)’:
testcase.cpp:42: internal compiler error: in dependent_type_p, at cp/pt.c:15585
Please submit a full bug report,
with preprocessed source if appropriate.
See http://gcc.gnu.org/bugs.html for instructions.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37142