[Bug c++/17829] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:35 
---
Reduced to:
class QString {};

class QFontDatabase
{
static void findFont();
static void parseFontName(const QString name, QString foundry, QString family);
};  

static void parseFontName(const QString name, QString foundry, QString family){}

void QFontDatabase::findFont( )
{   
QString family_name, foundry_name, family;
parseFontName( family, foundry_name, family_name );
}

-- 


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


[Bug c++/17829] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:36 
---
: Search converges between 2004-09-27-014001-trunk (#563) and 2004-09-27-161002-trunk 
(#564).



-- 


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


[Bug rtl-optimization/17544] [4.0 Regression] incorrect -Wunreachable-code warning for reachable code following a do statement

2004-10-04 Thread giovannibajo at libero dot it

--- Additional Comments From giovannibajo at libero dot it  2004-10-04 12:37 
---
The implicit return statement is added within cp/decl.c:finish_function:

  if (DECL_MAIN_P (current_function_decl))
{
  /* Make it so that `main' always returns 0 by default.  */
#if VMS_TARGET
  finish_return_stmt (integer_one_node);
#else
  finish_return_stmt (integer_zero_node);
#endif
}




-- 


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


[Bug c++/17544] [4.0 Regression] incorrect -Wunreachable-code warning for reachable code following a do statement

2004-10-04 Thread giovannibajo at libero dot it

--- Additional Comments From giovannibajo at libero dot it  2004-10-04 12:38 
---
Setting this as C++ bug, the C++ frontend should mark the statement in some 
special way that middle-end can later detect to avoid the warning.

-- 
   What|Removed |Added

 CC||giovannibajo at libero dot
   ||it
  Component|rtl-optimization|c++


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


[Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:39 
---
Note if I change QString to be just an int, we accept the code.

Confirmed, we should find the class version as we do with changing QString to be an 
int.

-- 
   What|Removed |Added

   Severity|normal  |critical
 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Keywords||rejects-valid
  Known to fail||3.4.3 4.0.0
  Known to work||3.4.0
   Last reconfirmed|-00-00 00:00:00 |2004-10-04 12:39:52
   date||
Summary|wrong error: call of|[3.4/4.0 Regression] wrong
   |overloaded function is  |error: call of  overloaded
   |ambiguous   |function is ambiguous
   Target Milestone|--- |3.4.3


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


[Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:43 
---
Related to bug 17801 which was caused by the same patch.

-- 
   What|Removed |Added

 CC||mmitchel at gcc dot gnu dot
   ||org
  Known to work|3.4.0   |3.4.2


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


[Bug c/16202] The -Wsequence-point warnng misses many important instances

2004-10-04 Thread jsm at polyomino dot org dot uk

--- Additional Comments From jsm at polyomino dot org dot uk  2004-10-04 12:44 
---
Subject: Re:  The -Wsequence-point warnng misses many important
 instances

On Mon, 4 Oct 2004, giovannibajo at libero dot it wrote:

 JSM, can you have a look at this patch? It is said to be fully 
 functional already, so it would be a shame if it did not make it into 
 4.0 just for lack of attention.

I don't see either a testcase or a patch to the existing 
gcc.dg/sequence-pt-1.c to remove XFAILs in this patch.  A complete 
submission including tests should be sent to gcc-patches.



-- 


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


[Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread nathan at gcc dot gnu dot org

--- Additional Comments From nathan at gcc dot gnu dot org  2004-10-04 12:44 
---
Doesn't koenig lookup apply?  That'll pull in ::parseFontName because of
::QString

-- 


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


[Bug c++/13717] duplicated parameter name not caught ?

2004-10-04 Thread bangerth at dealii dot org

--- Additional Comments From bangerth at dealii dot org  2004-10-04 12:45 ---
As mentioned in PR 17786 by Nathan: 
 
correct. there is a related bug in that we fail to compile things like 
 
void foo (int x, int ary[sizeof(x)]); 

-- 
   What|Removed |Added

  Known to fail|3.3.2 3.4.0 4.0 |3.3.2 3.4.0 4.0.0


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


[Bug tree-optimization/17671] PHI-OPT is not smart enough

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:45 
---
Posted a new patch here: http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00221.html.

-- 


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


[Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:46 
---
I don't know but Comeau C++ online tester accepts the code.

-- 


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


[Bug rtl-optimization/17825] [3.4/4.0 Regression] ICE in reg_bitfield_target_p

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:49 
---
Confirmed on the mainline.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
  Known to fail||4.0.0
   Last reconfirmed|-00-00 00:00:00 |2004-10-04 12:49:30
   date||


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


[Bug target/17771] -O2 -mmvcle: internal compiler error: in spill_failure, at reload1.c:1915

2004-10-04 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

  Known to fail||3.3.2


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


[Bug target/17773] -O2: internal compiler error: in sched_analyze_2, at sched-deps.c:757

2004-10-04 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

  Known to fail||3.3.2


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


[Bug target/17774] -O2: internal compiler error: in choose_reload_regs, at reload1.c:5861

2004-10-04 Thread pinskia at gcc dot gnu dot org


-- 
   What|Removed |Added

  Known to fail||3.3.2


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


[Bug target/17824] Hard-coded AS and LD in c4x.h

2004-10-04 Thread ralf_corsepius at rtems dot org

--- Additional Comments From ralf_corsepius at rtems dot org  2004-10-04 12:51 
---
1. The PR is against 3.4-branch, because this is what I am using, what I tested
the patch with and what I am reporting the bug against.

2. The patch applies to HEAD without changes.

3. Why is GCC asking to file PRs to bugzilla, if they are requested to post
patch proposals to gcc-patches afterwards. Sorry, but this is just ineffective.

-- 


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


[Bug target/17824] Hard-coded AS and LD in c4x.h

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 12:54 
---
Because normally if you have a patch you just post it in the first place to 
gcc-patches@ and bypass 
bugzilla and only make a new bug iff you patch is ignored.

-- 


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


[Bug bootstrap/17817] [4.0 Regression] restage[1,2,3] and then bootstrap no longer cause build dir to be rebuilt

2004-10-04 Thread kcook at gcc dot gnu dot org


-- 
   What|Removed |Added

 Status|UNCONFIRMED |ASSIGNED
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-04 13:06:07
   date||


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


[Bug fortran/17612] ICE in gfortran

2004-10-04 Thread pbrook at gcc dot gnu dot org

--- Additional Comments From pbrook at gcc dot gnu dot org  2004-10-04 13:12 
---
Fixed. 

-- 
   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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


[Bug libgcj/17438] clean up thread native state using phantom reference

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 13:12 
---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2004-10-04 13:12:51
   date||


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


[Bug target/17824] Hard-coded AS and LD in c4x.h

2004-10-04 Thread ralf_corsepius at rtems dot org

--- Additional Comments From ralf_corsepius at rtems dot org  2004-10-04 13:22 
---
1. I am used to my patches being ignored :(
Therefore I usually attach them to a PR they are trying to solve to prevent them
from being ignored.

2. Note that http://gcc.gnu.org/contribute.html doesn't even mention gcc-patches@

3. I would expect PRs in bugzilla to become assigned to somebody (maintainer)
who will take care about it and process it.

Anyway, I'll once again, duplicate this PR and try to send it to gcc-patches@,
if I should I manage to convince gcc-patches@'s broken spam filter to let me
send. All in all pretty unpleasant for a trivial 4-liner patch and not
necessarily encouraging to contribute further patches.



-- 


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


[Bug target/17824] Hard-coded AS and LD in c4x.h

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 13:28 
---
For number 2, read which is on the contribute page:
When you have all these pieces, bundle them up in a mail message and send it to the 
appropriate 
mailing list(s). (Patches will go to one or more lists depending on what you are 
changing.) For further 
information on the GCC CVS repository, see the Anonymous read-only CVS access and 
Read-write CVS 
access pages.

And mailing list is a link to lists.html which says gcc-patches is the appropriate 
mailing list:
All patches (including those for front ends and web  pages) and all discussion for a 
particular patch 
should be sent to this  list.

-- 


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


[Bug middle-end/16973] [4.0 Regression] Differences between addresses of labels broken

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 14:29 
---
Mine, I have a fix will send it out soon.

-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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


[Bug middle-end/15014] [4.0 regression] labels after are removed even though they are used

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 14:29 
---
Mine I will send it out soon.

-- 
   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED


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


[Bug middle-end/15014] [4.0 regression] labels after are removed even though they are used

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 14:46 
---
Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00246.html.

-- 
   What|Removed |Added

   Keywords||patch


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


[Bug middle-end/16973] [4.0 Regression] Differences between addresses of labels broken

2004-10-04 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-04 14:46 
---
Patch here: http://gcc.gnu.org/ml/gcc-patches/2004-10/msg00246.html.

-- 
   What|Removed |Added

   Keywords||patch


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


[Bug ada/13897] gnat does not implement tasking on powerpc

2004-10-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-04 15:01 
---
Subject: Bug 13897

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-04 15:01:52

Modified files:
gcc/ada: Makefile.in ChangeLog 
Added files:
gcc/ada: i-vxwork-x86.ads system-linux-ppc.ads 

Log message:
2004-10-04  Bernard Banner  [EMAIL PROTECTED]

PR ada/13897

* Makefile.in: Add section for powerpc linux
Add variant i-vxwork-x86.ads

* i-vxwork-x86.ads, system-linux-ppc.ads: New files.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/i-vxwork-x86.ads.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/system-linux-ppc.ads.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/Makefile.in.diff?cvsroot=gccr1=1.95r2=1.96
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ada/ChangeLog.diff?cvsroot=gccr1=1.592r2=1.593



-- 


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


[Bug ada/13897] gnat does not implement tasking on powerpc

2004-10-04 Thread charlet at gcc dot gnu dot org

--- Additional Comments From charlet at gcc dot gnu dot org  2004-10-04 15:04 
---
Implemented on mainline.

-- 
   What|Removed |Added

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


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


[Bug c++/17829] [3.4/4.0 Regression] wrong error: call of overloaded function is ambiguous

2004-10-04 Thread nathan at gcc dot gnu dot org

--- Additional Comments From nathan at gcc dot gnu dot org  2004-10-04 15:12 
---
ah, [3.4.2]/2a says koenig is not done when regular lookup finds a member fn.
Forgot that bit.

-- 


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


[Bug libfortran/17706] reading a value of 0.0 gives a value of -0.0

2004-10-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-04 15:32 
---
Subject: Bug 17706

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-04 15:32:13

Modified files:
gcc/testsuite  : ChangeLog 
libgfortran: ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: pr17706.f90 

Log message:
2004-10-04  Paul Brook  [EMAIL PROTECTED]
Bud Davis  [EMAIL PROTECTED]

PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.4379r2=1.4380
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr17706.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.95r2=1.96



-- 


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


[Bug libfortran/16434] gfortran SP edit descriptor failure: test f77-edit-s-out.f

2004-10-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-04 15:32 
---
Subject: Bug 16434

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-04 15:32:13

Modified files:
gcc/testsuite  : ChangeLog 
libgfortran: ChangeLog 
Added files:
gcc/testsuite/gfortran.dg: pr17706.f90 

Log message:
2004-10-04  Paul Brook  [EMAIL PROTECTED]
Bud Davis  [EMAIL PROTECTED]

PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/ChangeLog.diff?cvsroot=gccr1=1.4379r2=1.4380
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/pr17706.f90.diff?cvsroot=gccr1=NONEr2=1.1
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/ChangeLog.diff?cvsroot=gccr1=1.95r2=1.96



-- 


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


[Bug libfortran/17706] reading a value of 0.0 gives a value of -0.0

2004-10-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-04 15:33 
---
Subject: Bug 17706

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-04 15:33:18

Modified files:
gcc/testsuite/gfortran.dg/g77: f77-edit-s-out.f 
libgfortran/io : format.c write.c 

Log message:
2004-10-04  Paul Brook  [EMAIL PROTECTED]
Bud Davis  [EMAIL PROTECTED]

PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.

Actually apply the patch this time.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/f77-edit-s-out.f.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/format.c.diff?cvsroot=gccr1=1.6r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/write.c.diff?cvsroot=gccr1=1.15r2=1.16



-- 


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


[Bug libfortran/16434] gfortran SP edit descriptor failure: test f77-edit-s-out.f

2004-10-04 Thread cvs-commit at gcc dot gnu dot org

--- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-10-04 15:33 
---
Subject: Bug 16434

CVSROOT:/cvs/gcc
Module name:gcc
Changes by: [EMAIL PROTECTED]   2004-10-04 15:33:18

Modified files:
gcc/testsuite/gfortran.dg/g77: f77-edit-s-out.f 
libgfortran/io : format.c write.c 

Log message:
2004-10-04  Paul Brook  [EMAIL PROTECTED]
Bud Davis  [EMAIL PROTECTED]

PR fortran/17706
PR fortran/16434
* io/format.c (parse_format_list): Set repeat count for S, SP, SS,
BN and BZ formats.
* io/write.c (output_float): Don't output minus zero.
libgfortran/
* gfortran/pr17706.f90: New test.
* gfortran.dg/g77/f77-edit-s-out.f: Remove xfail.

Actually apply the patch this time.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/testsuite/gfortran.dg/g77/f77-edit-s-out.f.diff?cvsroot=gccr1=1.1r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/format.c.diff?cvsroot=gccr1=1.6r2=1.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libgfortran/io/write.c.diff?cvsroot=gccr1=1.15r2=1.16



-- 


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