Bug#363456: gcc-4.0: [Patch] Support PIE for M32R

2006-04-19 Thread Kazuhiro Inaoka

Package: gcc-4.0
Version: 4.0.3-1
Severity: wishlist
Tags: patch

Could you please add the following patch ?
This patch is to support PIE option.
It was applied to gcc-4.1-branch.

Regards,
Kazuhiro Inaoka
#! /bin/sh -e
# 
#
# DP: Author: Kazuhiro Inaoka
# DP: Status: in CVS 4.1-branch
# DP: PIE Support

if [ $# -eq 3 ] && [ "$2" = '-d' ]; then
pdir="-d $3"
dir="$3/"
elif [ $# -ne 1 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
   -patch) patch $pdir -f --no-backup-if-mismatch -p1 < $0;;
   -unpatch) patch $pdir -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as 
argument"
exit 1;;
esac

exit 0

--- gcc-3.4.4/gcc/config.gcc.org2006-04-19 16:16:31.0 +0900
+++ gcc-3.4.4/gcc/config.gcc2006-04-19 16:17:07.0 +0900
@@ -1293,7 +1293,6 @@
;;
 m32r-*-linux*)
tm_file="dbxelf.h elfos.h svr4.h linux.h ${tm_file} m32r/linux.h"
-   extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
# We override the tmake_file for linux -- why?
tmake_file="t-slibgcc-elf-ver m32r/t-linux"
gnu_ld=yes
@@ -1304,7 +1303,6 @@
;;
 m32rle-*-linux*)
tm_file="dbxelf.h elfos.h svr4.h linux.h m32r/little.h ${tm_file} 
m32r/linux.h"
-   extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
# We override the tmake_file for linux -- why?
tmake_file="t-slibgcc-elf-ver m32r/t-linux"
gnu_ld=yes
--- gcc-3.4.4/gcc/config/m32r/m32r.h.org2005-07-29 19:22:12.0 
+0900
+++ gcc-3.4.4/gcc/config/m32r/m32r.h2005-07-29 19:24:34.0 +0900
@@ -191,7 +191,7 @@
 
 /* Options to pass on to the assembler.  */
 #undef  ASM_SPEC
-#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic:-K PIC} %{fPIC:-K PIC}"
+#define ASM_SPEC "%{v} %(asm_cpu) %(relax) %{fpic|fpie:-K PIC} %{fPIC|fPIE:-K 
PIC}"
 
 #define LINK_SPEC "%{v} %(link_cpu) %(relax)"
 
--- gcc-3.4.4/gcc/config/m32r/linux.h.org   2005-07-29 19:22:21.0 
+0900
+++ gcc-3.4.4/gcc/config/m32r/linux.h   2005-07-29 19:24:50.0 +0900
@@ -85,14 +85,20 @@
 %{profile:-lc_p} %{!profile: -lc}}"
 
 #undef  STARTFILE_SPEC
+#if defined HAVE_LD_PIE
+#define STARTFILE_SPEC \
+  "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}} \
+  crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
+#else
 #define STARTFILE_SPEC \
   "%{!shared: \
  %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}}\
crti.o%s %{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}"
+#endif
 
 #undef  ENDFILE_SPEC
 #define ENDFILE_SPEC \
-  "%{!shared:crtend.o%s} %{shared:crtendS.o%s} crtn.o%s"
+  "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
 
 #undef  SUBTARGET_CPP_SPEC
 #define SUBTARGET_CPP_SPEC "\


[Bug tree-optimization/27207] ICE: verify_cgraph_node failed

2006-04-19 Thread pinskia at gcc dot gnu dot org


--- Comment #3 from pinskia at gcc dot gnu dot org  2006-04-19 03:00 ---
This worked with "4.2.0 20060409".


-- 


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug tree-optimization/27207] [4.2 Regression] ICE: verify_cgraph_node failed

2006-04-19 Thread pinskia at gcc dot gnu dot org


--- Comment #4 from pinskia at gcc dot gnu dot org  2006-04-19 03:02 ---
Actually never mind, it is the -Werror I missed which makes this is a dup of
bug 25776.

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


-- 

pinskia at gcc dot gnu dot org changed:

   What|Removed |Added

 CC||pinskia at gcc dot gnu dot
   ||org
 Status|UNCONFIRMED |RESOLVED
   Keywords||ice-on-valid-code
 Resolution||DUPLICATE
Summary|ICE: verify_cgraph_node |[4.2 Regression] ICE:
   |failed  |verify_cgraph_node failed
   Target Milestone|--- |4.2.0


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#363119: Log for failed build of estraier_1.2.28-1 (dist=unstable)

2006-04-19 Thread Martin Michlmayr
powerpc:

> Automatic build of estraier_1.2.28-1 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> powerpc-linux-gnu-gcc -c -I. -I/usr/include/qdbm -I/home/tbm/include 
> -I/usr/local/include  -DMYREGEX -DMYDLFILTER -DMYCJKUNI -DMYHAVE_UNISTD_H 
> -DMYHAVE_ERRNO_H -DMYHAVE_SYS_TYPES_H -DMYHAVE_SYS_TIME_H -DMYHAVE_SYS_WAIT_H 
> -DMYHAVE_SYS_SELECT_H -DMYHAVE_SYS_SOCKET_H -DMYHAVE_NETINET_IN_H 
> -DMYHAVE_ARPA_INET_H -DMYHAVE_NETDB_H -DMYHAVE_FCNTL_H 
> -D_EST_VERSION=\"1.2.28\" -D_EST_PREFIX=\"/usr\" -D_EST_BINDIR=\"/usr/bin\" 
> -D_EST_LEXEDIR=\"/usr/lib/estraier\" -D_EST_DATADIR=\"/usr/share/estraier\" 
> -D_XOPEN_SOURCE_EXTENDED=1 -D_GNU_SOURCE=1 -D__EXTENSIONS__=1 
> -D_HPUX_SOURCE=1 -Wall -fsigned-char -O2 -fomit-frame-pointer -DNDEBUG 
> estcommon.c
> estcommon.c: In function 'esthtmlrawtext':
> estcommon.c:1103: internal compiler error: in check_reg_live, at 
> haifa-sched.c:4652
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://gcc.gnu.org/bugs.html> for instructions.
> make[1]: *** [estcommon.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#363119: Log for failed build of libgsf_1.14.0-1 (dist=oldstable)

2006-04-19 Thread Martin Michlmayr
powerpc:

> Automatic build of libgsf_1.14.0-1 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
>  gcc -DHAVE_CONFIG_H -I. -I../../gsf -I.. -I../.. -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 
> -DGNOMELOCALEDIR=\"/usr/share/locale\" -O2 -Wall -Wmissing-prototypes 
> -Wnested-externs -Wpointer-arith -Wno-sign-compare -DG_DISABLE_DEPRECATED 
> -Wno-system-headers -Wfloat-equal -Wpointer-arith -Wbad-function-cast 
> -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes 
> -Wmissing-prototypes -Wmissing-declarations -Wformat -Wnested-externs 
> -Winline -Wdeclaration-after-statement -Wundef -W -Wmissing-noreturn 
> -Wmissing-format-attribute -Wno-pointer-sign -MT gsf-input-gzip.lo -MD -MP 
> -MF .deps/gsf-input-gzip.Tpo -c ../../gsf/gsf-input-gzip.c  -fPIC -DPIC -o 
> .libs/gsf-input-gzip.o
> ../../gsf/gsf-input-gzip.c: In function 'gsf_input_gzip_read':
> ../../gsf/gsf-input-gzip.c:332: internal compiler error: in check_reg_live, 
> at haifa-sched.c:4652
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://gcc.gnu.org/bugs.html> for instructions.
> make[3]: *** [gsf-input-gzip.lo] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#363119: Log for failed build of binutils_2.16.1cvs20060117-1 (dist=stable)

2006-04-19 Thread Martin Michlmayr
powerpc:

> Automatic build of binutils_2.16.1cvs20060117-1 on 
> test.track.rz.uni-augsburg.de by sbuild/powerpc 0.44
...
> gcc -DHAVE_CONFIG_H -I. -I../../gprof -I. -D_GNU_SOURCE -DDEBUG -I../bfd 
> -I../../gprof/../include -I../../gprof/../bfd -I../../gprof/../intl -I../intl 
> -I. -DLOCALEDIR="\"/usr/share/locale\""   -W -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Werror -g -O2 -c ../../gprof/cg_print.c
> ../../gprof/cg_print.c: In function 'order_and_dump_functions_by_arcs':
> ../../gprof/cg_print.c:1218: internal compiler error: in check_reg_live, at 
> haifa-sched.c:4665
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See http://gcc.gnu.org/bugs.html> for instructions.
> make[5]: *** [cg_print.o] Error 1

-- 
Martin Michlmayr
http://www.cyrius.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error

2006-04-19 Thread reichelt at gcc dot gnu dot org


--- Comment #5 from reichelt at gcc dot gnu dot org  2006-04-19 13:25 
---
Testing a patch.


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

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


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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Patch] #9: libgnatprj

2006-04-19 Thread Ludovic Brenta
I'm sending this patch a couple of days earlier than anticipated.

The new file, ada-libgnatprj.dpatch, continues the trend started in
ada-link-lib.dpatch and ada-libgnatvsn.dpatch.  It introduces a new
shared libary, named libgnatprj wirh soname libgnatprj.so.4.1.
libgnatprj contains the GNAT Project Manager, i.e. the parts of the
GNAT tools that parse and process GNAT project files (*.gpr).  This
new library relies on libgnatvsn, and is linked against it.  The new
.dpatch file then links the GNAT tools dynamically against all three
libraries (libgnat-4.1, libgnatvsn and libgnatprj).  Finally, it
creates two new binary packages, libgnatprj-dev and libgnatprj4.1.

Here are some numbers I collected over the past couple of weeks; these
are the sizes of the GNAT tools, in bytes, on i386, after stripping.

tool  static  libgnat   libgnatvsn   libgnatprj
---
gnat  922.544 773.104  732.264  162.724
gnatbind  767.384 658.820  357.500  156.244
gnatbl 18.144  18.1489.7846.964
gnatchop  269.264 113.928   57.972   58.332
gnatclean 891.216 771.760  729.384   95.208
gnatfind  430.864 255.280  201.240  119.904
gnatkr 86.128  76.536   10.284   10.620
gnatlink  313.960 288.840  225.468   73.684
gnatls826.032 774.432  252.648   48.216
gnatmake1.535.016   1.416.4161.048.136  370.936
gnatname  755.120 577.584  497.864   78.524
gnatprep  530.064 351.352  221.724   91.124
gnatxref  430.864 255.120  200.344  118.528
gprmake   983.824 767.472  716.200  142.044

TOTAL   8.760.424   7.098.7925.260.8121.533.052
Change -1.661.632   -1.837.980   -3.727.760
Change%  -19% -26% -71%
Cumulated change% -40% -83%

Shared library size:2.415.060  905.0441.012.296

The GNAT tools alone benefit greatly from dynamic linking.  Moreover,
I have crafted libgnatvsn and libgnatprj in such a way that I can now
reuse them in ASIS, GLADE and GPS (ASIS only needs libgnatvsn; GPS
needs both libgnatvsn and libgnatprj).

libgnatvsn contains code licensed under the GNAT-Modified GPL; if you
link a program against it, you can distribute the resulting binary
under whatever licencing terms you please.  In contrast, libgnatprj is
licensed under the pure GPL, so if you link a program to it, you must
distribute the resulting binaries under the GPL, or in source-form
only, or keep them to yourself.

With this patch, I have now ported all my changes from gnat 3.15p.
Before I make gcc-4.1 the new default Ada compiler for Debian, there
are still a couple of issues that I'll work on in the near future:

* avoid patching configure, call autoconf instead (per request from
  Matthias Klose).  This applies to ada-link-lib.dpatch,
  ada-libgnatvsn.dpatch and ada-libgnatprj.dpatch.  (We will continue
  to patch Makefile.in instead of running autogen).

* Patch the test suite (src/gcc/testsuite/ada/acats/run_acats) to find
  the GNAT tools in their new home (build/gnattools instead of
  build/gcc), and to find the needed shared libraries.

* Support biarch.  I'll need much help, and new hardware for this.
  Biarch is one of the three main benefits of the move to gcc-4.1 (the
  other two are uniarch support for more architectures, and Ada 2005
  features).

I will appreciate any and all feedback.

-- 
Ludovic Brenta.



gcc-4.1.0-1-patch-9.patch.gz
Description: patch #9: libgnatprj


[Bug libstdc++/19664] libstdc++ headers should have pop/push of the visibility around the declarations

2006-04-19 Thread bkoz at gcc dot gnu dot org


-- 

bkoz at gcc dot gnu dot org changed:

   What|Removed |Added

   Keywords||visibility


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

--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Results for 3.4.6 (Debian 3.4.6-1) testsuite on mipsel-linux-gnu

2006-04-19 Thread Matthias Klose
LAST_UPDATED: Obtained from SVN: tags/gcc_3_4_6_release revision 111785

Native configuration is mipsel-linux-gnu (rem)

=== gpc tests ===


Running target any
FAIL: fjf998r.pas
FAIL: prep2p.pas

=== gpc Summary ===

# of tests5057
# of expected passes  5052
# of unexpected failures  2
# of unsupported tests3
/build/buildd/gcc-3.4-3.4.6/build/gcc/xgpc version 20060215, based on gcc-3.4.6 
(Debian 3.4.6-1)

=== g++ tests ===


Running target unix
FAIL: g++.old-deja/g++.abi/ptrflags.C (test for excess errors)
WARNING: g++.old-deja/g++.abi/ptrflags.C compilation failed to produce 
executable
FAIL: g++.old-deja/g++.eh/catchptr1.C execution test
XPASS: g++.old-deja/g++.jason/thunk3.C execution test
XPASS: g++.old-deja/g++.other/init5.C execution test

=== g++ Summary ===

# of expected passes9920
# of unexpected failures2
# of unexpected successes   2
# of expected failures  66
# of unsupported tests  83
/build/buildd/gcc-3.4-3.4.6/build/gcc/testsuite/../g++  version 3.4.6 (Debian 
3.4.6-1)

=== g77 tests ===


Running target unix

=== g77 Summary ===

# of expected passes1812
# of unsupported tests  6
/build/buildd/gcc-3.4-3.4.6/build/gcc/testsuite/../g77  version 3.4.6 (Debian 
3.4.6-1)

=== gcc tests ===


Running target unix
FAIL: gcc.dg/builtins-18.c (test for excess errors)
XPASS: gcc.dg/sibcall-3.c execution test
XPASS: gcc.dg/sibcall-4.c execution test
FAIL: largefile.c -O0 -g (test for excess errors)
FAIL: largefile.c  -O0  (test for excess errors)
FAIL: largefile.c  -O1  (test for excess errors)
FAIL: largefile.c  -O2  (test for excess errors)
FAIL: largefile.c  -O3 -fomit-frame-pointer  (test for excess errors)
FAIL: largefile.c  -O3 -g  (test for excess errors)
FAIL: largefile.c  -Os  (test for excess errors)
FAIL: mips-abi 64
FAIL: gcc.dg/torture/pr19683-1.c  -O2  execution test
FAIL: gcc.dg/torture/pr19683-1.c  -O3 -fomit-frame-pointer  execution test
FAIL: gcc.dg/torture/pr19683-1.c  -O3 -g  execution test
FAIL: gcc.dg/torture/pr19683-1.c  -Os  execution test

=== gcc Summary ===

# of expected passes24950
# of unexpected failures13
# of unexpected successes   2
# of expected failures  68
# of untested testcases 14
# of unsupported tests  327
/build/buildd/gcc-3.4-3.4.6/build/gcc/xgcc version 3.4.6 (Debian 3.4.6-1)

=== libstdc++ tests ===


Running target unix
XPASS: 22_locale/locale/cons/12658_thread.cc execution test
XPASS: 26_numerics/c99_classification_macros_c.cc (test for excess errors)

=== libstdc++ Summary ===

# of expected passes2737
# of unexpected successes   2
# of expected failures  5

Compiler version: 3.4.6 (Debian 3.4.6-1) 
Platform: mipsel-linux-gnu
configure flags: -v --enable-languages=c,c++,f77,pascal --prefix=/usr 
--libexecdir=/usr/lib --with-gxx-include-dir=/usr/include/c++/3.4 
--enable-shared --with-system-zlib --enable-nls --without-included-gettext 
--program-suffix=-3.4 --enable-__cxa_atexit --enable-clocale=gnu 
--enable-libstdcxx-debug mipsel-linux-gnu
BOOT_CFLAGS=-O2 


Build Dependencies:
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name   Version Description
+++-==-===-==
ii  binutils   2.16.1cvs20060117-1 The GNU assembler, linker and binary 
utilities


Patches that Debian applied in this version:

gcc-textdomain:
  Set gettext's domain and textdomain to the versioned package name.

rename-info-files:
  Allow transformations on info file names. Reference the
  transformed info file names in the texinfo files.

libstdc++-pic:
  Build and install libstdc++_pic.a library.

libstdc++-doclink:
  adjust hrefs to point to the local documentation

libstdc++-doxygen-syntax:
  fix doxygen syntax error in header that causes segfaults with some
  versions

amd64-specs:
  On x86-64 use 64bits mode assembly except with -m32.

gccbug:
  Use sensible-editor instead of vi as fallback editor

gccbug-posix:
  Make gccbug POSIX compliant (patch by David Weinehall)
  http://www.opengroup.org/onlinepubs/009695399/utilities/test.html

hppa-toplevel:
  For hppa-linux enable libgcj and dependent libs in the toplevel directory

hppa-libffi:
  libffi support for hppa

hppa-libjava:
  Enable libjava support for hppa

hppa-libjava-update:
  MD_FALLBACK_FRAME_STATE_FOR definition for pa32-linux

fastjar-update:
  Implement fastjar -u (PR 7854).

fastjar-version:
  Append GCC version to the fastjar version string.

boehm-gc-nocheck:
  Disable the boehm-gc testsuite. Hangs forever on this architecture

libltdl:
  * libltdl.dpatch: Sea

Bug#363619: Spelling mistake in package description

2006-04-19 Thread Simon Waters
Package: gpc
Severity: minor



*** diff/gpc
20c20
<  The current version 2.2 (release candiate 2) implements Standard Pascal
---
>  The current version 2.2 (release candidate 2) implements Standard Pascal


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.2
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error

2006-04-19 Thread patchapp at dberlin dot org


--- Comment #6 from patchapp at dberlin dot org  2006-04-19 21:35 ---
Subject: Bug number PR c++/26558

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-04/msg00725.html


-- 


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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error

2006-04-19 Thread reichelt at gcc dot gnu dot org


--- Comment #7 from reichelt at gcc dot gnu dot org  2006-04-19 22:03 
---
Subject: Bug 26558

Author: reichelt
Date: Wed Apr 19 22:03:24 2006
New Revision: 113096

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113096
Log:
PR c++/26558
* parser.c (cp_parser_class_name): Check for invalid typenames.
Rearrange code.

* g++.dg/parse/template19.C: New test.

Added:
trunk/gcc/testsuite/g++.dg/parse/template19.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/parser.c
trunk/gcc/testsuite/ChangeLog


-- 


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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error

2006-04-19 Thread reichelt at gcc dot gnu dot org


--- Comment #8 from reichelt at gcc dot gnu dot org  2006-04-19 22:07 
---
Subject: Bug 26558

Author: reichelt
Date: Wed Apr 19 22:07:25 2006
New Revision: 113097

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113097
Log:
PR c++/26558
* parser.c (cp_parser_class_name): Check for invalid typenames.
Rearrange code.

* g++.dg/parse/template19.C: New test.

Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/parse/template19.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/parser.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog


-- 


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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error

2006-04-19 Thread reichelt at gcc dot gnu dot org


--- Comment #9 from reichelt at gcc dot gnu dot org  2006-04-19 22:10 
---
Subject: Bug 26558

Author: reichelt
Date: Wed Apr 19 22:10:10 2006
New Revision: 113098

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=113098
Log:
PR c++/26558
* parser.c (cp_parser_class_name): Check for invalid typenames.
Rearrange code.

* g++.dg/parse/template19.C: New test.

Added:
branches/gcc-4_0-branch/gcc/testsuite/g++.dg/parse/template19.C
Modified:
branches/gcc-4_0-branch/gcc/cp/ChangeLog
branches/gcc-4_0-branch/gcc/cp/parser.c
branches/gcc-4_0-branch/gcc/testsuite/ChangeLog


-- 


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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[Bug c++/26558] [4.0/4.1/4.2 Regression] segfault on syntax error

2006-04-19 Thread reichelt at gcc dot gnu dot org


--- Comment #10 from reichelt at gcc dot gnu dot org  2006-04-19 22:12 
---
Fixed on mainline, 4.1 branch, and 4.0 branch.


-- 

reichelt at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED


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

--- You are receiving this mail because: ---
You reported the bug, or are watching the reporter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#341882: binutils fix

2006-04-19 Thread Stuart Anderson


A fix for the binutils problem which is worked around in the patches submitted
to these bugs can be found in #363423.


Stuart

Stuart R. Anderson   [EMAIL PROTECTED]
Network & Software Engineering   http://www.netsweng.com/
1024D/37A79149:  0791 D3B8 9A4C 2CDC A31F
 BD03 0A62 E534 37A7 9149


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]