public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl'
@ 2004-04-18  3:42 mckelvey at maskull dot com
  2004-04-18  3:54 ` [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: " pinskia at gcc dot gnu dot org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mckelvey at maskull dot com @ 2004-04-18  3:42 UTC (permalink / raw)
  To: gcc-bugs

Latest CVS:

alpha1:PD>uname -a
Linux alpha1 2.4.9-40 #1 Mon Sep 23 08:14:02 EDT 2002 alpha unknown

alpha1:gcc-obj>g++ -v
Reading specs from /usr/local/lib/gcc/alphaev56-unknown-linux-gnu/3.5.0/specs
Configured with: ../gcc/configure --verbose --enable-languages=c++
Thread model: posix
gcc version 3.5.0 20040207 (experimental)

stage1/xgcc -Bstage1/ -B/usr/local/alphaev56-unknown-linux-gnu/bin/ -c   -O
-DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Werror
-fno-common   -DHAVE_CONFIG_H    -I. -I. -I../../gcc/gcc -I../../gcc/gcc/.
-I../../gcc/gcc/../include  ../../gcc/gcc/builtins.c -o builtins.o
../../gcc/gcc/builtins.c: In function `fold_builtin_cabs':
../../gcc/gcc/builtins.c:5947: warning: unused parameter 'fndecl'
gmake[2]: *** [builtins.o] Error 1
gmake[2]: Leaving directory `/usr/home/mckelvey/software/gcc-obj/gcc'
gmake[1]: *** [stage2_build] Error 2
gmake[1]: Leaving directory `/usr/home/mckelvey/software/gcc-obj/gcc'
gmake: *** [bootstrap] Error 2

-- 
           Summary: Build failure in stage1: unused parameter 'fndecl'
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: mckelvey at maskull dot com
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: alphaev56-unknown-linux-gnu
  GCC host triplet: alphaev56-unknown-linux-gnu
GCC target triplet: alphaev56-unknown-linux-gnu


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: unused parameter 'fndecl'
  2004-04-18  3:42 [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl' mckelvey at maskull dot com
@ 2004-04-18  3:54 ` pinskia at gcc dot gnu dot org
  2004-04-18 15:55 ` [Bug c/14999] " pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18  3:54 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-18 02:51 -------
Confirmed, but I do not know this does not cause a failure on most other targets even with --enable-
werror.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|UNCONFIRMED                 |NEW
          Component|c++                         |bootstrap
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-04-18 02:51:04
               date|                            |
            Summary|Build failure in stage1:    |[3.5 Regression] Build
                   |unused parameter 'fndecl'   |failure in stage2: unused
                   |                            |parameter 'fndecl'
   Target Milestone|---                         |3.5.0


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug c/14999] [3.5 Regression] Build failure in stage2: unused parameter 'fndecl'
  2004-04-18  3:42 [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl' mckelvey at maskull dot com
  2004-04-18  3:54 ` [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: " pinskia at gcc dot gnu dot org
@ 2004-04-18 15:55 ` pinskia at gcc dot gnu dot org
  2004-04-18 17:13 ` [Bug bootstrap/14999] " pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 15:55 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-18 15:45 -------
Looks like targeting alphaev56-unknown-linux-gnu, the function, fold_builtin_cabs, is too 
big to inline so it is emitted instead which causes this warning to show up, there is 
another bug which I will find/file:
static int t(int i)
{
  return 0;
}
int tt()
{
  return t(0);
}

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|bootstrap                   |c


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: unused parameter 'fndecl'
  2004-04-18  3:42 [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl' mckelvey at maskull dot com
  2004-04-18  3:54 ` [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: " pinskia at gcc dot gnu dot org
  2004-04-18 15:55 ` [Bug c/14999] " pinskia at gcc dot gnu dot org
@ 2004-04-18 17:13 ` pinskia at gcc dot gnu dot org
  2004-04-19 14:18 ` cvs-commit at gcc dot gnu dot org
  2004-04-19 14:19 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-18 17:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-18 15:55 -------
Okay I filed it under PR 15004.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |bootstrap


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: unused parameter 'fndecl'
  2004-04-18  3:42 [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl' mckelvey at maskull dot com
                   ` (2 preceding siblings ...)
  2004-04-18 17:13 ` [Bug bootstrap/14999] " pinskia at gcc dot gnu dot org
@ 2004-04-19 14:18 ` cvs-commit at gcc dot gnu dot org
  2004-04-19 14:19 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2004-04-19 14:18 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2004-04-19 13:03 -------
Subject: Bug 14999

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	pinskia@gcc.gnu.org	2004-04-19 13:03:07

Modified files:
	gcc            : ChangeLog builtins.c bb-reorder.c 

Log message:
	2004-04-19  Andrew PInski  <pinskia@physics.uc.edu>
	
	PR bootstrap/15009
	* bb-reorder.c (fix_up_fall_thru_edges): Init cond_jump.
	
	PR bootstrap/14999
	* builtins.c (fold_builtin_cabs): Mark fndecl as unused.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.3429&r2=2.3430
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/builtins.c.diff?cvsroot=gcc&r1=1.309&r2=1.310
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/bb-reorder.c.diff?cvsroot=gcc&r1=1.70&r2=1.71



-- 


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: unused parameter 'fndecl'
  2004-04-18  3:42 [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl' mckelvey at maskull dot com
                   ` (3 preceding siblings ...)
  2004-04-19 14:18 ` cvs-commit at gcc dot gnu dot org
@ 2004-04-19 14:19 ` pinskia at gcc dot gnu dot org
  4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-04-19 14:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-19 13:03 -------
Fixed.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-04-19 13:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-04-18  3:42 [Bug c++/14999] New: Build failure in stage1: unused parameter 'fndecl' mckelvey at maskull dot com
2004-04-18  3:54 ` [Bug bootstrap/14999] [3.5 Regression] Build failure in stage2: " pinskia at gcc dot gnu dot org
2004-04-18 15:55 ` [Bug c/14999] " pinskia at gcc dot gnu dot org
2004-04-18 17:13 ` [Bug bootstrap/14999] " pinskia at gcc dot gnu dot org
2004-04-19 14:18 ` cvs-commit at gcc dot gnu dot org
2004-04-19 14:19 ` pinskia at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).