[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-08-10 Thread tromey at gcc dot gnu dot org
--- Comment #12 from tromey at gcc dot gnu dot org 2008-08-10 22:17 --- I am not sure how that will work. How do you specify a different value of system_header for a single location? My understanding is that sysp is for a whole line_map, so you cannot just change its value

[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-08-10 Thread tromey at gcc dot gnu dot org
--- Comment #14 from tromey at gcc dot gnu dot org 2008-08-11 02:18 --- Just FYI -- I was thinking of PR 36478. I'll respond to the rest later. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7263

[Bug c/21759] Implement warning for codes at the intersection of C and C++

2008-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2008-08-07 20:28 --- See this note for some details on the semantics of this warning, with respect to keywords: http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00808.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21759

[Bug debug/20403] dwarf-3: DW_MACINFO_define - wrong lineno fields for predefined macros

2008-08-07 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-08-07 21:33 --- This works in 4.3, probably due to the switch to mapped locations. I didn't try anything earlier. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

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

2008-08-04 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-08-04 18:31 --- I didn't fix anything. AFAIK the classpath configury still does not check versions. I'm moving this to the classpath product. It should be fixed there. -- tromey at gcc dot gnu dot org changed: What

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

2008-08-04 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2008-08-04 18:32 --- Hmm, I could not get bugzilla to change the product. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32028

[Bug libgcj/31890] Java Namespace error - javaprims.h out of sync

2008-08-04 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-08-04 18:52 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug libgcj/31890] Java Namespace error - javaprims.h out of sync

2008-08-04 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-08-05 01:29 --- Subject: Bug 31890 Author: tromey Date: Tue Aug 5 01:28:26 2008 New Revision: 138664 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=138664 Log: PR libgcj/31890: * gcj/javaprims.h: Regenerate

[Bug c/19541] need another option to support what -I- did just besides -iquote

2008-07-30 Thread tromey at gcc dot gnu dot org
--- Comment #11 from tromey at gcc dot gnu dot org 2008-07-30 17:44 --- Please ping that patch on the gcc-patches list. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19541

[Bug preprocessor/36649] [4.3/4.4 Regression] -H option doesn't work as expected

2008-07-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-07-29 21:26 --- I don't know why line_table was changed into a pointer It was because PCH does not know how to write structs. I agree with your analysis; we have to save that field across PCH loading. -- tromey at gcc dot gnu

[Bug preprocessor/36887] Please report #pragma GCC poison location

2008-07-21 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-07-21 14:36 --- Seems like a reasonable idea to me. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/36847] [4.4 Regression]: FAIL: StackTrace2 -O3 execution - source compiled test

2008-07-18 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-07-18 17:32 --- Just FYI -- this is known fallout from the patch to remove no-unit-at-a-time. Andrew Haley is looking into it. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/33305] We should warn about empty macro arguments

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-07-12 17:06 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug preprocessor/35055] missing path to finclude directory when compiling .F90 files

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-07-12 17:10 --- I tried this and it is fixed on trunk. Closing. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/15185] -M default target - -MT documentation

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-07-12 17:18 --- This was fixed for 4.3, and I think it unlikely that anyone will backport the doc fix. So, I am closing this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/20989] The -M option gives object file names without directory

2008-07-12 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-07-12 17:19 --- This was fixed for 4.3 and I think it unlikely that anyone will backport the doc fix. So, I am closing this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug c++/36760] Simple std::bind use causes warnings with -Wextra

2008-07-07 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-07-08 02:45 --- My guess is that comment #3 is the right theory, because this warning is issued from the front end. I did not investigate deeply though. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36760

[Bug preprocessor/36453] PR36320 breaks boost

2008-07-05 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-07-06 03:25 --- Sorry, I somehow missed the followup comment. #elif defined(BOOST_PP_ITERATION_DEPTH) BOOST_PP_ITERATION_DEPTH() == 1 The expression has to be valid after preprocessing. So, if BOOST_PP_ITERATION_DEPTH

[Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException

2008-06-24 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-06-24 18:32 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException

2008-06-24 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-06-24 18:32 --- Subject: Bug 32198 Author: tromey Date: Tue Jun 24 18:31:49 2008 New Revision: 137084 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=137084 Log: PR libgcj/32198: * tools/gnu/classpath/tools

[Bug libgcj/32198] rmic fails if remote method throws superclass of RemoteException

2008-06-19 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-06-19 15:27 --- Confirmed; I think the analysis is correct here. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug java/36247] Segfault with -findirect-dispatch and --jni

2008-06-14 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-06-14 19:48 --- Subject: Bug 36247 Author: tromey Date: Sat Jun 14 19:48:05 2008 New Revision: 136786 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136786 Log: PR java/36247: * class.c (build_class_ref

[Bug java/36247] Segfault with -findirect-dispatch and --jni

2008-06-14 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-06-14 19:50 --- Subject: Bug 36247 Author: tromey Date: Sat Jun 14 19:49:45 2008 New Revision: 136787 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136787 Log: PR java/36247: * class.c (build_class_ref

[Bug java/36247] Segfault with -findirect-dispatch and --jni

2008-06-14 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-06-14 19:50 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug preprocessor/36479] Short buffer in libcpp

2008-06-13 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added Target Milestone|--- |4.4.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36479

[Bug c++/36478] New: [4.3/4.4 regression] warning not emitted when code expanded from macro

2008-06-09 Thread tromey at gcc dot gnu dot org
expanded from macro Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: tromey at gcc dot gnu dot org http://gcc.gnu.org

[Bug preprocessor/36453] PR36320 breaks boost

2008-06-06 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-06-06 20:23 --- By my reading of the standard, issuing an error here is correct. The restrictions on #elif are only lifted if it is in a skipped group. But, in this case, it is not. -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[Bug preprocessor/36320] Required diagnosis of syntax error missed

2008-05-30 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-05-30 14:25 --- Subject: Bug 36320 Author: tromey Date: Fri May 30 14:25:09 2008 New Revision: 136209 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=136209 Log: gcc/testsuite PR preprocessor/36320: * gcc.dg

[Bug preprocessor/36320] Required diagnosis of syntax error missed

2008-05-30 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-05-30 15:07 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug preprocessor/36088] Unevaluated PP expression rejected

2008-05-30 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-05-30 15:15 --- Not a regression, so I'm closing it. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/36320] Required diagnosis of syntax error missed

2008-05-24 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-05-24 16:21 --- Confirmed. This seems like a weird design to me, but my reading of the standard text agrees with yours. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/36320] Required diagnosis of syntax error missed

2008-05-24 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-05-24 18:04 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug treelang/24771] treelang does not have a man page

2008-05-22 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-05-22 19:51 --- Treelang has been removed. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug treelang/25341] tree_code_create_variable does not handle global variables properly

2008-05-22 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-05-22 19:52 --- Treelang has been removed. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/27777] Bad diagnostic emission when #error contains a trigraph

2008-05-21 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-05-21 21:53 --- Subject: Bug 2 Author: tromey Date: Wed May 21 21:52:57 2008 New Revision: 135740 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135740 Log: gcc/testsuite PR preprocessor/2: * gcc.dg

[Bug preprocessor/27777] Bad diagnostic emission when #error contains a trigraph

2008-05-21 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2008-05-21 21:56 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug java/36247] Segfault with -findirect-dispatch and --jni

2008-05-16 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-05-16 18:23 --- Confirmed -- tromey at gcc dot gnu dot org changed: What|Removed |Added CC

[Bug java/36247] Segfault with -findirect-dispatch and --jni

2008-05-16 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-05-16 19:03 --- in build_jni_stub, build_class_ref returns NULL because this_classdollar is NULL. Probably we should call cache_this_class_ref here, but that would mean making java_add_stmt work in the jni stub case. -- http

[Bug java/36247] Segfault with -findirect-dispatch and --jni

2008-05-16 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-05-16 19:39 --- Also, note that a workaround is to put the native method after a non-native method. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36247

[Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode

2008-05-13 Thread tromey at gcc dot gnu dot org
--- Comment #17 from tromey at gcc dot gnu dot org 2008-05-13 14:51 --- Subject: Bug 22168 Author: tromey Date: Tue May 13 14:50:27 2008 New Revision: 135264 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135264 Log: libcpp PR preprocessor/22168: * include

[Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode

2008-05-13 Thread tromey at gcc dot gnu dot org
--- Comment #18 from tromey at gcc dot gnu dot org 2008-05-13 15:20 --- Fixed on trunk. I think we're unlikely to backport this, so I'm closing it. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/28079] #line range not verified without -pedantic

2008-05-13 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-05-13 19:52 --- I don't see why this should be marked wait. Changing back to new. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/22231] -MG ignores missing headers even with -c

2008-05-09 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-05-09 22:17 --- Subject: Bug 22231 Author: tromey Date: Fri May 9 22:17:00 2008 New Revision: 135128 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=135128 Log: gcc PR preprocessor/22231: * c-opts.c

[Bug preprocessor/22231] -MG ignores missing headers even with -c

2008-05-09 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-05-09 22:18 --- Fixed on trunk. It is very unlikely that this will be back-ported, so I'm closing the bug. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/28435] -MMD vs not found system header (included from a system header)

2008-05-09 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-05-09 23:02 --- I think we should give an error by default, and only *not* give an error if -MG is passed. My reasoning is that -MG exists only to disable this error. I couldn't think of a reason to disable it in other cases

[Bug preprocessor/15500] gcc ignores locale when converting wide string literals to wchar_t strings

2008-05-09 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2008-05-09 23:05 --- On further reflection I think this is very minor and I'm unlikely to back-port the fix. So, I am closing this. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/22231] -MG ignores missing headers even with -c

2008-05-08 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-05-08 16:40 --- I finally submitted this patch. http://gcc.gnu.org/ml/gcc-patches/2008-05/msg00520.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22231

[Bug preprocessor/36088] Unevaluated PP expression rejected

2008-05-06 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-05-06 17:15 --- Subject: Bug 36088 Author: tromey Date: Tue May 6 17:15:07 2008 New Revision: 134989 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134989 Log: gcc/testsuite PR preprocessor/35313, PR preprocessor

[Bug preprocessor/35313] Valid pp-expression rejected in C99 mode

2008-05-06 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-05-06 17:15 --- Subject: Bug 35313 Author: tromey Date: Tue May 6 17:15:07 2008 New Revision: 134989 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134989 Log: gcc/testsuite PR preprocessor/35313, PR preprocessor

[Bug preprocessor/35313] Valid pp-expression rejected in C99 mode

2008-05-06 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-05-06 18:09 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Known to work

[Bug preprocessor/36088] Unevaluated PP expression rejected

2008-05-06 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-05-06 18:10 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Known to work

[Bug middle-end/36137] gcc can't do math

2008-05-05 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-05-05 19:10 --- test.c.t02.original says: u = MAX_EXPR (unsigned int) i, 1; ... but this is wrong. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug middle-end/36137] gcc can't do math

2008-05-05 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-05-05 22:27 --- fold_binary sees both MAX_EXPRs and reassociates. (I think this is why it works with intermediate variables.) Then associate_trees creates a new MAX_EXPR, converting each argument to unsigned: return fold_build2

[Bug preprocessor/36123] wrong #if 1/-2 and (-1)/2 overflow warnings

2008-05-04 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-05-04 18:43 --- Note that this was fixed by: 2007-05-02 Eric Christopher [EMAIL PROTECTED] * expr.c (num_div_op): Don't overflow if the result is zero. This is in 4.3. -- tromey at gcc dot gnu dot org

[Bug preprocessor/35313] Valid pp-expression rejected in C99 mode

2008-05-01 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-05-01 19:31 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug preprocessor/36088] Unevaluated PP expression rejected

2008-05-01 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-05-01 19:31 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug preprocessor/36088] Unevaluated PP expression rejected

2008-04-30 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-04-30 17:51 --- Confirmed. The bug is that we look at top[-1].value after overwriting it with the value of the 'true' branch of the condition. -- tromey at gcc dot gnu dot org changed: What|Removed

[Bug preprocessor/35313] Valid pp-expression rejected in C99 mode

2008-04-30 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-04-30 18:48 --- Confirmed. I think this is related to PR 36088. I think the operator precedence code is subtly wrong with ?: -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/7263] __extension__ keyword doesn't suppress warning on LL or ULL constants

2008-04-22 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2008-04-22 15:24 --- I think this should be fixable now that mapped locations have gone in. The key is to have c_lex_with_flags return a value for in_system_header which comes from the token's original location, not the macro expansion

[Bug preprocessor/33415] Can't compile .cpp file with UTF-8 BOM.

2008-04-21 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-04-21 14:02 --- Fixed on trunk. As I doubt this will be back-ported to 4.3.x, I am closing the bug. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/33415] Can't compile .cpp file with UTF-8 BOM.

2008-04-21 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-04-21 14:02 --- Subject: Bug 33415 Author: tromey Date: Mon Apr 21 14:02:00 2008 New Revision: 134507 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134507 Log: libcpp PR libcpp/33415: * charset.c

[Bug pch/14933] missing pre-compiled header depends with -MD

2008-04-20 Thread tromey at gcc dot gnu dot org
--- Comment #10 from tromey at gcc dot gnu dot org 2008-04-20 18:59 --- FYI -- when I tried this on the compile farm tester, it caused a couple regressions. I'll redo it at some point and post the results here. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14933

[Bug libgcj/35979] JNI method NewStringUTF crashes when passed a NULL pointer

2008-04-19 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-04-19 19:55 --- From your comment I assume that java-gnome is using the JNI NewStringUTF call. This does not directly call _Jv_NewStringUTF. Instead, it calls _Jv_JNI_NewStringUTF (in jni.cc). That code wraps the call

[Bug libgcj/35979] JNI method NewStringUTF throws NPE when passed a NULL pointer

2008-04-19 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-04-19 21:16 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug libgcj/35979] JNI method NewStringUTF throws NPE when passed a NULL pointer

2008-04-19 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-04-19 21:35 --- Fix checked in. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Status

[Bug libgcj/35979] JNI method NewStringUTF throws NPE when passed a NULL pointer

2008-04-19 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-04-19 21:35 --- Subject: Bug 35979 Author: tromey Date: Sat Apr 19 21:35:02 2008 New Revision: 134471 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134471 Log: PR libgcj/35979: * jni.cc (_Jv_JNI_NewStringUTF

[Bug preprocessor/34869] valgrind error indication in testsuite from _cpp_lex_token (lex.c:783) with gcc.dg/cpp/line5.c

2008-04-18 Thread tromey at gcc dot gnu dot org
-- tromey at gcc dot gnu dot org changed: What|Removed |Added CC||tromey at gcc dot gnu dot

[Bug preprocessor/32564] [libcpp] ICE in print_location() when stat() in remove_duplicates() fails

2008-04-18 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-04-18 17:27 --- I think this is a duplicate of PR 34866 (fixed on the trunk). *** This bug has been marked as a duplicate of 34866 *** -- tromey at gcc dot gnu dot org changed: What|Removed

[Bug preprocessor/34866] valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c

2008-04-18 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-04-18 17:27 --- *** Bug 32564 has been marked as a duplicate of this bug. *** -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/15500] gcc ignores locale when converting wide string literals to wchar_t strings

2008-04-18 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-04-18 17:45 --- Testing a documentation patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/15500] gcc ignores locale when converting wide string literals to wchar_t strings

2008-04-18 Thread tromey at gcc dot gnu dot org
--- Comment #8 from tromey at gcc dot gnu dot org 2008-04-18 17:54 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Target Milestone

[Bug preprocessor/15500] gcc ignores locale when converting wide string literals to wchar_t strings

2008-04-18 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2008-04-18 17:54 --- Subject: Bug 15500 Author: tromey Date: Fri Apr 18 17:53:34 2008 New Revision: 134441 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134441 Log: PR libcpp/15500: * doc/cpp.texi (Implementation

[Bug libgcj/35950] jar produces files ecj won't handle

2008-04-17 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-04-17 17:16 --- Subject: Bug 35950 Author: tromey Date: Thu Apr 17 17:15:10 2008 New Revision: 134401 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134401 Log: PR libgcj/35950: * tools/gnu/classpath/tools/jar

[Bug libgcj/35950] jar produces files ecj won't handle

2008-04-17 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-04-17 17:16 --- Subject: Bug 35950 Author: tromey Date: Thu Apr 17 17:16:09 2008 New Revision: 134402 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134402 Log: PR libgcj/35950: * tools/gnu/classpath/tools/jar

[Bug libgcj/35950] jar produces files ecj won't handle

2008-04-17 Thread tromey at gcc dot gnu dot org
--- Comment #7 from tromey at gcc dot gnu dot org 2008-04-17 17:18 --- Fixed on 4.3 branch and trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/34866] valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c

2008-04-17 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-04-17 20:44 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug preprocessor/34866] valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c

2008-04-17 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-04-18 00:59 --- Fixed on trunk. -- tromey at gcc dot gnu dot org changed: What|Removed |Added Known to work

[Bug preprocessor/34866] valgrind error indication in testsuite from errors.c:156:cpp_error with gcc.dg/cpp/Wmissingdirs.c

2008-04-17 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-04-18 00:59 --- Subject: Bug 34866 Author: tromey Date: Fri Apr 18 00:58:58 2008 New Revision: 134421 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=134421 Log: PR libcpp/34866: * errors.c (cpp_error): Don't

[Bug preprocessor/35859] preprocessor segfaults when #include directive passed to macro

2008-04-16 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-04-16 16:57 --- This works ok with 4.1 and with svn trunk. So, I'm closing this, since 4.0 is a closed branch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/33415] Can't compile .cpp file with UTF-8 BOM.

2008-04-16 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-04-16 20:37 --- I think some BOMs will be handled by iconv. In particular I tried UTF-16 and this seemed to work ok. UTF-8 is a special problem in two ways. First, glibc's iconv does not appear to recognize the UTF-8 BOM

[Bug preprocessor/33415] Can't compile .cpp file with UTF-8 BOM.

2008-04-16 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-04-16 21:29 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug libgcj/35950] jar produces files ecj won't handle

2008-04-16 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-04-16 22:30 --- If you know of a specific gjar patch, I can pull it over. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug libgcj/35950] jar produces files ecj won't handle

2008-04-16 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-04-16 22:32 --- Never mind, I see it now. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/35326] [4.2/4.3/4.4 regression] ICE with stray digraph token

2008-04-05 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-04-05 13:30 --- With trunk I still can't reproduce this. I ran valgrind on cc1 and cc1plus, and see no reports. Here's the command line I'm using: valgrind /home/tromey/gnu/Trunk/install/libexec/gcc/i686-pc-linux-gnu/4.4.0/cc1plus

[Bug preprocessor/35697] -MF should create dependency file atomically

2008-04-04 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-04-04 14:33 --- Confirmed. I think the best behavior is a bit unclear. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/33143] preprocess should ignore trigraphs in /* */ comments

2008-04-04 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-04-04 16:28 --- I tried this test case and as far as I can tell it works as expected. Can you say what you think is wrong? I thought perhaps you were misreading the error output. The errors from the initial report are: z1.cc:2:1

[Bug preprocessor/33143] preprocess should ignore trigraphs in /* */ comments

2008-04-04 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-04-04 16:39 --- It is no trouble. Thanks. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33143

[Bug c/35694] Error about bad function argument isn't issued on the line of the argument but on the line where function ends

2008-03-25 Thread tromey at gcc dot gnu dot org
--- Comment #1 from tromey at gcc dot gnu dot org 2008-03-25 19:25 --- Confirmed. This is related to the column number stuff. The current status here is that errors issued by the parser itself all have been audited for proper location use; however the rest of the C front end has

[Bug java/32247] -Wall enables -Wunused enables -Wunused-parameter

2008-03-18 Thread tromey at gcc dot gnu dot org
--- Comment #12 from tromey at gcc dot gnu dot org 2008-03-18 17:03 --- I agree we should probably change ecj1's interpretation of -Wall. But, ecj1 can't be part of gcc. That was already decided. I believe the installation instructions have information on what to download so that gcj

[Bug preprocessor/35322] [4.2/4.3 regression] ICE with incomplete macro

2008-03-14 Thread tromey at gcc dot gnu dot org
--- Comment #6 from tromey at gcc dot gnu dot org 2008-03-14 15:45 --- Subject: Bug 35322 Author: tromey Date: Fri Mar 14 15:44:56 2008 New Revision: 133220 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=133220 Log: 2008-03-14 Uros Bizjak [EMAIL PROTECTED] PR libcpp

[Bug pch/14933] missing pre-compiled header depends with -MD

2008-03-14 Thread tromey at gcc dot gnu dot org
--- Comment #9 from tromey at gcc dot gnu dot org 2008-03-14 21:25 --- I'm testing this patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/35322] [4.2/4.3/4.4 regression] ICE with incomplete macro

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-03-13 15:48 --- Testing a patch. -- tromey at gcc dot gnu dot org changed: What|Removed |Added AssignedTo

[Bug preprocessor/35326] [4.2/4.3/4.4 regression] ICE with stray digraph token

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-03-13 15:53 --- I tried this but was unable to see the ICE. I used trunk, both gcc and g++. What options did you use? Anything special? If you still see an ICE, could you perhaps append a stack trace from cc1? That might help

[Bug preprocessor/35322] [4.2/4.3/4.4 regression] ICE with incomplete macro

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #3 from tromey at gcc dot gnu dot org 2008-03-13 21:10 --- Subject: Bug 35322 Author: tromey Date: Thu Mar 13 21:10:07 2008 New Revision: 133195 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=133195 Log: gcc/testsuite PR libcpp/35322: * gcc.dg/cpp

[Bug preprocessor/35322] [4.2/4.3 regression] ICE with incomplete macro

2008-03-13 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-03-13 21:11 --- Fixed on trunk. I'm never sure if I should close these PRs or not. It is a regression on the older branches, but minor enough that I doubt anybody will want to back-port the fix. -- tromey at gcc dot gnu dot org

[Bug preprocessor/35458] Dependency generation (-M) does not quote '#' in filenames

2008-03-06 Thread tromey at gcc dot gnu dot org
--- Comment #4 from tromey at gcc dot gnu dot org 2008-03-06 18:09 --- Subject: Bug 35458 Author: tromey Date: Thu Mar 6 18:08:40 2008 New Revision: 132982 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=132982 Log: libcpp 2008-03-06 Markus Milleder [EMAIL PROTECTED] PR

[Bug preprocessor/35458] Dependency generation (-M) does not quote '#' in filenames

2008-03-06 Thread tromey at gcc dot gnu dot org
--- Comment #5 from tromey at gcc dot gnu dot org 2008-03-06 18:15 --- I agree with comment #3. This is an improvement. Users concerned with real portability should be avoiding # anyhow. -- tromey at gcc dot gnu dot org changed: What|Removed

[Bug java/35410] clone() for array types has incorrect return type

2008-02-29 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-02-29 21:56 --- Confirmed. We probably need to make and upload a new canonical ecj jar. -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/22168] #if #A == #B should have a diagnostic in ISO C mode

2008-02-26 Thread tromey at gcc dot gnu dot org
--- Comment #16 from tromey at gcc dot gnu dot org 2008-02-26 20:48 --- *** Bug 35312 has been marked as a duplicate of this bug. *** -- tromey at gcc dot gnu dot org changed: What|Removed |Added

[Bug preprocessor/35312] Invalid syntax in PP expressions not diagnosed in strict mode

2008-02-26 Thread tromey at gcc dot gnu dot org
--- Comment #2 from tromey at gcc dot gnu dot org 2008-02-26 20:48 --- I agree, closing as dup. I have a patch for that bug. I forget what happened to it, but I'll look into it soon. *** This bug has been marked as a duplicate of 22168 *** -- tromey at gcc dot gnu dot org changed

<    1   2   3   4   5   6   7   8   9   10   >