[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2008-03-14 Thread rguenth at gcc dot gnu dot org


--- Comment #11 from rguenth at gcc dot gnu dot org  2008-03-14 16:35 
---
Whatever.  Reporter please re-open if not fixed.


-- 

rguenth at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED


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



[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2006-11-30 Thread chaoyingfu at gcc dot gnu dot org


--- Comment #11 from chaoyingfu at gcc dot gnu dot org  2006-11-30 19:25 
---
Subject: Bug 15834

Author: chaoyingfu
Date: Thu Nov 30 19:24:37 2006
New Revision: 119373

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=119373
Log:
Merged revisions 118337-118377 via svnmerge from 
svn+ssh://[EMAIL PROTECTED]/svn/gcc/trunk


  r118337 | charlet | 2006-10-31 12:11:46 -0800 (Tue, 31 Oct 2006) | 2 lines

  Resync.

  r118338 | fxcoudert | 2006-10-31 12:15:22 -0800 (Tue, 31 Oct 2006) | 12 lines

PR fortran/29067

* decl.c (gfc_set_constant_character_len): NULL-terminate the
character constant string.
* data.c (create_character_intializer): Likewise.
* expr.c (gfc_simplify_expr): NULL-terminate the substring
character constant.
* primary.c (match_hollerith_constant): NULL-terminate the
character constant string.

* gfortran.dg/pr29067.f: New test.

  r118339 | fxcoudert | 2006-10-31 12:17:11 -0800 (Tue, 31 Oct 2006) | 2 lines

* ChangeLog: Forgotten ChangeLog entry for previous commit.

  r118340 | charlet | 2006-10-31 12:43:39 -0800 (Tue, 31 Oct 2006) | 2 lines

  Fix typo.

  r118341 | tkoenig | 2006-10-31 12:58:26 -0800 (Tue, 31 Oct 2006) | 18 lines

  2006-10-31  Thomas Koenig  [EMAIL PROTECTED]

PR libfortran/29627
* libgfortran.h: Add ERROR_SHORT_RECORD
* runtime/error.c (translate_error): Add case
for ERROR_SHORT_RECORD.
* io/transfer.c (read_block_direct):  Separate codepaths
for stream and record unformatted I/O.  Remove unneeded
tests for standard input, padding and formatted I/O.
If the record is short, read in as much data as possible,
then raise the error.

  2006-10-31  Thomas Koenig  [EMAIL PROTECTED]

PR libfortran/29627
* gfortran.dg/unf_short_record_1.f90:  New test.

  r118343 | sje | 2006-10-31 14:28:18 -0800 (Tue, 31 Oct 2006) | 4 lines

* inclhack.def (hpux11_extern_sendfile): New.
(hpux11_extern_sendpath): New.
* fixincl.x: Regenerate.

  r118344 | ebotcazou | 2006-10-31 15:29:06 -0800 (Tue, 31 Oct 2006) | 3 lines

  * gcc.c-torture/execute/20061031-1.c: New test.

  r118347 | aldot | 2006-10-31 15:38:58 -0800 (Tue, 31 Oct 2006) | 20 lines

  fortran/ChangeLog:
  2006-11-01  Bernhard Fischer  [EMAIL PROTECTED]

  PR fortran/29537
  * trans-common.c (gfc_trans_common): If the blank common is
  in a procedure or program without a name then proc_name is null, so
use
  the locus of the common.
  (gfc_sym_mangled_common_id): Fix whitespace.
  * match.c (gfc_match_common): Emit warning about blank common in
  block data.

  testsuite/ChangeLog:
  2006-11-01  Bernhard Fischer  [EMAIL PROTECTED]

  PR fortran/29537
  * gfortran.dg/blockdata_1.f90: Add warning about blank common in
block
data.
  * gfortran.dg/blockdata_2.f90: New testcase.

  r118353 | gccadmin | 2006-10-31 16:17:53 -0800 (Tue, 31 Oct 2006) | 1 line

  Daily bump.

  r118355 | sayle | 2006-10-31 18:56:45 -0800 (Tue, 31 Oct 2006) | 10 lines


PR middle-end/23470
* tree.h (tree_expr_nonnegative_p): Return bool instead of int.
* fold-const.c (tree_expr_nonnegative_p): Likewise.  Consider
pow(x,y) and powi(x,y) to be nonnegative if either x is nonnegative
or y is an even integer.

* gcc.dg/pr23470-1.c: New test case.

  r118356 | geoffk | 2006-10-31 20:47:30 -0800 (Tue, 31 Oct 2006) | 27 lines

* c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on
inline static functions in c99 mode.

PR 16622
* doc/extend.texi (Inline): Update.
* c-tree.h (struct language_function): Remove field 'extern_inline'.
* c-decl.c (current_extern_inline): Delete.
(pop_scope): Adjust test for an undefined nested function.
Add warning about undeclared inline function.
(diagnose_mismatched_decls): Update comments.  Disallow overriding
of inline functions in a translation unit in C99.  Allow inline
declarations in C99 at any time.
(merge_decls): Boolize variables.  Handle C99 'extern inline'
semantics.
(grokdeclarator): Set DECL_EXTERNAL here for functions.  Handle
C99 inline semantics.
(start_function): Don't clear current_extern_inline.  Don't set
DECL_EXTERNAL.
(c_push_function_context): Don't push current_extern_inline.
(c_pop_function_context): Don't restore current_extern_inline.

PR 11377
* c-typeck.c (build_external_ref): Warn about static variables
used in extern inline functions.
* c-decl.c (start_decl): Warn about static variables declared
in extern inline functions.

  r118357 | geoffk | 2006-10-31 20:48:15 -0800 (Tue, 31 

[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2006-10-31 Thread geoffk at gcc dot gnu dot org


--- Comment #9 from geoffk at gcc dot gnu dot org  2006-11-01 04:53 ---
Subject: Bug 15834

Author: geoffk
Date: Wed Nov  1 04:53:33 2006
New Revision: 118358

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=118358
Log:
PR 15834
* config/darwin.h (NO_IMPLICIT_EXTERN_C): Define.

Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/darwin.h


-- 


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



[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2006-10-31 Thread geoffk at gcc dot gnu dot org


--- Comment #10 from geoffk at gcc dot gnu dot org  2006-11-01 05:37 ---
I can't tell if this bug is fixed.  However, Darwin now has
NO_IMPLICIT_EXTERN_C set.


-- 

geoffk at gcc dot gnu dot org changed:

   What|Removed |Added

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


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



[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2006-10-16 Thread geoffk at gcc dot gnu dot org


-- 

geoffk at gcc dot gnu dot org changed:

   What|Removed |Added

   Target Milestone|--- |4.3.0


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



[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2006-10-03 Thread geoffk at gcc dot gnu dot org


--- Comment #8 from geoffk at gcc dot gnu dot org  2006-10-03 20:27 ---
Fixed with http://gcc.gnu.org/ml/gcc-patches/2006-05/msg01398.html, queued
for 4.3.


-- 

geoffk at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |geoffk at gcc dot gnu dot
   |dot org |org
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-12-10 05:32:28 |2006-10-03 20:27:42
   date||


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



[Bug target/15834] NO_IMPLICIT_EXTERN_C should be gotten rid of

2004-12-07 Thread hp at gcc dot gnu dot org

--- Additional Comments From hp at gcc dot gnu dot org  2004-12-07 13:18 
---
Just to mention that arm-elf has the same oversight; missing
NO_IMPLICIT_EXTERN_C.  (The only define of it in config/arm, is in
config/arm/linux-elf.h.)

-- 


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